]> sourceware.org Git - glibc.git/blame - ChangeLog
Merge branch 'master' of ssh://sourceware.org/git/glibc
[glibc.git] / ChangeLog
CommitLineData
05f3d1f6
UD
12012-03-28 Ulrich Drepper <drepper@gmail.com>
2
3 * malloc/mallocbug.c: Avoid warnings about unused variables.
4
86ae07a8
JL
52012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6
7 [BZ #13760]
8 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9 in the right place. Discard and retry query if response is
10 larger than input buffer size.
11
41bf21a1
JM
122012-03-28 Joseph Myers <joseph@codesourcery.com>
13
d6270972
JM
14 [BZ #369]
15 [BZ #2678]
16 [BZ #3866]
17 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
18 x for large integer exponent.
19 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21 sign of result as needed afterwards.
22 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24 result for underflowing pow the same as for overflow.
25 (__kernel_standard_l): Handle powl overflow and underflow here
26 rather than calling __kernel_standard.
27 * math/libm-test.inc (pow_test): Add more tests.
28
414fca03 29 [BZ #3868]
41bf21a1
JM
30 [BZ #13879]
31 [BZ #13910]
32 [BZ #13911]
33 [BZ #13912]
34 [BZ #13913]
35 [BZ #13915]
36 [BZ #13916]
37 [BZ #13917]
38 [BZ #13918]
39 [BZ #13919]
40 [BZ #13920]
41 [BZ #13921]
42 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43 * sysdeps/ieee754/k_standard.c: Include <float.h>.
44 (__kernel_standard_l): New function.
45 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46 __kernel_standard.
47 * math/w_acosl.c (__acosl): Likewise.
48 * math/w_asinl.c (__asinl): Likewise.
49 * math/w_atan2l.c (__atan2l): Likewise.
50 * math/w_atanhl.c (__atanhl): Likewise.
51 * math/w_coshl.c (__coshl): Likewise.
52 * math/w_exp10l.c (__exp10l): Likewise.
53 * math/w_exp2l.c (__exp2l): Likewise.
54 * math/w_fmodl.c (__fmodl): Likewise.
55 * math/w_hypotl.c (__hypotl): Likewise.
56 * math/w_j0l.c (__j0l, __y0l): Likewise.
57 * math/w_j1l.c (__j1l, __y1l): Likewise.
58 * math/w_jnl.c (__jnl, __ynl): Likewise.
59 * math/w_lgammal.c (__lgammal): Likewise.
60 * math/w_log10l.c (__log10l): Likewise.
61 * math/w_log2l.c (__log2l): Likewise.
62 * math/w_logl.c (__logl): Likewise.
63 * math/w_powl.c (__powl): Likewise.
64 * math/w_remainderl.c (__remainderl): Likewise.
65 * math/w_scalbl.c (sysv_scalbl): Likewise.
66 * math/w_sinhl.c (__sinhl): Likewise.
67 * math/w_sqrtl.c (__sqrtl): Likewise.
68 * math/w_tgammal.c (__tgammal): Likewise.
69 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
70 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
71 * math/libm-test.inc (acos_test): Add more tests.
72 (acosh_test): Likewise.
73 (asin_test): Likewise.
74 (atanh_test): Likewise.
75 (exp_test): Likewise.
76 (exp10_test): Likewise.
77 (exp2_test): Likewise.
78 (expm1_test): Likewise.
79 (lgamma_test): Likewise.
80 (log_test): Likewise.
81 (log10_test): Likewise.
82 (log1p_test): Likewise.
83 (log2_test): Likewise.
84 (pow_test): Do not allow some spurious overflow exceptions.
85 (sqrt_test): Add more tests.
86 (tgamma_test): Likewise.
87 (y0_test): Likewise.
88 (y1_test): Likewise.
89 (yn_test): Likewise.
90
dd62fda6
AB
912012-03-27 Anton Blanchard <anton@samba.org>
92
93 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
94 MAP_HUGETLB.
95 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
96 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
97 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
98
1e3cdfda
AJ
992012-03-27 David S. Miller <davem@davemloft.net>
100
b855ab85
DM
101 * conform/Makefile: Run run-conformtest.sh using $(BASH).
102
1e3cdfda
AJ
103 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
104 have-as-vis3 check.
105
1062012-03-27 Andreas Jaeger <aj@suse.de>
107
108 * sysdeps/x86_64/elf/configure.in: Moved to ...
109 * sysdeps/x86_64/configure.in: ... here.
110 * sysdeps/x86_64/elf/start.S: Moved to ...
111 * sysdeps/x86_64/start.S: ... here.
112 * sysdeps/x86_64/elf/configure: Delete.
113
114 * sysdeps/x86_64/configure.in: Merge contents from
115 sysdeps/i386/configure.in (without i686 check).
116
117 * sysdeps/i386/elf/Versions: Merge into ...
118 * sysdeps/i386/Versions: ... this.
119 * sysdeps/i386/elf/Versions: Delete file.
120 * sysdeps/i386/elf/start.S: Moved to ...
121 * sysdeps/i386/start.S: ...here.
122 * sysdeps/i386/elf/configure.in: Merge into...
123 * sysdeps/i386/configure.in: ...here.
124 * sysdeps/i386/elf/configure.in: Delete file.
125 * sysdeps/i386/elf/configure: Delete file.
126
127 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
128 * debug/backtracesyms.c: ... here.
129 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
130 * debug/backtracesymsfd.c: ... here.
131 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
132 * sysdeps/generic/ifunc-sel.h: ... here.
133
134 * sysdeps/unix/i386/start.c: Delete file.
135 * sysdeps/unix/sparc/start.c: Delete file.
136 * sysdeps/unix/start.c: Delete file.
137
138 * sysdeps/sh/elf/configure.in: Moved to ...
139 * sysdeps/sh/configure.in: ... here.
140 * sysdeps/sh/elf/start.S: Moved to ...
141 * sysdeps/sh/start.S: ... here.
142 * sysdeps/sh/elf/configure: Delete file.
143
144 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
145 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
146 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
147 * sysdeps/powerpc/powerpc64/entry.h: ... here.
148 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
149 * sysdeps/powerpc/powerpc64/start.S: here.
150 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
151 * sysdeps/powerpc/powerpc64/Makefile: ... this.
152 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
153 * sysdeps/powerpc/powerpc64/configure.in: ... this.
154 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
155
156 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
157 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
158 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
159 * sysdeps/powerpc/powerpc32/start.S: ... here.
160 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
161 * sysdeps/powerpc/powerpc32/configure.in: ... this.
162 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
163
164 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
165 * sysdeps/powerpc/ifunc-sel.h: ... here.
166 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
167 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
168
169 * sysdeps/sparc/elf/configure.in: Moved to ...
170 * sysdeps/sparc/configure.in: ... here.
171 * sysdeps/sparc/elf/configure: Delete file.
172 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
173 * sysdeps/sparc/sparc32/start.S: ... here.
174 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
175 * sysdeps/sparc/sparc64/start.S: ... here.
176 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
177 * sysdeps/sparc/sparc32/Makefile: ... this.
178 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
179 * sysdeps/sparc/sparc64/Makefile: ... this.
180
181 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
182 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
183 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
184 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
185 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
186 * sysdeps/s390/s390-32/setjmp.S: ... here.
187 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
188 * sysdeps/s390/s390-32/configure.in: ... here.
189 * sysdeps/s390/s390-32/elf/configure: Delete file.
190 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
191 * sysdeps/s390/s390-32/start.S: ... here.
192
193 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
194 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
195 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
196 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
197 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
198 * sysdeps/s390/s390-64/setjmp.S: ... here.
199 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
200 * sysdeps/s390/s390-64/configure.in: ... here
201 * sysdeps/s390/s390-64/elf/configure: Delete file.
202 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
203 * sysdeps/s390/s390-64/start.S: ... here.
204 * sysdeps/s390/s390-64/elf/configure: Delete.
205
206 * configure.in: Remove support for elf directories in sysdeps.
207
208 * configure: Regenerated.
209 * sysdeps/i386/configure: Regenerated.
210 * sysdeps/powerpc/powerpc32/configure: Regenerated.
211 * sysdeps/powerpc/powerpc64/configure: Regenerated.
212 * sysdeps/s390/s390-32/configure: Regenerated.
213 * sysdeps/s390/s390-64/configure: Regenerated.
214 * sysdeps/sh/configure: Regenerated.
215 * sysdeps/sparc/configure: Regenerated.
216 * sysdeps/x86_64/configure: Regenerated.
217
a3f61311
AS
2182012-03-26 Andreas Schwab <schwab@linux-m68k.org>
219
c876e002
AS
220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
221
a3f61311
AS
222 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
223 denormal result into account.
224
ac4c54f0
RM
2252012-03-25 Roland McGrath <roland@hack.frob.com>
226
227 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
228 Reported by Allan McRae <allan@archlinux.org>.
229
6a9b9c02
JL
2302012-03-23 Jeff Law <law@redhat.com>
231
232 * nss/getnssent.c (__nss_getent): Fix typo.
233
4c42a0c1
DM
2342012-03-23 David S. Miller <davem@davemloft.net>
235
236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
237
1532c7ac
L
2382012-03-23 H.J. Lu <hongjiu.lu@intel.com>
239
240 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
241 to pad to uint64_t for each field.
242 (dl_tls_index): Replace unsigned long with uint64_t.
243
3ff42526
PP
2442012-03-23 Daniel Jacobowitz <dmj@google.com>
245 Paul Pluzhnikov <ppluzhnikov@google.com>
246
247 [BZ #6528]
248 * grp/Makefile (otherlibs): Don't set it.
249 * inet/Makefile (otherlibs): Likewise.
250 * login/Makefile (otherlibs): Likewise.
251 * nscd/Makefile (otherlibs): Likewise.
252 * posix/Makefile (otherlibs): Likewise.
253 * pwd/Makefile (otherlibs): Likewise.
254 * rt/Makefile (otherlibs): Likewise.
255 * sunrpc/Makefile (otherlibs): Likewise.
256 * nss/Makefile (otherlibs): Likewise.
257 Add libnss_files to routines and static-only-routines.
258 ($(objpfx)getent): Remove rule.
259 * resolv/Makefile: Add libnss_dns and libresolv to routines and
260 static-only-routines.
261
7c69cd14
JM
2622012-03-22 Joseph Myers <joseph@codesourcery.com>
263
264 [BZ #13892]
265 * math/s_cexp.c: Include <float.h>.
266 (__cexp): Handle exp result overflowing not necessarily
267 overflowing both real and imaginary parts of result.
268 * math/s_cexpf.c: Likewise.
269 * math/s_cexpl.c: Likewise.
270 * math/libm-test.inc (cexp_test): Add more tests.
271 * sysdeps/i386/fpu/libm-test-ulps: Update.
272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
273
81b035fe
L
2742012-03-22 H.J. Lu <hongjiu.lu@intel.com>
275
276 * include/link.h (ELFW): New macro.
277 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
278 Replace ELF64_R_TYPE with ELFW(R_TYPE).
279
1da7940c
L
2802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
281
282 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
283 with uint64_t.
284
b749dbb9
L
2852012-03-22 H.J. Lu <hongjiu.lu@intel.com>
286
287 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
288 declaration.
289 (struct La_x32_retval): Likewise.
290
2ff87f3f
L
2912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
292
293 * sysdeps/x86_64/preconfigure.in: New file.
294 * sysdeps/x86_64/preconfigure: New generated file.
295
c0df8e69
JM
2962012-03-22 Joseph Myers <joseph@codesourcery.com>
297
48e44791
JM
298 [BZ #13824]
299 * math/e_exp2l.c: Include <float.h>.
300 (__ieee754_exp2l): Handle overflow and underflow cases
301 separately. Only pass fractional part of argument to
302 __ieee754_expl.
303 * math/libm-test.inc (exp2_test): Add more tests.
304
c0df8e69
JM
305 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
306 negating x to take absolute value.
307 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
308 Likewise.
309 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
310 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
311 Likewise.
312 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
313 computing low part if x was negated.
314 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
315
c8e43ba7
L
3162012-03-21 H.J. Lu <hongjiu.lu@intel.com>
317
318 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
319 la_x32_gnu_pltexit.
320 (pltexit): Cast int_retval to ptrdiff_t.
321 * elf/tst-auditmod3b.c: Likewise.
322 * elf/tst-auditmod4b.c: Likewise.
323 * elf/tst-auditmod5b.c: Likewise.
324 * elf/tst-auditmod6b.c: Likewise.
325 * elf/tst-auditmod6c.c: Likewise.
326 * elf/tst-auditmod7b.c: Likewise.
327
328 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
329 and x32_gnu_pltexit.
330
331 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
332 __ELF_NATIVE_CLASS.
333 (La_x32_regs): New macro.
334 (La_x32_retval): Likewise.
335 (la_x32_gnu_pltenter): New function prototype.
336 (la_x32_gnu_pltexit): Likewise.
337
7998fa78
AS
3382012-03-21 Andreas Schwab <schwab@linux-m68k.org>
339
dcb33988
AS
340 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
341 exponent.
342
233fc563
AS
343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
344
7998fa78
AS
345 * configure.in (libc_cv_cc_nofma): Check for option to disable
346 generation of FMA instructions.
347 * configure: Regenerate.
348 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
349 * sysdeps/ieee754/dbl-64/Makefile: New file.
350 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
351 Remove brandred-fma4.
352 (CFLAGS-brandred-fma4.c): Remove.
353 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
354 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
355 define.
356 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
357 define.
358
8e95c99a
L
3592012-03-21 H.J. Lu <hongjiu.lu@intel.com>
360
361 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
362 LLONG_MAX != LONG_MAX.
363 (_itoa_word): Use _ITOA_WORD_TYPE on value.
364 (_fitoa_word): Likewise.
365 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
366 LLONG_MAX != LONG_MAX.
367 * stdio-common/_itowa.h: Include <_itoa.h>.
368 (_itowa_word): Use _ITOA_WORD_TYPE on value.
369 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
370 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
371 only if not defined.
372 (_ITOA_WORD_TYPE): Likewise.
373 (_itoa_word): Use _ITOA_WORD_TYPE on value.
374 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
375
6f4db457
DM
3762012-03-21 David S. Miller <davem@davemloft.net>
377
378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
379
7785fe5a
L
3802012-03-21 H.J. Lu <hongjiu.lu@intel.com>
381
382 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
383 of x86_64 when setting libc_cv_slibdir, libdir and
384 libc_cv_localedir.
385 * sysdeps/unix/sysv/linux/configure: Regenerated.
386
4535cd55
JM
3872012-03-21 Joseph Myers <joseph@codesourcery.com>
388
389 * manual/lang.texi (Old Varargs): Remove section.
390 (How Variadic): Update menu.
391 (va_start): Do not mention varargs.h.
392
17228132
TS
3932012-03-21 Thomas Schwinge <thomas@codesourcery.com>
394 Joseph Myers <joseph@codesourcery.com>
395
396 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
397 link test.
398 * configure: Regenerated.
399
8149f976
TS
4002012-03-21 Thomas Schwinge <thomas@codesourcery.com>
401
05f3d1f6
UD
402 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
403 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
404 conformtest.pl
8149f976 405
1a4ac776
JM
4062012-03-21 Joseph Myers <joseph@codesourcery.com>
407
be22ce65
JM
408 * NOTES: Remove.
409 * Makefile (files-for-dist): Remove NOTES.
410 (NOTES): Remove rule.
411 * README: Don't refer to NOTES.
412 * manual/creature.texi: Don't include macros.texi.
413 * manual/intro.texi (creature.texi): Remove comment referring to
414 NOTES.
415
40b601fb
JM
416 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
417 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
418 * configure: Regenerated.
419 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
420 LIBC_TRY_CC_OPTION.
421 (libc_cv_as_i686): Likewise.
422 (libc_cv_cc_avx): Likewise.
423 (libc_cv_cc_sse2avx): Likewise.
424 (libc_cv_cc_fma4): Likewise.
425 (libc_cv_cc_novzeroupper): Likewise.
426 * sysdeps/i386/configure: Regenerated.
427
1a4ac776
JM
428 [BZ #13883]
429 * sysdeps/i386/fpu/s_cexp.S: Remove.
430 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
431 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
432 * math/libm-test.inc (cexp_test): Add more tests.
433 * sysdeps/i386/fpu/libm-test-ulps: Update.
434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
435
a458e7fe
AM
4362012-03-21 Allan McRae <allan@archlinux.org>
437
438 * timezone/Makefile: Do not install iso3166.tab and zone.tab
439
0cb7efc5
JM
4402012-03-21 Joseph Myers <joseph@codesourcery.com>
441
442 [BZ #13871]
443 * math/w_exp2.c: Do not include <float.h>.
444 (o_threshold, u_threshold): Remove.
445 (__exp2): Calculate result before checking finiteness and calling
446 __kernel_standard.
447 * math/w_exp2f.c: Likewise.
448 * math/w_exp2l.c: Likewise.
449 * math/libm-test.inc (exp2_test): Require overflow exception for
450 1e6 input.
2460d3aa
JM
451
452 [BZ #3866]
453 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
454 range of signed 64-bit integers before using fistpll. Remove
455 checks for whether integers fit in mantissa bits.
456 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
457 the range of signed 32-bit integers before using fistpl. Remove
458 checks for whether integers fit in mantissa bits.
459 * sysdeps/i386/fpu/e_powl.S (p64): New object.
460 (__ieee754_powl): Test for y outside the range of signed 64-bit
461 integers before using fistpll. Reduce 64-bit values to 63-bit
462 ones as needed.
463 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
464 divide-by-zero is raised for zero to large negative powers.
465 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
466 (__ieee754_powl): Test for y outside the range of signed 64-bit
467 integers before using fistpll. Reduce 64-bit values to 63-bit
468 ones as needed.
469 * math/libm-test.inc (pow_test): Add more tests.
470
eb96ffb0
L
4712012-03-20 H.J. Lu <hongjiu.lu@intel.com>
472
473 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
474 <stdio-common/_itoa.h>.
475 * debug/segfault.c: Likewise.
476 * elf/dl-cache.c: Likewise.
477 * elf/dl-minimal.c: Likewise.
478 * elf/dl-misc.c: Likewise.
479 * elf/dl-sysdep.c: Likewise.
480 * elf/dl-version.c: Likewise.
481 * elf/rtld.c: Likewise.
482 * hurd/hurdsock.c: Likewise.
483 * hurd/lookup-retry.c: Likewise.
484 * malloc/malloc.c: Likewise.
485 * malloc/mtrace.c: Likewise.
486 * nscd/nscd_getgr_r.c: Likewise.
487 * nscd/nscd_getpw_r.c: Likewise.
488 * nscd/nscd_getserv_r.c: Likewise.
489 * posix/getopt_init.c: Likewise.
490 * posix/wordexp.c: Likewise.
491 * stdio-common/_itoa.c: Likewise.
492 * stdio-common/printf_fphex.c: Likewise.
493 * stdio-common/vfprintf.c: Likewise.
494 * string/_strerror.c: Likewise.
495 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
496 * sysdeps/i386/i686/hp-timing.h: Likewise.
497 * sysdeps/mach/_strerror.c: Likewise.
498 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
499 * sysdeps/mach/hurd/sethostid.c: Likewise.
500 * sysdeps/mach/hurd/xmknodat.c: Likewise.
501 * sysdeps/mach/xpg-strerror.c: Likewise.
502 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
503 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
504 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
505 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
506 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
507 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
508 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
509 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
510 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
511 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
512 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
513 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
514 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
515 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
516 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
517 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
518 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
519 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
520 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
521 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
522 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
523
524 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
525
526 * stdio-common/_itoa.h: Moved to ...
527 * sysdeps/generic/_itoa.h: Here.
528
529 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
530
531 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
532 instead of "_itoa.h" and "_itowa.h".
533 * stdio-common/vfprintf.: Likewise.
534
d1af992d
L
5352012-03-20 H.J. Lu <hongjiu.lu@intel.com>
536
537 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
538 <bits/wordsize.h>.
539 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
540 (__signbit): Likwise.
541 (llrintf): Likwise.
542 (llrint): Likwise.
543
114883e0
L
5442012-03-20 H.J. Lu <hongjiu.lu@intel.com>
545
546 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
547 __WORDSIZE != 64.
548
c135cc1b
JM
5492012-03-20 Joseph Myers <joseph@codesourcery.com>
550
551 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
552 OVERFLOW_EXCEPTION_OK.
553 * math/libm-test.inc ("Philosophy"): Update comment about
554 exception testing.
555 (OVERFLOW_EXCEPTION): Define.
556 (OVERFLOW_EXCEPTION_OK): Likewise.
557 (INVALID_EXCEPTION_OK): Renumber.
558 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
559 (IGNORE_ZERO_INF_SIGN): Likewise.
560 (test_exceptions): Handle FE_OVERFLOW.
561 (exp10_test): Expect overflow exceptions.
562 (exp2_test): Likewise.
563 (expm1_test): Likewise.
564 (nextafter_test): Likewise.
565 (pow_test): Likewise.
566 (scalbn_test): Likewise.
567 (scalbln_test): Likewise.
568
95443d88
L
5692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
570
571 * sysdeps/x86_64/bits/atomic.h
572 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
573 64bit integer.
574 (atomic_exchange_acq): Likewise.
575 (__arch_exchange_and_add_body): Likewise.
576 (__arch_add_body): Likewise.
577 (atomic_add_negative): Likewise.
578 (atomic_add_zero): Likewise.
579
490df6c4
L
5802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
581
c2722551 582 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
583 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
584
5e52b189
L
5852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
586
587 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
588 Check __x86_64__ instead of __WORDSIZE.
589
a9879d4c
L
5902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
591
592 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
593
5df98260
DM
5942012-03-19 David S. Miller <davem@davemloft.net>
595
e1497744
DM
596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
597
5df98260
DM
598 * sysdeps/sparc/fpu/fenv_private.h: New file.
599 * sysdeps/sparc/fpu/math_private.h: Use it.
600 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
601 Remove.
602 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
603 (libc_feholdexcept_setroundl): Remove.
604 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
605 Remove.
606 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
607 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
608
b4c35121
L
6092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
610
611 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
612 int64_t instead of long int.
613 (INSERT_WORDS64): Likwise.
614
56965fd7
L
6152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
616
617 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
618 _Unwind_GetCFA return to _Unwind_Ptr first.
619
83d1aec8
JM
6202012-03-19 Joseph Myers <joseph@codesourcery.com>
621
1897ad44
JM
622 [BZ #13629]
623 * math/s_clog.c: Include <float.h>.
624 (__clog): Scale large or subnormal inputs.
625 * math/s_clogf.c: Likewise.
626 * math/s_clogl.c: Likewise.
627 * math/s_clog10.c: Include <float.h>.
628 (M_LOG10_2): Define.
629 (__clog10): Scale large or subnormal inputs.
630 * math/s_clog10f.c: Likewise.
631 * math/s_clog10l.c: Likewise.
632 * math/libm-test.inc (clog_test): Add more tests.
633 (clog10_test): Likewise.
634 * sysdeps/i386/fpu/libm-test-ulps: Update.
635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
636
7726d6a9
JM
637 [BZ #11451]
638 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
639 x and y.
640 * math/libm-test.inc (atan2_test): Add another test.
641
83d1aec8
JM
642 * Makerules (common-objdir-compile): Remove.
643 * sysdeps/unix/Makefile (config-generated): Do not add
644 $(unix-generated) to variable.
645 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
646 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
647 Remove rule.
648 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
649 Likewise.
650 [generic bits/local_lim.h] (before-compile): Do not append to
651 variable.
652 [generic bits/local_lim.h] (common-generated): Likewise.
653 [generic sys/param.h] (before-compile): Do not append to variable.
654 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
655 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
656 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
657 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
658 include.
659 [generic sys/param.h] (sys/param.h-includes): Remove variable.
660 [generic sys/param.h] (sys/param.h-includes): Remove rule.
661 [generic sys/param.h] ($(addprefix
662 $(common-objpfx),$(sys/param.h-includes))): Likewise.
663 [generic sys/param.h] (common-generated): Do not append to
664 variable.
665 [generic sys/param.h] (sysdep_headers): Likewise.
666 [generic bits/errno.h] (before-compile): Do not append to
667 variable.
668 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
669 rule.
670 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
671 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
672 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
673 [generic bits/errno.h] (common-generated): Do not append to
674 variable.
675 [generic bits/ioctls.h] (before-compile): Do not append to
676 variable.
677 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
678 rule.
679 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
680 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
681 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
682 rule.
683 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
684 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
685 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
686 [generic bits/ioctls.h] (common-generated): Do not append to
687 variable.
688 [generic sys/syscall.h] (syscall.h): Remove variable.
689 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
690 rule.
691 [generic sys/syscall.h] (before-compile): Do not append to
692 variable.
693 [generic sys/syscall.h] (common-generated): Likewise.
694 * sysdeps/unix/errnos-tmpl.c: Remove file.
695 * sysdeps/unix/errnos.awk: Likewise.
696 * sysdeps/unix/ioctls-tmpl.c: Likewise.
697 * sysdeps/unix/ioctls.awk: Likewise.
698 * sysdeps/unix/mk-local_lim.c: Likewise.
699 * sysdeps/unix/snarf-ioctls: Likewise.
700
4851a949
RH
7012012-03-19 Richard Henderson <rth@twiddle.net>
702
bd37f2ee
RH
703 * sysdeps/i386/fpu/fenv_private.h: New file.
704 * sysdeps/i386/fpu/math_private.h: Use it.
705 (math_opt_barrier, math_force_eval): Remove.
706 (libc_feholdexcept_setround_53bit): Remove.
707 (libc_feupdateenv_53bit): Remove.
708 * sysdeps/x86_64/fpu/math_private.h: Likewise.
709 (math_opt_barrier, math_force_eval): Remove.
710 (libc_feholdexcept): Remove.
711 (libc_feholdexcept_setround): Remove.
712 (libc_fetestexcept, libc_fesetenv): Remove.
713 (libc_feupdateenv_test): Remove.
714 (libc_feupdateenv, libc_feholdsetround): Remove.
715 (libc_feresetround): Remove.
716
d0adc922
RH
717 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
718 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
719
0fe0f1f8
RH
720 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
721 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
722 (libc_feupdateenv_testl): New.
723 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
724 (libc_feupdateenv_testf): New.
725 (libc_feupdateenv): Use libc_feupdateenv_test.
726 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
727 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
728
eb92c487
RH
729 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
730 (libc_feholdsetroundf, libc_feholdsetroundl): New.
731 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
732 (libc_feresetround_noex): New.
733 (libc_feresetround_noexf): New.
734 (libc_feresetround_noexl): New.
735 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
736 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
737 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
738 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
739 SET_RESTORE_ROUND.
740 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
741 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
742 (__cos): Likewise.
743 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
744 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
745 SET_RESTORE_ROUND_NOEX.
746 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
747 SET_RESTORE_ROUND_NOEXF.
748 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
749 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
750 (libc_feholdsetroundf): New.
751 (libc_feresetround, libc_feresetroundf): New.
752
7d2e8012
RH
753 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
754 (libc_feholdexcept_setround_53bit): Convert from macro to function.
755 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
756
b4dabbb4
RH
757 * sysdeps/generic/math_private.h: Include <fenv.h>.
758 (default_libc_feholdexcept): New.
759 (default_libc_feholdexcept_setround): New.
760 (default_libc_fesetenv, default_libc_feupdateenv): New.
761 (libc_feholdexcept): Only define if undefined.
762 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
763 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
764 (libc_feholdexcept_setroundl): Likewise.
765 (libc_feholdexcept_setround_53bit): Likewise.
766 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
767 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
768 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
769 (libc_feupdateenv_53bit): Likewise.
770 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
771 (libc_feholdexcept): Convert from macro to inline function.
772 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
773 (libc_fesetenv, libc_feupdateenv): Likewise.
774
4851a949
RH
775 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
776 not previously defined.
777 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
778 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
779 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
780 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
781 * sysdeps/ieee754/flt-32/math_private.h: New file.
782 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
783 math_private.h below SET_FLOAT_WORD.
784 (__isnan, __isinf_ns, __finite): Remove.
785 (__isnanf, __isinf_nsf, __finitef): Remove.
786
e79d442e
AS
7872012-03-18 Andreas Schwab <schwab@linux-m68k.org>
788
789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
790
90b80344
DM
7912012-03-17 David S. Miller <davem@davemloft.net>
792
793 [BZ #6471]
794 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
795 for 2.16.
796
edc21804
DM
7972012-03-16 David S. Miller <davem@davemloft.net>
798
77e927af
DM
799 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
800 warnings.
801
374976dd
DM
802 [BZ #6471]
803 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
804 properly.
805 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
806 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
807 sysdep_routines when subdir is sysvipc.
808 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
809 __getshmlba helper.
810
edc21804
DM
811 * sysdeps/sparc/fpu/libm-test/ulps: Update.
812
473c3ef3
L
8132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
814
815 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
816 [__LP64__].
817
eb0f39b6
L
8182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
819
820 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
821 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
822 (__lround): Renamed to ...
823 (__llround): This. Replace long int with long long int.
824 Define lround functions as aliases of llround functions.
825 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
826
6b6cd74b
L
8272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
828
829 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
830 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
831 adresses to uintptr_t. Replace "long int" and "unsigned long
832 int" with "greg_t" on va_arg.
833
f1a77b01
L
8342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
835
836 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
837 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
838
839 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
840 Move e_machine check before EI_CLASS check. Handle x32
841 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
842 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
843 SKIP_EM_IA_64 and include
844 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
845
846 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
847 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
848 (add_system_dir): New macro.
849
850 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
851 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
852
11b90b9f
JM
8532012-03-16 Joseph Myers <joseph@codesourcery.com>
854
c36e1d23
JM
855 [BZ #2551]
856 [BZ #2552]
857 [BZ #2553]
858 [BZ #2554]
859 [BZ #2562]
860 [BZ #2563]
861 [BZ #2565]
862 [BZ #2566]
863 [BZ #2576]
864 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
865 (y0): Likewise.
866 * math/w_j0f.c (j0f): Likewise.
867 (y0f): Likewise.
868 * math/w_j0l.c (__j0l): Likewise.
869 (__y0l): Likewise.
870 * math/w_j1.c (j1): Likewise.
871 (y1): Likewise.
872 * math/w_j1f.c (j1f): Likewise.
873 (y1f): Likewise.
874 * math/w_j1l.c (__j1l): Likewise.
875 (__y1l): Likewise.
876 * math/w_jn.c (jn): Likewise.
877 (yn): Likewise.
878 * math/w_jnf.c (jnf): Likewise.
879 (ynf): Likewise.
880 * math/w_jnl.c (__jnl): Likewise.
881 (__ynl): Likewise.
882 * math/libm-test.inc (j0_test): Add more tests.
883 (j1_test): Likewise.
884 (jn_test): Likewise. Add trailing semicolon to existing test.
885 (y0_test): Likewise.
886 (y1_test): Likewise.
887 * sysdeps/i386/fpu/libm-test-ulps: Update.
888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
889
11b90b9f
JM
890 [BZ #13851]
891 [BZ #13854]
892 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
893 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
894 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
895 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
896 (__tanl): Set errno for infinite argument.
897 * sysdeps/i386/fpu/mptan.c: Remove.
898 * sysdeps/i386/fpu/s_tan.S: Likewise.
899 * sysdeps/i386/fpu/s_tanl.S: Likewise.
900 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
901 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
902 * math/libm-test.inc (tan_test): Add more tests and enable more
903 tests for double and long double.
904 * sysdeps/i386/fpu/libm-test-ulps: Update.
905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
906
6a1bd2a1
JK
9072012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
908
909 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
910 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
911
10a803e0
RM
9122012-03-16 Roland McGrath <roland@hack.frob.com>
913
914 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
915 * configure.in: Use it for both main tree and add-ons.
916 * configure: Regenerated.
917
f196c7f7
L
9182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
919
920 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
921
8848d99d
JM
9222012-03-16 Joseph Myers <joseph@codesourcery.com>
923
96cbe7f4
JM
924 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
925 in comment.
926
8848d99d
JM
927 [BZ #13851]
928 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
929 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
930 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
931 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
932 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
933 infinite argument.
934 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
935 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
936 != 0 for prec == 2.
937 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
938 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
939 * sysdeps/i386/fpu/s_cosl.S: Likewise.
940 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
941 * sysdeps/i386/fpu/s_sinl.S: Likewise.
942 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
943 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
944 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
945 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
946 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
947 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
948 * math/libm-test.inc (cos_test): Add more tests and enable more
949 tests for long double.
950 (sin_test): Likewise.
951 (sincos_test): Likewise.
952 * sysdeps/i386/fpu/libm-test-ulps: Update.
953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
954
dd7f4703
DM
9552012-03-16 David S. Miller <davem@davemloft.net>
956
957 * sysdeps/sparc/fpu/math_private.h: New file.
958
006f1daa
DM
9592012-03-15 David S. Miller <davem@davemloft.net>
960
c0c83bc8
DM
961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
962 file.
e6a62e18 963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
965 file.
e6a62e18
DM
966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
968 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
969 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
970 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
971 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
972 sysdep routines.
973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
974
88cb87d9
DM
975 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
976 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
977
006f1daa 978 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
980 sparc-ifunc.h
006f1daa 981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
983 Likewise.
984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
985 Likewise.
006f1daa
DM
986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
990 Likewise.
006f1daa
DM
991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
996 Likewise.
997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
998 Likewise.
006f1daa
DM
999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1003 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1004 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1005 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1006 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1007 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1008 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1013 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1014 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1015 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1016 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1017 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1018 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1019 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1020 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1021 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1022 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1023
11e0098e
AS
10242012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1025
1026 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1027 scaling.
1028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1029
e85b09d0
AJ
10302012-03-15 Andreas Jaeger <aj@suse.de>
1031
1032 [BZ #13852]
1033 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1034 ieee754/flt-32 implementation for sin, cos and sincos.
1035 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1036 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1037 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1038 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1039 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1040 ieee754/flt-32 implementation for tan.
1041
1042 * math/libm-test.inc (cos_test): Enable some large input tests for
1043 float as well
1044 (sin_test): Likewise.
1045 (sincos_test): Likewise.
1046 (tan_test): Add tests for large input.
1047
1048 * sysdeps/i386/fpu/libm-test-ulps: Update.
1049
81c64153
AJ
10502012-03-15 Andreas Jaeger <aj@suse.de>
1051
1052 [BZ #13658]
1053 * math/libm-test.inc (cos_test): Add more test cases.
1054 (sin_test): Likewise.
1055 (sincos_test): Likewise.
1056
7bbfa5c6
AJ
10572012-03-15 Andreas Jaeger <aj@suse.de>
1058
1059 [BZ #13837]
1060 * math/libm-test.inc (cos_test): Add a test case for large input
1061 value.
1062 (sin_test): Likewise.
1063 (sincos_test): Likewise.
1064
10652012-03-15 Andreas Jaeger <aj@suse.de>,
1066 Joseph Myers <joseph@codesourcery.com>
1067
1068 [BZ #13658]
0671f479 1069 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1070 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1071 * sysdeps/i386/fpu/branred.c: Likewise.
1072 * sysdeps/i386/fpu/dosincos.c: Likewise.
1073 * sysdeps/i386/fpu/mpa.c: Likewise.
1074 * sysdeps/i386/fpu/s_cos.S: Likewise.
1075 * sysdeps/i386/fpu/s_sin.S: Likewise.
1076 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1077 * sysdeps/i386/fpu/sincos32.c: Likewise.
1078
1079 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1080 Define.
1081 (libc_feupdateenv_53bit): Define.
1082 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1083 Define.
1084 (libc_feupdateenv_53bit): Define.
1085
1086 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1087 53 bit (without extend i386 double precision).
1088
1089 * math/libm-test.inc (sincos_test): Add tests for large input.
1090 (sin): Likewise.
1091 (cos): Likewise.
1092
1093 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1094
9cad04ea
AS
10952012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1096
1097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1098
f7062b9a
DM
10992012-03-15 David S. Miller <davem@davemloft.net>
1100
1101 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1102 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1103 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1104 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1117 file.
f7062b9a 1118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1120 file.
f7062b9a 1121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1123 file.
f7062b9a 1124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1126 file.
f7062b9a
DM
1127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1128 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1129 fmin/fmax sysdep routines.
1130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1131
7bd951ff
DM
11322012-03-14 David S. Miller <davem@davemloft.net>
1133
559398ab
DM
1134 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1135 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1136 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1137 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1138 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1139 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1140 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1141 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1142 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1143 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1144 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1145 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1146 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1147 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1148 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1149 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1150 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1151 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1152 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1153 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1154 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1155 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1156 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1157 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1158 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1159 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1160 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1161 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1162 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1163 routines.
1164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1165 file.
559398ab 1166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
1167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1168 file.
559398ab 1169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
1170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1171 file.
559398ab 1172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
1173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1174 file.
559398ab 1175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
1176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1177 file.
559398ab 1178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
1179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1180 file.
1181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1182 file.
1183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1184 file.
1185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1186 file.
1187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1188 New file.
1189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1190 file.
1191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1192 file.
559398ab 1193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
1194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1195 file.
559398ab 1196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1198 file.
559398ab 1199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
1200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1201 file.
559398ab 1202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
1203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1204 VIS3 routines.
559398ab
DM
1205
1206 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1207 New file.
1208
5a1c1e32
DM
1209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1210
eae47a36
DM
1211 * sysdeps/sparc/configure.in: New file.
1212 * sysdeps/sparc/configure: Generate.
1213 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1214 * configure: Regenerate.
1215 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1216 * config.make.in (have-as-vis3): New.
1217 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1218 available use -Av9d instead of -Av9a.
1219 * sysdeps/sparc/sparc64/Makefile: Likewise.
1220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
1221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1222 New file.
1223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1224 file.
1225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1226 New file.
1227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1228 file.
eae47a36
DM
1229 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1230 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1231 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1232 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1233 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1234
c0c83bc8
DM
1235 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1236 fzeros/fnegs to load 0x80000000 into a float register instead of
1237 using the stack.
7bd951ff
DM
1238 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1239
bd951ccb
JM
12402012-03-14 Joseph Myers <joseph@codesourcery.com>
1241
1242 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1243 bits/syscall.h.
1244 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1245 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1246 ($(inst_includedir)/bits/syscall.h): Remove rule.
1247 ($(objpfx)bits/syscall.d): Include instead of
1248 $(objpfx)syscall-list.d.
1249 (generated): Change syscall-list.h and syscall-list.d to
1250 bits/syscall.h and bits/syscall.d.
1251
bb4e6db2
RM
12522012-03-14 Roland McGrath <roland@hack.frob.com>
1253
1254 [BZ #13846]
1255 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1256
aa4a2ae1
JM
12572012-03-14 Joseph Myers <joseph@codesourcery.com>
1258
e456826d
JM
1259 [BZ #13841]
1260 * math/s_csqrt.c: Include <float.h>.
1261 (__csqrt): Scale large or subnormal inputs.
1262 * math/s_csqrtf.c: Likewise.
1263 * math/s_csqrtl.c: Likewise.
1264 * math/libm-test.inc (csqrt_test): Add more tests.
1265 * sysdeps/i386/fpu/libm-test-ulps: Update.
1266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1267
aa4a2ae1
JM
1268 [BZ #13840]
1269 * math/libm-test.inc (hypot_test): Add more tests.
1270
7c10fd35
DM
12712012-03-13 David S. Miller <davem@davemloft.net>
1272
1273 [BZ #13840]
1274 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1275 double-precision for the calculation instead of scaling.
1276
f453b98b
JM
12772012-03-13 Joseph Myers <joseph@codesourcery.com>
1278
1279 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1280 manipulate bits before adding and subtracting TWO52[sx].
1281 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1282 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1283 Likewise.
1284 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1285
09a3453f
DM
12862012-03-13 David S. Miller <davem@davemloft.net>
1287
8e59da90
DM
1288 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1289 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1290 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1291 rtld-global-offsets.h
1292 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1293
2a8ab7f2
DM
1294 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1295 large parameters.
1296
10f62770
DM
1297 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1298
5f0bdb18
DM
1299 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1300 'err' in the ifdef scope in which it is actually used.
1301
09a3453f
DM
1302 * nss/nss_db/db-init.c: Include string.h
1303
b4b2eb5e
DM
13042012-03-12 David S. Miller <davem@davemloft.net>
1305
98bb2f1c
DM
1306 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1307 masking out of the most significant byte of random value used.
1308 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1309 Fix coding style in previous change.
1310
b4b2eb5e
DM
1311 * sysdeps/unix/sysv/linux/kernel-features.h
1312 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1313 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1314 expression.
1315 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1316 later.
1317
6e226b09
DM
13182012-03-11 David S. Miller <davem@davemloft.net>
1319
a1bcbd40
DM
1320 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1321 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1322 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1323 for 'resultvar' otherwise things get truncated on 64-bit.
1324
cb9d6174
DM
1325 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1326 Fix masking out of the most significant byte of random value used.
1327
6e226b09
DM
1328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1329
058c132d
AS
13302012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1331
1332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1333
2d2cd515
DM
13342012-03-09 David S. Miller <davem@davemloft.net>
1335
1336 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1337 variables with appropriate CPP guards.
1338 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1339 frame pointer, not the stack pointer. Correct layout comments. Fix test
1340 on resulting framesize and the management of the outregs buffer for pltexit.
1341 Preserve floating point return values across _dl_call_pltexit call.
1342 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1343 framesize and the management of the outregs buffer for pltexit.
1344 Preserve floating point return values across _dl_call_pltexit
1345 call.
1346 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1347 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1348 (print_exit): Fix format string for return register value.
1349
9a07f9d0
JM
13502012-03-10 Joseph Myers <joseph@codesourcery.com>
1351
1352 * sunrpc/Makefile (others): Add rpcgen.
1353 ($(objpfx)rpcgen): Remove special build rule and dependency on
1354 libc.
1355 * sunrpc/rpcgen.c: New file.
1356
547b5e30
PE
13572012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1358
c524201a
PE
1359 [BZ #13673]
1360 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1361 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1362 * sysdeps/i386/crti.S: Likewise.
1363 * sysdeps/i386/crtn.S: Likewise.
1364 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1365 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1366 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1367 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1368 * sysdeps/sh/crti.S: Likewise.
1369 * sysdeps/sh/crtn.S: Likewise.
1370 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1371
7b6235f2
PE
1372 [BZ #13673]
1373 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1374 with URL.
1375 * locale/programs/locfile-kw.gperf: Likewise.
1376 * locale/programs/charmap-kw.h: Regenerated.
1377 * locale/programs/locfile-kw.h: Likewise.
1378
547b5e30
PE
1379 [BZ #13673]
1380 * intl/plural.y: Replace FSF snail mail address with URL.
1381 * intl/plural.c: Regenerated.
1382
5f0a5dae
RH
13832012-03-09 Richard Henderson <rth@twiddle.net>
1384
1385 * include/math_private.h: Remove file.
1386 * math/math_private.h: Move file ...
1387 * sysdeps/generic/math_private.h: ... here.
1388
b8c03620
RH
1389 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1390 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1391 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1392
4e234f5d 1393 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
1394 and <math_private.h>.
1395 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1396 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1397 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1398 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1399 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1400 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1401 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1402 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1403 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1404 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1405 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1406 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1407 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1408 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1409 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1410 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1411 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1412 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1413 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1414 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1415 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1416 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1417 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1418 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1419 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1420 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1421 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1422 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1423 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1424 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1425 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1426 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1427 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1428 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1429 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1430 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1431 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1432 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1433 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1434 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1435 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1436 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1437 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1438 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1439 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1440 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1441 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1442 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1443 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1444 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1445 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1446 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1447 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1448 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1449 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1450 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1451 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1452 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1453 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1454 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1455 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1456 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1457 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1458 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1459 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1460 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1461 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1462 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1463 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1464 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1465 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1466 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1467 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1468 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1469 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1470 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1471 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1472 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1473 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1474 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1475 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1476 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1477 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1478 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1479 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1480 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1481 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1482 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1483 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1484 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1485 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1486 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1487 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1488 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1489 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1490 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1491 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1492 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1493 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1494 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1495 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1496 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1497 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1498 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1499 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1500 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1501 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1502 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1503 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1504 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1505 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1506 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1507 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1508 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1509 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1510 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1511 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1512 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1513 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1514 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1515 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1516 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1517 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1518 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1519 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1520 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1521 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1522 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1523 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1524 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1525 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1526 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1527 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1528 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1529 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1530 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1531 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1532 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1533 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1534 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1535 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1536 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1537 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1538 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1539 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1540 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1541 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1542 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1543 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1544 * sysdeps/ieee754/k_standard.c: Likewise.
1545 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1546 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1547 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1548 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1549 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1550 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1551 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1552 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1553 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1554 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1555 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1556 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1557 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1558 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1559 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1560 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1561 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1562 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1563 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1564 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1565 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1566 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1567 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1568 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1569 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1570 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1571 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1572 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1573 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1574 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1575 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1576 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1577 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1578 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1579 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1580 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1581 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1582 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1583 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1584 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1585 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1586 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1587 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1588 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1589 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1590 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1591 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1592 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1593 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1594 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1595 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1596 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1597 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1598 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1599 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1600 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1601 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1602 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1603 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1604 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1605 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1606 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1607 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1608 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1609 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1610 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1611 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1612 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1613 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1614 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1615 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1616 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1617 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1618 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1619 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1620 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1621 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1622 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1623 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1624 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1625 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1626 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1627 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1628 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1629 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1630 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1631 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1632 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1633 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1634 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1635 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1636 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1637 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1638 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1639 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1640 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1641 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1642 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1643 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1644 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1645 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1646 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1647 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1648 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1649 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1650 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1651 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1652 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1653 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1654 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1655 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1656 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1657 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1658 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1659 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1660 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1661 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1662 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1663 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1664 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1665 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1666 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1667 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1668 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1669 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1670 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1671 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1672 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1673 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1674 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1675 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1676 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1677 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1678 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1679 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1680 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1681 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1682 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1683 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1684 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1685 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1686 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1687 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1688 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1689 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1690 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1691 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1692 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1693 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1694 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1695 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1696 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1697 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1698 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1699 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1700 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1701 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1702 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1703 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1704 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1705 * sysdeps/ieee754/s_lib_version.c: Likewise.
1706 * sysdeps/ieee754/s_matherr.c: Likewise.
1707 * sysdeps/ieee754/s_signgam.c: Likewise.
1708 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1709 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1710 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1711 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1712 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1713 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1714 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1715 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1716 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1717 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1718 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1719 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1720 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1721 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1722 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1723 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1724 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1725 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1726 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1727 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1728 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 1729
1991fa03
JM
17302012-03-09 Joseph Myers <joseph@codesourcery.com>
1731
1732 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1733 * sunrpc/rpc_main.c: Likewise.
1734 * sunrpc/rpc_svcout.c: Likewise.
1735
60d6f5a6
DM
17362012-03-09 David S. Miller <davem@davemloft.net>
1737
1738 * include/math_private.h: New file.
1739
4962050e
JM
17402012-03-09 Joseph Myers <joseph@codesourcery.com>
1741
02a6f887
JM
1742 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1743 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1744 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1745 from <bits/socket_type.h>.
1746 (enum __socket_type): Don't define here.
1747 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1748 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1749 bits/socket_type.h.
1750
c6e013c1
JM
1751 [BZ #13566]
1752 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1753 checking __USE_GNU.
1754
4962050e
JM
1755 * Makerules ($(inst_includedir)/%.h): New rule.
1756 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1757 (install-others): Remove variable setting.
1758 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1759
38842f45
RH
17602012-03-08 Richard Henderson <rth@twiddle.net>
1761
67bb6da6
RH
1762 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1763 from macro to inline function; merge with the
1764 !__LIBC_INTERNAL_MATH_INLINES version.
1765 (__ieee754_sqrtf): Likewise.
1766
15194b4b
RH
1767 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1768 to inline function.
1769 (__rintf, __floor, __floorf): Likewise.
1770
64e21ede
RH
1771 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1772 macro to inline function.
1773 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1774
38842f45
RH
1775 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1776 not <math/math_private.h>.
1777
c64bf5fe
DM
17782012-03-08 David S. Miller <davem@davemloft.net>
1779
1780 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1781 copyright year.
1782 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1783
82d86f28
TS
17842012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1785
1786 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1787 normalization.
1788 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1789 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1790
aea5d727
UD
17912012-03-08 Ulrich Drepper <drepper@gmail.com>
1792
1793 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1794 be defined individually, they must be defined as a block. Define
1795 S for printing a string instead of hidint the different by using a
1796 macro for adding the 'l'.
1797 * stdio-common/tst-fphex-wide.c: Adjust.
1798
70bca0a3
MP
17992012-03-07 Marek Polacek <polacek@redhat.com>
1800
1801 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1802
65b81130
MP
18032012-03-08 Marek Polacek <polacek@redhat.com>
1804
1805 [BZ #13806]
1806 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1807 * stdio-common/tst-fphex.c: Define a few macros to make the
1808 test reusable. Use them.
1809 * stdio-common/tst-fphex-wide.c: New file.
1810
07037eeb
JM
18112012-03-08 Joseph Myers <joseph@codesourcery.com>
1812
a7a93d50
JM
1813 [BZ #6911]
1814 * manual/macros.texi (gnusystems): New macro.
1815 (nongnusystems): Likewise.
1816 (gnulinuxhurdsystems): Likewise.
1817 (gnuhurdsystems): Likewise..
1818 (gnulinuxsystems): Likewise.
1819 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1820 variants of the GNU system, not "GNU system".
1821 * manual/conf.texi: Likewise.
1822 * manual/errno.texi: Likewise. Update example of errno macro
1823 expansion.
1824 * manual/filesys.texi: Likewise.
1825 (getumask): Document as specific to GNU/Hurd.
1826 * manual/install.texi: Likewise. Reword some references to
1827 GNU/Linux.
1828 * manual/intro.texi: Likewise.
1829 * manual/io.texi: Likewise.
1830 (File Name Portability): Detail which constraints are inapplicable
1831 to all GNU systems and which are only inapplicable to GNU/Hurd.
1832 * manual/job.texi: Likewise.
1833 * manual/llio.texi: Likewise.
1834 (O_NOCTTY): Document as present on GNU/Linux.
1835 * manual/maint.texi: Likewise.
1836 * manual/memory.texi: Likewise.
1837 * manual/pattern.texi: Likewise.
1838 * manual/pipe.texi: Likewise.
1839 * manual/process.texi: Likewise.
1840 * manual/resource.texi: Likewise.
1841 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1842 child on GNU/Hurd.
1843 * manual/setjmp.texi: Likewise.
1844 * manual/signal.texi: Likewise.
1845 * manual/startup.texi: Likewise.
1846 * manual/stdio.texi: Likewise.
1847 * manual/terminal.texi: Likewise.
1848 (ONLCR): Document as POSIX.
1849 (OXTABS): Document availability on GNU/Linux as XTABS.
1850 (ONOEOT): Document availability separately from other bits.
1851 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1852 * manual/time.texi: Likewise.
1853 * manual/users.texi: Likewise.
1854 * INSTALL: Regenerated.
1855 * sysdeps/gnu/errlist.c: Regenerated.
1856
07037eeb
JM
1857 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1858 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1859 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1860 puts.
1861 * configure: Regenerated.
1862
d1d3431a
JM
18632012-03-07 Joseph Myers <joseph@codesourcery.com>
1864
af6a1e37
JM
1865 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1866 default includes instead of AC_HEADER_CHECK.
1867 * sysdeps/i386/configure: Regenerated.
1868
d1d3431a
JM
1869 [BZ #10716]
1870 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1871 * math/s_cacoshf.c (__cacoshf): Likewise.
1872 * math/s_cacoshl.c (__cacoshl): Likewise.
1873 * math/s_casinh.c (__casinh): Set signs of result from argument.
1874 * math/s_casinhf.c (__casinhf): Likewise.
1875 * math/s_casinhl.c (__casinhl): Likewise.
1876 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1877 (casinh_test): Add more tests.
1878 * sysdeps/i386/fpu/libm-test-ulps: Update.
1879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1880
482ff4da
UD
18812012-03-07 Ulrich Drepper <drepper@gmail.com>
1882
872fda05
UD
1883 * po/zh_TW.po: Update from translation team.
1884
a4300c7a
UD
1885 * login/Makefile (distribute): Remove variable.
1886 * catgets/Makefile: Likewise.
1887 * mach/Makefile: Likewise.
1888 * malloc/Makefile: Likewise.
1889 * misc/Makefile: Likewise.
1890 * iconv/Makefile: Likewise.
1891 * nscd/Makefile: Likewise.
1892 * hurd/Makefile: Likewise.
1893 * manual/Makefile: Likewise.
1894 * locale/Makefile: Likewise.
1895 * intl/Makefile: Likewise.
1896 * conform/Makefile: Likewise.
1897 * nss/Makefile: Likewise.
1898 * time/Makefile: Likewise.
1899 * soft-fp/Makefile: Likewise.
1900 * dirent/Makefile: Likewise.
1901 * gmon/Makefile: Likewise.
1902 * po/Makefile: Likewise.
1903 * rt/Makefile: Likewise.
1904 * socket/Makefile: Likewise.
1905 * math/Makefile: Likewise.
1906 * signal/Makefile: Likewise.
1907 * debug/Makefile: Likewise.
1908 * elf/Makefile: Likewise.
1909 * timezone/Makefile: Likewise.
1910 * stdlib/Makefile: Likewise.
1911 * iconvdata/Makefile: Likewise.
1912 * sunrpc/Makefile: Likewise.
1913 * io/Makefile: Likewise.
1914 * argp/Makefile: Likewise.
1915 * inet/Makefile: Likewise.
1916 * hesiod/Makefile: Likewise.
1917 * grp/Makefile: Likewise.
1918 * csu/Makefile: Likewise.
1919 * wctype/Makefile: Likewise.
1920 * crypt/Makefile: Likewise.
1921 * libio/Makefile: Likewise.
1922 * string/Makefile: Likewise.
1923 * nis/Makefile: Likewise.
1924 * resolv/Makefile: Likewise.
1925 * stdio-common/Makefile: Likewise.
1926 * wcsmbs/Makefile: Likewise.
1927 * dlfcn/Makefile: Likewise.
1928 * posix/Makefile: Likewise.
1929
482ff4da
UD
1930 * timezone/Makefile: Don't install timezone files, just the programs
1931 and scripts.
1932
f72ed77d
UD
19332012-03-06 Ulrich Drepper <drepper@gmail.com>
1934
a000466f
UD
1935 * nss/databases.def: Add missing gshadow entry.
1936
f72ed77d
UD
1937 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
1938
a53b7a4e
MP
19392012-03-06 Marek Polacek <polacek@redhat.com>
1940
1941 [BZ #13726]
1942 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1943 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1944 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1945 * stdio-common/tst-long-dbl-fphex.c: New file.
1946
e9258400
DM
19472012-03-06 David S. Miller <davem@davemloft.net>
1948
1949 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1950 (set_obp_int): New function.
1951 (get_obp_int): New function.
1952 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
1953 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
1954 Avoid unused variable warnings on 'val' and use builtin_expect.
1955 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1956 __builtin_expect.
e9258400
DM
1957 (INLINE_CLONE_SYSCALL): Likewise.
1958
3bd2c723
DM
19592012-03-05 David S. Miller <davem@davemloft.net>
1960
1961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1962
bbb78d03
AS
19632012-03-05 Andreas Schwab <schwab@linux-m68k.org>
1964
884c5db4
AS
1965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1966
bbb78d03
AS
1967 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
1968 only for |x| >= 40.
1969 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1970
1c9f702a 19712012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
1972
1973 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
1974 Replace gettimeofday with __vdso_gettimeofday.
1975
7be16f82
RM
1976 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1977 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
1978 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
1979
1980 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
1981 time with __vdso_time.
1982
ed58a00f
JM
19832012-03-05 Joseph Myers <joseph@codesourcery.com>
1984
1985 * manual/lang.texi (size_t): Note types to which size_t may be
1986 equivalent with the GNU C Library, but do not describe when
1987 differences between them are significant.
1988
30ee4ced
AJ
19892012-03-05 Andreas Jaeger <aj@suse.de>
1990
1991 * sysdeps/i386/fpu/libm-test-ulps: Update.
1992
b7cd39e8
JM
19932012-03-05 Joseph Myers <joseph@codesourcery.com>
1994
1995 [BZ #3976]
1996 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
1997 (__ieee754_pow): Save and restore rounding mode and use
1998 round-to-nearest for main computations.
1999 * math/libm-test.inc (pow_test_tonearest): New function.
2000 (pow_test_towardzero): Likewise.
2001 (pow_test_downward): Likewise.
2002 (pow_test_upward): Likewise.
2003 (main): Call the new functions.
2004 * sysdeps/i386/fpu/libm-test-ulps: Update.
2005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
2006
2007 [BZ #3976]
2008 * math/libm-test.inc (cosh_test_tonearest): New function.
2009 (cosh_test_towardzero): Likewise.
2010 (cosh_test_downward): Likewise.
2011 (cosh_test_upward): Likewise.
2012 (sinh_test_tonearest): Likewise.
2013 (sinh_test_towardzero): Likewise.
2014 (sinh_test_downward): Likewise.
2015 (sinh_test_upward): Likewise.
2016 (main): Call the new functions.
2017 * sysdeps/i386/fpu/libm-test-ulps: Update.
2018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2019
6c6a98c9
TV
20202012-03-05 Tom de Vries <tom@codesourcery.com>
2021
2022 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2023 default stack guard is set in last bytes.
2024 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2025
21bb2d2e 20262012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2027
21bb2d2e 2028 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2029
21bb2d2e
AJ
2030 [BZ #13656]
2031 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2032 possibly allocate from heap instead of stack.
2033 * stdio-common/bug-vfprintf-nargs.c: New file.
2034 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2035
c6922934
AS
20362012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2037
2038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2039
bc957d53
MP
20402012-03-03 Marek Polacek <polacek@redhat.com>
2041
2042 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2043 * math/math_private.h: Likewise.
2044 * stdlib/tst-strtod.c: Likewise.
2045 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2046 * sysdeps/x86_64/bits/atomic.h: Likewise.
2047
6358490d
DM
20482012-03-02 David S. Miller <davem@davemloft.net>
2049
2050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2054 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2055 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2056 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2057 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2058
01ae168d
RM
20592012-03-02 Roland McGrath <roland@hack.frob.com>
2060
d9a17c07
RM
2061 [BZ #13792]
2062 * manual/examples/README: New file, says the example source files
2063 can be used under GPL>=2.
2064 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2065 line containing just "*/".
2066 * manual/examples/add.c: Add copyright header (GPL>=2).
2067 * manual/examples/argp-ex1.c: Likewise.
2068 * manual/examples/argp-ex2.c: Likewise.
2069 * manual/examples/argp-ex3.c: Likewise.
2070 * manual/examples/argp-ex4.c: Likewise.
2071 * manual/examples/atexit.c: Likewise.
2072 * manual/examples/db.c: Likewise.
2073 * manual/examples/dir.c: Likewise.
2074 * manual/examples/dir2.c: Likewise.
2075 * manual/examples/execinfo.c: Likewise.
2076 * manual/examples/filecli.c: Likewise.
2077 * manual/examples/filesrv.c: Likewise.
2078 * manual/examples/fmtmsgexpl.c: Likewise.
2079 * manual/examples/genpass.c: Likewise.
2080 * manual/examples/inetcli.c: Likewise.
2081 * manual/examples/inetsrv.c: Likewise.
2082 * manual/examples/isockad.c: Likewise.
2083 * manual/examples/longopt.c: Likewise.
2084 * manual/examples/memopen.c: Likewise.
2085 * manual/examples/memstrm.c: Likewise.
2086 * manual/examples/mkfsock.c: Likewise.
2087 * manual/examples/mkisock.c: Likewise.
2088 * manual/examples/mygetpass.c: Likewise.
2089 * manual/examples/pipe.c: Likewise.
2090 * manual/examples/popen.c: Likewise.
2091 * manual/examples/rprintf.c: Likewise.
2092 * manual/examples/search.c: Likewise.
2093 * manual/examples/select.c: Likewise.
2094 * manual/examples/setjmp.c: Likewise.
2095 * manual/examples/sigh1.c: Likewise.
2096 * manual/examples/sigusr.c: Likewise.
2097 * manual/examples/stpcpy.c: Likewise.
2098 * manual/examples/strdupa.c: Likewise.
2099 * manual/examples/strftim.c: Likewise.
2100 * manual/examples/strncat.c: Likewise.
2101 * manual/examples/subopt.c: Likewise.
2102 * manual/examples/swapcontext.c: Likewise.
2103 * manual/examples/termios.c: Likewise.
2104 * manual/examples/testopt.c: Likewise.
2105 * manual/examples/testpass.c: Likewise.
2106 * manual/examples/timeval_subtract.c: Likewise.
2107
01ae168d
RM
2108 [BZ #13792]
2109 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2110 function to ...
2111 * manual/timeval_subtract.c.texi: ... here, new file.
2112
49efa33d
DM
21132012-03-02 David S. Miller <davem@davemloft.net>
2114
2115 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2116
28afd92d
JM
21172012-03-02 Joseph Myers <joseph@codesourcery.com>
2118
804360ed
JM
2119 [BZ #3976]
2120 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2121 (__sin): Save and restore rounding mode and use round-to-nearest
2122 for all computations.
2123 (__cos): Save and restore rounding mode and use round-to-nearest
2124 for all computations.
2125 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2126 <fenv.h>.
2127 (tan): Save and restore rounding mode and use round-to-nearest for
2128 all computations.
2129 * math/libm-test.inc (cos_test_tonearest): New function.
2130 (cos_test_towardzero): Likewise.
2131 (cos_test_downward): Likewise.
2132 (cos_test_upward): Likewise.
2133 (sin_test_tonearest): Likewise.
2134 (sin_test_towardzero): Likewise.
2135 (sin_test_downward): Likewise.
2136 (sin_test_upward): Likewise.
2137 (tan_test_tonearest): Likewise.
2138 (tan_test_towardzero): Likewise.
2139 (tan_test_downward): Likewise.
2140 (tan_test_upward): Likewise.
2141 (main): Call the new functions.
2142 * sysdeps/i386/fpu/libm-test-ulps: Update.
2143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2144
a6d06d7b
JM
2145 [BZ #10135]
2146 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2147 small n, then large n, before computing and testing k+n.
2148 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2149 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2150 Likewise.
2151 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2152 Likewise.
2153 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2154 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2155 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2156 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2157 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2158 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2159 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2160 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2161 * math/libm-test.inc (scalbn_test): Add more tests.
2162 (scalbln_test): Likewise.
2163
07e12bb3
JM
2164 * manual/filesys.texi (mode_t): Describe constraints on size and
2165 signedness, not exact equivalence to a particular type.
2166 (ino_t): Likewise.
2167 (ino64_t): Likewise.
2168 (dev_t): Likewise.
2169 (nlink_t): Likewise.
2170 (blkcnt_t): Likewise.
2171 (blkcnt64_t): Likewise.
2172 * manual/llio.texi (off_t): Likewise.
2173
28afd92d
JM
2174 [BZ #3976]
2175 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2176 (__ieee754_exp): Save and restore rounding mode and use
2177 round-to-nearest for all computations.
2178 * math/libm-test.inc (exp_test_tonearest): New function.
2179 (exp_test_towardzero): Likewise.
2180 (exp_test_downward): Likewise.
2181 (exp_test_upward): Likewise.
2182 (main): Call the new functions.
2183 * sysdeps/i386/fpu/libm-test-ulps: Update.
2184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2185
b1eeb65d
CD
21862012-03-01 Chris Demetriou <cgd@google.com>
2187
2188 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2189 have predictable order.
2190
53362a4b
DM
21912012-03-01 David S. Miller <davem@davemloft.net>
2192
3c969083
DM
2193 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2194
759707de
DM
2195 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2196 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2197 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2198 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2199
dfdb8ff2
DM
2200 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2201 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2202 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2204 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2205 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2206 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2207 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2208 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2209
ead89f96
DM
2210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2211
7f66bd07
DM
2212 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2213 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2214 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2215
53362a4b
DM
2216 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2217 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2218 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2219 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2220 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2221 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2222 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2223 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2224 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2225 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2226 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2227 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2228 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2229 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2230 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2231 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2232 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2233 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2234 * sysdeps/sparc/elf/configure: Regenerated.
2235
7b1902cb
JM
22362012-03-01 Joseph Myers <joseph@codesourcery.com>
2237
bec039bc
JM
2238 * configure.in (AS, LD): Require binutils 2.20 or later.
2239 * configure: Regenerated.
2240 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2241 as required minimum version.
2242 * INSTALL: Regenerated.
2243
7b1902cb
JM
2244 [BZ #2541]
2245 [BZ #4108]
2246 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2247 before squaring exponent.
2248 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2249 bottom long double and 27 bits of top long double before squaring
2250 exponent.
2251 * math/libm-test.inc (erfc_test): Add more tests.
2252 * sysdeps/i386/fpu/libm-test-ulps: Update.
2253 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2255
f775c276
KT
22562012-03-01 Kai Tietz <ktietz@redhat.com>
2257
2258 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2259 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2260 containing bit-fields.
2261 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2262 * soft-fp/single.h (_FP_UNION_S): Likewise.
2263 * soft-fp/double.h (_FP_UNION_D): Likewise.
2264
5b8a4d4a
JM
22652012-02-29 Joseph Myers <joseph@codesourcery.com>
2266
0bab47b6
JM
2267 [BZ #13786]
2268 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2269 not include ../strcmp.S.
2270 [USE_AS_STRNCASECMP_L]: Likewise.
2271 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2272 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2273 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2274 (__strncasecmp_l_ia32): Define as alias to
2275 __strncasecmp_l_nonascii.
2276
0fcad3e2
JM
2277 [BZ #5794]
2278 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2279 * sysdeps/i386/fpu/libm-test-ulps: Update.
2280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2281
5b8a4d4a
JM
2282 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2284
8fdceb2e
JL
22852012-02-29 Jeff Law <law@redhat.com>
2286
2287 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2288 out of bounds read.
2289
1f393a11
MP
22902012-02-29 Marek Polacek <polacek@redhat.com>
2291
2292 [BZ #13706]
2293 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2294 * elf/Makefile: Add rules to run tst-unused-dep.out.
2295
8847f037
DM
22962012-02-28 David S. Miller <davem@davemloft.net>
2297
2298 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2299 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2300 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2301 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2302 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2303 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2304
169d7f11
JM
23052012-02-29 Joseph Myers <joseph@codesourcery.com>
2306
2307 * math/libm-test.inc (llround_test): Move one test from
2308 lround_test. Use TEST_f_L in moved test.
2309 (lround_test): Move misplaced test to llround_test. Add testcase
2310 from bug 2561.
2311
39adf059
UD
23122012-02-28 Ulrich Drepper <drepper@gmail.com>
2313
2314 * sysdeps/x86_64/fpu/e_expf.S: New file.
2315 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2316
71b5d1c5
SB
23172012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2318
2319 [BZ #13637]
2320 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2321 of remain_len that may cause incomplete multi-byte character and
2322 false match.
2323 * posix/bug-regex33.c: New file.
2324 * posix/Makefile (tests): Add bug-regex33.
2325
1f77f049
JM
23262012-02-28 Joseph Myers <joseph@codesourcery.com>
2327
2328 * manual/macros.texi: New file.
2329 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2330 * manual/libc.texinfo: Include macros.texi.
2331 * manual/creatute.texi: Likewise.
2332 * manual/install.texi: Likewise.
2333 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2334 @glibcadj{} in references to the GNU C Library.
2335 * manual/charset.texi: Likewise.
2336 * manual/conf.texi: Likewise.
2337 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2338 when not using those macros.
2339 * manual/creature.texi: Likewise.
2340 * manual/crypt.texi: Likewise.
2341 * manual/errno.texi: Likewise.
2342 * manual/filesys.texi: Likewise.
2343 * manual/header.texi: Likewise.
2344 * manual/install.texi: Likewise.
2345 * manual/intro.texi: Likewise.
2346 * manual/io.texi: Likewise.
2347 * manual/job.texi: Likewise.
2348 * manual/lang.texi: Likewise.
2349 * manual/libc.texiinfo: Likewise.
2350 * manual/llio.texi: Likewise.
2351 * manual/locale.texi: Likewise.
2352 * manual/maint.texi: Likewise.
2353 * manual/math.texi: Likewise.
2354 * manual/memory.texi: Likewise.
2355 * manual/message.texi: Likewise.
2356 * manual/nss.texi: Likewise.
2357 * manual/pattern.texi: Likewise.
2358 * manual/process.texi: Likewise.
2359 * manual/resource.texi: Likewise.
2360 * manual/search.texi: Likewise.
2361 * manual/setjmp.texi: Likewise.
2362 * manual/signal.texi: Likewise.
2363 * manual/socket.texi: Likewise.
2364 * manual/startup.texi: Likewise.
2365 * manual/stdio.texi: Likewise.
2366 * manual/string.texi: Likewise.
2367 * manual/sysinfo.texi: Likewise.
2368 * manual/syslog.texi: Likewise.
2369 * manual/terminal.texi: Likewise.
2370 * manual/time.texi: Likewise.
2371 * manual/users.texi: Likewise.
2372 * INSTALL: Regenerated.
2373 * NOTES: Regenerated.
d40c5d54 2374 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 2375
450bf206
AS
23762012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2377
2378 * include/dirent.h: Include <dirstream.h> before
2379 <dirent/dirent.h>.
2380
741a235b
DM
23812012-02-28 David S. Miller <davem@davemloft.net>
2382
2383 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2384 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2385 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2386 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2387
d6b5aa58
DM
23882012-02-27 David S. Miller <davem@davemloft.net>
2389
1aff59a3
DM
2390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2392 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2393 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2394
d6b5aa58
DM
2395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2396 frame pointer instead of stack pointer relative arg slot.
2397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2398 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2399 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2400
433f48bf
CD
24012012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2402
2403 [BZ #3992]
2404 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2405
d674b76d
DM
24062012-02-27 David S. Miller <davem@davemloft.net>
2407
2408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2412 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2413 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2414 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2415 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2416
0e7727f7
JM
24172012-02-27 Joseph Myers <joseph@codesourcery.com>
2418
2419 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2420 later. Allow versions 5-9.
43be4ca2 2421 * configure: Regenerated.
0e7727f7
JM
2422 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2423 required minimum version and 4.6 as recommended version. Do not
2424 mention bugs in GCC 2.7 and 2.8.
43be4ca2 2425 * INSTALL: Regenerated.
0e7727f7 2426
a78bc654
DM
24272012-02-27 David S. Miller <davem@davemloft.net>
2428
428d5830
DM
2429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2433 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2434 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2435 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2436 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2437
a78bc654
DM
2438 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2439 manipulate bits before adding and subtracting TWO112[sx].
2440 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2441
4579f81c
RM
24422012-02-27 Roland McGrath <roland@hack.frob.com>
2443
36c8acb4
RM
2444 [BZ #13775]
2445 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2446 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2447 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2448 being in POSIX, because they are in 1003.1-2008.
2449
84ad622b
RM
2450 * rt/tst-aio.c: Include <fcntl.h>.
2451 * rt/tst-aio7.c: Likewise.
2452 * rt/tst-aio64.c: Likewise.
2453
4579f81c
RM
2454 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2455
abd923db
JM
24562012-02-27 Joseph Myers <joseph@codesourcery.com>
2457
2458 * manual/install.texi (--with-headers): Describe headers as
2459 interface headers, not private headers.
2460 (Specific advice for GNU/Linux systems): Describe use of headers
2461 from "make headers_install", not private headers from older
2462 kernels.
43be4ca2 2463 * INSTALL: Regenerated.
abd923db
JM
2464 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2465 Change to 2.6.19.
2466 * sysdeps/unix/sysv/linux/configure: Regenerated.
2467
6664049b
JM
2468 * manual/llio.texi (fclean): Remove documentation.
2469
bb8b6697
JM
2470 * manual/Makefile (libc-texi-generated): New variable. Include
2471 version.texi.
2472 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2473 $(libc-texi-generated), not duplicated list of files.
2474 (version.texi, stamp-version): New rules.
2475 (realclean): Remove $(libc-texi-generated), not individual files
2476 from that list. Do not remove dir-add.texinfo.
2477 * manual/libc.texinfo: Comment out uses of edition numbers and
2478 references to printed manual. Remove last-updated dates.
2479 (EDITION): Comment out.
2480 (ISBN): Likewise.
2481 (VERSION, UPDATED): Remove.
2482 (version.texi): Include.
2483
12e5c3b9
AS
24842012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2485
2486 * sysdeps/posix/spawni.c: Include <signal.h>.
2487 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2488 * sysdeps/pthread/aio_fsync.c: Likewise.
2489
4efeffc1 24902012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 2491
ba63ba08
UD
2492 * conform/Makefile (tests): Run only when not cross-compiling and
2493 when fast-check is not defined.
2494
d94a4670
UD
2495 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2496 * conform/data/limits.h-data: Fixes for POSIX2008.
2497 * conform/run-conformtest.sh: Run all tests.
2498 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2499 headers.
2500 * include/bits/dlfcn.h: Likewise.
2501 * include/langinfo.h: Likewise.
2502 * include/monetary.h: Likewise.
2503 * include/sys/poll.h: Likewise.
2504
2505 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2506 for __USE_GNU.
2507 * posix/spawn.h: Define __need_sigset_t.
2508 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2509 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2510 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2511 to get sigevent_t only.
2512 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2513 only for __USE_GNU.
2514 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2515 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2516 process_vm_writev only for __USE_GNU.
2517 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
2518
2519 * conform/Makefile: For now ignore errors from run-conformtest.
2520 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2521 POSIX to avoid namespace pollution. Don't prepend headers.
2522 * conform/data/aio.h-data: Fixes for POSIX testing.
2523 * conform/data/fcntl.h-data: Likewise.
2524 * conform/data/glob.h-data: Likewise.
2525 * conform/data/grp.h-data: Likewise.
2526 * conform/data/pthread.h-data: Likewise.
2527 * conform/data/pwd.h-data: Likewise.
2528 * conform/data/signal.h-data: Likewise.
2529 * conform/data/spawn.h-data: Likewise.
2530 * conform/data/stdio.h-data: Likewise.
2531 * conform/data/stdlib.h-data: Likewise.
2532 * conform/data/stropts.h-data: Likewise.
2533 * conform/data/sys/mman.h-data: Likewise.
2534 * conform/data/sys/stat.h-data: Likewise.
2535 * conform/data/sys/types.h-data: Likewise.
2536 * conform/data/sys/wait.h-data: Likewise.
2537 * conform/data/time.h-data: Likewise.
2538 * conform/data/unistd.h-data: Likewise.
2539 * conform/data/utime.h-data: Likewise.
2540
2541 * io/sys/stat.h: fchmod was always in POSIX.
2542 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2543 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2544 * rt/aio.h: Define __need_timespec before including <time.h>.
2545 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2546 struct. Add forward declaration of pthread_attr_t and use it in
2547 sigevent.
2548 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2549 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2550 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2551 always remove CLK_TCK definition.
2552
c20105c3
AS
25532012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2554
2555 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2556
7a270350
UD
25572012-02-25 Ulrich Drepper <drepper@gmail.com>
2558
31341567
UD
2559 * conform/run-conformtest.sh: New file.
2560 * conform/Makefile: Run run-conformtest for tests.
2561 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2562 support.
2563
2564 * conform/data/uchar.h-data: New file.
2565 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2566 * conform/data/arpa/inet.h-data: Likewise.
2567 * conform/data/assert.h-data: Likewise.
2568 * conform/data/complex.h-data: Likewise.
2569 * conform/data/cpio.h-data: Likewise.
2570 * conform/data/ctype.h-data: Likewise.
2571 * conform/data/dirent.h-data: Likewise.
2572 * conform/data/dlfcn.h-data: Likewise.
2573 * conform/data/errno.h-data: Likewise.
2574 * conform/data/fcntl.h-data: Likewise.
2575 * conform/data/float.h-data: Likewise.
2576 * conform/data/fmtmsg.h-data: Likewise.
2577 * conform/data/fnmatch.h-data: Likewise.
2578 * conform/data/ftw.h-data: Likewise.
2579 * conform/data/glob.h-data: Likewise.
2580 * conform/data/grp.h-data: Likewise.
2581 * conform/data/iconv.h-data: Likewise.
2582 * conform/data/inttypes.h-data: Likewise.
2583 * conform/data/langinfo.h-data: Likewise.
2584 * conform/data/libgen.h-data: Likewise.
2585 * conform/data/limits.h-data: Likewise.
2586 * conform/data/locale.h-data: Likewise.
2587 * conform/data/math.h-data: Likewise.
2588 * conform/data/monetary.h-data: Likewise.
2589 * conform/data/mqueue.h-data: Likewise.
2590 * conform/data/ndbm.h-data: Likewise.
2591 * conform/data/net/if.h-data: Likewise.
2592 * conform/data/netdb.h-data: Likewise.
2593 * conform/data/netinet/in.h-data: Likewise.
2594 * conform/data/nl_types.h-data: Likewise.
2595 * conform/data/poll.h-data: Likewise.
2596 * conform/data/pthread.h-data: Likewise.
2597 * conform/data/pwd.h-data: Likewise.
2598 * conform/data/regex.h-data: Likewise.
2599 * conform/data/sched.h-data: Likewise.
2600 * conform/data/search.h-data: Likewise.
2601 * conform/data/semaphore.h-data: Likewise.
2602 * conform/data/setjmp.h-data: Likewise.
2603 * conform/data/signal.h-data: Likewise.
2604 * conform/data/spawn.h-data: Likewise.
2605 * conform/data/stdarg.h-data: Likewise.
2606 * conform/data/stdio.h-data: Likewise.
2607 * conform/data/stdlib.h-data: Likewise.
2608 * conform/data/string.h-data: Likewise.
2609 * conform/data/strings.h-data: Likewise.
2610 * conform/data/stropts.h-data: Likewise.
2611 * conform/data/sys/ipc.h-data: Likewise.
2612 * conform/data/sys/mman.h-data: Likewise.
2613 * conform/data/sys/msg.h-data: Likewise.
2614 * conform/data/sys/resource.h-data: Likewise.
2615 * conform/data/sys/select.h-data: Likewise.
2616 * conform/data/sys/sem.h-data: Likewise.
2617 * conform/data/sys/shm.h-data: Likewise.
2618 * conform/data/sys/socket.h-data: Likewise.
2619 * conform/data/sys/stat.h-data: Likewise.
2620 * conform/data/sys/statvfs.h-data: Likewise.
2621 * conform/data/sys/time.h-data: Likewise.
2622 * conform/data/sys/timeb.h-data: Likewise.
2623 * conform/data/sys/times.h-data: Likewise.
2624 * conform/data/sys/types.h-data: Likewise.
2625 * conform/data/sys/uio.h-data: Likewise.
2626 * conform/data/sys/un.h-data: Likewise.
2627 * conform/data/sys/utsname.h-data: Likewise.
2628 * conform/data/sys/wait.h-data: Likewise.
2629 * conform/data/syslog.h-data: Likewise.
2630 * conform/data/tar.h-data: Likewise.
2631 * conform/data/termios.h-data: Likewise.
2632 * conform/data/utime.h-data: Likewise.
2633 * conform/data/utmpx.h-data: Likewise.
2634 * conform/data/varargs.h-data: Likewise.
2635 * conform/data/wchar.h-data: Likewise.
2636 * conform/data/wctype.h-data: Likewise.
2637 * conform/data/wordexp.h-data: Likewise.
2638
2639 * include/stropts.h: New file.
2640 * include/uchar.h: New file.
2641 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2642 * include/assert.h: Likewise.
2643 * include/ctype.h: Likewise.
2644 * include/dirent.h: Likewise.
2645 * include/dlfcn.h: Likewise.
2646 * include/fcntl.h: Likewise.
2647 * include/fnmatch.h: Likewise.
2648 * include/glob.h: Likewise.
2649 * include/grp.h: Likewise.
2650 * include/libio.h: Likewise.
2651 * include/locale.h: Likewise.
2652 * include/math.h: Likewise.
2653 * include/net/if.h: Likewise.
2654 * include/netdb.h: Likewise.
2655 * include/netinet/in.h: Likewise.
2656 * include/pthread.h: Likewise.
2657 * include/pwd.h: Likewise.
2658 * include/regex.h: Likewise.
2659 * include/sched.h: Likewise.
2660 * include/search.h: Likewise.
2661 * include/setjmp.h: Likewise.
2662 * include/signal.h: Likewise.
2663 * include/stdio.h: Likewise.
2664 * include/stdlib.h: Likewise.
2665 * include/string.h: Likewise.
2666 * include/sys/cdefs.h: Likewise.
2667 * include/sys/mman.h: Likewise.
2668 * include/sys/msg.h: Likewise.
2669 * include/sys/resource.h: Likewise.
2670 * include/sys/select.h: Likewise.
2671 * include/sys/socket.h: Likewise.
2672 * include/sys/stat.h: Likewise.
2673 * include/sys/statvfs.h: Likewise.
2674 * include/sys/time.h: Likewise.
2675 * include/sys/times.h: Likewise.
2676 * include/sys/uio.h: Likewise.
2677 * include/sys/utsname.h: Likewise.
2678 * include/sys/wait.h: Likewise.
2679 * include/termios.h: Likewise.
2680 * include/time.h: Likewise.
2681 * include/ulimit.h: Likewise.
2682 * include/unistd.h: Likewise.
2683 * include/utime.h: Likewise.
2684 * include/wchar.h: Likewise.
2685 * include/wctype.h: Likewise.
2686 * include/wordexp.h: Likewise.
2687
2688 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2689
7a270350
UD
2690 * time/time.h: TIME_UTC must be a macro.
2691 Make timespec_get available for ISO C11 only as well.
2692
7724defc
UD
26932012-02-24 Ulrich Drepper <drepper@gmail.com>
2694
2695 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2696 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2697
6b1d1d46
JM
26982012-02-24 Joseph Myers <joseph@codesourcery.com>
2699
2700 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 2701
0f8bbd69
JM
27022012-02-24 Joseph Myers <joseph@codesourcery.com>
2703
2704 * manual/texinfo.tex: Update to version 2012-01-19.16.
2705
66ab80bc
JM
27062012-02-24 Joseph Myers <joseph@codesourcery.com>
2707
2708 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2709
74981cc5
RM
27102012-02-24 Roland McGrath <roland@hack.frob.com>
2711
ee968201
RM
2712 [BZ #13738]
2713 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2714 * manual/fdl-1.3.texi: New file.
2715 * manual/fdl-1.1.texi: File removed.
2716
74981cc5
RM
2717 [BZ #13738]
2718 * manual/libc.texinfo (FDL_VERSION): New @set.
2719 Use it for mention of FDL in cover text.
2720 (Documentation License): Use it in @include file name.
2721
7bb764bc
JM
27222012-02-22 Joseph Myers <joseph@codesourcery.com>
2723 Roland McGrath <roland@hack.frob.com>
2724
2725 [BZ #5461]
2726 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2727 not LONG_LONG_MAX and LONG_LONG_MIN.
2728 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2729 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2730 name.
2731 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2732
6cbeae47
JM
27332012-02-22 Joseph Myers <joseph@codesourcery.com>
2734
2735 [BZ #2547]
2736 [BZ #11365]
2737 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2738 manipulate bits before adding and subtracting TWO23[sx].
2739 * math/libm-test.inc (nearbyint_test): Add more tests.
2740
fe45ce09
JM
27412012-02-22 Joseph Myers <joseph@codesourcery.com>
2742
2743 [BZ #2548]
2744 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2745 bits before adding and subtracting TWO23[sx].
2746 * math/libm-test.inc (rint_test): Add more tests.
2747 (rint_test_tonearest): Likewise.
2748 (rint_test_towardzero): Likewise.
2749 (rint_test_downward): Likewise.
2750 (rint_test_upward: Likewise.
2751
ff3b3d82
JM
27522012-02-22 Joseph Myers <joseph@codesourcery.com>
2753
2754 [BZ #10110]
2755 * include/stdc-predef.h: New file. Extracted from features.h.
2756 * include/features.h: Include stdc-predef.h.
2757 * Makefile (headers): Add stdc-predef.h.
2758 * CONFORMANCE (Compiler limitations): Update.
2759
ef0aab35
JM
27602012-02-22 Joseph Myers <joseph@codesourcery.com>
2761
2762 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2763
58639409
DM
27642012-02-21 David S. Miller <davem@davemloft.net>
2765
2766 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2767 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2768
c0e70b25
DM
27692012-02-20 David S. Miller <davem@davemloft.net>
2770
2771 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2772 using a normal save/restore sequence, rather than allocating a
2773 dummy stack frame just to store a frame pointer and restore.
2774 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2775
fb06851d
JM
27762012-02-21 Joseph Myers <joseph@codesourcery.com>
2777
2778 * manual/install.texi: Fix stray word in line-wrapped comment.
2779
7a8b71c3
DM
27802012-02-20 David S. Miller <davem@davemloft.net>
2781
d510c123
DM
2782 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2783 both binutils and gcc support GOTDATA.
2784
0722d7c2
DM
2785 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2786 "rd %pc" in the PIC register setup sequences.
2787
3d2b3019
DM
2788 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2789 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2790 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2791 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2792 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2793 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2794 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2795 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2796 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2797 (SYSCALL_ERROR_HANDLER): Likewise.
2798 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2799 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2800 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2801 (SYSCALL_ERROR_HANDLER): Likewise.
2802
c80098a9
DM
2803 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2804 (HAVE_GCC_GOTDATA): New.
2805 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2806 relocation support in both binutils and gcc.
2807 * sysdeps/sparc/elf/configure: Regenerate.
2808
3a2545a0
DM
2809 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2810 * sysdeps/sparc/sparc32/elf/configure: Delete.
2811 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2812 * sysdeps/sparc/sparc64/elf/configure: Delete.
2813 * sysdeps/sparc/elf/configure.in: New file.
2814 * sysdeps/sparc/elf/configure: Generate.
2815
7a8b71c3
DM
2816 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2817 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2818 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2819 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2820 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2821
f1e86fca
JM
28222012-02-21 Joseph Myers <joseph@codesourcery.com>
2823
2824 * manual/install.texi: Do not mention specific glibc version
2825 numbers.
2826 * manual/libc.texinfo (VERSION, UPDATED): Update.
2827 (@copying): Use @copyright{} and range of years.
2828
0e7dfaef
JM
28292012-02-21 Joseph Myers <joseph@codesourcery.com>
2830
2831 [BZ #13695]
2832 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2833 [crti.S not in sysdirs] (generated): Do not append.
2834 [crti.S not in sysdirs] (omit-deps): Likewise.
2835 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2836 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2837 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2838 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2839 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2840 Likewise.
2841 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2842 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2843 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2844 * csu/defs.awk: Remove file.
2845 * sysdeps/generic/initfini.c: Likewise.
2846 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2847 variable.
2848 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2849 Likewise.
2850
599af3ca
JM
28512012-02-20 Joseph Myers <joseph@codesourcery.com>
2852
2853 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2854 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2855 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2856 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2857 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2858 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2859 <bits/epoll.h>.
2860 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2861 (__EPOLL_PACKED): Define to empty if not defined by
2862 <bits/epoll.h>.
2863 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2865 bits/epoll.h.
2866
0e499750
JM
28672012-02-20 Joseph Myers <joseph@codesourcery.com>
2868
2869 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2870 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2871 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2872 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2873 <bits/timerfd.h>.
2874 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2875 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2876 bits/timerfd.h.
2877
5ad91f6e
JM
28782012-02-20 Joseph Myers <joseph@codesourcery.com>
2879
2880 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2881 in C locale.
2882 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2883 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2884 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2886
06b99b02
AJ
28872012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2888
2889 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2890 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2891
7638c0fd
AS
28922012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2893
2894 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2895 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2896 defined.
2897 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2898 Likewise.
2899 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2900 entry for 2.16.
2901
92221550
AJ
29022012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2903
2904 * math/w_acos.c: Use non-signaling floating-point comparisons.
2905 * math/w_acosf.c: Likewise.
2906 * math/w_acosh.c: Likewise.
2907 * math/w_acoshf.c: Likewise.
2908 * math/w_acoshl.c: Likewise.
2909 * math/w_acosl.c: Likewise.
2910 * math/w_asin.c: Likewise.
2911 * math/w_asinf.c: Likewise.
2912 * math/w_asinl.c: Likewise.
2913 * math/w_atanh.c: Likewise.
2914 * math/w_atanhf.c: Likewise.
2915 * math/w_atanhl.c: Likewise.
2916 * math/w_exp2.c: Likewise.
2917 * math/w_exp2f.c: Likewise.
2918 * math/w_exp2l.c: Likewise.
2919 * math/w_j0.c: Likewise.
2920 * math/w_j0f.c: Likewise.
2921 * math/w_j0l.c: Likewise.
2922 * math/w_j1.c: Likewise.
2923 * math/w_j1f.c: Likewise.
2924 * math/w_j1l.c: Likewise.
2925 * math/w_jn.c: Likewise.
2926 * math/w_jnf.c: Likewise.
2927 * math/w_log.c: Likewise.
2928 * math/w_log10.c: Likewise.
2929 * math/w_log10f.c: Likewise.
2930 * math/w_log10l.c: Likewise.
2931 * math/w_log2.c: Likewise.
2932 * math/w_log2f.c: Likewise.
2933 * math/w_log2l.c: Likewise.
2934 * math/w_logf.c: Likewise.
2935 * math/w_logl.c: Likewise.
2936 * math/w_sqrt.c: Likewise.
2937 * math/w_sqrtf.c: Likewise.
2938 * math/w_sqrtl.c: Likewise.
2939 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2940 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2941 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2942 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2943 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2944
ebaf36eb
JM
29452012-02-19 Joseph Myers <joseph@codesourcery.com>
2946
2947 [BZ #9739]
2948 * manual/string.texi (strnlen): Use correct parameter name in
2949 equivalent expression.
2950
71c254a6
JM
29512012-02-19 Joseph Myers <joseph@codesourcery.com>
2952
2953 [BZ #11174]
2954 * manual/users.texi (seteuid): Consistently use neweuid for
2955 argument name.
2956
16d2c631
JM
29572012-02-19 Joseph Myers <joseph@codesourcery.com>
2958
2959 [BZ #13704]
2960 * manual/nss.texi (Services in the NSS configuration): Correct
2961 list of services in example configuration file.
2962
cd837b09
NB
29632012-02-19 Nick Bowler <nbowler@draconx.ca>
2964
2965 [BZ #11322]
2966 * manual/arith.texi: Remove statements about negative zero
2967 behaving identically to zero.
2968
02c4bbad
JM
29692012-02-18 Joseph Myers <joseph@codesourcery.com>
2970
2971 [BZ #5993]
2972 * manual/install.texi: Do not document upgrading from libc5.
2973
366842e7
JM
29742012-02-18 Joseph Myers <joseph@codesourcery.com>
2975
2976 [BZ #4596]
2977 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
2978
dd54084d
DM
29792012-02-18 David S. Miller <davem@davemloft.net>
2980
2981 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
2982 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
2983 %o7 across the call.
2984 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
2985 instead.
2986 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
2987 SETUP_PIC_REG_LEAF.
2988 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2989 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
2990 * sysdeps/sparc/crtn.S: Likewise.
2991
2bcc53a3
UD
29922012-02-17 Ulrich Drepper <drepper@gmail.com>
2993
2994 * aout/Makefile: Remove.
2995
09c093b5
RK
29962012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
2997
2998 [BZ #13058]
2999 * manual/examples/argp-ex1.c (main): Format definition in GNU
3000 style.
3001 * manual/examples/argp-ex2.c (main): Likewise.
3002 * manual/examples/argp-ex3.c (main): Likewise.
3003 * manual/examples/argp-ex4.c (main): Likewise.
3004 * manual/examples/longopt.c (main): Use new-style prototype
3005 definition.
3006 * manual/examples/strncat.c (main): Specify return type and use
3007 (void) for arguments.
3008 * manual/examples/subopt.c (main): Use char **argv argument.
3009
2ee633a2
JM
30102012-02-17 Joseph Myers <joseph@codesourcery.com>
3011
3012 [BZ #5077]
3013 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3014 rounding modes.
3015
0520adde
FB
30162012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3017
3018 [BZ #6907]
3019 * manual/string.texi (strchr): Change when strchrnul is
3020 recommended.
3021
3f4081cd
DGM
30222012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3023
3024 [BZ #174]
3025 * manual/locale.texi (setlocale): Document LOCPATH.
3026
d1b10e78
JM
30272012-02-17 Joseph Myers <joseph@codesourcery.com>
3028
3029 [BZ #10210]
3030 * manual/process.texi (execle): Move @dots{} before last argument.
3031
79c6869c
PB
30322012-02-17 Paul Bolle <pebolle@tiscali.nl>
3033
3034 [BZ #12047]
3035 * manual/charset.texi (Generic Charset Conversion): Fix typo
3036 (LC_TYPE -> LC_CTYPE).
3037
cc6e48bc
NB
30382012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3039
3040 [BZ #5805]
3041 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3042 (scalbnf): Likewise.
3043 (scalbnl): Likewise.
3044 (scalbln): Likewise.
3045 (scalblnf): Likewise.
3046 (scalblnl): Likewise.
3047 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3048 (vwarnx): Likewise.
3049 (verr): Likewise.
3050 (verrx): Likewise.
3051 * manual/filesys.texi (telldir): Use braces around return type.
3052 * manual/llio.texi (mmap): Add space after comma.
3053 (mmap64): Likewise.
3054 * manual/math.texi (jn): Use @var{} on parameter names.
3055 (jnf): Likewise.
3056 (jnl): Likewise.
3057 (yn): Likewise.
3058 (ynf): Likewise.
3059 (ynl): Likewise.
3060 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3061 line.
3062 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3063 "...".
3064 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3065 (sched_get_priority_max): Likewise.
3066 * manual/signal.texi (sigvec): Add space after comma.
3067 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3068 names.
3069 (if_indextoname): Likewise.
3070 (if_freenameindex): Likewise.
3071 (sendto): Use ',' instead of '.' in prototype.
3072 * manual/startup.texi (syscall): Use @dots{} instead of literal
3073 "...".
3074 * manual/stdio.texi (__fpending): Separate initial words of
3075 paragraph from @deftypefun line.
3076 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3077 "...".
3078 (vsyslog): Use @var{} on parameter names.
3079 * manual/terminal.texi (stty): Use @var{} on parameter names.
3080 * manual/users.texi (getutmp): Use @var{} on parameter names.
3081 (getutmpx): Likewise.
3082
5b23062f
JM
30832012-02-17 Joseph Myers <joseph@codesourcery.com>
3084
3085 [BZ #6884]
3086 * manual/stdio.texi (fopen): Fix typos in description of
3087 ",ccs=STRING".
3088
8dee4833
AJ
30892012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3090
3091 [BZ #4026]
3092 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3093 get clock_id definition.
3094
9078ce93
TS
30952012-02-17 Thomas Schwinge <thomas@schwinge.name>
3096
3097 [BZ #4822]
3098 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3099 (madvise): Cast every argument to void on its own.
3100
3835c55f
JM
31012012-02-17 Joseph Myers <joseph@codesourcery.com>
3102
3103 [BZ #9902]
3104 * manual/startup.texi (Exit Status): Fix typo.
3105
35c47e37
JM
31062012-02-17 Joseph Myers <joseph@codesourcery.com>
3107
3108 [BZ #10140]
3109 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3110 * manual/examples/argp-ex2.c: Likewise.
3111 * manual/examples/argp-ex3.c: Likewise.
3112
e3b69ca7
RH
31132012-02-16 Richard Henderson <rth@redhat.com>
3114
3115 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3116 * sysdeps/s390/s390-32/initfini.c: Remove.
3117 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3118 * sysdeps/s390/s390-64/initfini.c: Remove.
3119
df83af67
KK
31202012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3121
3122 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3123 compiler output for sysdeps/generic/initfini.c.
3124 * sysdeps/sh/elf/initfini.c: Remove file.
3125
f63f3380
DM
31262012-02-16 David S. Miller <davem@davemloft.net>
3127
fb59b3a4
DM
3128 [BZ #11494]
3129 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3130
f63f3380
DM
3131 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3132 * sysdeps/sparc/crti.S: New file.
3133 * sysdeps/sparc/crtn.S: New file.
3134 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3135 * sysdeps/sparc/sparc64/Makefile: Likewise.
3136
df6a4a4a
MF
31372012-02-15 Mike Frysinger <vapier@gentoo.org>
3138
6dd8f3dc 3139 [BZ #3335]
df6a4a4a
MF
3140 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3141
1cac7236
RM
31422012-02-15 Roland McGrath <roland@hack.frob.com>
3143
d2c736f8
RM
3144 [BZ #4822]
3145 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3146
1cac7236
RM
3147 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3148 (write, read, close): Likewise.
3149 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3150
8e475601
JM
31512012-02-15 Joseph Myers <joseph@codesourcery.com>
3152
3153 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3154 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3155 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3156 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3157 <bits/signalfd.h>.
3158 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3159 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3160 bits/signalfd.h.
3161
ed656b40
MP
31622012-02-14 Marek Polacek <polacek@redhat.com>
3163
3164 * sysdeps/x86_64/crti.S: New file.
3165 * sysdeps/x86_64/crtn.S: New file.
3166 * sysdeps/x86_64/elf/initfini.c: Remove file.
3167
2a979d3a
JM
31682012-02-13 Joseph Myers <joseph@codesourcery.com>
3169
3170 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3171 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3172 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3173 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3174 <bits/inotify.h>.
3175 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3176 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3177 bits/inotify.h.
3178
2a418ac3
JM
31792012-02-13 Joseph Myers <joseph@codesourcery.com>
3180
3181 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3182 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3183 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3184 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3185 <bits/eventfd.h>.
3186 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3187 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3188 bits/eventfd.h.
3189
fb779be7
TS
31902012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3191
e19e83c5
RM
3192 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3193 __feraiseexcept instead of feraiseexcept.
7c35ffed 3194
fb779be7
TS
3195 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3196 nanosleep invocations.
3197 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3198 strings, and add error checking for a nanosleep invocations.
3199
59ba27a6
PE
32002012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3201
3202 Replace FSF snail mail address with URLs, as per GNU coding standards.
3203 Most of the snail mail addresses were wrong anyway, and omitting
3204 them makes the source code easier to maintain. Almost all of the
3205 changes are to license notices and to locale LC_IDENTIFICATION
3206 addresses, except for this one:
3207 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3208 not its snail mail address.
3209
57b957eb
RH
32102012-02-09 Richard Henderson <rth@twiddle.net>
3211
af850b1c
RH
3212 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3213 of kernel-features.h.
3214
57b957eb
RH
3215 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3216
6b73181a
MP
32172012-02-08 Marek Polacek <polacek@redhat.com>
3218
3219 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3220 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3221 * sysdeps/gnu/_G_config.h: Likewise.
3222 * sysdeps/generic/_G_config.h: Likewise.
3223
26ecc33a
AS
32242012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3225
6c6dbc63
AS
3226 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3227 tests.
3228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3229
e216c012
AS
3230 * sysdeps/powerpc/powerpc32/crti.S: New file.
3231 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3232 * sysdeps/powerpc/powerpc64/crti.S: New file.
3233 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3234
26ecc33a
AS
3235 * Makeconfig (have-initfini): Don't set.
3236 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3237 * configure.in (nopic_initfini): Don't substitute.
3238 * config.h.in (HAVE_INITFINI): Don't #undef.
3239 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3240 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3241
3add8e13
JM
32422012-02-08 Joseph Myers <joseph@codesourcery.com>
3243
3244 Support crti.S and crtn.S provided directly by architectures.
3245 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3246 [crti.S in sysdirs] (omit-deps): Likewise.
3247 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3248 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3249 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3250 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3251 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3252 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3253 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3254 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3255 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3256 compiler output for sysdeps/generic/initfini.c.
3257 * sysdeps/i386/elf/Makefile: Remove file.
3258 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3259
a22f12b4
MP
32602012-02-07 Marek Polacek <polacek@redhat.com>
3261
3262 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3263 * sysdeps/gnu/_G_config.h: Likewise.
3264 * sysdeps/mach/hurd/_G_config.h: Likewise.
3265
148cf100
MP
32662012-02-07 Marek Polacek <polacek@redhat.com>
3267
3268 * math/Makefile (tests): Add tst-CMPLX2.
3269 * math/tst-CMPLX2.c: New file.
3270
cfdc0dd7
AS
32712012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3272
84ba42c4
AS
3273 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3274
cfdc0dd7
AS
3275 * math/libm-test.inc (jn_test): Add missing L suffix.
3276
622c86f4
MP
32772012-02-06 Marek Polacek <polacek@redhat.com>
3278
3279 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3280 * sysdeps/i386/fpu/e_powf.S: Likewise.
3281 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3282 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3283 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3284 * sysdeps/i386/fpu/e_pow.S: Likewise.
3285 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3286 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3287 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3288 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3289 * sysdeps/i386/fpu/e_log2.S: Likewise.
3290 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3291 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3292 * sysdeps/i386/fpu/e_powl.S: Likewise.
3293 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3294 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3295 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3296 * sysdeps/i386/fpu/e_logl.S: Likewise.
3297 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3298 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3299 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3300 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3301 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3302 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3303 * sysdeps/i386/fpu/e_log.S: Likewise.
3304 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3305 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3306 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3307 * sysdeps/i386/fpu/e_logf.S: Likewise.
3308 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3309 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3310 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3311 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3312 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3313 * sysdeps/i386/fpu/e_log10.S: Likewise.
3314 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3315 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3316 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3317 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3318 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3319 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3320 * sysdeps/i386/asm-syntax.h: Likewise.
3321 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3322 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3323 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3324 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3325 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3326 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3327 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3328 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3329 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3330 * sysdeps/powerpc/sysdep.h: Likewise.
3331 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3332 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3333
d4a54ac6
JM
33342012-02-06 Joseph Myers <joseph@codesourcery.com>
3335
3336 [BZ #411]
3337 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3338
314054ea
JM
33392012-02-06 Joseph Myers <joseph@codesourcery.com>
3340
3341 * sysdeps/i386/sysdep.h: Include <features.h>.
3342 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3343 version.
3344
d8e0ca50
JM
33452012-02-05 Joseph Myers <joseph@codesourcery.com>
3346
3347 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3348 Define.
3349 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3350 LOAD_PIC_REG_STR.
3351
b1da7dd9
JM
33522012-02-03 Joseph Myers <joseph@codesourcery.com>
3353
3354 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3355 (SETUP_PIC_REG): Use GET_PC_THUNK.
3356 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3357 macro.
3358
9a1d9254
JM
33592012-02-03 Joseph Myers <joseph@codesourcery.com>
3360
3361 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3362 for non-PIC compilation.
3363 (SETUP_PIC_REG): Add .p2align directive.
3364 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3365 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3366 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3367 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3368 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3369 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3370 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3371 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3372 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3373 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3374 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3375 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3376 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3377 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3378 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3379 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3380 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3381 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3382 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3383 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3384 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3385 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3386 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3387 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3388 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3389 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3390 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3391 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3392 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3393 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3394 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3395 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3396 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3397 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3398 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3399 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3400 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3401 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3402 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3403 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3404 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3405
65dc3b75
JM
34062012-02-03 Joseph Myers <joseph@codesourcery.com>
3407
3408 * math/tst-CMPLX.c: Include <stdio.h>.
3409
d55bf177
JM
34102012-01-31 Joseph Myers <joseph@codesourcery.com>
3411
3412 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3413 float.
3414 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3415 * sysdeps/sparc/bits/mathdef.h: Likewise.
3416
69db4f8f
MP
34172012-01-31 Marek Polacek <polacek@redhat.com>
3418
3419 * libio/libio.h: Don't define _PARAMS.
3420 * locale/programs/config.h: Don't define PARAMS.
3421 * stdlib/strtol_l.c: Likewise.
3422 (__strtol_l): Remove PARAMS from the prototype.
3423
41b81892
UD
34242012-01-31 Ulrich Drepper <drepper@gmail.com>
3425
3b49edc0
UD
3426 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3427 names. Just use the correct names. Remove unnecessary wrapper
3428 functions.
3429 * malloc/arena.c: Likewise.
3430 * malloc/hooks.c: Likewise.
3431
41b81892
UD
3432 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3433 ARENA_TEST says not to. Simplify test for creation of a new arena.
3434 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3435
27a25b6e
UD
34362012-01-30 Ulrich Drepper <drepper@gmail.com>
3437
3438 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3439 into tail calls.
3440 (update_get_addr): New function.
3441 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3442 GET_ADDR_MODULE parameter.
3443
c8a89e7d
JM
34442012-01-30 Joseph Myers <joseph@codesourcery.com>
3445
3446 * crypt/cert.c: Remove __STDC__ conditionals.
3447 * crypt/crypt-entry.c: Likewise.
3448 * crypt/crypt_util.c: Likewise.
3449 * libio/filedoalloc.c: Likewise.
3450 * libio/fileops.c: Likewise.
3451 * libio/genops.c: Likewise.
3452 * libio/iofclose.c: Likewise.
3453 * libio/iofdopen.c: Likewise.
3454 * libio/iofopen.c: Likewise.
3455 * libio/iofopen64.c: Likewise.
3456 * libio/iogetdelim.c: Likewise.
3457 * libio/iopopen.c: Likewise.
3458 * libio/obprintf.c: Likewise.
3459 * libio/oldfileops.c: Likewise.
3460 * libio/oldiofclose.c: Likewise.
3461 * libio/oldiofdopen.c: Likewise.
3462 * libio/oldiofopen.c: Likewise.
3463 * libio/oldiopopen.c: Likewise.
3464 * libio/wfiledoalloc.c: Likewise.
3465 * libio/wgenops.c: Likewise.
3466 * locale/programs/xmalloc.c: Likewise.
3467 * misc/syslog.c: Likewise.
3468 * stdio-common/xbug.c: Likewise.
3469 * string/memchr.c: Likewise.
3470 * string/memcmp.c: Likewise.
3471 * string/memrchr.c: Likewise.
3472 * string/rawmemchr.c: Likewise.
3473 * sysdeps/posix/getcwd.c: Likewise.
3474 * time/strftime_l.c: Likewise.
3475
3b100462
JM
34762012-01-30 Joseph Myers <joseph@codesourcery.com>
3477
3478 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
3479 * config.make.in (config-cflags-sse2avx): Define.
3480 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3481 Fix typo.
3482
607998af
CM
34832012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3484
3485 * scripts/config.guess: Update from upstream config git repository.
3486 * scripts/config.sub: Likewise.
3487
3601428f
CM
34882012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3489
3ac8b282
CM
3490 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3491 (EM_NUM): Update.
3492 (R_TILEPRO_*, R_TILEGX_*): New macros.
3493
e034841e
CM
3494 * scripts/firstversions.awk: Fix bug in version range handling.
3495
540d7568
CM
3496 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3497
3601428f
CM
3498 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3499
463de862
CM
3500 * include/sys/epoll.h: New file.
3501 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3502 libc_hidden_def.
3503
73139a76
UD
35042012-01-28 Ulrich Drepper <drepper@gmail.com>
3505
96bc5b45
UD
3506 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3507 Avoid unnecessary __WORDSIZE == 64 test.
3508 (fmaxf): Use VEX format if possible.
3509 (fmax): Likewise.
3510 (fminf): Likewise.
3511 (fmin): Likewise.
3512
56f6f6a2
UD
3513 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3514 * math/math_private.h: Remove libc_fegetround* and
3515 libc_fesetround*.
3516 * sysdeps/i386/configure.in: Check for -msse2avx.
3517 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3518 also if SSE2AVX is defined.
3519 Remove libc_fegetround* and libc_fesetround*.
3520 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3521 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3522 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3523 of HAS_YMM_USABLE.
3524 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3525 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3526 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3527 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3528 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3529
73139a76
UD
3530 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3531
d73f93a4
AZ
35322012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3533
3534 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3535 size is not set.
3536 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3537
6ee65ed6
UD
35382012-01-27 Ulrich Drepper <drepper@gmail.com>
3539
3540 [BZ #13618]
3541 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3542 relocation.
3543 * Makeconfig (libm): Define.
3544 * elf/Makefile: Add rules to build and run tst-relsort1.
3545 * elf/tst-relsort1.c: New file.
3546 * elf/tst-relsort1mod1.c: New file.
3547 * elf/tst-relsort1mod2.c: New file.
3548
8db21882
JM
35492012-01-27 Joseph Myers <joseph@codesourcery.com>
3550
3551 * math/s_ldexp.c: Remove __STDC__ conditionals.
3552 * math/s_ldexpf.c: Likewise.
3553 * math/s_ldexpl.c: Likewise.
3554 * math/s_nextafter.c: Likewise.
3555 * math/s_nexttowardf.c: Likewise.
3556 * math/s_significand.c: Likewise.
3557 * math/s_significandf.c: Likewise.
3558 * math/s_significandl.c: Likewise.
3559 * math/w_jnl.c: Likewise.
3560 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3561 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3562 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3563 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3564 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3565 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3566 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3567 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3568 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3569 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3570 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3571 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3572 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3573 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3574 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3575 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3576 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3577 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3578 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3579 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3580 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3581 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3582 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3583 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3584 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3585 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3586 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3587 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3588 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3589 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3590 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3591 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3592 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3593 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3594 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3595 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3596 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3597 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3598 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3599 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3600 * sysdeps/ieee754/k_standard.c: Likewise.
3601 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3602 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3603 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3604 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3605 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3606 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3607 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3608 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3609 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3610 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3611 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3612 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3613 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3614 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3615 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3616 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3617 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3618 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3619 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3620 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3621 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3622 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3623 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3624 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3625 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3626 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3627 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3628 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3629 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3630 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3631 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3632 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3633 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3634 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3635 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3636 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3637 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3638 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3639 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3640 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3641 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3642 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3643 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3644 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3645 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3646 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3647 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3648 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3649 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3650 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3651 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3652 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3653 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3654 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3655 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3656 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3657 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3658 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3659 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3660 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3661 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3662 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3663 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3664 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3665 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3666 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3667 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3668 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3669 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3670 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3671 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3672 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3673 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3674 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3675 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3676 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3677 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3678 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3679 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3680 * sysdeps/ieee754/s_matherr.c: Likewise.
3681 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3682 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3683 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3684 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3685
965a54a4
JM
36862012-01-26 Joseph Myers <joseph@codesourcery.com>
3687
3688 * crypt/md5.h: Remove __STDC__ conditionals.
3689 * libio/libioP.h: Likewise.
3690 * locale/programs/config.h: Likewise.
3691 * sysdeps/generic/sysdep.h: Likewise.
3692 * sysdeps/i386/asm-syntax.h: Likewise.
3693 * sysdeps/s390/asm-syntax.h: Likewise.
3694 * sysdeps/unix/sysdep.h: Likewise.
3695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3697
7071ad79
JM
36982012-01-26 Joseph Myers <joseph@codesourcery.com>
3699
3700 * libio/libio.h: Remove __STDC__ conditionals.
3701 * malloc/obstack.h: Likewise.
3702 * math/complex.h: Likewise.
3703 * math/math.h: Likewise.
3704 * sysdeps/generic/_G_config.h: Likewise.
3705 * sysdeps/gnu/_G_config.h: Likewise.
3706 * sysdeps/mach/hurd/_G_config.h: Likewise.
3707 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3708 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3709 * sysdeps/sparc/bits/mathdef.h: Likewise.
3710
afc5ed09
UD
37112012-01-26 Ulrich Drepper <drepper@gmail.com>
3712
3713 [BZ #13583]
3714 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 3715 Clean up HAS_* macros.
afc5ed09 3716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
3717 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3718 possible.
3719 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3720 HAS_AVX.
3721 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3722 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3723 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3724 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3725 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 3726
bdb6de1d
JM
37272012-01-25 Joseph Myers <joseph@codesourcery.com>
3728
3729 * elf/tst-unique3.cc (gets): Remove declaration.
3730 * elf/tst-unique3lib.cc (gets): Likewise.
3731 * elf/tst-unique3lib2.cc (gets): Likewise.
3732 * elf/tst-unique4.cc (gets): Likewise.
3733
b15549e6
UD
37342012-01-24 Ulrich Drepper <drepper@gmail.com>
3735
3736 * include/stdio.h: Add C++ protection. Add gets declarations and
3737 definitions.
3738 * debug/tst-chk1.c: Don't declare gets here.
3739 * stdio-common/tst-gets.c: Likewise.
3740
a037381f
JM
37412012-01-24 Joseph Myers <joseph@codesourcery.com>
3742
3743 * posix/glob: Remove directory.
3744
f1d4aa75
JM
37452012-01-24 Joseph Myers <joseph@codesourcery.com>
3746
3747 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3748
81c0c964
PT
37492012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3750
3751 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3752 of the non-standard EPFNOSUPPORT.
3753
0ea698ae
ST
37542011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3755
3756 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3757 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3758 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3759
d220b117
UD
37602012-01-21 Ulrich Drepper <drepper@gmail.com>
3761
3762 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3763
3e1aa84e
UD
37642012-01-20 Ulrich Drepper <drepper@gmail.com>
3765
3766 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3767 transient errors.
3768 * nscd/grpcache.c (cache_addgr): Likewise.
3769 * nscd/hstcache.c (cache_addhst): Likewise.
3770 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3771 * nscd/pwdcache.c (cache_addpw): Likewise.
3772 * nscd/servicescache.c (cache_addserv): Likewise.
3773
400aa020
UD
37742012-01-16 Ulrich Drepper <drepper@gmail.com>
3775
d77e7869
UD
3776 * malloc/malloc.c: Various cleanups.
3777 * malloc/hooks.c: Likewise.
3778
400aa020
UD
3779 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3780 * stdlib/bug-fmtmsg1.c: New file.
3781
3782 * stdlib/fmtmsg.c (init): Add missing unlock.
3783 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3784
e0a309cf
MP
37852012-01-12 Marek Polacek <polacek@redhat.com>
3786
3787 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3788 and _GNU_SOURCE.
3789
929d11c7
WS
37902012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3791
3792 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3793 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3794 macro to ensure uniqueness of label name.
3795 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3796 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3797
41d0e869
UD
37982012-01-11 Ulrich Drepper <drepper@gmail.com>
3799
0cc5ed3b
UD
3800 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3801
41d0e869
UD
3802 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3803 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3804 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3805 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3806
a47a831a
UD
38072012-01-10 Ulrich Drepper <drepper@gmail.com>
3808
daa891c0
UD
3809 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3810
3811 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3812 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3813 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3814
e58ef0f2
UD
3815 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3816
a47a831a 3817 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
3818 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3819 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 3820 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
3821
3822 * math/bits/math-finite.h: Add ldexp support.
3823
a0bfc9c7
MP
38242012-01-10 Marek Polacek <polacek@redhat.com>
3825
3826 * locale/programs/localedef.h (show_archive_content): Add noreturn
3827 attribute.
3828
d6e97a1d
UD
38292012-01-09 Ulrich Drepper <drepper@gmail.com>
3830
3831 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3832
d5835c26
UD
38332012-01-08 Ulrich Drepper <drepper@gmail.com>
3834
e5f484c6
UD
3835 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3836
d5835c26
UD
3837 * io/Makefile (headers): Add bits/poll2.h.
3838
d1f741e9
WS
38392011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3840
3841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3842 typo #include statement.
3843
ec09c1c4
UD
38442012-01-08 Ulrich Drepper <drepper@gmail.com>
3845
3846 * include/sys/cdefs.h: Define __attribute_alloc_size.
3847 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3848 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3849 * elf/pldd.c: Likewise.
3850 * iconv/iconv_charmap.c: Likewise.
3851 * iconv/iconvconfig.c: Likewise.
3852 * iconv/strtab.c: Likewise.
3853 * locale/programs/locale.c: Likewise.
3854 * locale/programs/localedef.h: Likewise.
3855 * locale/programs/simple-hash.c: Likewise.
3856 * nscd/nscd.h: Likewise.
3857 * nss/makedb.c: Likewise.
3858 * sysdeps/generic/ldconfig.h: Likewise.
3859 * locale/programs/localedef.c: Remove xmalloc prototype.
3860 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3861
20b38e03
PP
38622012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3863
3864 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3865 appropriate.
3866
a0da5fe1
UD
38672012-01-08 Ulrich Drepper <drepper@gmail.com>
3868
1d5a644a 3869 * math/Makefile (tests): Add tst-CMPLX.
669704fd 3870 * math/tst-CMPLX.c: New file.
1d5a644a 3871
8784a6db
UD
3872 * math/complex.h (CMPLXL): Fix typo.
3873
d9a216c0
UD
3874 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3875 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3876 GLIBC_2.16.
3877 * debug/tst-chk1.c: Add poll and ppoll tests.
3878 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3879 * include/sys/poll.h: Add hidden proto for ppoll.
3880 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3881 * sysdeps/mach/hurd/ppoll.c: Likewise.
3882 * io/ppoll.c: Likewise.
3883 * debug/poll_chk.c: New file.
3884 * debug/ppoll_chk.c: New file.
3885 * include/bits/poll2.h: New file.
3886 * io/bits/poll2.h: New file.
3887
ac097f5c
UD
3888 [BZ #1350]
3889 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3890
2119dcfa
UD
3891 * configure.in: static is always set to yes. Remove.
3892 * config.make.in: Don't set build-static.
3893 * Makeconfig: Remove use of build-static.
3894 * dlfcn/Makefile: Likewise.
3895 * elf/Makefile: Likewise.
3896 * math/Makefile: Likewise.
3897 * misc/Makefile: Likewise.
3898 * nptl/Makefile: Likewise.
3899 * sysdeps/mach/hurd/Makefile: Likewise.
3900
121766a9
UD
3901 * configure.in: PWD_P is not used anymore.
3902 * config.make.in: Remove PWD_P entry.
3903
51a1d39c 3904 * configure.in: Remove last remnants of RANLIB.
8720d066 3905 No need to check for signed size_t anymore.
215f4bdc
UD
3906 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3907 and IA-64.
3857022a 3908 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
3909 * aclocal.m4: Likewise.
3910
d3ed7225
UD
3911 * wcsmbs/mbrtoc16.c: Implement using towc function.
3912 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3913 * wcsmbs/wcsmbsload.c: Likewise.
3914 * iconv/gconv_simple.c: Likewise.
3915 * iconv/gconv_int.h: Likewise.
3916 * iconv/gconv_builtin.h: Likewise.
3917 * iconv/iconv_prog.c: Remove CHAR16 handling.
3918
3919 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3920
3921 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3922
a0da5fe1
UD
3923 * configure.in: Remove --with-elf and --enable-bounded options.
3924 Dont set base_machine for ia64. More non-ELF conditions removed.
3925 Remove testing and setting of leading underscore information.
3926 * config.make.in (build-bounded): Set to no.
3927 * config.h.in: Remove NO_UNDERSCORES entry.
3928 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
3929 them.
3930 * csu/start.c: Remove !NO_UNDERSCORE code.
3931 * locale/localeinfo.h: Likewise.
3932 * sysdeps/generic/machine-gmon.h: Likewise.
3933 * sysdeps/generic/sysdep.h: Likewise.
3934 * sysdeps/i386/sysdep.h: Likewise.
3935 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3936 * sysdeps/mach/sysdep.h: Likewise.
3937 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3938 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3939 * sysdeps/sh/sysdep.h: Likewise.
3940 * sysdeps/sparc/sparc32/alloca.S: Likewise.
3941 * sysdeps/unix/i386/sysdep.S: Likewise.
3942 * sysdeps/unix/sparc/start.c: Likewise.
3943 * sysdeps/unix/sparc/sysdep.S: Likewise.
3944 * sysdeps/unix/sparc/sysdep.h: Likewise.
3945 * sysdeps/unix/start.c: Likewise.
3946 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3947 * sysdeps/x86_64/sysdep.h: Likewise.
3948
df78418a
UD
39492012-01-07 Ulrich Drepper <drepper@gmail.com>
3950
a784e502
UD
3951 [BZ #13553]
3952 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3953 for non-gcc.
3954 * argp/argp-fmtstream.h: Use const instead __const.
3955 * argp/argp.h: Likewise.
3956 * assert/assert.h: Likewise.
3957 * bits/fenv.h: Likewise.
3958 * bits/sched.h: Likewise.
3959 * bits/sigset.h: Likewise.
3960 * bits/sigthread.h: Likewise.
3961 * catgets/nl_types.h: Likewise.
3962 * conform/data/pthread.h-data: Likewise.
3963 * crypt/crypt-private.h: Likewise.
3964 * crypt/crypt.h: Likewise.
3965 * crypt/crypt_util.c: Likewise.
3966 * ctype/ctype.h: Likewise.
3967 * debug/execinfo.h: Likewise.
3968 * debug/mbsnrtowcs_chk.c: Likewise.
3969 * debug/mbsrtowcs_chk.c: Likewise.
3970 * debug/wcsnrtombs_chk.c: Likewise.
3971 * debug/wcsrtombs_chk.c: Likewise.
3972 * debug/wcstombs_chk.c: Likewise.
3973 * dirent/dirent.h: Likewise.
3974 * dlfcn/dlfcn.h: Likewise.
3975 * elf/neededtest4.c: Likewise.
3976 * grp/grp.h: Likewise.
3977 * gshadow/gshadow.h: Likewise.
3978 * iconv/gconv.h: Likewise.
3979 * iconv/gconv_int.h: Likewise.
3980 * iconv/gconv_simple.c: Likewise.
3981 * iconv/iconv.h: Likewise.
3982 * iconv/loop.c: Likewise.
3983 * iconv/skeleton.c: Likewise.
3984 * include/aio.h: Likewise.
3985 * include/aliases.h: Likewise.
3986 * include/argz.h: Likewise.
3987 * include/arpa/inet.h: Likewise.
3988 * include/assert.h: Likewise.
3989 * include/dirent.h: Likewise.
3990 * include/dlfcn.h: Likewise.
3991 * include/execinfo.h: Likewise.
3992 * include/fcntl.h: Likewise.
3993 * include/fenv.h: Likewise.
3994 * include/glob.h: Likewise.
3995 * include/grp.h: Likewise.
3996 * include/libintl.h: Likewise.
3997 * include/mntent.h: Likewise.
3998 * include/netdb.h: Likewise.
3999 * include/pwd.h: Likewise.
4000 * include/rpc/netdb.h: Likewise.
4001 * include/sched.h: Likewise.
4002 * include/search.h: Likewise.
4003 * include/shadow.h: Likewise.
4004 * include/signal.h: Likewise.
4005 * include/stdio.h: Likewise.
4006 * include/stdlib.h: Likewise.
4007 * include/string.h: Likewise.
4008 * include/sys/socket.h: Likewise.
4009 * include/sys/stat.h: Likewise.
4010 * include/sys/statfs.h: Likewise.
4011 * include/sys/statvfs.h: Likewise.
4012 * include/sys/syslog.h: Likewise.
4013 * include/sys/time.h: Likewise.
4014 * include/sys/uio.h: Likewise.
4015 * include/time.h: Likewise.
4016 * include/unistd.h: Likewise.
4017 * include/utmp.h: Likewise.
4018 * include/wchar.h: Likewise.
4019 * include/wctype.h: Likewise.
4020 * inet/aliases.h: Likewise.
4021 * inet/arpa/inet.h: Likewise.
4022 * inet/netinet/ether.h: Likewise.
4023 * inet/netinet/in.h: Likewise.
4024 * intl/libintl.h: Likewise.
4025 * io/bits/fcntl2.h: Likewise.
4026 * io/fcntl.h: Likewise.
4027 * io/ftw.h: Likewise.
4028 * io/sys/poll.h: Likewise.
4029 * io/sys/stat.h: Likewise.
4030 * io/sys/statfs.h: Likewise.
4031 * io/sys/statvfs.h: Likewise.
4032 * io/utime.h: Likewise.
4033 * libio/bits/stdio.h: Likewise.
4034 * libio/bits/stdio2.h: Likewise.
4035 * libio/libio.h: Likewise.
4036 * libio/libioP.h: Likewise.
4037 * libio/stdio.h: Likewise.
4038 * locale/lc-ctype.c: Likewise.
4039 * locale/locale.h: Likewise.
4040 * login/utmp.h: Likewise.
4041 * malloc/arena.c: Likewise.
4042 * malloc/malloc.c: Likewise.
4043 * malloc/malloc.h: Likewise.
4044 * malloc/mcheck.c: Likewise.
4045 * malloc/mtrace.c: Likewise.
4046 * math/bits/mathcalls.h: Likewise.
4047 * math/fenv.h: Likewise.
4048 * math/math_private.h: Likewise.
4049 * misc/bits/error.h: Likewise.
4050 * misc/bits/syslog.h: Likewise.
4051 * misc/err.h: Likewise.
4052 * misc/error.h: Likewise.
4053 * misc/fstab.h: Likewise.
4054 * misc/mntent.h: Likewise.
4055 * misc/regexp.h: Likewise.
4056 * misc/search.h: Likewise.
4057 * misc/sgtty.h: Likewise.
4058 * misc/sys/mman.h: Likewise.
4059 * misc/sys/syslog.h: Likewise.
4060 * misc/sys/uio.h: Likewise.
4061 * misc/sys/xattr.h: Likewise.
4062 * misc/ttyent.h: Likewise.
4063 * nis/rpcsvc/ypclnt.h: Likewise.
4064 * nss/nss.h: Likewise.
4065 * posix/bits/unistd.h: Likewise.
4066 * posix/fnmatch.h: Likewise.
4067 * posix/glob.h: Likewise.
4068 * posix/sched.h: Likewise.
4069 * posix/spawn.h: Likewise.
4070 * posix/sys/wait.h: Likewise.
4071 * posix/unistd.h: Likewise.
4072 * posix/wordexp.h: Likewise.
4073 * pwd/pwd.h: Likewise.
4074 * resolv/netdb.h: Likewise.
4075 * resource/sys/resource.h: Likewise.
4076 * rt/aio.h: Likewise.
4077 * rt/bits/mqueue2.h: Likewise.
4078 * rt/mqueue.h: Likewise.
4079 * shadow/shadow.h: Likewise.
4080 * signal/signal.h: Likewise.
4081 * socket/send.c: Likewise.
4082 * socket/sendto.c: Likewise.
4083 * socket/sys/socket.h: Likewise.
4084 * stdio-common/printf.h: Likewise.
4085 * stdlib/bits/stdlib.h: Likewise.
4086 * stdlib/fmtmsg.h: Likewise.
4087 * stdlib/monetary.h: Likewise.
4088 * stdlib/stdlib.h: Likewise.
4089 * stdlib/ucontext.h: Likewise.
4090 * streams/stropts.h: Likewise.
4091 * string/argz.h: Likewise.
4092 * string/bits/string2.h: Likewise.
4093 * string/string.h: Likewise.
4094 * string/strings.h: Likewise.
4095 * sunrpc/rpc/auth.h: Likewise.
4096 * sunrpc/rpc/auth_des.h: Likewise.
4097 * sunrpc/rpc/clnt.h: Likewise.
4098 * sunrpc/rpc/netdb.h: Likewise.
4099 * sunrpc/rpc/pmap_clnt.h: Likewise.
4100 * sunrpc/rpc/xdr.h: Likewise.
4101 * sysdeps/generic/inttypes.h: Likewise.
4102 * sysdeps/generic/net/if.h: Likewise.
4103 * sysdeps/generic/sys/swap.h: Likewise.
4104 * sysdeps/gnu/net/if.h: Likewise.
4105 * sysdeps/gnu/utmpx.h: Likewise.
4106 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4107 * sysdeps/i386/i486/bits/string.h: Likewise.
4108 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4109 * sysdeps/s390/bits/string.h: Likewise.
4110 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4111 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4112 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4113 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4114 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4115 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4116 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4117 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4118 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4119 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4120 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4121 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4122 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4123 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4124 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4125 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4126 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4127 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4128 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4129 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4130 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4131 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4132 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4133 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4134 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4135 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4136 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4137 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4138 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4139 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4140 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4141 * sysvipc/sys/ipc.h: Likewise.
4142 * sysvipc/sys/msg.h: Likewise.
4143 * sysvipc/sys/sem.h: Likewise.
4144 * sysvipc/sys/shm.h: Likewise.
4145 * termios/termios.h: Likewise.
4146 * time/sys/time.h: Likewise.
4147 * time/time.h: Likewise.
4148 * wcsmbs/bits/wchar2.h: Likewise.
4149 * wcsmbs/uchar.h: Likewise.
4150 * wcsmbs/wchar.h: Likewise.
4151 * wctype/wctype.h: Likewise.
4152
0269750c
UD
4153 [BZ #13551]
4154 * Makeconfig: Remove all but ELF support including AIX support.
4155 * Makerules: Likewise.
4156 * config.h.in: Likewise.
4157 * config.make.in: Likewise.
4158 * configure: Likewise.
4159 * configure.in: Likewise.
4160 * csu/Makefile: Likewise.
4161 * csu/version.c: Likewise.
4162 * debug/Makefile: Likewise.
4163 * dlfcn/Makefile: Likewise.
4164 * elf/Makefile: Likewise.
4165 * extra-lib.mk: Likewise.
4166 * iconv/Makefile: Likewise.
4167 * include/libc-symbols.h: Likewise.
4168 * include/shlib-compat.h: Likewise.
4169 * resolv/Makefile: Likewise.
4170 * resolv/res_libc.c: Likewise.
4171 * rt/Makefile: Likewise.
4172 * sysdeps/i386/asm-syntax.h: Likewise.
4173 * sysdeps/i386/sysdep.h: Likewise.
4174 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4175 * sysdeps/mach/sysdep.h: Likewise.
4176 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4177 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4178 * sysdeps/s390/asm-syntax.h: Likewise.
4179 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4180 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4181 * sysdeps/sh/sysdep.h: Likewise.
4182 * sysdeps/unix/sparc/sysdep.h: Likewise.
4183 * sysdeps/wordsize-32/divdi3.c: Likewise.
4184 * sysdeps/x86_64/sysdep.h: Likewise.
4185
00bbd29b
UD
4186 * argp/Versions: Remove _argp_unlock_xxx.
4187
4188 [BZ #13559]
4189 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4190 * abilist/libBrokenLocale.abilist: Likewise.
4191 * abilist/libanl.abilist: Likewise.
4192 * abilist/libc.abilist: Likewise.
4193 * abilist/libcrypt.abilist: Likewise.
4194 * abilist/libdl.abilist: Likewise.
4195 * abilist/libm.abilist: Likewise.
4196 * abilist/libnsl.abilist: Likewise.
4197 * abilist/libpthread.abilist: Likewise.
4198 * abilist/libresolv.abilist: Likewise.
4199 * abilist/librt.abilist: Likewise.
4200 * abilist/libthread_db.abilist: Likewise.
4201 * abilist/libutil.abilist: Likewise.
4202 * abilist/libnss_db.abilist: New file.
4203
4204 * scripts/abilist.awk: Add support for indirect functions.
4205
a2693a0e
UD
4206 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4207
3f05895f
UD
4208 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4209
ecb6fb48
UD
4210 * shlib-versions: Remove entries for ports architectures.
4211
664f8cb9
UD
4212 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4213 files in ports.
4214 * elf/stackguard-macros.h: Remove support for IA-64.
4215 * elf/tst-auditmod1.c: Likewise.
4216 * sysdeps/generic/ldsodefs.h: Likewise.
4217
7ae81d88
UD
4218 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4219 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4220 configure files.
4221
bdeba135
UD
4222 [BZ #13552]
4223 * configure.in: Remove --enable-omitfp support.
4224 * FAQ.in: Adjust.
4225 * config.make.in: Likewise.
4226 * Makeconfig: Likewise.
4227 * manual/install.texi: Likewise.
4228
d75a0a62
UD
4229 In case anyone cares, the IA-64 architecture could move to ports.
4230 * sysdeps/ia64/*: Removed.
4231 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 4232 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 4233
dcc9756b
UD
4234 [BZ #13555]
4235 * configure.in: Remove entries for unsupported architectures.
4236
d3761ebc 4237 [BZ #13533]
9954432e
UD
4238 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4239 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4240 routines.
4241 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4242 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4243 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4244 fall back to using wcrtomb.
4245 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4246 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4247 renaming.
4248 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4249 * wcsmbs/tst-c16c32-1.c: New file.
4250
4251 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4252 local variable.
4253
c3a87236
UD
4254 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4255
28926a1b
UD
4256 * elf/tst-unique3.cc: Add explicit declaration of gets.
4257 * elf/tst-unique3lib.cc: Likewise.
4258 * elf/tst-unique3lib2.cc: Likewise.
4259 * elf/tst-unique4.cc: Likewise.
4260
df78418a
UD
4261 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4262
8ecd6b2a
JM
42632012-01-06 Joseph Myers <joseph@codesourcery.com>
4264
4265 [BZ #13566]
4266 * assert/assert.h (static_assert): Don't define for C++.
4267 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4268 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4269
9f115170
UD
42702012-01-03 Ulrich Drepper <drepper@gmail.com>
4271
5e0d0300
UD
4272 * iconv/loop.c (single loop): Fix assertion in storing of
4273 remaining bytes.
4274
9f115170
UD
4275 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4276
81fb02b0
UD
42772012-01-01 Ulrich Drepper <drepper@gmail.com>
4278
4279 * posix/getconf.c: Update copyright year.
4280 * nss/getent.c: Likewise.
a316c1f6 4281 * nss/makedb.c: Likewise.
81fb02b0
UD
4282 * iconv/iconvconfig.c: Likewise.
4283 * iconv/iconv_prog.c: Likewise.
4284 * elf/ldconfig.c: Likewise.
a316c1f6
UD
4285 * elf/pldd.c: Likewise.
4286 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
4287 * catgets/gencat.c: Likewise.
4288 * csu/version.c: Likewise.
4289 * elf/ldd.bash.in: Likewise.
4290 * elf/sprof.c (print_version): Likewise.
4291 * locale/programs/locale.c: Likewise.
4292 * locale/programs/localedef.c: Likewise.
a316c1f6 4293 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4294 * nscd/nscd.c (print_version): Likewise.
4295 * debug/xtrace.sh: Likewise.
4296 * malloc/memusage.sh: Likewise.
4297 * malloc/mtrace.pl: Likewise.
4298 * debug/catchsegv.sh: Likewise.
4299
2ba92745
JJ
43002011-12-30 Jakub Jelinek <jakub@redhat.com>
4301
4302 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4303 pure attribute.
4304
dadebdae
UD
43052011-12-24 Ulrich Drepper <drepper@gmail.com>
4306
d3761ebc 4307 [BZ #13533]
db6af3eb
UD
4308 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4309 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4310 transformations.
4311 * iconv/gconv_int.h: Likewise.
4312 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4313 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4314 from libc for GLIBC_2.16.
4315 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4316 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4317 * wcsmbs/uchar.h: Really define mbstate_t.
4318 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4319 * wcsmbs/c16rtomb.c: New file.
4320 * wcsmbs/mbrtoc16.c: New file.
4321 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4322 for C/POSIX locale.
4323 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4324 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4325
dadebdae
UD
4326 * wcsmbs/wchar.h: Add missing __restrict.
4327
67371b56
UD
43282011-12-23 Ulrich Drepper <drepper@gmail.com>
4329
74033a25
UD
4330 [BZ #13532]
4331 * time/Makefile (routines): Add timespec_get.
4332 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4333 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4334 timespec for ISO C11.
4335 * time/timespec_get.c: New file.
4336 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4337 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4338
380d7e87
UD
4339 [BZ #13531]
4340 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4341 * stdlib/stdlib.h: Declare aligned_alloc.
4342 * Versions.def: Add GLIBC_2.16 for libc.
4343 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4344
4e9e7a35
UD
4345 [BZ 13527]
4346 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4347 ISO C11.
4348
380d7e87 4349 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
4350 code.
4351
03a71829
UD
4352 [BZ #13528]
4353 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4354
839e283e
UD
4355 [BZ #13529]
4356 * assert/assert.h (static_assert): Define.
4357
ce5294e2 4358 * version.h: Update for 2.16 development version.
90fa7312 4359
8d44e150 4360 [BZ #13526]
d7809905
UD
4361 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4362 _ISOC11_SOURCE.
4363
c0da14cd
UD
4364 * version.h (RELEASE): Bump for 2.15 release.
4365 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4366
530a3249
MP
4367 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4368 Patch by Marek Polacek <mpolacek@redhat.com>.
4369
67371b56
UD
4370 * bits/byteswap.h: Protect long long constants with __extension__.
4371 * sysdeps/i386/bits/byteswap.h: Likewise.
4372 * sysdeps/ia64/bits/byteswap.h: Likewise.
4373 * sysdeps/s390/bits/byteswap.h: Likewise.
4374 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4375
15db4de1
LD
43762011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4377
4378 [BZ #13540]
bbe315ea
LD
4379 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4380 destination buffer.
15db4de1
LD
4381 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4382
2b2596b1
MP
43832011-12-23 Marek Polacek <polacek@redhat.com>
4384
4385 * elf/dl-addr.c (determine_info): Add inline keyword.
4386 * elf/tst-auditmod4b.c (check_avx): Likewise.
4387 * elf/tst-auditmod6b.c (check_avx): Likewise.
4388 * elf/tst-auditmod6c.c (check_avx): Likewise.
4389 * elf/tst-auditmod7b.c (check_avx): Likewise.
4390
70c6c246
UD
43912011-12-23 Ulrich Drepper <drepper@gmail.com>
4392
4393 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4394 !__SSE_MATH__.
4395
c044cf14
LD
43962011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4397
15db4de1 4398 [BZ #13540]
c044cf14
LD
4399 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4400 processing for last bytes.
4401
6b13d9d9
BH
44022011-08-06 Bruno Haible <bruno@clisp.org>
4403
d455f537
BH
4404 [BZ #13061]
4405 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4406 U+0385, not to U+1FEE.
4407
6b13d9d9
BH
4408 [BZ #13062]
4409 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4410 entry for U+00A5 U+0301.
4411
db910efd
UD
44122011-12-22 Ulrich Drepper <drepper@gmail.com>
4413
27deeafc
UD
4414 [BZ #13166]
4415 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4416 buffer for the output is too small.
4417
aed9d171
UD
4418 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4419 optimization.
4420
db910efd
UD
4421 [BZ #13185]
4422 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4423 SSE flags if possible.
4424
2bd779ae
LD
44252011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4426
e7f9dac3 4427 [BZ #13540]
2bd779ae
LD
4428 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4429 processing for last bytes.
4430
154bfc16
JM
44312011-12-22 Joseph Myers <joseph@codesourcery.com>
4432
4433 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4434 (syscall-list-default-options, syscall-list-default-condition)
4435 (syscall-list-includes): Define.
4436 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4437 list of ABIs and options and #if conditions for each ABI. Do not
4438 handle common syscalls between ABIs specially.
4439 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4440 Remove.
4441 (syscall-list-variants, syscall-list-32bit-options)
4442 (syscall-list-32bit-condition, syscall-list-64bit-options)
4443 (syscall-list-64bit-condition): Define.
4444 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4445 (syscall-list-variants, syscall-list-32bit-options)
4446 (syscall-list-32bit-condition, syscall-list-64bit-options)
4447 (syscall-list-64bit-condition): Define.
4448 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4449 Remove.
4450 (syscall-list-variants, syscall-list-32bit-options)
4451 (syscall-list-32bit-condition, syscall-list-64bit-options)
4452 (syscall-list-64bit-condition): Define.
4453 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4454 Remove.
4455 (syscall-list-variants, syscall-list-32bit-options)
4456 (syscall-list-32bit-condition, syscall-list-64bit-options)
4457 (syscall-list-64bit-condition): Define.
4458
21eaf3a5
UD
44592011-12-22 Ulrich Drepper <drepper@gmail.com>
4460
16c6f992
UD
4461 * locale/iso-639.def: Add brx entry.
4462
41043168
UD
4463 [BZ #13328]
4464 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4465 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4466
21eaf3a5
UD
4467 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4468 __feraiseexcept_renamed.
4469
e3a851a2
UD
44702011-12-21 Ulrich Drepper <drepper@gmail.com>
4471
4920765e
UD
4472 [BZ #13538]
4473 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4474 EPOLLET with unsigned values.
4475 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4476 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4477
e3a851a2
UD
4478 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4479 to large cancellation.
4480 * math/s_cacoshf.c: Likewise.
4481 * math/s_cacoshl.c: Likewise.
4482
b27e24b8
RK
44832011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4484
4485 [BZ #13305]
aebefeee 4486 [BZ #12786]
b27e24b8
RK
4487 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4488 * math/s_cacoshf.c: Likewise.
4489 * math/s_cacoshl.c: Likewise.
4490
ee190f67
UD
44912011-12-21 Ulrich Drepper <drepper@gmail.com>
4492
4493 [BZ #13439]
4494 * iconv/gconv.h: Define __GCONV_SWAP.
4495 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4496 * iconvdata/utf-16.c: Likewise.
4497 * iconvdata/utf-32.c: Likewise.
4498
707f25df
AS
44992011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4500
4501 [BZ #13524]
4502 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4503 numerator after shifting it by one limb.
4504
d2daaa1e
RÁE
45052011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4506
4507 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4508 under [__USE_EXTERN_INLINES].
4509
a4647e72
UD
45102011-12-17 Ulrich Drepper <drepper@gmail.com>
4511
4512 [BZ #13446]
4513 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4514
f0b264f1
AZ
45152011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4516
4517 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4518 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4519 optimized code.
4520 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4521 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4522 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4523 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4524 for strncasecmp/strncasecmp_l compilation.
4525 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4526 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4527
8ef4f244
MP
45282011-12-08 Marek Polacek <mpolacek@redhat.com>
4529
4530 [BZ #13484]
4531 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4532 of __asm__.
4533
97ac2654
UD
45342011-12-17 Ulrich Drepper <drepper@gmail.com>
4535
4536 [BZ #13506]
4537 * time/tzfile.c (__tzfile_read): Check values from file header.
4538
91d2a845
WS
45392011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4540
4541 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4542 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4543 * powerpc/powerpc32/dl-start.S: Likewise.
4544 * powerpc/powerpc32/elf/start.S: Likewise.
4545 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4546 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4547 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4548 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4549 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4550 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4551 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4552 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4553 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4554 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4555 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4556 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4557 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4558 * powerpc/powerpc32/memset.S: Likewise.
4559 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4560 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4561 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4562 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4563 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4564 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4565 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4566 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4567 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4568 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4569 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4570 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4571 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4572
a1267ba1
AZ
45732011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4574
4575 * math/libm-test.inc: Added more nearbyint tests.
4576 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4577 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4578 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4579 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4580
ad8ac1bd
RL
45812011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4582
4583 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4584 FD_CLOEXEC.
4585
1d3e4b61
UD
45862011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4587
4588 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4589 Add wcscpy-ssse3 wcscpy-c.
4590 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4591 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4592 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4593 * sysdeps/x86_64/wcschr.S: New file.
4594 * sysdeps/x86_64/wcsrchr.S: New file.
4595 * string/test-strcmp.c: Remove checking of wcscmp function for
4596 wrong alignments.
4597 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4598 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4599 wcsrchr-sse2 wcsrchr-c.
4600 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4601 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4602 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4603 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4604 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4605 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4606 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4607 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4608 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4609 * wcsmbc/wcschr.c (WCSCHR): New macro.
4610
5b330a2d
UD
46112011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4612
4613 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4614 * wcsmbs/test-wcsrchr.c: New file.
4615 * string/test-strrchr.c: Add wcsrchr support.
4616 (WIDE): New macro.
4617 * wcsmbs/test-wcscpy.c: New file.
4618 * string/test-strcpy.c: Add wcscpy support.
4619 (WIDE): New macro.
26428b7c 4620
f039c043
UD
46212011-12-10 Ulrich Drepper <drepper@gmail.com>
4622
4623 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4624 the inner loop.
4625
850fb039
AS
46262011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4627
4628 [BZ #13472]
4629 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4630
4efbd5cb
UD
46312011-12-04 Ulrich Drepper <drepper@gmail.com>
4632
52ff5dd0 4633 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 4634 Minor optimizations.
52ff5dd0 4635
4efbd5cb
UD
4636 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4637 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4638 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4639
8a426e12
UD
46402011-12-03 Ulrich Drepper <drepper@gmail.com>
4641
aff2453d
UD
4642 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4643 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4644 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4645 for gcc to avoid warnings.
4646 * inet/Makefile (tests): Add tst-checks.
4647 * inet/tst-checks.c: New file.
4648
4649 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4650 warning.
4651
4652 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4653 __wmemcmp_sse2.
4654
4655 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4656 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4657
8a426e12
UD
4658 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4659
9bea3473
UD
46602011-12-02 Ulrich Drepper <drepper@gmail.com>
4661
3a965496
UD
4662 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4663 problem.
4664
9bea3473
UD
4665 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4666
f101631b
UD
46672011-11-29 Joseph Myers <joseph@codesourcery.com>
4668
4669 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4670 conditional on GCC version.
4671 (__arch_compare_and_exchange_val_8_acq)
4672 (__arch_compare_and_exchange_val_16_acq)
4673 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4674 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4675 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4676
a98275aa
UD
46772011-12-02 Joseph Myers <joseph@codesourcery.com>
4678
4679 * sysdeps/sh/backtrace.c: New file.
4680
d4cc29a2
AS
46812011-12-02 Andreas Schwab <schwab@redhat.com>
4682
4683 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4684 parenthesis.
4685
6257af2d
AS
46862011-12-01 Andreas Schwab <schwab@redhat.com>
4687
4688 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4689 falling back to utime.
4690
b5f44c1a
AS
46912011-11-30 Andreas Schwab <schwab@redhat.com>
4692
4693 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4694 expectations for float.
4695
f3a6cc0a
AS
46962011-11-29 Andreas Schwab <schwab@redhat.com>
4697
4698 * locale/weight.h (findidx): Add parameter len.
4699 * locale/weightwc.h (findidx): Likewise.
4700 * posix/fnmatch_loop.c (FCT): Adjust caller.
4701 * posix/regcomp.c (build_equiv_class): Likewise.
4702 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4703 * posix/regexec.c (check_node_accept_bytes): Likewise.
4704 * string/strcoll_l.c (STRCOLL): Likewise.
4705 * string/strxfrm_l.c (STRXFRM): Likewise.
4706
9d65ea3a
UD
47072011-11-17 Ulrich Drepper <drepper@gmail.com>
4708
4709 * Makefile.in: Remove CVSOPT handling.
4710 * configure.in: Remove use of AC_REVISION.
4711 * iconvdata/Makefile (distribute): No need to filter out CVS.
4712 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4713 handling.
4714
5583a086
AS
47152011-11-16 Andreas Schwab <schwab@redhat.com>
4716
4717 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4718 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4719 [USE_AS_STRNCASECMP_L]: Likewise.
4720 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4721 NO_TLS_DIRECT_SEG_REFS.
4722 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4723 Fix argument offsets for non-PIC.
4724 [USE_AS_STRNCASECMP_L]: Likewise.
4725 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4726 NO_TLS_DIRECT_SEG_REFS.
4727
d62a8200
UD
47282011-11-15 Ulrich Drepper <drepper@gmail.com>
4729
9d65ea3a 4730 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
4731 O_CLOEXEC.
4732 * locale/loadlocale.c (_nl_load_locale): Likewise.
4733
09f93bd3
AS
47342011-11-15 Andreas Schwab <schwab@redhat.com>
4735
446514f9
AS
4736 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4737 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4738 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4739 (SYSCALL_GETTIME): Set errno on error.
4740
09f93bd3
AS
4741 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4742 count references to noai6ai_cached.
4743
312be3f9
UD
47442011-11-15 Ulrich Drepper <drepper@gmail.com>
4745
4746 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4747
4748 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4749 FD_CLOEXEC for /proc/self/maps.
4750
4751 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4752 FD_CLOEXEC for /proc/meminfo.
4753
4754 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4755 gai.conf.
4756
4757 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4758 FD_CLOEXEC for given file.
4759
4760 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4761
4762 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4763 FD_CLOEXEC for /etc/hosts.
4764 (_gethtent): Likewise.
4765
4766 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4767
4768 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4769 cancellation and set FD_CLOEXEC for /etc/netgroup.
4770
4771 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4772 reading /etc/publickey.
4773
4774 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4775 allow cancellation when reading /etc/group.
4776
4777 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4778 cancellation.
4779 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4780
4781 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4782 when using data file.
4783
4784 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4785
4786 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4787 (write_nis_obj): Use "c" and "e" in fopen.
4788
4789 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4790
4791 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4792
4793 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4794
4795 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4796
4797 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4798 locale.alias.
4799
4800 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4801
4802 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4803
4804 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4805
4806 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4807 file parsing and set FD_CLOEXEC.
4808
82af0fa8
UD
48092011-11-14 Ulrich Drepper <drepper@gmail.com>
4810
4811 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4812
a5fb313c
AS
48132011-11-14 Andreas Schwab <schwab@redhat.com>
4814
4815 * malloc/arena.c (arena_get2): Don't call reused_arena when
4816 _int_new_arena failed.
4817
6abf3465
UD
48182011-11-14 Ulrich Drepper <drepper@gmail.com>
4819
4820 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4821 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4822 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4823 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4824 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4825 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4826 to compile strcasecmp and strncasecmp.
4827 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4828 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4829
4830 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4831
76e3966e
UD
48322011-11-13 Ulrich Drepper <drepper@gmail.com>
4833
4834 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4835 locale-defines.sym to gen-as-const-headers.
4836 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4837 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4838 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4839 to compile strcasecmp and strncasecmp.
4840 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4841 strcasecmp_l and strncasecmp_l.
4842 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4843 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4844 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4845 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4846 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4847 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4848 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4849 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4850 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4851 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4852 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4853
ab26144e
UD
48542011-11-12 Ulrich Drepper <drepper@gmail.com>
4855
7edb22ef
UD
4856 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4857 result of SYSDEP_GETTIME_CPU to retval.
4858 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4859 parameter list to macro. Remove trailing semicolon. Adjust users.
4860
9694fc44
UD
4861 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4862 variable.
4863
8ad89ef8
UD
4864 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4865 mantissa words.
4866 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4867
0c822ef9
UD
4868 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4869 from unused variable.
4870
874e0564
UD
4871 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4872 DWARF definitions.
4873 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4874 for assembling.
4875
3a2edc79
UD
4876 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4877 over namespaces.
4878
f3c2577f
UD
4879 * sunrpc/rpc_prot.c (rejected): Fix case value.
4880
294ce126
UD
4881 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4882 unsigned long long int to avoid warnings in shift.
4883
5e2b63c6
UD
4884 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4885 of use of trans.
4886 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4887 variable tmp.
4888
e7f4b08e
UD
4889 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4890 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4891 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4892
ab26144e
UD
4893 * nis/nis_table.c (nis_list): Use variable of correct type for
4894 result of __follow_path call.
4895
8a6d5255
AZ
48962011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4897
4898 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4899 of math functions ceil, trunc, floor, round, and sqrt, when
4900 avaliable on the platform.
4901 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4902 name clash.
4903 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4904 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4905 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4906
aaddc98c
MP
49072011-10-30 Marek Polacek <mpolacek@redhat.com>
4908
4909 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4910 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4911
95b7042b
RM
49122011-11-11 Roland McGrath <roland@hack.frob.com>
4913
4914 * include/unistd.h: Fix __readlink return type.
4915 Reported by Chris Metcalf <cmetcalf@tilera.com>.
4916
57769839
UD
49172011-11-11 Ulrich Drepper <drepper@gmail.com>
4918
4919 * stdlib/ucontext.h: Undo last change for makecontext.
4920
edc5984d
AS
49212011-11-11 Andreas Schwab <schwab@redhat.com>
4922
98591e58
AS
4923 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4924
edc5984d
AS
4925 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4926 * setjmp/setjmp.h: Mark functions as non-leaf.
4927 * setjmp/bits/setjmp2.h: Likewise.
4928 * stdlib/ucontext.h: Likewise.
4929
77cdc054
AS
49302011-11-10 Andreas Schwab <schwab@redhat.com>
4931
4932 * malloc/arena.c (_int_new_arena): Don't increment narenas.
4933 (reused_arena): Don't check arena limit.
4934 (arena_get2): Atomically check arena limit.
4935
fe72eebd
UD
49362011-11-08 Ulrich Drepper <drepper@gmail.com>
4937
5f078c32
UD
4938 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4939 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4940
fe72eebd
UD
4941 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4942 instructions.
4943
ae1bc2fa
AS
49442011-11-07 Andreas Schwab <schwab@redhat.com>
4945
7583a88d
AS
4946 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4947 handler when locking.
4948
ae1bc2fa
AS
4949 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4950 Fix size of allocated buffer.
4951
10fb0bfa
AS
49522011-11-04 Andreas Schwab <schwab@redhat.com>
4953
998832a4
AS
4954 [BZ #10103]
4955 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4956 declarations for long double functions.
4957 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
4958
10fb0bfa
AS
4959 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
4960
3d7ba52b
AS
49612011-11-03 Andreas Schwab <schwab@redhat.com>
4962
a9ae54a1
AS
4963 * nscd/nscd.c (main): Don't start AVC thread until credentials are
4964 installed.
4965
3d7ba52b
AS
4966 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
4967 is disabled.
4968
bc8db248
ST
49692011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4970
4971 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
4972
45b96dd6
AS
49732011-11-01 Andreas Schwab <schwab@linux-m68k.org>
4974
647776f6
AS
4975 * include/alloca.h (stackinfo_alloca_round): Define.
4976 (extend_alloca): Use it.
4977 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
4978 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
4979 here.
4980
d91a8b93
AS
4981 * scripts/check-local-headers.sh: Ignore libaudit.h.
4982
45b96dd6
AS
4983 * nscd/Makefile (extra-objs): Make recursively expanded.
4984
432d41ce
UD
49852011-11-01 Ulrich Drepper <drepper@gmail.com>
4986
34372fc6
UD
4987 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
4988 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4989
fadb59f8
UD
4990 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
4991 * posix/tst-rfc3484-2.c: Likewise.
4992 * posix/tst-rfc3484-3.c: Likewise.
4993
78239589
UD
4994 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4995 process_vm_writev.
4996 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
4997 process_vm_writev.
4998 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
4999 process_vm_writev from libc using GLIBC_2.15 version.
5000
432d41ce
UD
5001 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5002
02f9c6cf
PP
50032011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5004
5005 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5006 stack usage.
5007
3a2c0242
UD
50082011-10-31 Ulrich Drepper <drepper@gmail.com>
5009
f4ec4833
UD
5010 [BZ #13367]
5011 * nss/getent.c (initgroups_keys): Show error message in case no group
5012 names are given.
5013
3a2c0242
UD
5014 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5015 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5016 __bump_nl_timestamp.
5017 * nscd/connections (nscd_init): When host database is served open
5018 netlink socket and request notification about configuration changes.
5019 (main_loop_poll): Track netlink file descriptor and bump timestamp
5020 in case data becomes available.
5021 (main_loop_epoll): Likewise.
5022 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5023 (database_pers_head): Add extra_data fileds.
5024 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5025 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5026 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5027 Adjust caller.
5028 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5029 in6ai data, call __free_in6ai.
5030 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5031 Add -DHAVE_NETLINK.
5032 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5033 interface information. Reuse previous data if netlink timestamp
5034 is not changed.
5035 (__bump_nl_timestamp): New function.
5036 (__free_in6ai): New function.
5037
636064eb
UD
50382011-10-30 Ulrich Drepper <drepper@gmail.com>
5039
5040 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5041 close_not_cancel_no_status here.
5042 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5043
9beb2334
UD
50442011-10-29 Ulrich Drepper <drepper@gmail.com>
5045
6ef76f3b
UD
5046 [BZ #13276]
5047 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5048 return value.
5049
0ffc4f3e 5050 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5051 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5052 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5053
cb95113e
UD
50542011-07-03 Andreas Jaeger <aj@suse.de>
5055
5056 [BZ #10709]
5057 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5058 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5059 * math/libm-test.inc (sin_test): Add test case.
5060
a1b560ff
UD
50612011-10-29 Ulrich Drepper <drepper@gmail.com>
5062
c9aaface
UD
5063 [BZ #13337]
5064 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5065 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5066
d272e7f1
UD
5067 * elf/chroot_canon.c (chroot_canon): Cleanups.
5068
1bc33071
UD
5069 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5070
1760874d
TJ
5071 [BZ #13335]
5072 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5073 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5074
51d91b18
UD
5075 * string/test-strchr.c: Make usable for strchrnul testing.
5076 * string/test-strchrnul.c: New file.
5077 * string/Makefile (strop-tests): Add strchrnul.
5078
a1b560ff 5079 * po/it.po: Update from translation team.
b611fb81 5080 * po/es.po: Likewise.
a1b560ff 5081
a5b81e1f
UD
50822011-10-28 Ulrich Drepper <drepper@gmail.com>
5083
fd52bc6d
UD
5084 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5085 the three constants needed as parameters. Drop the others.
5086 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5087 __m128i_strloadu_tolower.
52e4b9eb
UD
5088 Create and initialize variable zero and use it in all the places
5089 where _mm_setzero_si128 was used.
fd52bc6d 5090
a5b81e1f
UD
5091 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5092 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5093 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5094 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5095 anymore.
5096 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5097 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5098 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5099 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5100 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5101 __mpranred, __mptan.
5102 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5103 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5104 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5105 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5106 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5107 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5108 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5109 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5110 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5111
b4343346
AS
51122011-10-28 Andreas Schwab <schwab@redhat.com>
5113
0c92d8a8
AS
5114 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5115 redefine if SHARED.
5116 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5117
b4343346
AS
5118 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5119 wide char related routines to wcsmbs subdir.
5120
3871f58f
AS
51212011-10-27 Andreas Schwab <schwab@redhat.com>
5122
5123 [BZ #13344]
5124 * misc/sys/cdefs.h (__THROWNL): Define.
5125 * posix/unistd.h: Use __THREADNL instead of __THREAD
5126 for memory synchronization functions.
5127
94d44d9f
RM
51282011-10-26 Roland McGrath <roland@hack.frob.com>
5129
21b64b15 5130 [BZ #13349]
94d44d9f
RM
5131 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5132 doesn't exist.
5133 * manual/stdio.texi (Obstack Streams): Node removed.
5134
f6ce9294
AS
51352011-10-26 Andreas Schwab <schwab@redhat.com>
5136
80479147
AS
5137 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5138 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5139 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5140
f6ce9294
AS
5141 * math/math_private.h (math_force_eval): Allow non-addressable
5142 arguments.
5143 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5144
618280a1
UD
51452011-10-25 Ulrich Drepper <drepper@gmail.com>
5146
e0016b11
UD
5147 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5148 file is not needed.
5149
5150 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5151 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5152 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5153 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5154 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5155 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5156 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5157 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5158 Add AVX variants.
5159 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5160 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5161 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5162 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5163 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5164 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5165 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5166 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5167 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5168 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5169 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5170 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5171 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5172 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5173 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5174 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5175 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5176 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5177 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5178
5179 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5180 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5181
618280a1
UD
5182 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5183 place. Use VEX encoding when compiling for AVX.
5184
37822576
AS
51852011-10-25 Andreas Schwab <schwab@redhat.com>
5186
1f1e1947
AS
5187 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5188 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5189
37822576
AS
5190 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5191
31ea014d
UD
51922011-10-25 Ulrich Drepper <drepper@gmail.com>
5193
d7826aa1 5194 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 5195 useless if() expression.
d7826aa1
UD
5196 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5197 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5198 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5199 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5200 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5201 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5202 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5203 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5204 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5205 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5206 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5207 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5208 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5209 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5210 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5211 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5212 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5213 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5214 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5215
31ea014d
UD
5216 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5217
16437fec
AS
52182011-10-25 Andreas Schwab <schwab@redhat.com>
5219
5220 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5221 condition.
5222 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5223
31d3cc00
UD
52242011-10-25 Ulrich Drepper <drepper@gmail.com>
5225
5226 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5227 .text section. Avoid duplicate constants.
5228 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5229 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5230 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5231 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5232 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5233 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5234 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5235 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5236 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5237 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5238 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5239 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5240 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5241 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5242 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5243 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5244 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5245 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5246 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5247 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5248 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5249 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5250 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5251 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5252 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5253 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5254 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5255 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5256 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5257 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5258 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5259 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5260 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5261 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5262 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5263 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5264 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5265 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5266 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5267 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5268 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5269 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5270 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5271 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5272 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5273
58985aa9
UD
52742011-10-24 Ulrich Drepper <drepper@gmail.com>
5275
202c9deb
UD
5276 * sysdeps/x86_64/dla.h: Move to ...
5277 * sysdeps/x86_64/fpu/dla.h: ...here.
5278 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5279 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 5280
af968f62
UD
5281 * config.make.in: Add have-mfma4 entry.
5282 * configure.in: Substitute libc_cv_cc_fma4.
5283 * math/Makefile (dbl-only-routines): Add sincostab.
5284 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5285 Use __sincostab not sincos.
5286 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5287 name is a macro.
5288 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5289 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5290 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5291 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5292 using __copysign.
5293 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5294 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5295 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5296 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5297 and __inv.
5298 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5299 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5300 __copysign.
5301 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5302 define aliases when function name is a macro.
5303 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5304 sysdeps/ieee754/dbl-64/sincos.tbl.
5305 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5306 fma4-enabled routines.
5307 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5308 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5309 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5310 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5311 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5312 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5313 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5314 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5315 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5316 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5317 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5318 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5319 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5320 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5321 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5322 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5323 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5324 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5325 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5326 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5327 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5328 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5329 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5330 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5331 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5332 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5333 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5334 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5335 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5336 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5337
58985aa9
UD
5338 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5339 rename.
5340 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5341 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5342 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5343 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5344 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5345 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5346 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5347 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5348
a201fbcf
AS
53492011-10-24 Andreas Schwab <schwab@redhat.com>
5350
5351 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5352
fc2ee42a
LD
53532011-10-23 Ulrich Drepper <drepper@gmail.com>
5354
bb3129bd
UD
5355 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5356
0275fff8
UD
5357 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5358 prediction.
5359 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5360
2fa2ae85
UD
5361 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5362 Remove unused variable magic_bits.
5363 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5364
fc2ee42a
LD
5365 * string/strnlen.c: Define and use STRNLEN macro.
5366 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5367 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5368 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5369 * wcsmbs/wcslen.c: Define and use WCSLEN.
5370 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5371 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5372 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5373 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5374 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5375 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5376 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5377
ce7dd29f
LD
53782011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5379
5380 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5381 strnlen-sse2-no-bsf.
5382 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5383 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5384 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5385 Add strnlen support.
5386 (USE_AS_STRNLEN): New macro.
5387 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5388 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5389 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5390 * sysdeps/x86_64/wcslen.S: New file.
5391
979c70a3
MZ
53922011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5393
5394 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5395 XMM-moves are used for copying on small sizes.
5396
2d09f82f
LD
53972011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5398
5399 * wcsmbs/Makefile (strop-tests): Add wcschr.
5400 * wcsmbs/test-wcschr.c: New file.
5401 * string/test-strchr.c: Update.
5402 Add wcschr support.
5403 (WIDE): New macro.
5404
619fccca
LD
54052011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5406
2d09f82f 5407 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
5408 * wcsmbs/test-wcslen.c: New file.
5409 * string/test-strlen.c: Update.
5410 Add wcslen support.
5411 (WIDE): New macro.
5412
09f699ea
UD
54132011-10-23 Ulrich Drepper <drepper@gmail.com>
5414
5415 * po/it.po: Update from translation team.
5416
95584d3b
LD
54172011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5418
5419 * sysdeps/x86_64/wcscmp.S: Update.
5420 Fix wrong comparison semantics.
5421 wcscmp shall use signed comparison not unsigned.
5422 Don't use substraction to avoid overflow bug.
5423 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5424 * wcsmbc/wcscmp.c: Likewise.
5425 * string/test-strcmp.c: Likewise.
5426 Add new tests to check cases with negative values.
5427
c8b3296b
UD
54282011-10-23 Ulrich Drepper <drepper@gmail.com>
5429
5430 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5431 * sysdeps/x86_64/dla.h: ...here. New file.
5432 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5433 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5434 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5435 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5436 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5437 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5438 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5439 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5440 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5441
246ad57a
AS
54422011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5443
5444 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5445 __ynl_finite aliases.
5446
a1a87169
UD
54472011-10-22 Ulrich Drepper <drepper@gmail.com>
5448
0d355eb7
UD
5449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5450
a1a87169
UD
5451 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5452 define DLA_FMA.
5453 [DLA_FMA] (EMULV): Use DLA_FMA.
5454 [DLA_FMA] (MUL12): Use EMULV.
5455 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5456 that are not needed.
5457 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5458 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5459 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5460 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5461 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5462 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5463 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5464
ee2aafe0
AS
54652011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5466
5467 * math/s_nan.c: Undef __nan.
5468 * math/s_nanf.c: Undef __nanf.
5469 * math/s_nanl.c: Undef __nanl.
5470 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5471 "math_private.h".
5472
bc62c2fb
UD
54732011-10-22 Ulrich Drepper <drepper@gmail.com>
5474
77425c63
UD
5475 * math/s_catan.c: Add branch predictions.
5476 * math/s_catanf.c: Likewise.
5477 * math/s_catanh.c: Likewise.
5478 * math/s_catanhf.c: Likewise.
5479 * math/s_catanhl.c: Likewise.
5480 * math/s_catanl.c: Likewise.
5481 * math/s_cexp.c: Likewise.
5482 * math/s_cexpf.c: Likewise.
5483 * math/s_cexpl.c: Likewise.
5484 * math/s_clog.c: Likewise.
5485 * math/s_clog10.c: Likewise.
5486 * math/s_clog10f.c: Likewise.
5487 * math/s_clog10l.c: Likewise.
5488 * math/s_clogf.c: Likewise.
5489 * math/s_clogl.c: Likewise.
5490 * math/s_csqrt.c: Likewise.
5491 * math/s_csqrtf.c: Likewise.
5492 * math/s_csqrtl.c: Likewise.
5493 * math/s_ctanf.c: Likewise.
5494 * math/s_ctanh.c: Likewise.
5495 * math/s_ctanhf.c: Likewise.
5496 * math/s_ctanhl.c: Likewise.
5497 * math/s_ctanl.c: Likewise.
5498
bc62c2fb
UD
5499 * math/math_private.h: Define __nan, __nanf, __nanl.
5500 * math/s_cacosh.c: Include <math_private.h>.
5501 * math/s_cacoshl.c: Likewise.
5502 * math/s_casinh.c: Likewise.
5503 * math/s_casinhf.c: Likewise.
5504 * math/s_casinhl.c: Likewise.
5505 * math/s_ccos.c: Rely entire on ccosh.
5506 * math/s_ccosf.c: Rely entire on ccoshf.
5507 * math/s_ccosl.c: Rely entirely on ccoshl.
5508 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5509 Remove tests for FE_INVALID.
5510 * math/s_ccoshf.c: Likewise.
5511 * math/s_ccoshl.c: Likewise.
5512 * math/s_csin.c: Likewise.
5513 * math/s_csinf.c: Likewise.
5514 * math/s_csinh.c Likewise.
5515 * math/s_csinhf.c: Likewise.
5516 * math/s_csinhl.c: Likewise.
5517 * math/s_csinl.c: Likewise.
5518 * math/s_ctan.c: Likewise.
5519 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5520 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5521 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5522
8ec250a4
UD
55232011-10-21 Ulrich Drepper <drepper@gmail.com>
5524
c196fed8
UD
5525 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5526 compilation problems.
5527
8ec250a4
UD
5528 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5529 __builtin_expect.
5530
8d4f46c6
UD
55312011-10-20 Ulrich Drepper <drepper@gmail.com>
5532
ed72b654
UD
5533 * sysdeps/i386/configure.in: Test for -mfma4 option.
5534 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5535 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5536 COMMON_CPUID_INDEX_80000001.
5537 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5538 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5539 use it if FMA3 is not supported.
5540 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5541
8d4f46c6
UD
5542 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5543 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5544
d45c60c2
AS
55452011-10-20 Andreas Schwab <schwab@redhat.com>
5546
5547 [BZ #12892]
5548 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5549 it would create a cycle with a link time dependency.
5550
d9a4d2ab
UD
55512011-10-19 Ulrich Drepper <drepper@gmail.com>
5552
855d1560
UD
5553 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5554 instruction.
5555 * string/Makefile (strop-tests): Add rawmemchr.
5556 * string/test-rawmemchr.c: New file.
5557
d9a4d2ab
UD
5558 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5559 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5560 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5561 when compiling str{,n}casecmp and when AVX is available. Hook up
5562 new optimized code in initializers.
5563
8f3b1ffe
AS
55642011-10-19 Andreas Schwab <schwab@redhat.com>
5565
5566 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5567 __feraiseexcept instead of feraiseexcept.
5568
d38f1dba
UD
55692011-10-18 Ulrich Drepper <drepper@gmail.com>
5570
d9a8d0ab
UD
5571 * math/math_private.h: Define defaults for libc_fetestexcept and
5572 libc_feupdateenv.
5573 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5574 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5575 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5576 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5577 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5578 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5579 libc_fetestexcept and libc_feupdateenv.
5580
4855e3dd
UD
5581 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5582 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5583 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5584 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5585 libc_feholdexcept_setround.
5586
581d30e3
UD
5587 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5588 Add s_nearbyint-c and s_nearbyintf-c.
5589 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5590 nearbyintf inlines.
5591 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5592 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5593 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5594 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5595
d38f1dba
UD
5596 * math/math_private.h: Define defaults for libc_fegetround,
5597 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5598 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5599 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5600 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5601 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5602 standard functions.
5603 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5604 Remove comments and hacks for old compiler versions.
5605 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5606 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5607 libc_feholdexceptl.
5608
caa6c9d8
AS
56092011-10-18 Andreas Schwab <schwab@redhat.com>
5610
5611 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
5612 (__feraiseexcept_renamed): Add __NTH.
5613 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
5614 namespace violations.
5615
97c066e6
UD
56162011-10-17 Ulrich Drepper <drepper@gmail.com>
5617
99ce7b04
UD
5618 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5619
1004d182
UD
5620 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5621
228a984d
UD
5622 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5623 recently added interfaces.
5624 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5625
c8553a6a
UD
5626 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5627 about macro parameter expansion.
5628
ed22dcf6
UD
5629 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5630 __NO_MATH_INLINES is defined. Cleanups.
5631
5632 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5633 and __floorf is target has SSE4.1.
5634 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5635 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5636 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5637 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5638
b171c137
UD
5639 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5640 name.
5641 (floorf): Likewise.
5642
97c066e6
UD
5643 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5644
629f62ef
AS
56452011-10-17 Andreas Schwab <schwab@redhat.com>
5646
49a43d80
AS
5647 * misc/sys/cdefs.h: Fix last change.
5648
629f62ef
AS
5649 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5650 database lookup.
5651
e453f6cd
UD
56522011-10-16 Ulrich Drepper <drepper@gmail.com>
5653
aa78043a
UD
5654 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5655
ad0f5cad
UD
5656 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5657 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5658 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5659 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5660 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5661 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5662 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5663 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5664 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5665 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5666 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5667 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5668 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5669 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5670 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5671 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5672 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5673 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5674 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5675 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5676 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5677 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5678
5679 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5680 ceil, ceilf, floor, floorf.
5681
5682 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5683 Perform IRELATIVE relocations last.
5684
e453f6cd
UD
5685 * elf/do-rel.h: Add another parameter nrelative, replacing the
5686 local variable with the same name. Change name of the function
5687 to end in Rel or Rela (uppercase).
5688 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5689 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5690 elf_dynamic_do_##reloc function.
5691
fd5bdc09
UD
56922011-10-15 Ulrich Drepper <drepper@gmail.com>
5693
79b195b5
UD
5694 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5695 is sufficient, at least on modern CPUs.
5696
d4a28569
UD
5697 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5698
b61099b5
UD
5699 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5700 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5701
bcf01e6d
UD
5702 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5703 __expl_finite.
5704 * math/bits/math-finite.h: Add entries for exp.
5705 * math/e_expl.c: Add __*_finite alias.
5706 * sysdeps/i386/fpu/e_exp.S: Likewise.
5707 * sysdeps/i386/fpu/e_expf.S: Likewise.
5708 * sysdeps/i386/fpu/e_expl.c: Likewise.
5709 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5710 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5711 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5712 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5713 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5714 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5715 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5716
ba1a0d59
UD
5717 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5718 is sufficient, at least on modern CPUs.
5719
fd5bdc09
UD
5720 * ctype/ctype-info.c (__ctype_init): Define.
5721 * include/ctype.h (__ctype_init): Declare.
5722 (__ctype_b_loc): The variable is always initialized.
5723 (__ctype_toupper_loc): Likewise.
5724 (__ctype_tolower_loc): Likewise.
5725 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5726 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5727
7872cfb0
AS
57282011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5729
b468825a
AS
5730 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5731
7872cfb0
AS
5732 * configure.in: Also look in $cxxmachine/include for C++ system
5733 headers.
5734
be13f7bf
LD
57352011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5736
5737 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5738 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5739 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5740 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5741 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5742 (USE_AS_WMEMCMP): New macro.
5743 Fixing indents.
5744 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5745 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5746 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5747 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5748 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5749 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5750 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5751 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5752 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5753 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5754 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5755 (USE_AS_WMEMCMP): New macro.
5756 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5757 * sysdeps/string/test-memcmp.c: Update.
5758 Fix simple_wmemcmp.
5759 Add new tests.
5760 * wcsmbs/wmemcmp.c: Update.
5761 (WMEMCMP): New macro.
5762 Fix overflow bug.
5763
556a2007
AJ
57642011-10-12 Andreas Jaeger <aj@suse.de>
5765
5766 [BZ #13268]
5767 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5768
538faaa7
UD
57692011-10-15 Ulrich Drepper <drepper@gmail.com>
5770
ab6737ff
UD
5771 * libio/iofwide.c (do_length): Avoid warning.
5772
538faaa7
UD
5773 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5774
396a21b1
UD
57752011-10-14 Ulrich Drepper <drepper@gmail.com>
5776
cdf2901f
UD
5777 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5778
38ad40ce
UD
5779 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5780 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5781 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5782 * sysdeps/i386/i686/fpu/e_log.S: New file.
5783 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5784 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5785
396a21b1
UD
5786 * ctype/ctype.h: Add support for inlined isXXX functions when
5787 compiling C++ code.
5788
6b1f68c9
AS
57892011-10-14 Andreas Schwab <schwab@redhat.com>
5790
349290c0
AS
5791 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5792
6b1f68c9
AS
5793 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5794
f2282d42
RM
57952011-10-13 Roland McGrath <roland@hack.frob.com>
5796
5797 [BZ #13291]
5798 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5799
5298ffa8
AS
58002011-10-13 Andreas Schwab <schwab@redhat.com>
5801
714fad23
AS
5802 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5803 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5804 feraiseexcept.
5805
81dcc7fb
AS
5806 * sysdeps/x86_64/memrchr.S: Check for zero size.
5807
5298ffa8
AS
5808 * string/stratcliff.c: Add memrchr tests.
5809
951fbcec
LD
58102011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5811
5812 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5813 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5814 rawmemchr-sse2 rawmemchr-sse2-bsf.
5815 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5816 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5817 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5818 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5819 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5820 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5821 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5822 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5823 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5824 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5825 * string/memrchr.c (MEMRCHR): New macro.
5826
0ac5ae23
UD
58272011-10-12 Ulrich Drepper <drepper@gmail.com>
5828
5829 Add integration with gcc's -ffinite-math-only and optimize wrapper
5830 functions in libm.
5831 * Versions.def: Define GLIBC_2.15 version for libm.
5832 * math/Makefile (headers): Add bits/math-finite.h.
5833 * math/bits/math-finite.h: New file.
5834 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5835 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5836 * math/e_acoshl.c: Add __*_finite alias.
5837 * math/e_acosl.c: Likewise.
5838 * math/e_asinl.c: Likewise.
5839 * math/e_atan2l.c: Likewise.
5840 * math/e_atanhl.c: Likewise.
5841 * math/e_coshl.c: Likewise.
5842 * math/e_exp10.c: Likewise.
5843 * math/e_exp10f.c: Likewise.
5844 * math/e_exp10l.c: Likewise.
5845 * math/e_exp2l.c: Likewise.
5846 * math/e_fmodl.c: Likewise.
5847 * math/e_gammal_r.c: Likewise.
5848 * math/e_hypotl.c: Likewise.
5849 * math/e_j0l.c: Likewise.
5850 * math/e_j1l.c: Likewise.
5851 * math/e_jnl.c: Likewise.
5852 * math/e_lgammal_r.c: Likewise.
5853 * math/e_log10l.c: Likewise.
5854 * math/e_log2l.c: Likewise.
5855 * math/e_logl.c: Likewise.
5856 * math/e_powl.c: Likewise.
5857 * math/e_sinhl.c: Likewise.
5858 * math/e_sqrtl.c: Likewise.
5859 * math/e_scalb.c: Completely rewritten and optimized.
5860 * math/e_scalbf.c: Likewise.
5861 * math/e_scalbl.c: Likewise.
5862 * math/w_acos.c: Likewise.
5863 * math/w_acosf.c: Likewise.
5864 * math/w_acosl.c: Likewise.
5865 * math/w_acosh.c: Likewise.
5866 * math/w_acoshf.c: Likewise.
5867 * math/w_acoshl.c: Likewise.
5868 * math/w_asin.c: Likewise.
5869 * math/w_asinf.c: Likewise.
5870 * math/w_asinl.c: Likewise.
5871 * math/w_atan2.c: Likewise.
5872 * math/w_atan2f.c: Likewise.
5873 * math/w_atan2l.c: Likewise.
5874 * math/w_atanh.c: Likewise.
5875 * math/w_atanhf.c: Likewise.
5876 * math/w_atanhl.c: Likewise.
5877 * math/w_exp10.c: Likewise.
5878 * math/w_exp10f.c: Likewise.
5879 * math/w_exp10l.c: Likewise.
5880 * math/w_fmod.c: Likewise.
5881 * math/w_fmodf.c: Likewise.
5882 * math/w_fmodl.c: Likewise.
5883 * math/w_j0.c: Likewise.
5884 * math/w_j0f.c: Likewise.
5885 * math/w_j0l.c: Likewise.
5886 * math/w_j1.c: Likewise.
5887 * math/w_j1f.c: Likewise.
5888 * math/w_j1l.c: Likewise.
5889 * math/w_jn.c: Likewise.
5890 * math/w_jnf.c: Likewise.
5891 * math/w_log.c: Likewise.
5892 * math/w_logf.c: Likewise.
5893 * math/w_logl.c: Likewise.
5894 * math/w_log10.c: Likewise.
5895 * math/w_log10f.c: Likewise.
5896 * math/w_log10l.c: Likewise.
5897 * math/w_log2.c: Likewise.
5898 * math/w_log2f.c: Likewise.
5899 * math/w_log2l.c: Likewise.
5900 * math/w_pow.c: Likewise.
5901 * math/w_powf.c: Likewise.
5902 * math/w_powl.c: Likewise.
5903 * math/w_remainder.c: Likewise.
5904 * math/w_remainderf.c: Likewise.
5905 * math/w_remainderl.c: Likewise.
5906 * math/w_scalb.c: Likewise.
5907 * math/w_scalbf.c: Likewise.
5908 * math/w_scalbl.c: Likewise.
5909 * math/w_sqrt.c: Likewise.
5910 * math/w_sqrtf.c: Likewise.
5911 * math/w_sqrtl.c: Likewise.
5912 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5913 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5914 used.
5915 * math/math_private.h: Declare __kernel_standard_f.
5916 * math/w_cosh.c: Remove cruft and optimize a bit.
5917 * math/w_coshf.c: Likewise.
5918 * math/w_coshl.c: Likewise.
5919 * math/w_exp2.c: Likewise.
5920 * math/w_exp2f.c: Likewise.
5921 * math/w_exp2l.c: Likewise.
5922 * math/w_hypot.c: Likewise.
5923 * math/w_hypotf.c: Likewise.
5924 * math/w_hypotl.c: Likewise.
5925 * math/w_lgamma.c: Likewise.
5926 * math/w_lgamma_r.c: Likewise.
5927 * math/w_lgammaf.c: Likewise.
5928 * math/w_lgammaf_r.c: Likewise.
5929 * math/w_lgammal.c: Likewise.
5930 * math/w_lgammal_r.c: Likewise.
5931 * math/w_sinh.c: Likewise.
5932 * math/w_sinhf.c: Likewise.
5933 * math/w_sinhl.c: Likewise.
5934 * math/w_tgamma.c: Likewise.
5935 * math/w_tgammaf.c: Likewise.
5936 * math/w_tgammal.c: Likewise.
5937 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5938 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5939 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5940 Minor optimizations. Pretty printing. Remove cruft.
5941 * sysdeps/i386/fpu/e_acosf.S: Likewise.
5942 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5943 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5944 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5945 * sysdeps/i386/fpu/e_acosl.c: Likewise.
5946 * sysdeps/i386/fpu/e_asin.S: Likewise.
5947 * sysdeps/i386/fpu/e_asinf.S: Likewise.
5948 * sysdeps/i386/fpu/e_atan2.S: Likewise.
5949 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5950 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5951 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5952 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5953 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5954 * sysdeps/i386/fpu/e_exp10.S: Likewise.
5955 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5956 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5957 * sysdeps/i386/fpu/e_exp2.S: Likewise.
5958 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
5959 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
5960 * sysdeps/i386/fpu/e_fmod.S: Likewise.
5961 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
5962 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
5963 * sysdeps/i386/fpu/e_hypot.S: Likewise.
5964 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
5965 * sysdeps/i386/fpu/e_log.S: Likewise.
5966 * sysdeps/i386/fpu/e_log10.S: Likewise.
5967 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5968 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5969 * sysdeps/i386/fpu/e_log2.S: Likewise.
5970 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5971 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5972 * sysdeps/i386/fpu/e_logf.S: Likewise.
5973 * sysdeps/i386/fpu/e_logl.S: Likewise.
5974 * sysdeps/i386/fpu/e_pow.S: Likewise.
5975 * sysdeps/i386/fpu/e_powf.S: Likewise.
5976 * sysdeps/i386/fpu/e_powl.S: Likewise.
5977 * sysdeps/i386/fpu/e_remainder.S: Likewise.
5978 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
5979 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
5980 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5981 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5982 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5983 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
5984 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
5985 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
5986 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5987 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5988 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5989 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5990 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5991 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5992 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5993 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5994 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5995 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5996 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5997 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5998 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5999 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6000 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6001 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6002 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6003 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6004 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6005 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6006 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6007 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6008 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6009 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6010 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6011 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6012 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6013 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6014 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6015 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6016 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6017 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6018 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6019 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6020 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6021 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6022 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6023 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6024 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6025 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6026 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6027 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6028 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6029 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6030 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6031 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6032 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6033 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6034 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6035 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6036 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6037 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6038 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6039 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6040 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6041 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6042 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6043 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6044 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6045 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6046 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6047 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6048 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6049 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6050 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6051 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6052 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6053 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6054 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6055 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6056 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6057 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6058 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6059 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6060 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6061 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6062 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6063 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6064 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6065 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6066 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6067 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6068 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6069 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6070 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6071 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6072 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6073 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6074 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6075 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6076 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6077 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6078 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6079 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6080 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6081 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6082 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6083 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6084 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6085 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6086 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6087 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6088 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6089 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6090 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6091 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6092 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6093 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6094 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6095 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6096 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6097 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6098 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6099 (__isnanf): Likewise.
6100 (__isinf_ns): Likewise.
6101 (__isinf_nsf): Likewise.
6102 (__finite): Likewise.
6103 (__finitef): Likewise.
6104 (__ieee754_sqrt): Define as macro.
6105 (__ieee754_sqrtf): Define as macro.
6106 (__ieee754_sqrtl): Define as macro.
6107 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6108 inlined copy.
6109 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6110 __FINITE_MATH_ONLY__ consistent.
6111 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6112
12cc2fcd
AS
61132011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6114
a843a204
AS
6115 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6116 of rawmemchr.
6117
12cc2fcd
AS
6118 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6119
c853acd5
UD
61202011-10-09 Ulrich Drepper <drepper@gmail.com>
6121
6122 * po/ja.po: Update from translation team.
6123
c658d255
RM
61242011-10-08 Roland McGrath <roland@hack.frob.com>
6125
110946e4
RM
6126 * locale/programs/locarchive.c (prepare_address_space): New function.
6127 (create_archive, enlarge_archive, open_archive): Use it.
6128
50604220
RM
6129 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6130 inside [SHARED], where it is used.
6131
c658d255
RM
6132 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6133
6134 * nss/getent.c (netgroup_keys): Remove unused variable.
6135 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6136
6a621eb7
UD
61372011-10-08 Ulrich Drepper <drepper@gmail.com>
6138
7edb55ce
UD
6139 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6140 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6141 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6142 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6143 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6144 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6145 * math/Makefile (libm-calls): Add s_isinf_ns.
6146 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6147 * math/multc3.c: Likewise.
6148 * math/s_casin.c: Likewise.
6149 * math/s_casinf.c: Likewise.
6150 * math/s_casinl.c: Likewise.
6151 * math/s_ccos.c: Likewise.
6152 * math/s_ccosf.c: Likewise.
6153 * math/s_ccosl.c: Likewise.
6154 * math/s_ctan.c: Likewise.
6155 * math/s_ctanf.c: Likewise.
6156 * math/s_ctanh.c: Likewise.
6157 * math/s_ctanhf.c: Likewise.
6158 * math/s_ctanhl.c: Likewise.
6159 * math/s_ctanl.c: Likewise.
6160 * math/w_fmod.c: Likewise.
6161 * math/w_fmodf.c: Likewise.
6162 * math/w_fmodl.c: Likewise.
6163 * math/w_remainder.c: Likewise.
6164 * math/w_remainderf.c: Likewise.
6165 * math/w_remainderl.c: Likewise.
6166 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6167 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6168 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6169 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6170 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6171 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6172 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6173 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6174
187da0ae
UD
6175 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6176 of the number.
6177 * stdio-common/printf_fphex.c: Likewise.
6178 * stdio-common/printf_size.c: Likewise.
6179
9277c064
UD
6180 * math/e_exp10.c: Include math_private.h using <...> not "...".
6181 * math/e_exp10f.c: Likewise.
6182 * math/e_exp10l.c: Likewise.
6183 * math/e_exp2l.c: Likewise.
6184 * math/e_j0l.c: Likewise.
6185 * math/e_j1l.c: Likewise.
6186 * math/e_jnl.c: Likewise.
6187 * math/e_lgammal_r.c: Likewise.
6188 * math/e_rem_pio2l.c: Likewise.
6189 * math/e_scalb.c: Likewise.
6190 * math/e_scalbf.c: Likewise.
6191 * math/e_scalbl.c: Likewise.
6192 * math/k_cosl.c: Likewise.
6193 * math/k_sinl.c: Likewise.
6194 * math/k_tanl.c: Likewise.
6195 * math/s_cacoshf.c: Likewise.
6196 * math/s_catan.c: Likewise.
6197 * math/s_catanf.c: Likewise.
6198 * math/s_catanh.c: Likewise.
6199 * math/s_catanhf.c: Likewise.
6200 * math/s_catanhl.c: Likewise.
6201 * math/s_catanl.c: Likewise.
6202 * math/s_ccosh.c: Likewise.
6203 * math/s_ccoshf.c: Likewise.
6204 * math/s_ccoshl.c: Likewise.
6205 * math/s_cexp.c: Likewise.
6206 * math/s_cexpf.c: Likewise.
6207 * math/s_cexpl.c: Likewise.
6208 * math/s_clog.c: Likewise.
6209 * math/s_clog10.c: Likewise.
6210 * math/s_clog10f.c: Likewise.
6211 * math/s_clog10l.c: Likewise.
6212 * math/s_clogf.c: Likewise.
6213 * math/s_clogl.c: Likewise.
6214 * math/s_csin.c: Likewise.
6215 * math/s_csinf.c: Likewise.
6216 * math/s_csinh.c: Likewise.
6217 * math/s_csinhf.c: Likewise.
6218 * math/s_csinhl.c: Likewise.
6219 * math/s_csinl.c: Likewise.
6220 * math/s_csqrt.c: Likewise.
6221 * math/s_csqrtf.c: Likewise.
6222 * math/s_csqrtl.c: Likewise.
6223 * math/s_ctan.c: Likewise.
6224 * math/s_ctanf.c: Likewise.
6225 * math/s_ctanh.c: Likewise.
6226 * math/s_ctanhf.c: Likewise.
6227 * math/s_ctanhl.c: Likewise.
6228 * math/s_ctanl.c: Likewise.
6229 * math/s_ldexp.c: Likewise.
6230 * math/s_ldexpf.c: Likewise.
6231 * math/s_ldexpl.c: Likewise.
6232 * math/s_significand.c: Likewise.
6233 * math/s_significandf.c: Likewise.
6234 * math/s_significandl.c: Likewise.
6235 * math/w_acos.c: Likewise.
6236 * math/w_acosf.c: Likewise.
6237 * math/w_acosh.c: Likewise.
6238 * math/w_acoshf.c: Likewise.
6239 * math/w_acoshl.c: Likewise.
6240 * math/w_acosl.c: Likewise.
6241 * math/w_asin.c: Likewise.
6242 * math/w_asinf.c: Likewise.
6243 * math/w_asinl.c: Likewise.
6244 * math/w_atan2.c: Likewise.
6245 * math/w_atan2f.c: Likewise.
6246 * math/w_atan2l.c: Likewise.
6247 * math/w_atanh.c: Likewise.
6248 * math/w_atanhf.c: Likewise.
6249 * math/w_atanhl.c: Likewise.
6250 * math/w_cosh.c: Likewise.
6251 * math/w_coshf.c: Likewise.
6252 * math/w_coshl.c: Likewise.
6253 * math/w_dremf.c: Likewise.
6254 * math/w_exp10.c: Likewise.
6255 * math/w_exp10f.c: Likewise.
6256 * math/w_exp10l.c: Likewise.
6257 * math/w_exp2.c: Likewise.
6258 * math/w_exp2f.c: Likewise.
6259 * math/w_fmod.c: Likewise.
6260 * math/w_fmodf.c: Likewise.
6261 * math/w_fmodl.c: Likewise.
6262 * math/w_hypot.c: Likewise.
6263 * math/w_hypotf.c: Likewise.
6264 * math/w_hypotl.c: Likewise.
6265 * math/w_j0.c: Likewise.
6266 * math/w_j0f.c: Likewise.
6267 * math/w_j0l.c: Likewise.
6268 * math/w_j1.c: Likewise.
6269 * math/w_j1f.c: Likewise.
6270 * math/w_j1l.c: Likewise.
6271 * math/w_jn.c: Likewise.
6272 * math/w_jnf.c: Likewise.
6273 * math/w_jnl.c: Likewise.
6274 * math/w_lgamma.c: Likewise.
6275 * math/w_lgamma_r.c: Likewise.
6276 * math/w_lgammaf.c: Likewise.
6277 * math/w_lgammaf_r.c: Likewise.
6278 * math/w_lgammal.c: Likewise.
6279 * math/w_lgammal_r.c: Likewise.
6280 * math/w_log.c: Likewise.
6281 * math/w_log10.c: Likewise.
6282 * math/w_log10f.c: Likewise.
6283 * math/w_log10l.c: Likewise.
6284 * math/w_log2.c: Likewise.
6285 * math/w_log2f.c: Likewise.
6286 * math/w_log2l.c: Likewise.
6287 * math/w_logf.c: Likewise.
6288 * math/w_logl.c: Likewise.
6289 * math/w_pow.c: Likewise.
6290 * math/w_powf.c: Likewise.
6291 * math/w_powl.c: Likewise.
6292 * math/w_remainder.c: Likewise.
6293 * math/w_remainderf.c: Likewise.
6294 * math/w_remainderl.c: Likewise.
6295 * math/w_scalb.c: Likewise.
6296 * math/w_scalbf.c: Likewise.
6297 * math/w_scalbl.c: Likewise.
6298 * math/w_sinh.c: Likewise.
6299 * math/w_sinhf.c: Likewise.
6300 * math/w_sinhl.c: Likewise.
6301 * math/w_sqrt.c: Likewise.
6302 * math/w_sqrtf.c: Likewise.
6303 * math/w_sqrtl.c: Likewise.
6304 * math/w_tgamma.c: Likewise.
6305 * math/w_tgammaf.c: Likewise.
6306 * math/w_tgammal.c: Likewise.
6307
6a621eb7
UD
6308 * po/ja.po: Update from translation team.
6309
bf582445
AJ
63102011-09-29 Andreas Jaeger <aj@suse.de>
6311
f9efbf3a
AJ
6312 [BZ #13179]
6313 * sunrpc/netname.c (netname2host): Fix logic.
6314
bf582445
AJ
6315 [BZ #6779]
6316 [BZ #6783]
6317 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6318 correctly.
6319 * math/w_remainder.c (__remainder): Likewise.
6320 * math/w_remainderf.c (__remainderf): Likewise.
6321 * math/libm-test.inc (remainder_test): Add test cases.
6322
48693bea
AK
63232011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6324
6325 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6326 sdiv_qrnnd.
6327
42622229
LD
63282011-10-07 Ulrich Drepper <drepper@gmail.com>
6329
6330 * string/test-memcmp.c: Avoid unncessary #defines.
6331 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6332
093ecf92
LD
63332011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6334
6335 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6336 Use new sse2 version for core i3 - i7 as it's faster
6337 than sse42 version.
6338 (bit_Prefer_PMINUB_for_stringop): New.
6339 * sysdeps/x86_64/rawmemchr.S: Update.
6340 Replace with faster SSE2 version.
6341 * sysdeps/x86_64/memrchr.S: New file.
6342 * sysdeps/x86_64/memchr.S: Update.
6343 Replace with faster SSE2 version.
6344
fde56e5c
MP
63452011-09-12 Marek Polacek <mpolacek@redhat.com>
6346
6347 * elf/dl-load.c (lose): Add cast to avoid warning.
6348
21fd49a9
UD
63492011-10-07 Ulrich Drepper <drepper@gmail.com>
6350
5a06e643
UD
6351 * po/ca.po: Update from translation team.
6352
684ae515
UD
6353 * inet/getnetgrent_r.c: Hook up nscd.
6354 * nscd/Makefile (routines): Add nscd_netgroup.
6355 (nscd-modules): Add netgroupcache.
6356 (CFLAGS-netgroupcache.c): Define.
6357 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6358 (cache_search): Add const to second parameter.
6359 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6360 INNETGR.
6361 (dbs): Add netgrdb entry.
6362 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6363 (verify_persistent_db): Handle netgrdb.
6364 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6365 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6366 GETFDNETGR.
6367 (netgroup_response_header): Define.
6368 (innetgroup_response_header): Define.
6369 (datahead): Add netgroup_response_header and innetgroup_response_header
6370 elements.
6371 * nscd/nscd.conf: Add entries for netgroup cache.
6372 * nscd/nscd.h (dbtype): Add netgrdb.
6373 (_PATH_NSCD_NETGROUP_DB): Define.
6374 (netgroup_iov_disabled): Declare.
6375 (xmalloc, xcalloc, xrealloc): Move declarations here.
6376 (cache_search): Adjust prototype.
6377 Add netgroup-related prototypes.
6378 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6379 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6380 (__nscd_innetgr): Declare.
6381 * nscd/selinux.c (perms): Use access_vector_t as element type and
6382 add netgroup-related initializers.
6383 * nscd/netgroupcache.c: New file.
6384 * nscd/nscd_netgroup.c: New file.
6385 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6386 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6387 For four parameters use innetgr.
6388 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6389 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6390 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6391 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6392
21fd49a9
UD
6393 * nscd/connections.c (register_traced_file): Don't register file
6394 for disabled databases.
6395
054c0457
UD
63962011-10-06 Ulrich Drepper <drepper@gmail.com>
6397
32b63198
UD
6398 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6399
054c0457
UD
6400 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6401 from tree and freeing node.
6402
64031225
JO
64032011-09-25 Jiri Olsa <jolsa@redhat.com>
6404
6405 * nss/nsswitch.c (__nss_database_lookup): Handle
6406 nss_parse_service_list out of memory case.
6407
0490345c
JO
64082011-09-15 Jiri Olsa <jolsa@redhat.com>
6409
6410 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6411 out of memory case.
6412
3a62d00d
AS
64132011-10-04 Andreas Schwab <schwab@redhat.com>
6414
6415 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6416 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6417 pass it down.
6418 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6419 elf_machine_rela, elf_machine_lazy_rel.
6420 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6421 (ELF_DYNAMIC_DO_REL): Likewise.
6422 (ELF_DYNAMIC_DO_RELA): Likewise.
6423 (ELF_DYNAMIC_RELOCATE): Likewise.
6424 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6425 to ELF_DYNAMIC_DO_REL.
6426 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6427 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6428 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6429 elf_machine_rela.
6430 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6431 skip_ifunc, don't call ifunc function if non-zero.
6432 (elf_machine_rela): Likewise.
6433 (elf_machine_lazy_rel): Likewise.
6434 (elf_machine_lazy_rela): Likewise.
6435 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6436 (elf_machine_lazy_rel): Likewise.
6437 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6438 Likewise.
6439 (elf_machine_lazy_rel): Likewise.
6440 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6441 Likewise.
6442 (elf_machine_lazy_rel): Likewise.
6443 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6444 (elf_machine_lazy_rel): Likewise.
6445 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6446 (elf_machine_lazy_rel): Likewise.
6447 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6448 (elf_machine_lazy_rel): Likewise.
6449 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6450 (elf_machine_lazy_rel): Likewise.
6451 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6452 (elf_machine_lazy_rel): Likewise.
6453 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6454 (elf_machine_lazy_rel): Likewise.
6455
68577918
UD
64562011-09-28 Ulrich Drepper <drepper@gmail.com>
6457
6458 * nss/nss_files/files-init.c (_nss_files_init): Use static
6459 initialization for all the *_traced_file variables.
6460
68822d74
AS
64612011-09-28 Andreas Schwab <schwab@redhat.com>
6462
6463 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6464
2056100b
RM
64652011-09-27 Roland McGrath <roland@hack.frob.com>
6466
6467 [BZ #13226]
6468 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6469
32c76b63
AS
64702011-09-27 Andreas Schwab <schwab@redhat.com>
6471
6472 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6473 Reread the line before reparsing it.
6474
bf972c9d
AS
64752011-09-26 Andreas Schwab <schwab@redhat.com>
6476
6477 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6478
e057a1b5
JM
64792011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6480 Maxim Kuvyrkov <maxim@codesourcery.com>
6481 Joseph Myers <joseph@codesourcery.com>
6482
6483 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6484 if needed for __stack_chk_guard.
6485
bc7e1c36
RM
64862011-09-19 Roland McGrath <roland@hack.frob.com>
6487
ecb1482f
RM
6488 * sysdeps/posix/spawni.c (script_execute): Always define it.
6489 It will be optimized away if unused.
6490 (maybe_script_execute): New function.
6491 (__spawni): Call it.
6492
bc7e1c36
RM
6493 * Makerules: Don't include tls.make.
6494 (config-tls): Always set to thread.
6495 * tls.make.c: File removed.
6496
1c3b002b
MF
64972011-09-19 Mike Frysinger <vapier@gentoo.org>
6498
6499 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6500 * config.make.in (CPPFLAGS-config): New substituted variable.
6501
2840865d
UD
65022011-09-15 Ulrich Drepper <drepper@gmail.com>
6503
88738eb6
UD
6504 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6505
cbf645a6 6506 [BZ #13192]
2840865d
UD
6507 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6508 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6509
b402e91a
RM
65102011-09-15 Roland McGrath <roland@hack.frob.com>
6511
6512 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6513 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6514 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6515 (CALL_FAIL): Likewise.
6516 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6517 (CALL_FAIL): Macro removed.
6518 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6519
4c1a1f71
UD
65202011-09-15 Ulrich Drepper <drepper@gmail.com>
6521
6522 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6523 for __FINITE_MATH_ONLY__ == 1.
6524
edc121be
AS
65252011-09-15 Andreas Schwab <schwab@redhat.com>
6526
6527 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6528 __ieee754_sqrt instead of sqrt.
6529 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6530 __ieee754_sqrtf instead of sqrtf.
6531 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6532 __floorf instead of floorf.
6533 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6534 __floorf, __truncf instead of floorf, truncf.
6535
cd205654
UD
65362011-09-14 Ulrich Drepper <drepper@gmail.com>
6537
ee4d0315
UD
6538 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6539
cd205654
UD
6540 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6541 __extern_always_inline.
6542 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6543 32-bit.
6544
48b67d71
AS
65452011-09-14 Andreas Schwab <schwab@redhat.com>
6546
6547 * elf/rtld.c (dl_main): Also relocate in dependency order when
6548 doing symbol dependency testing.
6549
1ae12c75
AS
65502011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6551
6552 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6553 Always define `refsym'.
6554
995a80df
AS
65552011-09-13 Andreas Schwab <schwab@redhat.com>
6556
e529793b
AS
6557 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6558 (__FD_ELT): Renamed from __FDELT.
6559 * misc/bits/select2.h (__FD_ELT): Likewise.
6560 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6561 __FD_MASK instead of __FDELT, __FDMASK.
6562 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6563 Likewise.
6564 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6565 Likewise.
6566
52d4fef8
AS
6567 * elf/Makefile (gen-ldd): Fix pattern.
6568
995a80df
AS
6569 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6570 (init_tls): Likewise.
6571
8682f8b0
UD
65722011-09-12 Ulrich Drepper <drepper@gmail.com>
6573
6574 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6575
de82006d
AS
65762011-09-12 Andreas Schwab <schwab@redhat.com>
6577
a7c8e6a1
AS
6578 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6579 `struct cmsghdr *' instead of `void *'.
6580 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6581 Likewise.
6582
0f31fe77
AS
65832011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6584
6585 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6586 if non-absolute.
6587 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6588 ldd_rewrite_script.
0f31fe77 6589
32b4c839
UD
65902011-09-11 Ulrich Drepper <drepper@gmail.com>
6591
83cd1420
UD
6592 * configure.in: Remove --with-tls option.
6593 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6594 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6595 out in case it is missing.
6596 * sysdeps/ia64/elf/configure.in: Likewise.
6597 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6598 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6599 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6600 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6601 * sysdeps/sh/elf/configure.in: Likewise.
6602 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6603 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6604 * sysdeps/x86_64/elf/configure.in: Likewise.
6605 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6606 * sysdeps/mach/hurd/tls.h: Likewise.
6607
633f745d
UD
6608 [BZ #13067]
6609 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6610
f318beb8
UD
6611 [BZ #13090]
6612 * configure.in: Fix use of AC_INIT.
6613
32b4c839
UD
6614 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6615
3ce1f295
UD
66162011-09-10 Ulrich Drepper <drepper@gmail.com>
6617
bb016596
UD
6618 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6619 __set_errno.
8e58439c
UD
6620 * malloc/hooks.c: Likewise.
6621
aebae053 6622 [BZ #11929]
02d46fc4
UD
6623 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6624 variables statically.
6625 (narenas): Initialize.
6626 (list_lock): Initialize.
bb016596
UD
6627 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6628 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
6629 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6630 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6631 Add initializers to main_arena and mp_.
6632 (malloc_state): Remove pagesize member. Change all users to use
6633 GLRO(dl_pagesize).
6634
6635 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6636 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6637 is always initialized.
6638
22a89187
UD
6639 * malloc/malloc.c: Removed unused configurations and dead code.
6640 * malloc/arena.c: Likewise.
6641 * malloc/hooks.c: Likewise.
02d46fc4 6642 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 6643
d063d164
UD
6644 * include/tls.h: Removed. USE___THREAD must always be defined.
6645 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6646 * elf/dl-libc.c: Likewise.
6647 * elf/dl-tsd.c: Likewise.
6648 * include/errno.h: Likewise.
6649 * include/netdb.h: Likewise.
6650 * include/resolv.h: Likewise.
6651 * inet/herrno-loc.c: Likewise.
6652 * inet/herrno.c: Likewise.
6653 * malloc/arena.c: Likewise.
6654 * malloc/hooks.c: Likewise.
6655 * malloc/malloc.c: Likewise.
6656 * resolv/res-state.c: Likewise.
6657 * resolv/res_libc.c: Likewise.
6658 * sysdeps/i386/dl-machine.h: Likewise.
6659 * sysdeps/ia64/dl-machine.h: Likewise.
6660 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6661 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6662 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6663 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6664 * sysdeps/sh/dl-machine.h: Likewise.
6665 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6666 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6667 * sysdeps/unix/i386/sysdep.S: Likewise.
6668 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6669 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6670 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6671 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6672 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6673 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6674 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6675 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6676 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6677 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6678 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6679 * sysdeps/x86_64/dl-machine.h: Likewise.
6680 * tls.make.c: Likewise.
6681
3ce1f295
UD
6682 * configure.in: Remove --with-__thread option. Make tests for
6683 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6684 tls_model attribute fail if no support is available. Remove
6685 USE_IN_LIBIO.
6686 * Makeconfig: Adjust for dropped configure option. All features are
6687 now mandatory.
6688 * Makerules: Likewise.
6689 * Versions.def: Likewise.
6690 * argp/argp-fmtstream.c: Likewise.
6691 * argp/argp-fmtstream.h: Likewise.
6692 * argp/argp-help.c: Likewise.
6693 * assert/assert.c: Likewise.
6694 * config.h.in: Likewise.
6695 * config.make.in: Likewise.
6696 * configure: Likewise.
6697 * configure.in: Likewise.
6698 * csu/Versions: Likewise.
6699 * csu/init.c: Likewise.
6700 * elf/tst-audit2.c: Likewise.
6701 * elf/tst-tls10.c: Likewise.
6702 * elf/tst-tls10.h: Likewise.
6703 * elf/tst-tls11.c: Likewise.
6704 * elf/tst-tls12.c: Likewise.
6705 * elf/tst-tls14.c: Likewise.
6706 * elf/tst-tlsmod11.c: Likewise.
6707 * elf/tst-tlsmod12.c: Likewise.
6708 * elf/tst-tlsmod13.c: Likewise.
6709 * elf/tst-tlsmod13a.c: Likewise.
6710 * elf/tst-tlsmod14a.c: Likewise.
6711 * elf/tst-tlsmod15b.c: Likewise.
6712 * elf/tst-tlsmod16a.c: Likewise.
6713 * elf/tst-tlsmod16b.c: Likewise.
6714 * elf/tst-tlsmod7.c: Likewise.
6715 * elf/tst-tlsmod8.c: Likewise.
6716 * elf/tst-tlsmod9.c: Likewise.
6717 * gmon/gmon.c: Likewise.
6718 * grp/fgetgrent_r.c: Likewise.
6719 * grp/putgrent.c: Likewise.
6720 * hurd/fopenport.c: Likewise.
6721 * include/libc-symbols.h: Likewise.
6722 * include/tls.h: Likewise.
6723 * intl/gettextP.h: Likewise.
6724 * intl/loadinfo.h: Likewise.
6725 * locale/global-locale.c: Likewise.
6726 * locale/localeinfo.h: Likewise.
6727 * mach/devstream.c: Likewise.
6728 * malloc/arena.c: Likewise.
6729 * malloc/set-freeres.c: Likewise.
6730 * misc/err.c: Likewise.
6731 * misc/getttyent.c: Likewise.
6732 * misc/mntent_r.c: Likewise.
6733 * posix/getopt.c: Likewise.
6734 * posix/wordexp.c: Likewise.
6735 * pwd/fgetpwent_r.c: Likewise.
6736 * resolv/Versions: Likewise.
6737 * resolv/res_hconf.c: Likewise.
6738 * shadow/fgetspent_r.c: Likewise.
6739 * shadow/putspent.c: Likewise.
6740 * stdio-common/printf_fphex.c: Likewise.
6741 * stdio-common/tmpfile.c: Likewise.
6742 * stdlib/abort.c: Likewise.
6743 * stdlib/fmtmsg.c: Likewise.
6744 * sunrpc/auth_unix.c: Likewise.
6745 * sunrpc/clnt_perr.c: Likewise.
6746 * sunrpc/clnt_tcp.c: Likewise.
6747 * sunrpc/clnt_udp.c: Likewise.
6748 * sunrpc/clnt_unix.c: Likewise.
6749 * sunrpc/openchild.c: Likewise.
6750 * sunrpc/svc_simple.c: Likewise.
6751 * sunrpc/svc_tcp.c: Likewise.
6752 * sunrpc/svc_udp.c: Likewise.
6753 * sunrpc/svc_unix.c: Likewise.
6754 * sunrpc/xdr.c: Likewise.
6755 * sunrpc/xdr_array.c: Likewise.
6756 * sunrpc/xdr_rec.c: Likewise.
6757 * sunrpc/xdr_ref.c: Likewise.
6758 * sunrpc/xdr_stdio.c: Likewise.
6759
1248c1c4
PB
67602011-09-09 Ulrich Drepper <drepper@gmail.com>
6761
6762 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6763
67642011-07-03 Andreas Jaeger <aj@suse.de>
6765
6766 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6767 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6768 regenerate with gen-libm-tests.pl.
6769
67702010-05-12 Petr Baudis <pasky@suse.cz>
6771
6772 [BZ #11589]
6773 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6774 around j0() zero points by switching to j1().
6775 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6776 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6777 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6778 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6779
f22e1074
UD
67802011-09-09 Ulrich Drepper <drepper@gmail.com>
6781
f19009c1
UD
6782 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6783 instead of 0.
6784 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6785 instead of 0. .
6786 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6787 Patch in part by Pavel Roskin <proski@gnu.org>.
6788
3f8cc204
UD
6789 [BZ #13138]
6790 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6791 realloc.
6792 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6793 Free memory block if necessary.
6794
f22e1074
UD
6795 [BZ #12847]
6796 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6797 be NULL. Don't lock in this case.
6798
0a2349f9
RM
67992011-09-09 Roland McGrath <roland@hack.frob.com>
6800
6801 * elf/elf.h (ELFOSABI_GNU): New macro.
6802 (ELFOSABI_LINUX): Define to that.
6803
f3cdd467
DZ
68042011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6805
6806 * string/strncat.c (strncat): Undef the symbol in case it has been
6807 defined in bits/string.h.
6808
74718d13
UD
68092011-09-09 Ulrich Drepper <drepper@gmail.com>
6810
633e9e0f
UD
6811 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6812
0a2349f9 6813 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
6814 link map.
6815
f9924780
AJ
68162011-08-17 Andreas Jaeger <aj@suse.de>
6817
6818 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6819
7f5517aa
PP
68202011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6821 Ian Lance Taylor <iant@google.com>
6822
6823 * math/libm-test.inc (lround_test): New testcase.
6824 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6825
762011fe
UD
68262011-09-08 Ulrich Drepper <drepper@gmail.com>
6827
92963737
UD
6828 * Makefile: Remove support for automatic cvs check-ins.
6829 * Makerules: Likewise.
6830 * config.make.in: Likewise.
6831 * configure.in: Likewise.
6832 * intl/Makefile: Likewise.
6833 * locale/Makefile: Likewise.
6834 * po/Makefile: Likewise.
6835 * posix/Makefile: Likewise.
6836 * sysdeps/gnu/Makefile: Likewise.
6837 * sysdeps/mach/hurd/Makefile: Likewise.
6838 * sysdeps/sparc/sparc32/Makefile: Likewise.
6839
b0727fd8
JS
6840 [BZ #13118]
6841 * posix/Makefile (bug-regex32-ENV): Define.
6842 Patch by John Stanley <jpsinthemix@verizon.net>.
6843
a0f33f99
UD
6844 * misc/Makefile (headers): Add bits/select2.h.
6845 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6846 * misc/bits/select2.h: New file.
6847 * include/bits/select2.h: New file.
6848 * debug/Makefile (routines): Add fdelt_chk.
6849 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6850 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6851 FD_ISSET.
6852 * debug/fdelt_chk.c: New file.
6853
762011fe
UD
6854 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6855 * wcsmbs/test-wmemcmp.c: Likewise.
6856 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 6857 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
6858
68592011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6860
6861 * string/Makefile (strop-tests): Add memcmp.
6862 * string/test-wmemcmp.c: New file.
6863 * string/test-memcmp.c: Add wmemcmp support.
6864
7f513ec8
RM
68652011-09-08 Roland McGrath <roland@hack.frob.com>
6866
0442afb4
RM
6867 [BZ #13153]
6868 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6869 2011-07-19 change.
6870
7f513ec8
RM
6871 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6872 garbage value in a __mach_port_mod_refs call in the cases of the
6873 task-self and thread-self ports.
6874
a12b2239
ST
68752011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6876
6877 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6878
610f9ab4
AS
68792011-09-08 Andreas Schwab <schwab@redhat.com>
6880
7f513ec8 6881 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 6882
48882a1a
LD
68832011-09-07 Ulrich Drepper <drepper@gmail.com>
6884
b49865be
UD
6885 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6886
fdc86bc9
UD
6887 * elf/dl-libc.c (dlerror_run): Pass back error code from
6888 dl_catch_error.
6889
c966526a
UD
6890 [BZ #13123]
6891 * elf/dl-load.c (lose): Free l_origin if it is valid.
6892
48882a1a
LD
6893 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6894 names.
6895 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6896 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6897 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6898 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6899 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6900 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6901
77a2a8b4
AZ
69022011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6903
6904 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6905 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6906 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6907 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6908 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6909 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6910 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6911 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6912 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6913 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6914
24f579d8
AM
69152011-08-15 Alan Modra <amodra@gmail.com>
6916
6917 [BZ #13092]
6918 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6919 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6920 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
6921 ppc_mcount to static-only-routines.
6922 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6923 __mcount_internal.
6924 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6925 __mcount_internal with usual JUMPTARGET. Remove useless nop.
6926
3d4837df
UD
69272011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
6928
6929 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6930 for finite and infinity parameters.
6931
22700377
WS
69322011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6933
6934 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6935 and add nop instructions for throughput optimization.
6936 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6937
5025581e
WS
69382011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
6939
6940 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6941 aligned copy for power7 with vector-scalar instructions.
6942 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6943
08a300c9
L
69442011-07-24 H.J. Lu <hongjiu.lu@intel.com>
6945
6946 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6947 AVX check.
6948
59178ef9
AS
69492011-09-07 Andreas Schwab <schwab@redhat.com>
6950
6951 [BZ #13144]
6952 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6953 last change.
6954
e38ba7ab
UD
69552011-09-07 Ulrich Drepper <drepper@gmail.com>
6956
6957 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6958 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
6959 syscall wrapper around clock_gettime in __vdso_clock_gettime.
6960 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
6961 clock_gettime.
6962
d53a73ac
UD
69632011-09-06 Ulrich Drepper <drepper@gmail.com>
6964
fc8bffcc
UD
6965 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
6966 Forgot to demangle the pointer.
6967
ceaa0c5d
UD
6968 * sysdeps/i386/sysdep.h: Define atom_text_section.
6969 * sysdeps/x86_64/sysdep.h: Likewise.
6970 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
6971 section with atom_text_section.
6972 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6973 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6974 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6975 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6976 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
6977
a77d3c17
UD
6978 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
6979 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
6980 already be defined. Change to take two parameters and don't assign
6981 result to variable. Adjust all users.
6982 Define INTERNAL_GETTIME if not already defined.
6983 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
6984 call.
6985 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
6986 HAVE_CLOCK_GETTIME_VSYSCALL.
6987 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
6988
d53a73ac
UD
6989 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
6990 gettimeofday vsyscall, just use time.
6991
a8f84144
AS
69922011-09-06 Andreas Schwab <schwab@redhat.com>
6993
6994 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
6995 <errno.h>.
6996
ef606249
UD
69972011-09-06 Ulrich Drepper <drepper@gmail.com>
6998
6999 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7000 syscall on x86-64.
7001 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7002 syscall.
7003 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7004 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7005 syscall if possible.
7006
6585cb60
UD
70072011-09-05 Ulrich Drepper <drepper@gmail.com>
7008
7009 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7010 e_ident. Don't pass to find_mapsXX.
7011 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7012
a5f524e4
LD
70132011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7014
7015 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7016 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7017 * sysdeps/x86_64/multiarch/strchr.S: Update.
7018 Check bit_slow_BSF bit.
7019 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7020 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7021 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7022
554881ef
UD
70232011-09-05 Ulrich Drepper <drepper@gmail.com>
7024
d96de963
UD
7025 [BZ #13134]
7026 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7027 before glibc 2.15.
7028 (tryshell): Define.
7029 (__spawni): Change last parameter to be flag. Test
7030 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7031 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7032 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7033 * posix/spawni.c: Likewise.
7034 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7035 * posix/spawnp.c: Likewise. Change normal version to use
7036 SPAWN_XFLAGS_USE_PATH.
7037 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7038 SPAWN_XFLAGS_TRY_SHELL.
7039
d48e5868
UD
7040 [BZ #13150]
7041 * posix/glob.h: Remove gcc 1.x support.
7042
554881ef
UD
7043 [BZ #13068]
7044 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7045
693fb948
LD
70462011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7047
7048 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7049 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7050 strrchr-sse2-bsf
7051 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7052 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7053 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7054 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7055 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7056 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7057
1b48c537
UD
70582011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7059
49d42c37
UD
7060 * sysdeps/x86_64/wcscmp.S: New file.
7061
1b48c537
UD
7062 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7063 wcscmp-c wcscmp-sse2
7064 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7065 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7066 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7067 * wcsmbs/wcscmp.c: Allow renaming.
7068
15c95c5d
DM
70692011-09-05 David S. Miller <davem@davemloft.net>
7070
7071 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7072 stack slot, rather than the struct return pointer slot.
7073 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7074 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7076 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7077
2f0ad8f3
UD
70782011-09-05 Ulrich Drepper <drepper@gmail.com>
7079
d88ae418
UD
7080 * po/ja.po: Update from translation team.
7081
2f0ad8f3
UD
7082 [BZ #13144]
7083 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7084 kernel in 64-bit binaries.
7085
5f4318d1
DM
70862011-09-01 David S. Miller <davem@davemloft.net>
7087
7088 * elf/elf.h (HWCAP_SPARC_*): Move to..
7089 * sysdeps/sparc/sysdep.h: this new file and add new values.
7090 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7091 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7092 _DL_HWCAP_COUNT to 24.
7093 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7094 entries.
7095 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7096 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7097 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7098 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7099 instead of magic constants.
7100 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7101
3ba57516
DM
71022011-08-31 David S. Miller <davem@davemloft.net>
7103
7104 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7105 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7106 Reimplement to do errno handling inline.
7107 (SYSCALL_ERROR_HANDLER): New macro.
7108 (__SYSCALL_STRING): Do not do errno handling in asm.
7109 (__CLONE_SYSCALL_STRING): Delete.
7110 (__INTERNAL_SYSCALL_STRING): Delete.
7111 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7112 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7113 (PSEUDO): Reimplement to do errno handling inline.
7114 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7115 (SYSCALL_ERROR_HANDLER): New macro.
7116 (__SYSCALL_STRING): Do not do errno handling in asm.
7117 (__CLONE_SYSCALL_STRING): Delete.
7118 (__INTERNAL_SYSCALL_STRING): Delete.
7119 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7120 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7121 i386.
7122 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7123 (inline_syscall*): Add 'err' argument.
7124 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7125 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7126 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7127 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7128
7129 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7130 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7131
2bc17433
AS
71322011-08-30 Andreas Schwab <schwab@redhat.com>
7133
7134 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7135
fbeb5f4d
JO
71362011-08-29 Jiri Olsa <jolsa@redhat.com>
7137
7138 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7139 directive.
7140
ad69cc26
DM
71412011-08-24 David S. Miller <davem@davemloft.net>
7142
7143 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7144
39dd69df
AS
71452011-08-24 Andreas Schwab <schwab@redhat.com>
7146
7147 * elf/Makefile: Add rules to build and run unload8 test.
7148 * elf/unload8.c: New file.
7149 * elf/unload8mod1.c: New file.
7150 * elf/unload8mod1x.c: New file.
7151 * elf/unload8mod2.c: New file.
7152 * elf/unload8mod3.c: New file.
7153
7154 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7155 it wasn't used.
7156
2c0b250a
DM
71572011-08-23 David S. Miller <davem@davemloft.net>
7158
7159 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7160 subtract stack bias.
7161 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7162 %sp not %fp in calculations.
7163 (_JMPBUF_UNWINDS_ADJ): Likewise.
7164
22044b48
DM
7165 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7166 (aio_suspend): Call it to force an exception region around the
7167 AIO_MISC_WAIT() invocation.
7168
2cae4995
AS
71692011-08-23 Andreas Schwab <schwab@redhat.com>
7170
7171 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7172 backslash.
7173
873a772e
AJ
71742011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7175
7176 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7177 protection macro.
7178 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7179 and <dl-machine.h>.
7180 (Elf64_FuncDesc): Remove.
7181
25ad0df1
DM
71822011-08-22 David S. Miller <davem@davemloft.net>
7183
7184 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7185 sigaltstack check, add missing cfi directives.
7186 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7187 missing cfi directives, and sigaltstack handling.
7188
e888bcbe
AS
71892011-08-16 Andreas Schwab <schwab@redhat.com>
7190
7191 [BZ #11724]
7192 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7193 object is seen twice.
7194 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7195
7196 * elf/Makefile (distribute): Add tst-initorder2.c.
7197 (tests): Add tst-initorder2.
7198 (modules-names): Add tst-initorder2a tst-initorder2b
7199 tst-initorder2c tst-initorder2d. Add rules to build them.
7200 ($(objpfx)tst-initorder2.out): New rule.
7201 * elf/tst-initorder2.c: New file.
7202 * elf/tst-initorder2.exp: New file.
7203
87162f46
AS
72042011-08-22 Andreas Schwab <schwab@redhat.com>
7205
70538b7f
AS
7206 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7207
f55ffe58
AS
7208 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7209 dependencies back to end of function.
7210
87162f46
AS
7211 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7212 $(elfobjdir)/ld.so.
7213
91b392a4
UD
72142011-08-21 Ulrich Drepper <drepper@gmail.com>
7215
7216 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7217 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7218 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7219 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7220 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7221 of __vdso_gettimeofday.
7222 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7223 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7224 attribute_hidden.
7225 (_libc_vdso_platform_setup): Remove initialization of
7226 __vdso_gettimeofday and __vdso_time.
7227
5c43483f
UD
72282011-08-20 Ulrich Drepper <drepper@gmail.com>
7229
775a77e7
UD
7230 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7231 and fgetc_unlocked.
7232 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7233 getc_unlocked.
89f447ed 7234
49c74ba9
UD
7235 * elf/dl-open.c (add_to_global): Report additions to the global scope
7236 for LD_DEBUG=scopes.
7237 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 7238 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 7239
5c43483f
UD
7240 [BZ #13114]
7241 * stdio-common/Makefile (tests): Add bug24.
7242 * stdio-common/bug24.c: New file.
7243
a101b025
AJ
72442011-08-19 Andreas Jaeger <aj@suse.de>
7245
7246 [BZ #13114]
7247 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7248 non-existant file when using close-on-exec mode.
7249
c88f1766
UD
72502011-08-20 Ulrich Drepper <drepper@gmail.com>
7251
0276a718
UD
7252 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7253 the very first instruction.
7254
c88f1766
UD
7255 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7256 the CFI state in the end.
7257 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7258 inclusion of dl-trampoline.h.
7259 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7260
51ccffa0
AS
72612011-08-19 Andreas Schwab <schwab@redhat.com>
7262
94d7165f
AS
7263 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7264 expectations for long double.
7265
51ccffa0
AS
7266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7267 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7268
fd708658 72692011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
7270
7271 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7272 artificual limit depends upon the system page size.
7273
44f0a71e
UD
72742011-08-17 Ulrich Drepper <drepper@gmail.com>
7275
7276 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7277 * resolv/Makefile: Define CFLAGS-libresolv.
7278
8de79a24
AS
72792011-08-17 Andreas Schwab <schwab@redhat.com>
7280
7281 * nss/makedb.c (compute_tables): Make variables used in nested
7282 function static.
7283
27724598
UD
72842011-08-17 Ulrich Drepper <drepper@gmail.com>
7285
c5305d88
UD
7286 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7287 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7288 if buffer was too small.
7289
27724598
UD
7290 * elf/pldd.c (main): Attach to all threads in the process.
7291 Rewrite /proc handling to use *at functions.
7292
076fe015
UD
72932011-08-16 Ulrich Drepper <drepper@gmail.com>
7294
174baab3
UD
7295 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7296 specifies first scope to show.
7297 (dl_open_worker): Update callers. Move printing scope of new
7298 object to before the relocation.
44f0a71e 7299 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7300 * sysdeps/generic/ldsodefs.h: Update declaration.
7301
076fe015
UD
7302 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7303 string for the scope number.
7304
a60df2c3
UD
73052011-08-14 Ulrich Drepper <drepper@gmail.com>
7306
7307 * nscd/servicescache.c (cache_addserv): Make sure written is always
7308 initialized.
7309
5e4287d1
RM
73102011-08-14 Roland McGrath <roland@hack.frob.com>
7311
85ae0589
RM
7312 * sysdeps/i386/i486/bits/atomic.h
7313 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7314 statement expression, so as to suppress "set but not used" warning.
7315 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7316
69f63097
RM
7317 * string/strncat.c (STRNCAT): Use prototype definition.
7318
675456ef
RM
7319 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7320 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7321 -Iprograms here.
7322 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7323 (localedef-modules): Add localedef.
7324 (locale-modules): Add locale.
7325
5e4287d1
RM
7326 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7327 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7328 to avoid a warning.
7329
9c96ff23
DM
73302011-08-14 David S. Miller <davem@davemloft.net>
7331
7332 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7333 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7334
f9ddf089
UD
73352011-08-13 Ulrich Drepper <drepper@gmail.com>
7336
44f0a71e 7337 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
7338 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7339 * elf/rtld.c (dl_main): Set l_name of vDSO.
7340 Call _dl_show_scope when DL_DEBUG_SCOPES.
7341 (process_dl_debug): Recognize scopes flag and also set it for all.
7342 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7343 Declare _dl_show_scope.
7344
1dc27704
UD
7345 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7346 (do_dlopen): Pass caller_dlopen to dl_open.
7347 (__libc_dlopen_mode): Initialize caller_dlopen.
7348
f9ddf089
UD
7349 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7350 of libc. Make tolower call locale-independent. Optimize a bit by
7351 using isdigit instead of isalnum.
7352 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7353
9ac533d3
UD
73542011-08-12 Ulrich Drepper <drepper@gmail.com>
7355
7356 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7357 was a dependency or dynamically loaded.
7358
89edf2e9
UD
73592011-08-11 Ulrich Drepper <drepper@gmail.com>
7360
8e999d29
UD
7361 * intl/l10nflist.c: Allow architecture-specific pop function.
7362 * sysdeps/x86_64/l10nflist.c: New file.
7363
89edf2e9
UD
7364 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7365 classification.
7366
14d96785
AS
73672011-08-10 Andreas Schwab <schwab@redhat.com>
7368
7369 * include/dirent.h: Add libc_hidden_proto for scandirat and
7370 scandirat64. Don't declare __scandirat64.
7371 * dirent/scandirat.c: Add libc_hidden_def.
7372 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7373 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7374
6761ac04
DM
73752011-08-10 David S. Miller <davem@davemloft.net>
7376
7377 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7378 enum.
7379 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7380 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7381 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7382
c55fbd1e
UD
73832011-08-09 Ulrich Drepper <drepper@gmail.com>
7384
7385 * Versions.def [libc]: Add GLIBC_2.15.
7386 * dirent/Makefile (routines): Add scandirat and scandirat64.
7387 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7388 GLIBC_2.15.
7389 * dirent/dirent.h: Declare scandirat and scandirat64.
7390 * dirent/scandirat.c: New file.
7391 * dirent/scandirat64.c: New file.
7392 * sysdeps/wordsize-64/scandirat.c: New file.
7393 * sysdeps/wordsize-64/scandirat64.c: New file.
7394 * dirent/opendir.c: Define opendirat.
7395 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7396 using scandirat.
7397 * dirent/scandir64.c: Adjust for scandir.c change.
7398 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7399 __scandirat64, and __scandir_cancel_handler.
7400 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7401 additional parameter and use openat instead of open (outside of ld.so).
7402 Add new __opendir as wrapper around __opendirat.
7403 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7404 here without requiring old scandirat implementation.
7405
879165f2
UD
74062011-08-08 Ulrich Drepper <drepper@gmail.com>
7407
7408 * dirent/scandir.c (cancel_handler): Renamed to
7409 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7410 defined. Adjust users.
7411 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7412 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7413
cb7e923b
UD
74142011-08-04 Ulrich Drepper <drepper@gmail.com>
7415
16292edd
UD
7416 * string/test-string.h (IMPL): Use __STRING to expand name and then
7417 stringify it.
7418
cb7e923b
UD
7419 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7420 of cleanups.
7421
cff82933
LD
74222011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7423
7424 * string/Makefile: Update.
7425 (strop-tests): Append strncat.
7426 * string/test-wcscmp.c: New file.
7427 New comprehensive test for wcscmp.
7428 * string/test-strcmp.c: Update.
7429 (WIDE): New define.
7430
9be9bfcc
AS
74312011-07-22 Andreas Schwab <schwab@redhat.com>
7432
7433 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7434 line.
7435
2e96f1c7
AS
74362011-07-26 Andreas Schwab <schwab@redhat.com>
7437
7438 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7439 encoding to ACE if AI_IDN.
7440
85188888
JJ
74412011-08-01 Jakub Jelinek <jakub@redhat.com>
7442
7443 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7444 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7445
5fa16e9b
LD
74462011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7447
7448 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7449 Fix overflow bug in strncat.
7450 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7451
7452 * string/test-strncat.c: Update.
7453 Add new tests for checking overflow bugs.
7454
74552011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7456
7457 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7458 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7459 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7460 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7461 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7462 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7463 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7464 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7465 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7466
7467 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7468 (USE_AS_STRCAT): Define.
7469 Add strcat and strncat support.
7470 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7471
8c1a459f
AS
74722011-07-25 Andreas Schwab <schwab@redhat.com>
7473
7474 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7475 __n bigger than INT_MAX+1.
7476 (__strncmp_g): Likewise.
7477
bba33c28
UD
74782011-07-23 Ulrich Drepper <drepper@gmail.com>
7479
798be72d
UD
7480 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7481 * libio/stido.h: Likewise.
7482
8accd4dc
UD
7483 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7484 (AF_NFC): Define.
7485 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7486 (AF_NFC): Define.
7487
cbff0d96
UD
7488 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7489 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7490 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7491 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7492 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7493
9191c04a
UD
7494 [BZ #13021]
7495 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7496 installed.
7497
bba33c28
UD
7498 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7499 typo.
7500 (_dl_x86_64_save_sse): Likewise.
7501
90f139dd
UD
75022011-07-22 Ulrich Drepper <drepper@gmail.com>
7503
1aae088a
UD
7504 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7505 OSXSAVE.
7506 (_dl_x86_64_save_sse): Likewise.
7507
8e2045f5
UD
7508 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7509
90f139dd
UD
7510 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7511
1d002f25
AS
75122011-07-21 Andreas Schwab <schwab@redhat.com>
7513
7514 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7515 change.
7516 (_dl_x86_64_save_sse): Use correct AVX check.
7517
21137f89
UD
75182011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7519
7520 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7521 bug in strncpy/strncat.
7522 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7523
a65c0b7a
UD
75242011-07-21 Ulrich Drepper <drepper@gmail.com>
7525
7526 * string/tester.c (test_strcat): Add tests for different alignments
7527 of source and destination.
7528 (test_strncat): Likewise.
7529
6986b98a
UD
75302011-07-20 Ulrich Drepper <drepper@gmail.com>
7531
90bb2039
UD
7532 [BZ #12852]
7533 * posix/glob.c (glob): Check passed in values before using them in
7534 expressions to avoid some overflows.
7535 (glob_in_dir): Likewise.
7536
5644ef54
UD
7537 [BZ #13007]
7538 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7539 check for AVX enablement so that we don't crash with old kernels and
7540 new hardware.
7541 * elf/tst-audit4.c: Add same checks here.
7542 * elf/tst-audit6.c: Likewise.
7543
7544 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 7545
bfc9dc9b
AS
75462011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7547
7548 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7549
702e64bb
UD
75502011-07-20 Ulrich Drepper <drepper@gmail.com>
7551
7552 * po/cs.po: Update from translation team.
7553 * po/bg.po: Likewise.
7554
295e904f
MP
75552011-07-12 Marek Polacek <mpolacek@redhat.com>
7556
7557 * misc/sys/cdefs.h: Add support for const attribute.
7558 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7559 to gnu_dev_{major,minor,makedev} functions.
7560
3ff94596
MP
75612011-07-20 Marek Polacek <mpolacek@redhat.com>
7562
7563 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7564
28b59fca
AS
75652011-07-20 Andreas Schwab <schwab@redhat.com>
7566
7567 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7568 strlen results.
7569
19df733e
AK
75702011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7571
7572 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7573 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7574 register in order to avoid conflicts with the soft frame pointer
7575 being held in r11 when necessary.
7576 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7577 (INTERNAL_VSYSCALL_NCS): Likewise.
7578
c8835729
MP
75792011-07-14 Marek Polacek <mpolacek@redhat.com>
7580
7581 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7582 * elf/dl-fini.c (_dl_fini): Adjust caller.
7583 * elf/dl-close.c (_dl_close_worker): Likewise.
7584 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7585
b902330c
MP
75862011-07-15 Marek Polacek <mpolacek@redhat.com>
7587
8991e135
MP
7588 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7589 "aux_cache->nlibs < 0".
7590
b902330c
MP
7591 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7592 in the reload-count case.
7593
99710781
LD
75942011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7595
7596 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7597 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7598 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7599 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7600 * sysdeps/x86_64/multiarch/strcat.S: New file.
7601 * sysdeps/x86_64/multiarch/strncat.S: New file.
7602 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7603 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7604 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7605 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7606 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7607 (USE_AS_STRCAT): Define.
7608 Add strcat and strncat support.
7609 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7610 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7611 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7612 * string/strncat.c: Update.
7613 (USE_AS_STRNCAT): Define.
7614 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7615 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7616 and i7.
7617 * sysdeps/x86_64/multiarch/init-arch.h
7618 (bit_Prefer_PMINUB_for_stringop): New.
7619 (index_Prefer_PMINUB_for_stringop): Likewise.
7620 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7621 bit_Prefer_PMINUB_for_stringop.
7622
7dc6bd90
UD
76232011-07-19 Ulrich Drepper <drepper@gmail.com>
7624
7625 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7626 buffer64.
7627 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7628 of casting of buffer.
7629 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7630 buffer32 and buffer64.
7631 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7632 writes instead of casting of buffer.
7633 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7634 buffer32.
7635 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7636 casting of buffer.
7637
e0e72284
AS
76382011-07-19 Andreas Schwab <schwab@redhat.com>
7639
7640 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7641
feb1eb0b
UD
76422011-07-19 Ulrich Drepper <drepper@gmail.com>
7643
7644 * nscd/nscd.c (termination_handler): Don't do anything for a database
7645 if it has not yet been initialized.
7646
298711ff
UD
76472011-07-18 Ulrich Drepper <drepper@gmail.com>
7648
7649 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7650
76512011-07-15 Marek Polacek <mpolacek@redhat.com>
7652
7653 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7654
f9d68389
UD
76552011-07-18 Ulrich Drepper <drepper@gmail.com>
7656
7657 * po/nl.po: Update from translation team.
7658 * po/sv.po: Likewise.
7659
db290cf5
RM
76602011-07-16 Roland McGrath <roland@hack.frob.com>
7661
7662 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7663 now disallowed by GCC.
5c550700 7664
fd5e21c7
RM
7665 * configure.in (use-default-link): Default to yes if a test -shared
7666 link meets our qualifications.
7667 * configure: Regenerated.
7668
5c550700
RM
7669 * config.make.in (output-format): New variable.
7670 * configure.in: Check for ld --print-output-format support.
7671 * configure: Regenerated.
7672 * Makerules ($(common-objpfx)format.lds)
7673 [$(output-format) != unknown]: Just use $(output-format),
7674 instead of the linker-script munging.
7675
9fa2c032
RM
76762011-07-14 Roland McGrath <roland@hack.frob.com>
7677
a6928d51
RM
7678 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7679 of $(common-objpfx)shlib.lds.
7680 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7681
661607b3
RM
7682 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7683 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7684
9fa2c032
RM
7685 * configure.in (-z relro check): Adjust test code to add a large
7686 writable data section after it.
7687 * configure: Regenerated.
7688
defe9061
RM
76892011-07-11 Roland McGrath <roland@hack.frob.com>
7690
7691 * configure.in (-z relro check): Fix test code to make the variable
7692 truly const.
7693 * configure: Regenerated.
7694
319b9ad4
UD
76952011-07-11 Ulrich Drepper <drepper@gmail.com>
7696
7697 * nscd/nscd.h (struct traced_file): Define.
7698 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7699 elements. Add traced_files.
7700 (inotify_fd): Declare.
7701 (register_traced_file): Declare.
7702 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7703 (inotify_fd): Export.
7704 (resolv_conf_descr): Remove.
7705 (nscd_init): Move inotify descriptor creation to main.
7706 Don't register files for notification here.
7707 (register_traced_file): New function.
7708 (invalidate_cache): Don't use reset_res to determine whether to call
7709 res_init, go through the list of registered files.
7710 (main_loop_poll): The inotify descriptors are now stored in the
7711 structures for the traced files.
7712 (main_loop_epoll): Likewise
7713 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7714 to __nss_disable_nscd.
7715 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7716 for a database anymore. Check the records for all the registered
7717 files instead.
7718 * nss/Makefile (libnss_files-routines): Add files-init.
7719 (libnss_db-routines): Add db-init.
7720 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7721 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7722 * nss/nss_db/db-init.c: New file.
7723 * nss/nss_files/files-init.c: New file.
7724 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7725 __nss_lookup_function.
7726 (__nss_lookup_function): Call nss_load_library.
7727 (nss_load_all_libraries): New function.
7728 (__nss_disable_nscd): Take parameter with callback function for files
7729 to register. Set is_nscd. Load all the DSOs for the NSS modules
7730 used for the cached services.
7731 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7732 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7733 options for features to all the files in nscd.
7734
7735 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7736
23bee3e8
RM
77372011-07-10 Roland McGrath <roland@hack.frob.com>
7738
7739 * csu/elf-init.c (__libc_csu_init): Comment typo.
7740
46a5b7f0
UD
77412011-07-09 Ulrich Drepper <drepper@gmail.com>
7742
7743 * po/pl.po: Update from translation team.
7744 * po/ja.po: Likewise.
7745 * po/ru.po: Likewise.
7746 * po/ko.po: Likewise.
7747 * po/fr.po: Likewise.
7748
d30cf5bb
RM
77492011-07-09 Roland McGrath <roland@hack.frob.com>
7750
113ddea4
RM
7751 * configure.in (.ctors/.dtors header and trailer check):
7752 Use an empirical test on a built program.
7753 * configure: Regenerated.
7754
574920b4
RM
7755 * configure.in (-z relro check): Use an empirical test on a built DSO.
7756 Detect, but do not require, on ia64.
7757 * configure: Regenerated.
7758
d30cf5bb
RM
7759 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7760 Update tests that use readelf to use $READELF instead.
7761 * configure: Regenerated.
7762
8538fdb3
UD
77632011-07-08 Ulrich Drepper <drepper@gmail.com>
7764
7765 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7766 if the result is not used.
7767
04d08991
AJ
77682011-07-05 Andreas Jaeger <aj@suse.de>
7769
7770 [BZ#9696]
7771 * stdlib/tst-strtod.c: Add testcase.
7772
de283087
AD
77732011-07-07 Ulrich Drepper <drepper@gmail.com>
7774
4e5f31c8 7775 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 7776 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
7777 The latter has a higher limit. Take additional parameter to pass to
7778 the new function.
7779 (__pathconf): Pass file to __statfs_link_max.
7780 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7781 __statfs_link_max.
7782 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7783 __statfs_link_max.
7784
de283087
AD
7785 [BZ #12868]
7786 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7787 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7788 Handle Lustre.
7789 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7790 (__statfs_filesize_max): Likewise.
7791 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7792
c75fa153
AJ
77932011-07-05 Andreas Jaeger <aj@suse.de>
7794
7795 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7796
1a544854
UD
77972011-07-06 Marek Polacek <mpolacek@redhat.com>
7798
7799 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7800 `status' variable.
7801 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7802 Likewise.
7803
6f0eec67
UD
78042011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7805
7806 * Makefile (strop-tests): Add strncat.
7807 * string/test-strncat.c: New file.
7808
aae30307
UD
78092011-06-30 Marek Polacek <mpolacek@redhat.com>
7810
7811 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7812
c0cfb5eb
UD
78132011-06-21 Andreas Jaeger <aj@suse.de>
7814
7815 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7816 Copy rule from iconvdata/Makefile.
7817
01636b21
UD
78182011-07-06 Ulrich Drepper <drepper@gmail.com>
7819
7820 [BZ #12922]
7821 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7822 but no long options are defined, just return 'W'.
7823
9895c8bc
UD
78242011-06-22 Marek Polacek <mpolacek@redhat.com>
7825
7826 [BZ #9696]
7827 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7828
5d4cf042
UD
78292011-07-06 Ulrich Drepper <drepper@gmail.com>
7830
7831 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7832 netgroups to read.
960e5535 7833 (innetgr): Likewise.
5d4cf042 7834
751eb97e
RM
78352011-07-05 Roland McGrath <roland@hack.frob.com>
7836
7837 * config.make.in (install_root): Default to $(DESTDIR).
7838
f15f1e45
UD
78392011-07-05 Ulrich Drepper <drepper@gmail.com>
7840
7841 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7842
4e34ac6a
RM
78432011-07-02 Roland McGrath <roland@hack.frob.com>
7844
5e9b6af4
RM
7845 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7846
84f9ea0f
RM
7847 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7848 containing directory rather than embedding absolute directory names.
7849
ea5ee9f7
RM
7850 * scripts/check-local-headers.sh: Rewritten using awk.
7851 Match by word, not by line. Print error messages for matches.
7852 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7853
1b74661a
RM
7854 * Makerules [shlib-lds-flags empty]:
7855 ($(common-objpfx)libc_pic.opts): New target.
7856 ($(common-objpfx)libc_pic.os.clean): New target.
7857 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7858
7859 * config.make.in (OBJCOPY): New variable.
7860 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7861 * configure: Regenerated.
7862
f781ef40
RM
7863 * config.make.in (use-default-link): New variable.
7864 * configure.in (use_default_link): Grok --with-default-link to set it.
7865 * configure: Regenerated.
7866 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7867 (shlib-lds, shlib-lds-flags): Define to empty.
7868
2d4fa81e
RM
7869 * Makerules (shlib-lds): New variable.
7870 (shlib-lds-flags): New variable.
7871 (build-shlib, build-moduile, build-module-asneeded): Use it.
7872 ($(common-objpfx)libc.so): Use $(shlib-lds).
7873 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7874 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7875
31fffa6b
RM
7876 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7877 DT_FLAGS/DT_FLAGS_1 with zero flags.
7878
4e34ac6a
RM
7879 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7880 linker script munging.
7881
fcfc776b
UD
78822011-07-02 Ulrich Drepper <drepper@gmail.com>
7883
7884 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7885 as 128-bit value.
7886 * crypt/sha512.c (sha512_process_block): Perform total addition using
7887 128-bit if possible.
7888 (__sha512_finish_ctx): Likewise.
7889 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7890 as 64-bit value.
7891 * crypt/sha256.c (SWAP64): Define.
7892 (sha256_process_block): Perform total addition using 64-bit if
7893 possible.
7894 (__sha256_finish_ctx): Likewise.
7895
99231d9a
UD
78962011-07-01 Ulrich Drepper <drepper@gmail.com>
7897
7898 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7899 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7900 * nscd/hstcache.c (cache_addhst): Likewise.
7901 * nscd/grpcache.c (cache_addgr): Likewise.
7902 * nscd/aicache.c (addhstaiX): Likewise
7903 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7904
445b4a53
TK
79052011-07-01 Thorsten Kukuk <kukuk@suse.de>
7906
7907 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7908 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7909 * nscd/hstcache.c (cache_addhst): Likewise.
7910 * nscd/grpcache.c (cache_addgr): Likewise.
7911 * nscd/aicache.c (addhstaiX): Likewise
7912
6d4d8e8e
AS
79132011-07-01 Andreas Schwab <schwab@redhat.com>
7914
7915 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7916 domain only when needed.
7917
89f654c5
AS
79182011-06-30 Andreas Schwab <schwab@redhat.com>
7919
7920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7921 is always restored.
7922
cf3b23ff
UD
79232011-06-29 Ulrich Drepper <drepper@gmail.com>
7924
7925 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7926 are re-adding the entry.
7927 * nscd/servicescache.c (cache_addserv): Likewise.
7928
751626f9
AJ
79292011-06-30 Aurelien Jarno <aurelien@aurel32.net>
7930
7931 * sysdeps/generic/dl-irel.h: fix protection against multiple
7932 inclusions.
7933 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7934
9113ea1f
UD
79352011-06-28 Ulrich Drepper <drepper@gmail.com>
7936
5c0b8d90
UD
7937 [BZ #12935]
7938 * malloc/memusage.sh: Fix quoting in message.
7939 * debug/xtrace.sh: Likewise.
7940
9113ea1f
UD
7941 * configure.in: Remove support for --experimental-malloc option, make
7942 it the default.
7943 * config.make.in: Likewise.
7944 * malloc/Makefile: Likewise.
7945
a4172181
AS
79462011-06-27 Andreas Schwab <schwab@redhat.com>
7947
7948 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7949 two-byte characters.
7950
78a7eee7
RM
79512011-06-27 Roland McGrath <roland@hack.frob.com>
7952
62bede13
RM
7953 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
7954 AC_CACHE_CHECK invocation.
7955 * configure: Regenerated.
7956
78a7eee7
RM
7957 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
7958
5ce33a62
UD
79592011-06-27 Ulrich Drepper <drepper@gmail.com>
7960
034807a9
UD
7961 [BZ #12350]
7962 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
7963 bit from old_res_options.
7964
4902da17
UD
7965 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
7966
5ce33a62
UD
7967 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
7968 value type for setfct.
7969
c2344f56
L
79702011-06-23 H.J. Lu <hongjiu.lu@intel.com>
7971
7972 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7973 __gettimeofday instead of gettimeofday.
7974
68468076
UD
79752011-06-26 Ulrich Drepper <drepper@gmail.com>
7976
7977 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
7978
acb0d739
L
79792011-06-24 H.J. Lu <hongjiu.lu@intel.com>
7980
7981 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
7982
7983 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
7984 info.
7985
8912479f
L
79862011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7987
7988 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7989 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7990 strcpy-sse2-unaligned strncpy-sse2-unaligned
7991 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
7992 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
7993 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
7994 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
7995 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
7996 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
7997 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
7998 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
7999 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8000 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8001 (STRCPY): Support SSE2 and SSSE3 versions.
8002
d5495a11
UD
80032011-06-24 Ulrich Drepper <drepper@gmail.com>
8004
8005 [BZ #12874]
8006 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8007 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8008 kernels which artificially limit size of requests.
8009
0b1cbaae
L
80102011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8011
8012 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8013 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8014 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8015 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8016 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8017 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8018 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8019 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8020 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8021 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8022 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8023 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8024 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8025 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8026 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8027 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8028 Enable unaligned load optimization for Intel Core i3, i5 and i7
8029 processors.
8030 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8031 Define.
8032 (index_Fast_Unaligned_Load): Define.
8033 (HAS_FAST_UNALIGNED_LOAD): Define.
8034
07f494a0
MP
80352011-06-23 Marek Polacek <mpolacek@redhat.com>
8036
8037 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8038
fa3fc0fe
UD
80392011-06-22 Ulrich Drepper <drepper@gmail.com>
8040
8041 [BZ #12907]
8042 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8043 until it is clear that the information is realy needed.
8044 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8045
e12df166
AS
80462011-06-22 Andreas Schwab <schwab@redhat.com>
8047
8048 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8049
852eb34d
UD
80502011-06-22 Ulrich Drepper <drepper@gmail.com>
8051
84e2a551
UD
8052 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8053 /sys/devices/system/cpu/online if it is usable.
8054
852eb34d
UD
8055 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8056 reading the information from the /proc filesystem to once a second.
8057
6e502e19
UD
80582011-06-21 Andreas Jaeger <aj@suse.de>
8059
8060 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8061 NULL after inclusion of kernel headers.
8062
75d39ff2
UD
80632011-06-21 Ulrich Drepper <drepper@gmail.com>
8064
51f9aa6a
UD
8065 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8066 calls to internal_setent.
8067
c0244a9d
UD
8068 [BZ #12885]
8069 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8070 addresses using gethostbyname4_r ignore IPv4 addresses.
8071
c5e3c2ae
UD
8072 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8073 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8074
75d39ff2
UD
8075 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8076
42675c6f
DM
80772011-06-20 David S. Miller <davem@davemloft.net>
8078
8079 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8080 inclusions.
8081 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8082
8083 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8084 (elf_irel): Use it.
8085 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8086 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8087 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8088 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8089 * sysdeps/x86_64/dl-irel.h: Likewise.
8090
8091 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8092 * elf/dl-sym.c: Likewise.
8093
57912a71
UD
80942011-06-15 Ulrich Drepper <drepper@gmail.com>
8095
8096 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8097 need to dereference resplen2.
8098
ee22793d
AS
80992011-06-14 Andreas Schwab <schwab@redhat.com>
8100
8101 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8102
a9e836b0
UD
81032011-06-15 Ulrich Drepper <drepper@gmail.com>
8104
77fb9117
UD
8105 * Makeconfig: Define vardbdir and inst_vardbdir.
8106 * nss/Makefile: Add rules to install db-Makefile.
8107
40c1b22c
UD
8108 * nss/nss_db/db-XXX.c: Cleanup.
8109
9f2da732
UD
8110 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8111 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8112 GLIBC_PRIVATE.
8113 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8114 * nss/makedb.c: Implement -g option to specify that value strings
8115 are generated and should not be added to table iterated over for
8116 get*ent calls.
8117 * nss/nss_db/db-initgroups.c: New file.
8118
82e9a1f7
UD
8119 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8120 interface.
8121
c41af17e
UD
8122 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8123 (internal_getgrouplist): Adjust to name change.
8124 Update use_initgroups_entry if this is not the first call.
8125 * nss/databases.def: Add initgroups entry.
8126
a9e836b0
UD
8127 * nss/makedb.c (compute_tables): Check result of multiple hash table
8128 sizes to minimize maximum chain length.
8129
2666d441
UD
81302011-06-14 Ulrich Drepper <drepper@gmail.com>
8131
8132 * Versions.def: Add entry for libnss_db.
8133 * shlib-versions: Likewise.
8134 * nss/Makefile: Add rules to build libnss_db.
8135 * nss/Versions: Add libnss_db information. Organize libnss_files
8136 entries better.
8137 * nss/db-Makefile: Add gshadow support. Change rules for the new
8138 makedb progra. Some minor improvements to generate smaller files.
8139 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8140 here from...
8141 * nss/makedb.c: ...here.
8142 Improve database format to be smaller and require less memory at
8143 runtime.
8144 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8145 db anymore.
8146 * nss/nss_db/db-netgrp.c: Likewise.
8147 * nss/nss_db/db-open.c: Likewise.
8148 * nss/nss_files/flies-XXX.x: Adjust comments.
8149 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8150 * nss/nss_files/files-grp.c: Likewise.
8151 * nss/nss_files/files-hosts.c: Likewise.
8152 * nss/nss_files/files-network.c: Likewise.
8153 * nss/nss_files/files-proto.c: Likewise.
8154 * nss/nss_files/files-pwd.c: Likewise.
8155 * nss/nss_files/files-rpc.c: Likewise.
8156 * nss/nss_files/files-service.c: Likewise.
8157 * nss/nss_files/files-sgrp.c: Likewise.
8158 * nss/nss_files/files-spwd.c: Likewise.
8159 * nss/nss_db/db-alias.c: Removed.
8160 * nss/nss_db/dummy-db.h: Removed.
8161
9ee76b5a
UD
81622011-06-02 Ulrich Drepper <drepper@gmail.com>
8163
8164 * nss/makedb.c: Rewritten to not use database library.
8165 * nss/Makefile: Update to build new makedb program.
8166
c71ca1f8
AJ
81672011-06-14 Andreas Jaeger <aj@suse.de>
8168
8169 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8170 memset declaration.
8171
3154bfb8
UD
81722011-06-10 Andreas Schwab <schwab@redhat.com>
8173
8174 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8175 tmpbuf.
8176
b350afab
RM
81772011-06-10 Roland McGrath <roland@hack.frob.com>
8178
decd4e50
RM
8179 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8180 * elf/Makefile ($(objpfx)ld.so): Likewise.
8181
5615eaf2
RM
8182 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8183 Don't list ld.so twice in dependencies.
8184
8185 * posix/bug-regex31.c: Include <stdlib.h>.
8186
8187 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8188
8189 * nis/nss_compat/compat-spwd.c
8190 (getspent_next_nss_netgr): Remove unused variable.
8191 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8192
8193 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8194 nonmembers" output to use the right array.
8195
8196 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8197
8198 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8199
8200 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8201 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8202 * catgets/gencat.c (read_input_file): Likewise.
8203 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8204
8205 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8206 variable definition inside #if's controlling its use.
8207
8208 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8209
8210 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8211
8212 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8213
8214 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8215 unreachable code.
8216
8217 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8218
b68e08db
RM
8219 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8220 * configure: Regenerated.
8221
b350afab
RM
8222 * Makerules: Revert last change.
8223 * elf/Makefile: Likewise.
8224
28368601
RM
82252011-06-09 Roland McGrath <roland@hack.frob.com>
8226
8227 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8228 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8229 (reloc-link): Likewise.
8230
11988f8f
UD
82312011-06-09 Ulrich Drepper <drepper@gmail.com>
8232
8233 * elf/Makefile: Add rules to build pldd.
8234 * elf/pldd.c: New file.
8235 * elf/pldd-xx.c: New file.
8236
e80fab37
UD
82372011-06-07 Ulrich Drepper <drepper@gmail.com>
8238
8239 * version.h: Update for 2.15 development version.
8240
9b849836
DM
82412011-06-07 David S. Miller <davem@davemloft.net>
8242
8243 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8244 ifuncs.
8245 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8246 elf_machine_lazy_rel): Likewise.
8247 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8248 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8249 elf_machine_lazy_rel): Likewise.
8250 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8251 dl_hwcap via passed in argument.
8252 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8253 Likewise.
8254
5a31b283
AK
82552011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8256
8257 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8258
069e52f8
RM
82592011-06-06 Roland McGrath <roland@hack.frob.com>
8260
8261 [BZ #12849]
8262 * manual/fdl-1.1.texi: New file, verbatim from:
8263 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8264 * manual/lgpl-2.1.texi: New file, verbatim from:
8265 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8266 * manual/Makefile (licenses): New variable, list those new file names.
8267 (texis): Use it.
8268 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8269
8270 * manual/fdl.texi: File removed.
8271 * manual/lesser.texi: File removed.
8272 * manual/libc.texinfo (Copying, Documentation License):
8273 Use new @include file names, put @appendix directive before @include.
8274
f16846a5
JJ
82752011-06-04 Jakub Jelinek <jakub@redhat.com>
8276
8277 [BZ #12841]
8278 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8279 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8280 (mq_open): Add __NTH.
8281
3d29045b
L
82822011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8283
8284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8285 Assume Intel Core i3/i5/i7 processor if AVX is available.
8286
8c297311
UD
82872011-05-31 Ulrich Drepper <drepper@gmail.com>
8288
8289 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8290 typo.
8291
c8fc0c91
UD
82922011-05-31 Andreas Schwab <schwab@redhat.com>
8293
8294 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8295 memory. Use alloca_account. Fix memory leak when retrying.
8296
5b27a807
UD
82972011-05-31 Ulrich Drepper <drepper@gmail.com>
8298
356f8bc6
UD
8299 * version.h (RELEASE): Bump for 2.14 release.
8300 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8301
5b27a807
UD
8302 * config.make.in (RANLIB): Remove entry.
8303
01f16ab0
UD
83042011-05-30 Ulrich Drepper <drepper@gmail.com>
8305
41fce8bd
UD
8306 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8307 (libc.pot): Work around missing support for .ksh extension in xgettext.
8308
4769ae77
UD
8309 [BZ #12684]
8310 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8311 if both request failed.
8312 (send_dg): In case of server errors clear resplen or *resplen2.
8313
6b1e7d19
UD
8314 [BZ #12454]
8315 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8316 when there are multiple maps.
8317 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8318 (_dl_fini): Remove test here.
8319
01f16ab0
UD
8320 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8321
b1ebd700
UD
83222011-05-29 Ulrich Drepper <drepper@gmail.com>
8323
7ae22829
UD
8324 [BZ #12350]
8325 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8326 bit from old_res_options.
8327 (gaih_inet): Likewise.
8328
553149f6 8329 [BZ #11099]
18a84741 8330 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8331 as signed.
8332
652ffab1
UD
8333 * resolv/res_init.c (res_setoptions): Make the code more compact.
8334
16985fd0
UD
8335 [BZ #11558]
8336 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8337 set RES_USEVC.
8338
0464f746
UD
8339 [BZ #11634]
8340 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8341
7d17596c
UD
8342 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8343
cf6bbbd7
UD
8344 [BZ #11781]
8345 * malloc/malloc.h: Declare malloc hook variables as volatile.
8346
13f1ab36
UD
8347 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8348 in last patch.
8349
b1ebd700
UD
8350 [BZ #11799]
8351 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 8352 raise in the comment.
80e2212d
UD
8353 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8354 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8355 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 8356
ce67228d
UD
83572011-05-28 Ulrich Drepper <drepper@gmail.com>
8358
8887a920
UD
8359 [BZ #12811]
8360 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8361 grow the buffers more if it already has to be sufficient.
8362 (build_wcs_upper_buffer): Likewise.
8363 * posix/regexec.c (check_matching): Likewise.
8364 (clean_state_log_if_needed): Likewise.
8365 (extend_buffers): Don't enlarge buffers beyond size of the input
8366 buffer.
8367 Patches mostly by Emil Wojak <emil@wojak.eu>.
8368 * posix/bug-regex32.c: New file.
8369 * posix/Makefile (tests): Add bug-regex32.
8370
4f031072
UD
8371 * locale/findlocale.c (_nl_find_locale): Return right away if
8372 _nl_explode_name failed.
8373 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8374
d0478f0c
UD
8375 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8376
de81b246
UD
8377 * debug/xtrace.sh: Unify messages.
8378 * malloc/memusage.sh: Likewise.
8379
c738465a
UD
8380 [BZ #12813]
8381 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8382 time symbol from vDSO. Substitute with vsyscall if not available.
8383 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8384 __vdso_time.
8385
f1f929d7
UD
8386 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8387 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8388 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8389 Add sendmmsg and internal_sendmmsg.
8390 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8391 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8392 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8393
ce67228d
UD
8394 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8395 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8396 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8397
e57420c6
UD
83982011-05-27 Ulrich Drepper <drepper@gmail.com>
8399
a8509ca5
UD
8400 [BZ #12813]
8401 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8402 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8403 available.
8404 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8405 __vdso_getcpu.
8406
e57420c6
UD
8407 [BZ #12814]
8408 * iconvdata/Makefile (tests): Add bug-iconv9.
8409 * iconvdata/bug-iconv9.c: New file.
8410
4d07db15
AS
84112011-05-27 Andreas Schwab <schwab@redhat.com>
8412
8413 [BZ #12814]
8414 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8415
ea486f69
JJ
84162011-05-25 Jakub Jelinek <jakub@redhat.com>
8417
8418 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8419 (struct user_regs_struct): Change intcs field back to cs.
8420
6f038433
UD
84212011-05-25 Ulrich Drepper <drepper@gmail.com>
8422
8423 * po/ja.po: Update from translation team.
8424
67f86a25
UD
84252011-05-23 Ulrich Drepper <drepper@gmail.com>
8426
8427 [BZ #12795]
8428 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8429 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8430
def7fbd6
AS
84312011-05-20 Andreas Schwab <schwab@redhat.com>
8432
8433 * stdlib/longlong.h: Update from GCC.
8434
f50ef8f1
AS
84352011-05-23 Andreas Schwab <schwab@redhat.com>
8436
8437 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8438 parameter name.
8439 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8440 Add parameter name.
8441 (__sysconf): Pass it down.
8442
de7ce8f1
UD
84432011-05-22 Ulrich Drepper <drepper@gmail.com>
8444
f2962a71
UD
8445 [BZ #12671]
8446 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8447 some situations.
8448 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8449 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8450 add in in __libc_use_alloca calls. Adjust callers.
8451 (glob): Use malloc in some situations.
8452
de7ce8f1
UD
8453 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8454 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8455 pltexit.
8456
aec84f53
UD
84572011-05-21 Ulrich Drepper <drepper@gmail.com>
8458
05bb4a68
UD
8459 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8460 and CLOCK_BOOTTIME_ALARM.
8461
7ea72f99
UD
8462 [BZ #12782]
8463 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8464 is returned.
8465
7e4afad5
UD
8466 * string/_strerror.c (__strerror_r): Print negative errors as signed
8467 numbers.
8468
8e211fec
UD
8469 [BZ #12777]
8470 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8471 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8472 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8473
f7d82dc9
UD
8474 * configure.in: Fix typo in redirection and correct removal of test
8475 files in two cases.
8476
cc9e536d
UD
8477 [BZ #12788]
8478 * locale/setlocale.c (new_composite_name): Fix test to check for
8479 identical name of all categories.
8480
aec84f53
UD
8481 [BZ #12792]
8482 * libio/filedoalloc.c (local_isatty): New function.
8483 (_IO_file_doallocate): Use local_isatty.
8484 * stdio-common/perror.c (perror): In case a new stream is used
8485 forward the stream error.
8486 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8487 error flag.
8488
78e64fdc
RT
84892011-05-20 Ulrich Drepper <drepper@gmail.com>
8490
34a9094f
UD
8491 [BZ #11869]
8492 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8493 alloca.
8494 * include/alloca.h (extend_alloca_account): Define.
8495
78e64fdc
RT
8496 [BZ #11857]
8497 * posix/regex.h: Fix comments with documentation of user-accessible
8498 fields after compilation and describe correct free'ing of pattern
8499 after re_compile_pattern.
8500 Patch by Reuben Thomas <rrt@sc3d.org>.
8501
457bddfc
RA
85022011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8503
8504 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8505 and -mno-altivec to prevent the compiler from using Altivec and/or
8506 VSX instructions when the corresponding registers are not available.
8507
a4527b51
AS
85082011-05-19 Andreas Schwab <schwab@redhat.com>
8509
8510 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8511
ed690b2f
UD
85122011-05-19 Ulrich Drepper <drepper@gmail.com>
8513
8514 * libio/freopen.c (freopen): Use __dup2, not dup2.
8515 * libio/freopen64.c (freopen64): Likewise.
8516
8db73634
L
85172011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8518
8519 [BZ #12775]
8520 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8521 * math/Makefile (tests): Add test-powl.
8522 (CFLAGS-test-powl.c): Define.
8523 * math/test-powl.c: New file.
8524
0a197a9d
L
85252011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8526
8527 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8528
ee30c380
UD
85292011-05-17 Ulrich Drepper <drepper@gmail.com>
8530
8531 [BZ #11837]
8532 * iconvdata/gb18030.c: Update to GB18020-2005.
8533
6ce75379
UD
85342011-05-16 Ulrich Drepper <drepper@gmail.com>
8535
a4b89fd8
AR
8536 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8537 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8538 Patch by Aharon Robbins <arnold@skeeve.com>.
8539
ea389b12
UD
8540 [BZ #11892]
8541 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8542 on the stack.
8543
68a3f91f
UD
8544 [BZ #11895]
8545 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8546 through underflows.
8547
15cc7dd1
UD
8548 [BZ #12766]
8549 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8550 point to strings before performing equality test for error_one_per_line
8551 mode.
8552
f3799213
UD
8553 [BZ #11697]
8554 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8555
d79a9c94
UD
8556 [BZ #11820]
8557 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8558 (struct user_fpregs_struct): Avoid __uint*_t types.
8559
56e5eb46
UD
8560 [BZ #6420]
8561 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8562 symbol info. Use it instead of calling _dl_addr locally.
8563 (lock_and_info): New function.
8564 (tr_freehook): Call lock_and_info and pass symbol info as additional
8565 parameter to tr_where.
8566 (tr_mallochook): Likewise.
8567 (tr_reallochook): Likewise.
8568 (tr_memalignhook): Likewise.
8569
6ce75379
UD
8570 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8571 used and couldn't be at all thread-safe.
8572
f8a3b5bf
UD
85732011-05-15 Ulrich Drepper <drepper@gmail.com>
8574
94b7cc37
UD
8575 * libio/freopen.c (freopen): Don't close old file descriptor
8576 before the new one is opened. Instead dup the new file descriptor
8577 to the old one after the new stream is created.
8578 * libio/freopen64.c (freopen64): Likewise.
8579 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8580 * libio/fileops.c (_IO_new_file_close_it): Handle new
8581 _IO_FLAGS2_NOCLOSE flag.
8582 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8583 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8584 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8585 _IO_FLAGS2_NOCLOSE flag.
8586 * include/unistd.h: Add hidden_proto for dup3.
8587 Define __have_dup3.
8588 * io/dup3.c: Define hidden symbol.
8589 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8590
bd25564e
UD
8591 [BZ #7101]
8592 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8593 when an incomplete long option is used.
8594 * posix/tst-getopt_long1.c: New file.
8595 * posix/Makefile (tests): Add tst-getopt_long1.
8596
c84cfef4
UD
8597 [BZ #10138]
8598 * scripts/config.guess: Update from autoconf-2.68.
8599 * scripts/config.sub: Likewise.
8600
3b85df27
UD
8601 [BZ #10157]
8602 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8603 tests into ...
8604 (has_cpuclock): ...this. New function.
8605 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8606 macro here based on has_cpuclock code.
8607
15a856b1
UD
8608 [BZ #10149]
8609 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8610 First byte (not low byte) is now always NUL.
8611 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8612
05f399e6
UD
8613 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8614 Use non-cancelable interfaces.
8615
10a52685 8616 [BZ #9809]
94ecc67d
UD
8617 * locale/iso-639.def: Add entry for Sorani.
8618
f8a3b5bf
UD
8619 [BZ #11901]
8620 * include/stdlib.h: Move include protection to the right place.
8621 Define abort_msg_s. Declare __abort_msg with it.
8622 * stdlib/abort.c (__abort_msg): Adjust type.
8623 * assert/assert.c (__assert_fail_base): New function. Majority
8624 of code from __assert_fail. Allocate memory for __abort_msg with
8625 mmap.
8626 (__assert_fail): Now call __assert_fail_base.
8627 * assert/assert-perr.c: Remove bulk of implementation. Use
8628 __assert_fail_base.
8629 * include/assert.hL Declare __assert_fail_base.
8630 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8631 mmap.
8632 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8633
1af4e298
UD
86342011-05-14 Ulrich Drepper <drepper@gmail.com>
8635
f8a3b5bf 8636 [BZ #11952]
d26dfc60
MG
8637 [BZ #12453]
8638 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8639 until all modules are registered in the DTV.
8640 * elf/Makefile: Add rules to build and run tst-tls19.
8641 * elf/tst-tls19.c: New file.
8642 * elf/tst-tls19mod1.c: New file.
8643 * elf/tst-tls19mod2.c: New file.
8644 * elf/tst-tls19mod3.c: New file.
8645 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8646
2fc54d6f
UD
8647 [BZ #12083]
8648 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8649 correctly.
8650
98d76b46
UD
8651 [BZ #12601]
8652 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8653 two-byte sequence errors.
8654 * iconvdata/Makefile (tests): Add bug-iconv8.
8655 * iconvdata/bug-iconv8.c: New file.
8656
da3c19ef
UD
8657 [BZ #12626]
8658 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8659 buf2 definition.
8660
ca408c15
UD
8661 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8662
d6f67f7d
UD
8663 [BZ #12432]
8664 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8665 (dummy_getcfa): New function.
8666 (init): Get _Unwind_GetCFA address, use dummy if not found.
8667 (backtrace_helper): In recursion check, also check whether CFA changes.
8668 (__backtrace): Completely initialize arg.
8669
1af4e298 8670 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
8671 storing incomplete byte sequence in state object. Avoid testing for
8672 guaranteed too small input if we know there is enough data available.
1af4e298 8673
da62f81b
AS
86742011-05-11 Andreas Schwab <schwab@redhat.com>
8675
8676 * Makeconfig (+link-pie): Indent.
8677 * Rules (binaries-pie): Define if $(have-fpie) and
8678 $(build-shared).
8679 (binaries-shared): Also filter out $(binaries-pie).
8680 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8681 * nscd/Makefile (others-pie): Add nscd.
8682 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8683 ($(objpfx)nscd): Remove command override.
8684 * login/Makefile (others-pie): Add pt_chown.
8685 ($(objpfx)pt_chown): Remove command override.
8686 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8687 remove command overrides.
8688
fcabc0f8
UD
86892011-05-13 Ulrich Drepper <drepper@gmail.com>
8690
20030ae6
UD
8691 * libio/tst_putwc.c: Fix error messages.
8692
fcabc0f8
UD
8693 [BZ #12724]
8694 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8695 currently writing and seek to current position when not.
8696 * libio/Makefile (tests): Add bug-fclose1.
8697 * libio/bug-fclose1.c: New file.
8698
320a5dc0
PB
86992011-05-12 Ulrich Drepper <drepper@gmail.com>
8700
8701 [BZ #12511]
8702 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8703 don't set DF_1_NODELETE here.
8704 (do_lookup_x): When entering new entry test for copy relocation
8705 and if necessary set DF_1_NODELETE flag.
8706 * elf/tst-unique4.cc: New file.
8707 * elf/tst-unique4.h: New file.
8708 * elf/tst-unique4lib.cc: New file.
8709 * elf/Makefile: Add rules to build and run tst-unique4.
8710 Patch by Piotr Bury <pbury@goahead.com>.
8711
22836f52
UD
87122011-05-11 Ulrich Drepper <drepper@gmail.com>
8713
f574184a
UD
8714 [BZ #12052]
8715 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8716
e1fb097f
UD
8717 [BZ #12625]
8718 * misc/mntent_r.c (addmntent): Flush the stream after the output
8719
22836f52
UD
8720 [BZ #12393]
8721 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8722 (is_trusted_path_normalize): Skip initial colon. Append slash
8723 to empty buffer. Duplicate is_trusted_path code but allow
8724 constructed patch to be prefix.
8725 (is_dst): Allow $ORIGIN followed by /.
8726 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8727 Correct testing of result of is_trusted_path_normalize
8728 (decompose_rpath): Fix warning.
8729
7b3b0b2a
UD
87302011-05-10 Ulrich Drepper <drepper@gmail.com>
8731
8732 [BZ #11257]
8733 * grp/initgroups.c (internal_getgrouplist): When we found the service
8734 list through the initgroups entry in nsswitch.conf do not always
8735 continue on a successful lookup. Don't always use the
eac80ce2 8736 __nss_group_database value if it is set.
7b3b0b2a
UD
8737 * nss/nsswitch.conf (initgroups): Change action for successful db
8738 lookup to continue for compatibility.
8739
2a81eaa5
UD
87402011-05-09 Ulrich Drepper <drepper@gmail.com>
8741
be97a69e
UD
8742 [BZ #11532]
8743 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8744 and CP774 modules.
8745 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8746 and CP774 modules.
8747 * iconvdata/tst-tables.sh: Likewise.
8748 * iconvdata/cp770.c: New file.
8749 * iconvdata/cp771.c: New file.
8750 * iconvdata/cp772.c: New file.
8751 * iconvdata/cp773.c: New file.
8752 * iconvdata/cp774.c: New file.
8753 * iconvdata/testdata/CP770: New file.
8754 * iconvdata/testdata/CP770..UTF8: New file.
8755 * iconvdata/testdata/CP771: New file.
8756 * iconvdata/testdata/CP771..UTF8: New file.
8757 * iconvdata/testdata/CP772: New file.
8758 * iconvdata/testdata/CP772..UTF8: New file.
8759 * iconvdata/testdata/CP773: New file.
8760 * iconvdata/testdata/CP773..UTF8: New file.
8761 * iconvdata/testdata/CP774: New file.
8762 * iconvdata/testdata/CP774..UTF8: New file.
8763
8764 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8765 END CHARMAP line.
8766 * iconvdata/gen-8bit-gap.sh: Likewise.
8767 * iconvdata/gen-8bit.sh: Likewise.
8768
c1e9e399
UD
8769 * locale/iso-639.def: Add ary entry.
8770
24c55fb3 8771 [BZ #11258]
96b4b1b0
UD
8772 * locale/C-translit.h.in: Add U20A1 transliteration.
8773
bdc2f971
KB
8774 [BZ #12178]
8775 * locale/iso-639.def: Add wae entry.
8776 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8777
2952b117
UD
8778 [BZ #12545]
8779 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8780 for n.
8781
2a81eaa5
UD
8782 [BZ #12711]
8783 * locale/C-translit.h.in: Add entry for U20B9.
8784 Patch by pravin.d.s@gmail.com.
8785
28377d1b
UD
87862011-05-08 Ulrich Drepper <drepper@gmail.com>
8787
7fb90fb8
UD
8788 [BZ #12713]
8789 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8790 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
8791 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8792 in rtld. Use *stat64.
7fb90fb8 8793 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 8794 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 8795 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
8796 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8797 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8798 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8799 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8800 __fstatat64 macros.
7fb90fb8
UD
8801 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8802 * dirent/rewinddir.c: Add libc_hidden_def.
8803 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 8804 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 8805
28377d1b
UD
8806 * include/dirent.h (__alloc_dir): Add flags parameter.
8807 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8808 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8809 __alloc_dir.
8810 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8811 from fdopendir if O_CLOEXEC is already set.
8812
66bdbaa4
AM
88132011-03-15 Alan Modra <amodra@gmail.com>
8814
8815 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8816 l_tls_firstbyte_offset non-zero. Save padding offset in
8817 l_tls_firstbyte_offset for later use.
8818 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8819 freeing static tls block.
8820
95721191
JN
88212011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8822
8823 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8824 where #ifdef was intended. The intent is to prevent ARG_MAX from
8825 being defined by the kernel headers.
8826
f87dfb1f
UD
88272011-05-07 Ulrich Drepper <drepper@gmail.com>
8828
8829 [BZ #12734]
8830 * resolv/resolv.h: Define RES_NOTLDQUERY.
8831 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8832 no-tld-query and set RES_NOTLDQUERY.
8833 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8834 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8835 modern BIND to search name as TLD unless forbidden.
8836
47c3cd7a
UD
88372011-05-07 Petr Baudis <pasky@suse.cz>
8838 Ulrich Drepper <drepper@gmail.com>
8839
8840 [BZ #12393]
8841 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8842 (is_trusted_path): ...to here.
c1e9ea35 8843 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 8844 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 8845 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 8846
8a35c912
PP
88472011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8848
8849 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8850 __BEGIN/__END_DECLS.
8851
acd41f47
UD
88522011-05-06 Ulrich Drepper <drepper@gmail.com>
8853
8854 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8855 NSS_STATUS_NOTFOUND if no record was found.
8856
597df647
AS
88572011-05-05 Andreas Schwab <schwab@redhat.com>
8858
8859 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8860 (headers-not-in-tirpc): Remove rpc/netdb.h
8861 * resolv/netdb.h: Revert last change.
8862
b9af1301
PP
88632011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8864
8865 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8866 circular dependency between libgcc.a and libc.a.
8867
4e34d5f5
AS
88682011-05-05 Andreas Schwab <schwab@redhat.com>
8869
8870 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8871 * nis/Makefile: Don't install rpcsvc/*.
8872 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8873 instead of <rpc/types.h>.
8874 (MAXHOSTNAMELEN): Define.
8875
00ee369c
AS
88762011-05-03 Andreas Schwab <schwab@redhat.com>
8877
8878 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8879
0b592a30
MB
88802011-04-28 Maciej Babinski <mbabinski@google.com>
8881
8882 [BZ #12714]
8883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8884 gethostbyname4_r when IPv6 results are possible.
8885
6e04cbbe
UD
88862011-05-02 Ulrich Drepper <drepper@gmail.com>
8887
8888 [BZ #12723]
8889 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8890 _PC_PIPE_BUF handling.
8891
e4ecafe0
BH
88922011-04-30 Bruno Haible <bruno@clisp.org>
8893
8894 [BZ #12717]
8895 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8896 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8897 to 'int'.
8898 * inet/getnameinfo.c (getnameinfo): Likewise.
8899
125ee683
UD
89002011-04-29 Ulrich Drepper <drepper@gmail.com>
8901
8902 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8903 to groups setting in database lookup.
8904 * nss/nsswitch.conf: Add initgroups entry.
8905
b722481a
EB
89062011-04-22 Ulrich Drepper <drepper@gmail.com>
8907
8908 [BZ #12685]
8909 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8910 mode string.
8911 Patch by Eric Blake <eblake@redhat.com>.
8912
4df46dbd
L
89132011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8914
8915 * sunrpc/Makefile (need-export-routines): Add svc_run.
8916 (routines): Remove svc_run.
8917 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8918 * sunrpc/clnt_perr.c (clnt_perrno): Export.
8919 * sunrpc/svc_run.c (svc_run): Likewise.
8920 * sunrpc/svc_udp.c (svcudp_create): Likewise.
8921
e84142d2
UD
89222011-04-21 Ulrich Drepper <drepper@gmail.com>
8923
8924 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8925 problem in reallocation in last patch.
8926
877175d8
UD
89272011-04-20 Ulrich Drepper <drepper@gmail.com>
8928
8929 * sunrpc/Makefile: Move inclusion of Rules.
8930
ab8eed78
UD
89312011-04-19 Ulrich Drepper <drepper@gmail.com>
8932
8933 * nss/nss_files/files-initgroups.c: New file.
8934 * nss/Makefile (libnss_files-routines): Add files-initgroups.
8935 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8936 _nss_files_initgroups_dyn.
8937
e3d8f584
RS
89382011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
8939
8940 * elf/elf.h (R_ARM_IRELATIVE): Define.
8941
af190f45
UD
89422011-04-19 Ulrich Drepper <drepper@gmail.com>
8943
8944 * po/ru.po: Update from translation team.
8945
53cf59ef
UD
89462011-04-17 Ulrich Drepper <drepper@gmail.com>
8947
8948 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8949 dependencies.
8950
4c559bcd
MF
89512011-02-06 Mike Frysinger <vapier@gentoo.org>
8952
8953 [BZ #12653]
8954 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8955 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8956 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8957 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8958 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8959
4420675c
AS
89602011-03-28 Andreas Schwab <schwab@linux-m68k.org>
8961
8962 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
8963 differing bytes.
8964 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8965 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8966 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8967
75ea32ab
UD
89682011-04-17 Ulrich Drepper <drepper@gmail.com>
8969
8970 [BZ #12420]
8971 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
8972 storing it.
8973 * stdlib/bug-getcontext.c: New file.
8974 * stdlib/Makefile: Add rules to build and run bug-getcontext.
8975
27390476
AK
89762011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8977
8978 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
8979 instructions into .machine "z9-109".
8980 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8981 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8982
10442705
AK
89832011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8984
8985 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
8986 between environment variables and auxiliary vector.
8987
7b57bfe5
UD
89882011-04-16 Ulrich Drepper <drepper@gmail.com>
8989
8990 * Makefile: Add rules to build linkobj/libc.so.
8991 * include/libc-symbols.h: Define libc_hidden_nolink.
8992 * include/rpc/auth.h: Mark functions which are to be hidden.
8993 * include/rpc/auth_des.h: Likewise.
8994 * include/rpc/auth_unix.h: Likewise.
8995 * include/rpc/clnt.h: Likewise.
8996 * include/rpc/des_crypt.h: Likewise.
8997 * include/rpc/key_prot.h: Likewise.
8998 * include/rpc/pmap_clnt.h: Likewise.
8999 * include/rpc/pmap_prot.h: Likewise.
9000 * include/rpc/pmap_rmt.h: Likewise.
9001 * include/rpc/rpc_msg.h: Likewise.
9002 * include/rpc/svc.h: Likewise.
9003 * include/rpc/svc_auth.h: Likewise.
9004 * include/rpc/xdr.h: Likewise.
9005 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9006 * nss/Makefile: Likewise.
9007 * sunrpc/Makefile: Don't install headers. Build library with normal
9008 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9009 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9010 for the compat linking library. Remove use of INTDEF/INTUSE.
9011 * sunrpc/auth_none.c: Likewise.
9012 * sunrpc/auth_unix.c: Likewise.
9013 * sunrpc/authdes_prot.c: Likewise.
9014 * sunrpc/authuxprot.c: Likewise.
9015 * sunrpc/clnt_gen.c: Likewise.
9016 * sunrpc/clnt_perr.c: Likewise.
9017 * sunrpc/clnt_raw.c: Likewise.
9018 * sunrpc/clnt_simp.c: Likewise.
9019 * sunrpc/clnt_tcp.c: Likewise.
9020 * sunrpc/clnt_udp.c: Likewise.
9021 * sunrpc/clnt_unix.c: Likewise.
9022 * sunrpc/des_crypt.c: Likewise.
9023 * sunrpc/des_soft.c: Likewise.
9024 * sunrpc/get_myaddr.c: Likewise.
9025 * sunrpc/key_call.c: Likewise.
9026 * sunrpc/key_prot.c: Likewise.
9027 * sunrpc/netname.c: Likewise.
9028 * sunrpc/pm_getmaps.c: Likewise.
9029 * sunrpc/pm_getport.c: Likewise.
9030 * sunrpc/pmap_clnt.c: Likewise.
9031 * sunrpc/pmap_prot.c: Likewise.
9032 * sunrpc/pmap_prot2.c: Likewise.
9033 * sunrpc/pmap_rmt.c: Likewise.
9034 * sunrpc/publickey.c: Likewise.
9035 * sunrpc/rpc_cmsg.c: Likewise.
9036 * sunrpc/rpc_common.c: Likewise.
9037 * sunrpc/rpc_dtable.c: Likewise.
9038 * sunrpc/rpc_prot.c: Likewise.
9039 * sunrpc/rpc_thread.c: Likewise.
9040 * sunrpc/rtime.c: Likewise.
9041 * sunrpc/svc.c: Likewise.
9042 * sunrpc/svc_auth.c: Likewise.
9043 * sunrpc/svc_authux.c: Likewise.
9044 * sunrpc/svc_raw.c: Likewise.
9045 * sunrpc/svc_run.c: Likewise.
9046 * sunrpc/svc_simple.c: Likewise.
9047 * sunrpc/svc_tcp.c: Likewise.
9048 * sunrpc/svc_udp.c: Likewise.
9049 * sunrpc/svc_unix.c: Likewise.
9050 * sunrpc/svcauth_des.c: Likewise.
9051 * sunrpc/xcrypt.c: Likewise.
9052 * sunrpc/xdr.c: Likewise.
9053 * sunrpc/xdr_array.c: Likewise.
9054 * sunrpc/xdr_float.c: Likewise.
9055 * sunrpc/xdr_intXX_t.c: Likewise.
9056 * sunrpc/xdr_mem.c: Likewise.
9057 * sunrpc/xdr_rec.c: Likewise.
9058 * sunrpc/xdr_ref.c: Likewise.
9059 * sunrpc/xdr_sizeof.c: Likewise.
9060 * sunrpc/xdr_stdio.c: Likewise.
9061
e6c61494
UD
90622011-04-10 Ulrich Drepper <drepper@gmail.com>
9063
9064 [BZ #12650]
9065 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9066 * sysdeps/ia64/dl-tls.h: Likewise.
9067 * sysdeps/powerpc/dl-tls.h: Likewise.
9068 * sysdeps/s390/dl-tls.h: Likewise.
9069 * sysdeps/sh/dl-tls.h: Likewise.
9070 * sysdeps/sparc/dl-tls.h: Likewise.
9071 * sysdeps/x86_64/dl-tls.h: Likewise.
9072 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9073
34fe483e
AS
90742011-03-14 Andreas Schwab <schwab@redhat.com>
9075
9076 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9077 rpath element also skip the following colon.
9078 (expand_dynamic_string_token): Add is_path parameter and pass
9079 down to DL_DST_REQUIRED and _dl_dst_substitute.
9080 (decompose_rpath): Call expand_dynamic_string_token with
9081 non-zero is_path. Ignore empty rpaths.
9082 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9083 with zero is_path.
9084
f12a32e6
AS
90852011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9086
9087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9088 Make cancelable.
9089
38a7d692
UD
90902011-04-09 Ulrich Drepper <drepper@gmail.com>
9091
9092 [BZ #12655]
9093 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9094 Patch by Filipe David Manana <fdmanana@apache.org>.
9095
e451d22b
AS
90962011-04-07 Andreas Schwab <schwab@redhat.com>
9097
9098 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9099 Maintain aligned stack.
9100 (CHECK_RSP): Remove unused macro.
9101
dedc7c7b
UD
91022011-04-03 Ulrich Drepper <drepper@gmail.com>
9103
9104 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9105 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9106
94521213
UD
91072011-04-02 Ulrich Drepper <drepper@gmail.com>
9108
9109 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9110
8cb700c0 9111 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9112
0354e355
L
91132011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9114
9115 [BZ #12518]
9116 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9117 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9118 * sysdeps/x86_64/memmove.c: New file.
9119 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9120 (memcpy): Renamed to ...
9121 (__new_memcpy): This.
9122 (memcpy): Provide GLIBC_2_14 memcpy.
9123 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9124 (memcpy): Provide GLIBC_2_2_5 memcpy.
9125
8593482f
UD
91262011-04-01 Ulrich Drepper <drepper@gmail.com>
9127
9128 [BZ #12631]
9129 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9130
81a5726b
AS
91312011-03-30 Andreas Schwab <schwab@redhat.com>
9132
9133 * misc/syncfs.c: New file.
9134 * misc/Makefile (routines): Add syncfs.
9135 * posix/unistd.h: Declare syncfs.
9136 * sysdeps/unix/syscalls.list: Add syncfs.
9137
00e5419f
AS
91382011-04-01 Andreas Schwab <schwab@redhat.com>
9139
9140 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9141 open_by_handle_at.
9142 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9143 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9144 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9145 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9146 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9147 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9148 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9149
748876bf
UD
91502011-04-01 Ulrich Drepper <drepper@gmail.com>
9151
658e451d
UD
9152 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9153 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9154 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9155 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9156 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9157 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9158 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9159
748876bf
UD
9160 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9161 sync_file_range.c with -fexceptions.
9162 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9163 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9164 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9165 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9166 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9167 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9168 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
9169 sync_file_range as cancellation point
9170 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9171 now a wrapper around __call_sync_file_range with cancellation handling.
9172 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9173 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9174 function name to __call_sync_file_range.
9175 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9176 Add call_sync_file_range.
748876bf 9177
6e63d5e1
AS
91782011-04-01 Andreas Schwab <schwab@redhat.com>
9179
9180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 9181 bits/timex.h.
6e63d5e1 9182
46998f74
UD
91832011-04-01 Ulrich Drepper <drepper@gmail.com>
9184
4c1423ed
UD
9185 * iconv/iconv.h: Fix typo in comment.
9186 * io/fcntl.h: Likewise.
9187 * libio/stdio.h: Likewise.
9188 * posix/spawn.h: Likewise.
9189 * posix/unistd.h: Likewise.
9190 * stdlib/stdlib.h: Likewise.
9191 * time/time.h: Likewise.
9192 * wcsmbs/wchar.h: Likewise.
9193
158648c0
UD
9194 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9195 open_by_handle): Add.
9196 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9197 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9198 Augment a few comments.
9199 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9200 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9201 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9202 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9203 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9204 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9205 open_by_handle.
9206
46998f74
UD
9207 * io/fcntl.h (AT_EMPTY_PATH): Define.
9208
83fe108b
UD
92092011-03-30 Ulrich Drepper <drepper@gmail.com>
9210
9211 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9212 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9213 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9214 to...
9215 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
9216 * Versions.def: Add GLIBC_2.14.
9217 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9218 Export.
83fe108b 9219
bb242059
UD
92202011-03-22 Ulrich Drepper <drepper@gmail.com>
9221
9222 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9223 round counter.
9224 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9225
c97a1282
L
92262011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9227
9228 [BZ #12597]
9229 * string/test-strncmp.c (do_page_test): New function.
9230 (check2): Likewise.
9231 (test_main): Call check2.
9232 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9233
2a115601
UD
92342011-03-20 Ulrich Drepper <drepper@gmail.com>
9235
9236 [BZ #12587]
9237 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9238 Handle cache information in CPU leaf 4.
9239 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9240
8126d904
UD
92412011-03-18 Ulrich Drepper <drepper@gmail.com>
9242
042c49c6 9243 [BZ #12583]
8126d904
UD
9244 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9245 character representation.
9246 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9247
ccfe366e
RA
92482011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9249
9250 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9251 END(__isnan) to END(__isnanf) to match function entry point/label
9252 EALIGN(__isnanf,...).
9253
c6e13027
JJ
92542011-03-10 Jakub Jelinek <jakub@redhat.com>
9255
9256 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9257
33f85a3f
UD
92582011-03-10 Ulrich Drepper <drepper@gmail.com>
9259
028478fa
UD
9260 [BZ #12510]
9261 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9262 copy from the symbol referenced in the relocation to initialize the
9263 used variable.
9264 Patch by Piotr Bury <pbury@goahead.com>.
9265 * elf/Makefile: Add rules to build and tst-unique3.
9266 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9267 * elf/tst-unique3.cc: New file.
9268 * elf/tst-unique3.h: New file.
9269 * elf/tst-unique3lib.cc: New file.
9270 * elf/tst-unique3lib2.cc: New file.
9271
33f85a3f
UD
9272 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9273
03592fc7
MF
92742011-03-10 Mike Frysinger <vapier@gentoo.org>
9275
9276 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9277 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9278 to _start.
03592fc7 9279
6a5ee102
UD
92802011-03-06 Ulrich Drepper <drepper@gmail.com>
9281
9282 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9283 to-be-loaded object along a path to loader is ld.so.
9284
7e4ba49c
HJ
92852011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9286 Ulrich Drepper <drepper@gmail.com>
9287
9288 * sysdeps/x86_64/memset.S: After aligning destination, code
9289 branches to different locations depending on the value of
9290 misalignment, when multiarch is enabled. Fix this.
9291
92922011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9293
9294 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9295 Set _x86_64_preferred_memory_instruction for AMD processsors.
9296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9297 Set bit_Prefer_SSE_for_memop for AMD processors.
9298
13a804de
UD
92992011-03-04 Ulrich Drepper <drepper@gmail.com>
9300
9301 * libio/fmemopen.c (fmemopen): Optimize a bit.
9302
9d25c392
AS
93032011-03-03 Andreas Schwab <schwab@redhat.com>
9304
9305 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9306
a5543c6a
RM
93072011-03-03 Roland McGrath <roland@redhat.com>
9308
9309 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9310
012d35f7
DM
93112011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9312
7e4ba49c 9313 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9314 __bzero_ultra1 instead of __memset_ultra1.
9315
4bff6e01
AS
93162011-02-23 Andreas Schwab <schwab@redhat.com>
9317 Ulrich Drepper <drepper@gmail.com>
9318
9319 [BZ #12509]
9320 * include/link.h (struct link_map): Add l_orig_initfini.
9321 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9322 returning unsuccessfully.
9323 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9324 close of a file loaded at startup, restore the original l_initfini
9325 list.
9326 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9327 list, store the pointer.
9328 * elf/Makefile ($(objpfx)noload-mem): New rule.
9329 (noload-ENV): Define.
9330 (tests): Add $(objpfx)noload-mem.
9331 * elf/noload.c: Include <memcheck.h>.
9332 (main): Call mtrace. Close all opened handles.
9333
f2092faf
AS
93342011-02-17 Andreas Schwab <schwab@redhat.com>
9335
9336 [BZ #12454]
9337 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9338 dependencies are missing.
9339
6c8a2e88
ST
93402011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9341
f2092faf 9342 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
9343 Hurd needs munmap.
9344 * sysdeps/mach/hurd/ifreq.h: New file.
9345
84a42118
PB
93462011-01-27 Petr Baudis <pasky@suse.cz>
9347 Ulrich Drepper <drepper@gmail.com>
9348
071f805e 9349 [BZ 12445]#
84a42118
PB
9350 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9351 to extend_alloca().
9352 * stdio-common/bug23.c: New file.
9353 * stdio-common/Makefile (tests): Add bug23.
9354
e23fe25b
AS
93552010-09-28 Andreas Schwab <schwab@redhat.com>
9356 Ulrich Drepper <drepper@gmail.com>
9357
9358 [BZ #12489]
9359 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9360 before performing relro protection. At old place add assertion
9361 to make sure nothing changed.
9362
d3f02e10
NS
93632011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9364 Glauber de Oliveira Costa <glommer@gmail.com>
9365
9366 * elf/elf.h: Add new ARM TLS relocs.
9367
d55fd7a5
RA
93682011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9369
9370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9371 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9372 cast from r3.
9373 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9374 'tests' variable.
9375 * sysdeps/wordsize-64/tst-writev.c: New file.
9376
2206397e
RA
93772011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9378
9379 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9380 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9381 insns in _dl_start to prevent a TOC reference before relocs are
9382 resolved.
9383
e9433893
UD
93842011-02-15 Ulrich Drepper <drepper@gmail.com>
9385
9386 [BZ #12469]
9387 * Makeconfig: Remove RANLIB definition.
9388 * Makerules: Don't use RANLIB.
9389 * aclocal.m4: Remove ranlib test.
9390 * configure.in: No need to check for ranlib.
9391 * elf/rtld-Rules: Don't use RANLIB.
9392
f75286c6
ST
93932011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9394
8e31c82d
ST
9395 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9396 protection macro.
9397 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9398 inclusion protection macro.
9399
f75286c6
ST
9400 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9401 SIGRTMIN and SIGRTMAX and print information in that case only when
9402 SIGRTMIN is defined.
9403
c1d0e639
JJ
94042011-02-11 Jakub Jelinek <jakub@redhat.com>
9405
9406 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9407 arginfo fn returning -1.
9408
9409 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9410 and thousands string is zero terminated.
9411
edf9294e
AS
94122011-02-03 Andreas Schwab <schwab@redhat.com>
9413
9414 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9415 sysdeps/unix/sysv/linux/bits/socket.h.
9416
2b7e92df
ST
94172011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9418
edf9294e
AS
9419 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9420 (__CPU_COUNT): Remove old macros.
9421 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9422 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9423 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
9424 (__sched_cpualloc, __sched_cpufree): Add declarations.
9425
a4c7ea7b
UD
94262011-02-05 Ulrich Drepper <drepper@gmail.com>
9427
9428 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9429 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9430 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9431 (readdhstai): Return value of addhstaiX call.
9432 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9433 (addgrbyX): Return value returned by cache_addgr.
9434 (readdgrbyname): Return value returned by addgrbyX.
9435 (readdgrbygid): Likewise.
9436 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9437 (addpwbyX): Return value returned by cache_addpw.
9438 (readdpwbyname): Return value returned by addhstbyX.
9439 (readdpwbyuid): Likewise.
9440 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9441 (addservbyX): Return value returned by cache_addserv.
9442 (readdservbyname): Return value returned by addservbyX:
9443 (readdservbyport): Likewise.
9444 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9445 (addhstbyX): Return value returned by cache_addhst.
9446 (readdhstbyname): Return value returned by addhstbyX.
9447 (readdhstbyaddr): Likewise.
9448 (readdhstbynamev6): Likewise.
9449 (readdhstbyaddrv6): Likewise.
9450 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9451 (readdinitgroups): Return value returned by addinitgroupsX.
9452 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9453 (prune_cache): Keep track of timeout value of re-added entries.
9454 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9455 * nscd/nscd.h: Adjust prototypes of readd* functions.
9456
a0bf67cc
RM
94572011-02-04 Roland McGrath <roland@redhat.com>
9458
9459 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9460 (nis_stats): Likewise.
9461 * nis/nis_modify.c (nis_modify): Likewise.
9462 * nis/nis_remove.c (nis_remove): Likewise.
9463 * nis/nis_add.c (nis_add): Likewise.
9464
9465 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9466
9467 * posix/fnmatch_loop.c: Add some consts.
9468
9469 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9470
435b95eb
L
94712011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9472
9473 [BZ #12460]
9474 * config.make.in (config-cflags-novzeroupper): Define.
9475 * configure.in: Substitute libc_cv_cc_novzeroupper.
9476 * elf/Makefile (AVX-CFLAGS): Define.
9477 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9478 (CFLAGS-tst-auditmod4a.c): Likewise.
9479 (CFLAGS-tst-auditmod4b.c): Likewise.
9480 (CFLAGS-tst-auditmod6b.c): Likewise.
9481 (CFLAGS-tst-auditmod6c.c): Likewise.
9482 (CFLAGS-tst-auditmod7b.c): Likewise.
9483 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9484
8517b15e
UD
94852011-02-02 Ulrich Drepper <drepper@gmail.com>
9486
9487 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9488 function to the callback.
9489 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9490
10a656fe
AS
94912011-02-02 Andreas Schwab <schwab@redhat.com>
9492
9493 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9494 of errno.
9495
968dad0a
UD
94962011-01-19 Ulrich Drepper <drepper@gmail.com>
9497
9f94d2ea 9498 [BZ #11724]
968dad0a
UD
9499 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9500 of constructors.
9501 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9502 of destructors.
9503 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9504
9505 [BZ #11724]
9506 * elf/Makefile: Add rules to build and run new test.
9507 * elf/tst-initorder.c: New file.
9508 * elf/tst-initorder.exp: New file.
9509 * elf/tst-initordera1.c: New file.
9510 * elf/tst-initordera2.c: New file.
9511 * elf/tst-initordera3.c: New file.
9512 * elf/tst-initordera4.c: New file.
9513 * elf/tst-initorderb1.c: New file.
9514 * elf/tst-initorderb2.c: New file.
9515 * elf/tst-order-a1.c: New file.
9516 * elf/tst-order-a2.c: New file.
9517 * elf/tst-order-a3.c: New file.
9518 * elf/tst-order-a4.c: New file.
9519 * elf/tst-order-b1.c: New file.
9520 * elf/tst-order-b2.c: New file.
9521 * elf/tst-order-main.c: New file.
9522 New test case by George Gensure <werkt0@gmail.com>.
9523
86e92359
UD
95242010-10-01 Andreas Schwab <schwab@redhat.com>
9525
9526 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9527 decoding ACE if AI_CANONIDN.
9528
5d5732b0
UD
95292011-01-18 Ulrich Drepper <drepper@gmail.com>
9530
9531 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9532
a77e8cbc
UD
95332011-01-17 Ulrich Drepper <drepper@gmail.com>
9534
6392473f
UD
9535 * version.h (RELEASE): Bump for 2.13 release.
9536 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9537
620a0529
UD
9538 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9539
18ba70a5
UD
9540 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9541 MADV_NOHUGEPAGE.
32465c3e
UD
9542 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9543 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9544 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9545 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9546 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9547 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9548
c0dafcf1
UD
9549 * posix/getconf.c: Update copyright year.
9550 * catgets/gencat.c: Likewise.
9551 * csu/version.c: Likewise.
9552 * debug/catchsegv.sh: Likewise.
9553 * debug/xtrace.sh: Likewise.
9554 * elf/ldconfig.c: Likewise.
9555 * elf/ldd.bash.in: Likewise.
9556 * elf/sprof.c (print_version): Likewise.
9557 * iconv/iconv_prog.c: Likewise.
9558 * iconv/iconvconfig.c: Likewise.
9559 * locale/programs/locale.c: Likewise.
9560 * locale/programs/localedef.c: Likewise.
9561 * malloc/memusage.sh: Likewise.
9562 * malloc/mtrace.pl: Likewise.
9563 * nscd/nscd.c (print_version): Likewise.
9564 * nss/getent.c: Likewise.
9565
a77e8cbc
UD
9566 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9567 PF_CAIF, and PF_ALG.
9568 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9569
77e8bddf
AS
95702011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9571
1f20b93a
AS
9572 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9573 (modules-names): Use them.
9574 (ifunc-test-modules, ifunc-pie-tests): Define.
9575 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9576 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9577 (test-extras): Likewise.
9578 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9579 $(compile-command.c).
9580 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9581 (all-built-dso): Define.
9582 (check-textrel.out, check-execstack.out): Depend on it.
9583
77e8bddf
AS
9584 * configure.in: Don't override --enable-multi-arch.
9585
bc425b33
UD
95862011-01-15 Ulrich Drepper <drepper@gmail.com>
9587
9588 [BZ #6812]
9589 * nscd/hstcache.c (tryagain): Define.
9590 (cache_addhst): Return tryagain not notfound for temporary errors.
9591 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9592 failed.
9593
794c3ad3
UD
95942011-01-14 Ulrich Drepper <drepper@gmail.com>
9595
70181fdd
UD
9596 [BZ #10563]
9597 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9598 to make the syscall.
9599 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9600
794c3ad3
UD
9601 [BZ #12378]
9602 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9603 and fall back to matching as normal character if the string ends before
9604 the matching ']' is found. This is what POSIX requires.
9605 * posix/testfnm.c: Adjust test result.
9606 * posix/globtest.sh: Adjust test result. Add new test.
9607 * posix/tst-fnmatch.input: Likewise.
9608 * posix/tst-fnmatch2.c: Add new test.
9609
68dc9497
AS
96102010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9611
9612 * elf/Makefile (check-execstack): Revert last change. Depend on
9613 check-execstack.h.
9614 (check-execstack.h): New target.
9615 (generated): Add check-execstack.h.
9616 * elf/check-execstack.c: Include "check-execstack.h".
9617 (main): Revert last change.
9618 (handle_file): Return zero if GNU_STACK is absent and
9619 DEFAULT_STACK_PERMS doesn't include PF_X.
9620
451f001b
UD
96212011-01-13 Ulrich Drepper <drepper@gmail.com>
9622
cfa28e56
UD
9623 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9624 in child fails because the descriptor is already closed.
8cf8ce17
UD
9625 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9626 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9627 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 9628
1086d70d
UD
9629 [BZ #12397]
9630 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9631 syscall.
9632
451f001b
UD
9633 [BZ #10484]
9634 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9635 temporary buffer used to handle multi lookups locally.
a85b5cb4 9636 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 9637
08769175
UD
96382011-01-12 Ulrich Drepper <drepper@gmail.com>
9639
9640 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9641 loader is ld.so.
9642
5e49c52e
UD
96432011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9644
9645 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9646 alignment for SSE2.
9647
60522a5f
UD
96482011-01-12 Ulrich Drepper <drepper@gmail.com>
9649
9650 [BZ #12394]
9651 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9652 characters. When rounding increased number of integer digits recompute
9653 number of groups.
9654 * stdio-common/tst-grouping.c: New file.
9655 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9656
f257bbd7
UD
96572011-01-09 Ulrich Drepper <drepper@gmail.com>
9658
9659 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9660 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9661
9662 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9663 void.
9664 * bits/select.h: Likewise.
9665
fa9c15cb
UD
96662011-01-08 Ulrich Drepper <drepper@gmail.com>
9667
9668 * po/ja.po: Update from translation team.
9669
16c2895f
DM
96702011-01-04 David S. Miller <davem@sunset.davemloft.net>
9671
9672 [BZ #11155]
9673 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9674 implementation just like for lxstat, fxstatat, et al.
9675
2543fef2
JM
96762010-12-27 Jim Meyering <meyering@redhat.com>
9677
9678 [BZ #12348]
9679 * posix/regexec.c (build_trtable): Return failure indication upon
9680 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9681
98727dbe
UD
96822010-12-25 Ulrich Drepper <drepper@gmail.com>
9683
5bd6dc5c
UD
9684 [BZ #12201]
9685 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9686 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9687 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9688 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9689
97983464
UD
9690 [BZ #12207]
9691 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9692
98727dbe
UD
9693 [BZ #12204]
9694 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9695 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9696
4a531bb0
L
96972010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9698
9699 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9700 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9701 script has SORT_BY_INIT_PRIORITY.
9702 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9703 NO_CTORS_DTORS_SECTIONS is defined.
9704 * elf/soinit.c: Likewise.
9705 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9706 NO_CTORS_DTORS_SECTIONS is defined.
9707 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9708 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9709 * sysdeps/sh/init-first.c: Likewise.
9710 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9711
07eb4b71
UD
97122010-12-24 Ulrich Drepper <drepper@gmail.com>
9713
9714 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9715 always use the slow path.
9716
30950a5f
RA
97172010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9718
9719 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9720 similar rule which adds the sysdep directories to the header search in
9721 order to pick up the correct platform stackinfo.h.
9722 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9723 perform test if it is, otherwise return successfully without testing.
9724 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9725 DEFAULT_STACK_PERMS define in stackinfo.h.
9726 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9727 defined in stackinfo.h.
9728 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9729 DEFAULT_STACK_PERMS defined in stackinfo.h.
9730 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9731 * sysdeps/ia64/stackinfo.h: Likewise.
9732 * sysdeps/s390/stackinfo.h: Likewise.
9733 * sysdeps/sh/stackinfo.h: Likewise.
9734 * sysdeps/sparc/stackinfo.h: Likewise.
9735 * sysdeps/x86_64/stackinfo.h: Likewise.
9736 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9737 PF_X for powerpc64. Retain PF_X for powerpc32.
9738
db753e2c
UD
97392010-12-19 Ulrich Drepper <drepper@gmail.com>
9740
14b697f7
UD
9741 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9742 accurately.
db753e2c
UD
9743 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9744 GETDENTS_64BIT_ALIGNED.
9745
28300719
UD
97462010-12-14 Ulrich Drepper <dreper@gmail.com>
9747
14b697f7 9748 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 9749
4f197237
AS
97502010-12-10 Andreas Schwab <schwab@redhat.com>
9751
dbb0472f
AS
9752 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9753 _GNU_SOURCE.
9754
4f197237
AS
9755 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9756 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9757 Remove __restrict.
9758 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9759 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9760
fb88ac72
UD
97612010-12-09 Ulrich Drepper <drepper@gmail.com>
9762
9763 [BZ #11655]
9764 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9765 are initialized.
9766
42acbb92
JJ
97672010-12-09 Jakub Jelinek <jakub@redhat.com>
9768
9769 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9770
c038d98d
UD
97712010-12-03 Ulrich Drepper <drepper@gmail.com>
9772
9773 * po/it.po: Update from translation team.
9774
3a4a2499
L
97752010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9776
9777 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9778 unused codes.
9779
1e24cf6e
UD
97802010-11-30 Ulrich Drepper <drepper@gmail.com>
9781
9782 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9783
a7690819
AS
97842010-11-24 Andreas Schwab <schwab@redhat.com>
9785
9786 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9787 specially.
9788 (gaih_getanswer_slice): Likewise.
9789
3bf8d1b1
JJ
97902010-10-20 Jakub Jelinek <jakub@redhat.com>
9791
9792 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9793
6db52fbb
PB
97942010-05-31 Petr Baudis <pasky@suse.cz>
9795
9796 [BZ #11149]
9797 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9798 silently even in the chroot mode.
9799
eaca7569
UD
98002010-11-22 Ulrich Drepper <drepper@gmail.com>
9801
9802 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9803 last patch a bit. Pretty printing
9804
3056dcdb
UD
98052010-05-31 Petr Baudis <pasky@suse.cz>
9806
9807 [BZ #10085]
9808 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9809 initialization of skip_initgroups_dyn.
9810
cf7c9078
UD
98112010-11-19 Ulrich Drepper <drepper@gmail.com>
9812
9813 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9814 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9815
a1fb5e3e
UD
98162010-11-16 Ulrich Drepper <drepper@gmail.com>
9817
9818 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9819
3540d66b
AS
98202010-11-11 Andreas Schwab <schwab@redhat.com>
9821
9822 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9823 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9824 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9825 ($(objpfx)tst-fnmatch-mem): New rule.
9826 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9827 * posix/tst-fnmatch.c (main): Call mtrace.
9828
13b69574
L
98292010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9830
9831 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9832 Support Intel processor model 6 and model 0x2c.
9833
da93d214
LM
98342010-11-10 Luis Machado <luisgpm@br.ibm.com>
9835
9836 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9837 signed comparison.
9838
8ca52c6e
L
98392010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9840
9841 [BZ #12205]
9842 * string/test-strncasecmp.c (check_result): New function.
9843 (do_one_test): Use it.
9844 (check1): New function.
9845 (test_main): Use it.
9846 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9847 Support strcasecmp and strncasecmp.
9848
69da074d
UD
98492010-11-08 Ulrich Drepper <drepper@gmail.com>
9850
9851 [BZ #12194]
9852 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9853 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9854
ff02d528
L
98552010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9856
9857 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9858 IFUNC support.
9859 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9860 memset-x86-64.
9861 * sysdeps/x86_64/multiarch/bzero.S: New file.
9862 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9863 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9864 * sysdeps/x86_64/multiarch/memset.S: New file.
9865 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9866 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9867 Set bit_Prefer_SSE_for_memop for Intel processors.
9868 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9869 Define.
9870 (index_Prefer_SSE_for_memop): Define.
9871 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9872
344d0b54
LM
98732010-11-04 Luis Machado <luisgpm@br.ibm.com>
9874
9875 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9876 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9877
c0dde15b
UD
98782010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9879
9880 [BZ #12191]
9881 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9882 (__x86_64_raw_data_cache_size_half): Likewise.
9883 (__x86_64_raw_shared_cache_size): Likewise.
9884 (__x86_64_raw_shared_cache_size_half): Likewise.
9885
9886 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9887 (__x86_64_raw_data_cache_size_half): Likewise.
9888 (__x86_64_raw_shared_cache_size): Likewise.
9889 (__x86_64_raw_shared_cache_size_half): Likewise.
9890 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9891 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9892 and __x86_64_raw_shared_cache_size_half. Round
9893 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9894 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9895 to multiple of 256 bytes.
9896
0e516e0e
MS
98972010-11-03 Ulrich Drepper <drepper@gmail.com>
9898
9899 [BZ #12167]
9900 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9901 of inacessible symlinks. Verify result of symlink before returning it.
9902 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9903 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9904
0e012e87
ER
99052010-10-28 Erich Ritz <erichritz@gmail.com>
9906
9907 * math/math.h (isinf): Fix typo in comment.
9908
de0ff7bc
UD
99092010-11-01 Ulrich Drepper <drepper@gmail.com>
9910
9911 * po/da.po: Update from translation team.
9912
fa41c84d
UD
99132010-10-26 Ulrich Drepper <drepper@gmail.com>
9914
9915 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9916 is added to the list.
9917
f0967738
AK
99182010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9919 Ulrich Drepper <drepper@gmail.com>
9920
9921 * elf/dl-object.c (_dl_new_object): Don't append the new object to
9922 the global list here. Move code to...
9923 (_dl_add_to_namespace_list): ...here. New function.
9924 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9925 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9926 * elf/dl-load.c (lose): Don't remove the element from the list.
9927 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9928 (_dl_map_object): Likewise.
9929
99302010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
9931
9932 [BZ #12159]
9933 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9934 into all bytes of SSE register.
9935 Patch by Richard Li <richardpku@gmail.com>.
9936
f0967738 99372010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
9938
9939 [BZ #12140]
9940 * malloc/malloc.c (_int_free): Fill correct number of bytes when
9941 perturbing.
9942
d0b9e94f
MB
99432010-10-20 Michael B. Brutman <brutman@us.ibm.com>
9944
9945 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9946 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9947 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9948 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9950 submachine.
9951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9952
8e9f92e9
AS
99532010-10-22 Andreas Schwab <schwab@redhat.com>
9954
9955 * include/dlfcn.h (__RTLD_SECURE): Define.
9956 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
9957 mode & __RTLD_SECURE instead.
9958 (open_path): Rename preloaded parameter to secure.
9959 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
9960 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9961 * elf/dl-deps.c (openaux): Likewise.
9962 * elf/rtld.c (struct map_args): Remove is_preloaded.
9963 (map_doit): Don't use it.
9964 (dl_main): Likewise.
9965 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
9966 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
9967
bc96fbda
AS
99682010-09-09 Andreas Schwab <schwab@redhat.com>
9969
9970 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
9971 (sysd-rules-targets): Remove duplicates.
9972 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
9973 rtld-%.$o dependency.
9974
22cd1c9b
AS
99752010-10-18 Andreas Schwab <schwab@redhat.com>
9976
9977 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
9978 _dl_map_object do it.
9979
18edac48
UD
99802010-10-19 Ulrich Drepper <drepper@gmail.com>
9981
9982 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
9983 fast fma builtins, define the macros in the C99 standard.
9984 (FP_FAST_FMAF): Likewise.
9985 (FP_FAST_FMAL): Likewise.
9986 * sysdeps/x86_64/bits/mathdef.h: Likewise.
9987
9988 * bits/mathdef.h: Update copyright year.
9989 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9990
d2050124
MM
99912010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
9992
9993 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
9994 builtins, define the macros in the C99 standard.
9995 (FP_FAST_FMAF): Likewise.
9996 (FP_FAST_FMAL): Likewise.
9997 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
9998 multiply/add.
9999 (FP_FAST_FMAF): Likewise.
10000
475facd1
JJ
100012010-10-15 Jakub Jelinek <jakub@redhat.com>
10002
10003 [BZ #3268]
10004 * math/libm-test.inc (fma_test): Some new testcases.
10005 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10006 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10007 y and infinite z. Do multiplication by C already in long double.
10008 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10009 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10010 y and infinite z. Do bitwise or of inexact bit into u.d.
10011 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10012 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10013 * sysdeps/i386/fpu/s_fma.S: Removed.
10014 * sysdeps/i386/fpu/s_fmal.S: Removed.
10015
7c08a05c
JJ
100162010-10-16 Jakub Jelinek <jakub@redhat.com>
10017
10018 [BZ #3268]
10019 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10020 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10021 computation is not scheduled after fetestexcept. Fix value
10022 of minimum denormal long double.
10023
f3f7372d
JJ
100242010-10-14 Jakub Jelinek <jakub@redhat.com>
10025
10026 [BZ #3268]
10027 * math/libm-test.inc (fma_test): Add some more tests.
10028 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10029 correctly.
10030
14d43591
AS
100312010-10-15 Andreas Schwab <schwab@redhat.com>
10032
10033 * scripts/data/localplt-s390-linux-gnu.data: New file.
10034 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10035
5e908464
JJ
100362010-10-13 Jakub Jelinek <jakub@redhat.com>
10037
10038 [BZ #3268]
10039 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10040 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10041 instead of dbl-64.
10042 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10043 inlines.
10044 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10045 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10046 if one of x and y is very large and the other is subnormal.
10047 * sysdeps/s390/fpu/s_fmaf.c: New file.
10048 * sysdeps/s390/fpu/s_fma.c: New file.
10049 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10050 * sysdeps/powerpc/fpu/s_fma.S: New file.
10051 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10052 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10053 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10054
100552010-10-12 Jakub Jelinek <jakub@redhat.com>
10056
10057 [BZ #3268]
10058 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10059 fma tests.
10060 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10061 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10062 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10063 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10064 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10065 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10066 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10067
b833d51f
UD
100682010-10-12 Ulrich Drepper <drepper@redhat.com>
10069
10070 [BZ #12078]
10071 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10072 * posix/bug-regex31.input: Add test case.
10073
1751705d
UD
100742010-10-11 Ulrich Drepper <drepper@gmail.com>
10075
e9b9cbf5
UD
10076 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10077 * posix/bug-regex31.input: New file.
10078
10079 [BZ #12078]
10080 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10081 (parse_sub_exp): Fix last change, use postorder.
10082
ef06edbe
UD
10083 * posix/bug-regex31.c: New file.
10084 * posix/Makefile: Add rules to build and run bug-regex31.
10085
a129c80d
UD
10086 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10087
10088 [BZ #12078]
10089 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10090
b76b818e
UD
10091 [BZ #12108]
10092 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10093 to have entries in sys_siglist.
10094
1751705d
UD
10095 [BZ #12093]
10096 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10097 be NULL.
10098
9ff8d36f
JJ
100992010-10-07 Jakub Jelinek <jakub@redhat.com>
10100
10101 [BZ #3268]
10102 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10103 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10104 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10105 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10106 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10107 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10108 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10109 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10110 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10111 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10112 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10113 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10114 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10115 * math/ftestexcept.c (fetestexcept): Likewise.
10116 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10117 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10118 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10119 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10120 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10121 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10122 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10123
af325969
UD
101242010-10-11 Ulrich Drepper <drepper@gmail.com>
10125
c579b202 10126 [BZ #12107]
af325969
UD
10127 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10128 newline.
10129
67a67b95
UD
101302010-10-06 Ulrich Drepper <drepper@gmail.com>
10131
10132 * string/bug-strstr1.c: New file.
10133 * string/Makefile: Add rules to build and run bug-strstr1.
10134
5fb308bc
EB
101352010-10-05 Eric Blake <eblake@redhat.com>
10136
10137 [BZ #12092]
10138 * string/str-two-way.h (two_way_long_needle): Always clear memory
10139 when skipping input due to the shift table.
10140
45db99c7
UD
101412010-10-03 Ulrich Drepper <drepper@gmail.com>
10142
3b111893
UD
10143 [BZ #12005]
10144 * malloc/mcheck.c: Handle large requests.
10145
45db99c7
UD
10146 [BZ #12077]
10147 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10148 for strncmp and strncasecmp.
10149 * string/stratcliff.c: Add tests for strcmp and strncmp.
10150 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10151
cf7a1eb8
NI
101522010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10153
10154 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10155 __set_fpscr.
10156
6484ba5e
AJ
101572010-09-30 Andreas Jaeger <aj@suse.de>
10158
10159 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10160 (CGROUP_SUPER_MAGIC): Define.
10161 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10162 Handle btrfs and cgroup file systems.
10163 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10164 Likewise.
10165
91c42559
LM
101662010-09-27 Luis Machado <luisgpm@br.ibm.com>
10167
10168 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10169 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10170
87a97932
AK
101712010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10172
10173 [BZ #12067]
10174 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10175 trying to locate the ELF header.
10176
c21cc9bc
AS
101772010-09-27 Andreas Schwab <schwab@redhat.com>
10178
10179 [BZ #11611]
10180 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10181 Mask out sign-bit copies when constructing f_fsid.
10182
315970f6
PB
101832010-09-24 Petr Baudis <pasky@suse.cz>
10184
10185 * debug/stack_chk_fail_local.c: Add missing licence exception.
10186 * debug/warning-nop.c: Likewise.
10187
1ac7a2c7
JM
101882010-09-15 Joseph Myers <joseph@codesourcery.com>
10189
10190 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10191 implementing getdents64 using getdents syscall, set d_type if
10192 __ASSUME_GETDENTS32_D_TYPE.
10193
56801c50
AS
101942010-09-16 Andreas Schwab <schwab@redhat.com>
10195
10196 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10197 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10198
dda51327
UD
101992010-09-21 Ulrich Drepper <drepper@redhat.com>
10200
10201 [BZ #12037]
10202 * posix/unistd.h: Undo change of feature selection for ftruncate from
10203 2010-01-11.
10204
8ffcee4a
UD
102052010-09-20 Ulrich Drepper <drepper@redhat.com>
10206
a545ecd9 10207 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
10208 detection.
10209
e24f0a8b
AS
102102010-09-20 Andreas Schwab <schwab@redhat.com>
10211
10212 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10213 fanotify_mark.
10214 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10215
7291c56f
AS
102162010-09-14 Andreas Schwab <schwab@redhat.com>
10217
10218 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10219 variables after CHECK_SP call.
10220 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10221
bc5fb037
AS
102222010-09-13 Andreas Schwab <schwab@redhat.com>
10223 Ulrich Drepper <drepper@redhat.com>
10224
10225 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10226 re-relocationg ld.so.
10227 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10228 _dl_init_paths call.
10229 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10230 here anymore.
10231
e66e7419
UD
102322010-09-14 Ulrich Drepper <drepper@redhat.com>
10233
10234 * resolv/res_init.c (__res_vinit): Count the default server we added.
10235
c044aa75
CLT
102362010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10237 Ulrich Drepper <drepper@redhat.com>
10238
10239 [BZ #11968]
10240 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10241 (____longjmp_chk): Use %ebx for saving value across system call.
10242 Add unwind info.
10243
32cf4069
AS
102442010-09-06 Andreas Schwab <schwab@redhat.com>
10245
10246 * manual/Makefile: Don't mix pattern rules with normal rules.
10247
817328ee
AS
102482010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10249
10250 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10251 operation.
10252 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10253 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10254 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10255 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10256 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10257 Likewise.
10258
29fddf61
UD
102592010-09-04 Ulrich Drepper <drepper@redhat.com>
10260
10261 [BZ #11979]
10262 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10263 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10264
0959ffc9
UD
102652010-09-02 Ulrich Drepper <drepper@redhat.com>
10266
10267 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10268 * sysdeps/x86_64/addmul_1.S: Likewise.
10269 * sysdeps/x86_64/lshift.S: Likewise.
10270 * sysdeps/x86_64/mul_1.S: Likewise.
10271 * sysdeps/x86_64/rshift.S: Likewise.
10272 * sysdeps/x86_64/sub_n.S: Likewise.
10273 * sysdeps/x86_64/submul_1.S: Likewise.
10274
ece29840
ST
102752010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10276
0959ffc9
UD
10277 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10278 Define __sched_param instead of SCHED_* and sched_param when
ece29840 10279 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 10280 * bits/sched.h [__need_schedparam]
ece29840 10281 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
10282 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10283 (__defined_schedparam): Define to 1.
ece29840
ST
10284 (__sched_param): New structure, identical to sched_param.
10285 (__need_schedparam): Undefine.
10286
e53a31fe
MF
102872010-08-31 Mike Frysinger <vapier@gentoo.org>
10288
fdc0c10d
MF
10289 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10290 (epoll_create1): Declare.
10291
e53a31fe
MF
10292 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10293
a726d796
AS
102942010-08-31 Andreas Schwab <schwab@redhat.com>
10295
10296 [BZ #7066]
10297 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10298 shifting retval into place.
10299
2f3e3dc7
UD
103002010-09-01 Ulrich Drepper <drepper@redhat.com>
10301
f2933da9
UD
10302 * nis/rpcsvc/nis.h: Update copyright notice.
10303 * nis/rpcsvc/nis.x: Likewise.
10304 * nis/rpcsvc/nis_callback.h: Likewise.
10305 * nis/rpcsvc/nis_callback.x: Likewise.
10306 * nis/rpcsvc/nis_object.x: Likewise.
10307 * nis/rpcsvc/nis_tags.h: Likewise.
10308 * nis/rpcsvc/yp.h: Likewise.
10309 * nis/rpcsvc/yp.x: Likewise.
10310 * nis/rpcsvc/ypupd.h: Likewise.
10311 * nis/yp_xdr.c: Likewise.
10312 * nis/ypupdate_xdr.c: Likewise.
10313
2f3e3dc7
UD
10314 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10315 mainly the body of pmap_getport. Add parameters to specify timeouts.
10316 (pmap_getport): Use __libc_rpc_getport.
10317 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10318 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10319 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10320
f3dcc2f9
AS
103212010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10322
10323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10324 fanotify_mark.
10325
6d34eb5b
RM
103262010-08-27 Roland McGrath <roland@redhat.com>
10327
10328 * sysdeps/i386/i686/multiarch/Makefile
10329 (CFLAGS-varshift.c): New variable.
10330
9ea3de11
UD
103312010-08-27 Ulrich Drepper <drepper@redhat.com>
10332
c96d23fc
UD
10333 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10334 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10335
9ea3de11
UD
10336 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10337
10338 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10339
623aac7f
L
103402010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10341
10342 * sysdeps/x86_64/strlen.S: Unroll the loop.
10343 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10344 strlen-sse2 strlen-sse2-bsf.
10345 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10346 __strlen_no_bsf if bit_Slow_BSF is set.
10347 (__strlen_sse42): Removed.
10348 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10349 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10350
8b2b7715
RM
103512010-08-25 Roland McGrath <roland@redhat.com>
10352
10353 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10354 * sysdeps/x86_64/multiarch/varshift.c: New file.
10355 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10356 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10357 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10358 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10359
e73015f2
L
103602010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10361
10362 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10363 strlen-sse2 strlen-sse2-bsf.
10364 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10365 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10366 (__strlen_sse2): Removed.
10367 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10368 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10369 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10370 bit_Slow_BSF for Atom.
10371 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10372 (index_Slow_BSF): Define.
10373 (HAS_SLOW_BSF): Define.
10374
df24a73e
UD
103752010-08-25 Ulrich Drepper <drepper@redhat.com>
10376
10377 [BZ #10851]
10378 * resolv/res_init.c (__res_vinit): When no server address at all
10379 is given default to loopback.
10380
f2ac4868
RM
103812010-08-24 Roland McGrath <roland@redhat.com>
10382
09055553
RM
10383 * configure.in: Remove config-name.h generation.
10384 * configure: Regenerated.
10385 * config-name.in: File removed.
10386 * scripts/config-uname.sh: New file.
10387 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10388 ($(objdir)config-name.h): New target.
10389
f2ac4868
RM
10390 * sunrpc/rpc_parse.h: Avoid nested comment.
10391
73f27d5e
RH
103922010-08-24 Richard Henderson <rth@redhat.com>
10393 Ulrich Drepper <drepper@redhat.com>
10394 H.J. Lu <hongjiu.lu@intel.com>
10395
10396 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10397 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10398 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10399 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10400 _mm_alignr_epi8 with _mm_loadu_si128.
10401 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10402 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10403 (__m128i_shift_right): Removed.
10404 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10405 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10406 * sysdeps/x86_64/multiarch/varshift.h: New file.
10407 * sysdeps/x86_64/multiarch/varshift.S: New file.
10408
84b9230c
MF
104092010-08-21 Mike Frysinger <vapier@gentoo.org>
10410
10411 * configure.in: Move assembler checks to before sysdep dir checking.
10412
9bbd0ddc
PB
104132010-08-20 Petr Baudis <pasky@suse.cz>
10414
10415 * LICENSES: Sync the sunrpc license.
10416
9da4bb31
UD
104172010-08-19 Ulrich Drepper <drepper@redhat.com>
10418
a7ab6ec8
UD
10419 * sunrpc/auth_des.c: Update copyright notice once again.
10420 * sunrpc/auth_none.c: Likewise.
10421 * sunrpc/auth_unix.c: Likewise.
10422 * sunrpc/authdes_prot.c: Likewise.
10423 * sunrpc/authuxprot.c: Likewise.
10424 * sunrpc/bindrsvprt.c: Likewise.
10425 * sunrpc/clnt_gen.c: Likewise.
10426 * sunrpc/clnt_perr.c: Likewise.
10427 * sunrpc/clnt_raw.c: Likewise.
10428 * sunrpc/clnt_simp.c: Likewise.
10429 * sunrpc/clnt_tcp.c: Likewise.
10430 * sunrpc/clnt_udp.c: Likewise.
10431 * sunrpc/clnt_unix.c: Likewise.
10432 * sunrpc/des_crypt.c: Likewise.
10433 * sunrpc/des_soft.c: Likewise.
10434 * sunrpc/get_myaddr.c: Likewise.
10435 * sunrpc/getrpcport.c: Likewise.
10436 * sunrpc/key_call.c: Likewise.
10437 * sunrpc/key_prot.c: Likewise.
10438 * sunrpc/openchild.c: Likewise.
10439 * sunrpc/pm_getmaps.c: Likewise.
10440 * sunrpc/pm_getport.c: Likewise.
10441 * sunrpc/pmap_clnt.c: Likewise.
10442 * sunrpc/pmap_prot.c: Likewise.
10443 * sunrpc/pmap_prot2.c: Likewise.
10444 * sunrpc/pmap_rmt.c: Likewise.
10445 * sunrpc/rpc/auth.h: Likewise.
10446 * sunrpc/rpc/auth_unix.h: Likewise.
10447 * sunrpc/rpc/clnt.h: Likewise.
10448 * sunrpc/rpc/des_crypt.h: Likewise.
10449 * sunrpc/rpc/key_prot.h: Likewise.
10450 * sunrpc/rpc/netdb.h: Likewise.
10451 * sunrpc/rpc/pmap_clnt.h: Likewise.
10452 * sunrpc/rpc/pmap_prot.h: Likewise.
10453 * sunrpc/rpc/pmap_rmt.h: Likewise.
10454 * sunrpc/rpc/rpc.h: Likewise.
10455 * sunrpc/rpc/rpc_des.h: Likewise.
10456 * sunrpc/rpc/rpc_msg.h: Likewise.
10457 * sunrpc/rpc/svc.h: Likewise.
10458 * sunrpc/rpc/svc_auth.h: Likewise.
10459 * sunrpc/rpc/types.h: Likewise.
10460 * sunrpc/rpc/xdr.h: Likewise.
10461 * sunrpc/rpc_clntout.c: Likewise.
10462 * sunrpc/rpc_cmsg.c: Likewise.
10463 * sunrpc/rpc_common.c: Likewise.
10464 * sunrpc/rpc_cout.c: Likewise.
10465 * sunrpc/rpc_dtable.c: Likewise.
10466 * sunrpc/rpc_hout.c: Likewise.
10467 * sunrpc/rpc_main.c: Likewise.
10468 * sunrpc/rpc_parse.c: Likewise.
10469 * sunrpc/rpc_parse.h: Likewise.
10470 * sunrpc/rpc_prot.c: Likewise.
10471 * sunrpc/rpc_sample.c: Likewise.
10472 * sunrpc/rpc_scan.c: Likewise.
10473 * sunrpc/rpc_scan.h: Likewise.
10474 * sunrpc/rpc_svcout.c: Likewise.
10475 * sunrpc/rpc_tblout.c: Likewise.
10476 * sunrpc/rpc_util.c: Likewise.
10477 * sunrpc/rpc_util.h: Likewise.
10478 * sunrpc/rpcinfo.c: Likewise.
10479 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10480 * sunrpc/rpcsvc/key_prot.x: Likewise.
10481 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10482 * sunrpc/rpcsvc/mount.x: Likewise.
10483 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10484 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10485 * sunrpc/rpcsvc/rex.x: Likewise.
10486 * sunrpc/rpcsvc/rstat.x: Likewise.
10487 * sunrpc/rpcsvc/rusers.x: Likewise.
10488 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10489 * sunrpc/rpcsvc/spray.x: Likewise.
10490 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10491 * sunrpc/rtime.c: Likewise.
10492 * sunrpc/svc.c: Likewise.
10493 * sunrpc/svc_auth.c: Likewise.
10494 * sunrpc/svc_authux.c: Likewise.
10495 * sunrpc/svc_raw.c: Likewise.
10496 * sunrpc/svc_run.c: Likewise.
10497 * sunrpc/svc_simple.c: Likewise.
10498 * sunrpc/svc_tcp.c: Likewise.
10499 * sunrpc/svc_udp.c: Likewise.
10500 * sunrpc/svc_unix.c: Likewise.
10501 * sunrpc/svcauth_des.c: Likewise.
10502 * sunrpc/xcrypt.c: Likewise.
10503 * sunrpc/xdr.c: Likewise.
10504 * sunrpc/xdr_array.c: Likewise.
10505 * sunrpc/xdr_float.c: Likewise.
10506 * sunrpc/xdr_mem.c: Likewise.
10507 * sunrpc/xdr_rec.c: Likewise.
10508 * sunrpc/xdr_ref.c: Likewise.
10509 * sunrpc/xdr_sizeof.c: Likewise.
10510 * sunrpc/xdr_stdio.c: Likewise.
10511
9da4bb31
UD
10512 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10513 handling.
10514
bdaa77bc
AS
105152010-08-19 Andreas Schwab <schwab@redhat.com>
10516
10517 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10518
fe2f79db
LM
105192010-08-19 Luis Machado <luisgpm@br.ibm.com>
10520
10521 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10522 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10523 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10524 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10525 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10526 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10527 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10528 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10529 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10530 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10531 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10532 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10533 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10534 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10535
b9b42ee0
AB
105362010-07-26 Anton Blanchard <anton@samba.org>
10537
10538 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10539 * malloc/arena.c (heap_trim): Likewise.
10540
1c06ba31
UD
105412010-08-16 Ulrich Drepper <drepper@redhat.com>
10542
10543 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10544 here. Not...
10545 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10546 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10547
f8392f40
L
105482010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10549
10550 * sysdeps/i386/elf/Makefile: New file.
10551
3162f12e
AS
105522010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10553
10554 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10555 from fanotify_init.
10556 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10557 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10558
28c90b2c
UD
105592010-08-15 Ulrich Drepper <drepper@redhat.com>
10560
10561 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10562 of strncasecmp_l.
1feccb6c 10563 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 10564
ca6bb004
UD
105652010-08-14 Ulrich Drepper <drepper@redhat.com>
10566
e9f82e0d
UD
10567 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10568 strncase_l-nonascii.
10569 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10570 Add strncase_l-ssse3.
10571 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10572 * sysdeps/x86_64/strcmp.S: Likewise.
10573 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10574 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10575 * sysdeps/x86_64/strncase.S: New file.
10576 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10577 * sysdeps/x86_64/strncase_l.S: New file.
10578 * string/Makefile (strop-tests): Add strncasecmp.
10579 * string/test-strncasecmp.c: New file.
10580
10581 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10582 warning.
10583
ca6bb004
UD
10584 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10585 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10586
052fa7b3
AS
105872010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10588
10589 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10590
962dba78
UD
105912010-08-12 Ulrich Drepper <drepper@redhat.com>
10592
10593 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10594 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10595 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10596
bebff237
AM
105972010-05-01 Alan Modra <amodra@gmail.com>
10598
10599 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10600 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10601 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10602 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10603 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10604 tidying. Don't tail-call __sigjmp_save for static lib.
10605 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10606 save location.
10607 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10608 (CALL_MCOUNT): Add eh info, and nop after bl.
10609 (TAIL_CALL_SYSCALL_ERROR): New macro.
10610 (PSEUDO_RET): Use it.
10611 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10612 Correct save location of integer regs and cr.
10613 (_dl_profile_resolve): Correct cr save location. Delete nops
10614 after bl when SHARED. Reduce cfi size a little by better
10615 placement of cfi directives.
10616 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10617 make a stack frame. Instead use parm save area as a temp.
10618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10619 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10621 Don't make a stack frame for parent, use parm save area.
10622 Increase child stack frame to 112 bytes. Don't save unused reg,
10623 and adjust reg usage. Set up cfi on error recovery and
10624 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10626 (__makecontext): Add dummy nop after jump to exit.
10627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10628 Use correct parm save area and cr save, reduce stack frame.
10629 Correct cfi for possible PSEUDO_RET frame setup.
10630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10631 Branch to local label emitted by PSEUDO_RET rather than
10632 __syscall_error.
10633
02637374
AS
106342010-08-12 Andreas Schwab <schwab@redhat.com>
10635
10636 [BZ #11904]
10637 * locale/programs/locale.c (print_assignment): New function.
10638 (show_locale_vars): Use it.
10639
c3e2f19b
UD
106402010-08-11 Ulrich Drepper <drepper@redhat.com>
10641
3cdaa6ad
UD
10642 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10643 field.
10644 (struct statfs64): Likewise.
10645 (_STATFS_F_FLAGS): Define.
10646 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10647 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10648 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10649 (ST_VALID): Define locally.
10650 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10651 __statvfs_getflags, use the provided value.
10652 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10653 __ASSUME_STATFS_F_FLAGS.
10654
754f7da3
UD
10655 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10656
10b3bedc
UD
10657 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10658 Add sys/fanotify.h.
10659 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10660 fanotify_mask for GLIBC_2.13.
10661 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10662 fanotify_init and fanotify_mark.
10663 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10664 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10665
c08fb0d7
UD
10666 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10667 Add prlimit.
10668 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10669 prlimit64 for GLIBC_2.13.
10670 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10671 prlimit64.
10672 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10673 syscall.
10674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10675 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10676 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10677 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10678 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10679 add prlimit alias.
10680 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10681
15bac72b
UD
10682 [BZ #11903]
10683 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10684 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10685
c3e2f19b
UD
10686 * nss/Makefile: Add rules to build and run tst-nss-test1.
10687 * shlib-versions: Add entry for libnss_test1.
10688 * nss/nss_test1.c: New file.
10689 * nss/tst-nss-test1.c: New file.
10690
10691 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10692 (__nss_configure_lookup): Set appropriate entry in
10693 __nss_configure_lookup to true.
10694 * nss/nsswitch.h: Define enum with indeces of databases in
10695 databases and __nss_database_custom arrays. Declare
10696 __nss_database_custom.
10697 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10698 to avoid using nscd when custom rules are installed.
10699 * nss/getXXbyYY_r.c: Likewise.
10700 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10701
10702 * nss/nss_files/files-parse.c: Whitespace fixes.
10703
f15ce4d8
UD
107042010-08-09 Ulrich Drepper <drepper@redhat.com>
10705
10706 [BZ #11883]
10707 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10708 * posix/fnmatch_loop.c: Likewise.
10709
d22e4cc9
AK
107102010-07-17 Andi Kleen <ak@linux.intel.com>
10711
10712 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10713 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10714 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10715 * Versions.def [GLIBC_2.13]: Add.
10716
805bc17d
UD
107172010-08-06 Ulrich Drepper <drepper@redhat.com>
10718
10719 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10720 Also fail if tpwd after pwuid call is NULL.
10721
5a42321d
ST
107222010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10723
10724 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10725 when converting to ms.
10726
fd3ebeda
ST
107272010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10728
10729 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10730 EOPNOTSUPP errors with ENOTTY.
10731 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10732 EOPNOTSUPP errors with ENOTTY.
10733
73507d3a
UD
107342010-07-31 Ulrich Drepper <drepper@redhat.com>
10735
10736 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10737 Add strcasecmp_l-ssse3.
10738 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10739 strcasecmp.
10740 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10741 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10742 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10743
fe36dd02
UD
107442010-07-30 Ulrich Drepper <drepper@redhat.com>
10745
66f6765a
UD
10746 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10747
42e08a54
UD
10748 * string/Makefile (strop-tests): Add strcasecmp.
10749 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10750 strcasecmp_l-nonascii.
10751 (gen-as-const-headers): Add locale-defines.sym.
10752 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10753 * sysdeps/x86_64/strcasecmp.S: New file.
10754 * sysdeps/x86_64/strcasecmp_l.S: New file.
10755 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10756 * sysdeps/x86_64/locale-defines.sym: New file.
10757 * string/test-strcasecmp.c: New file.
10758
fe36dd02
UD
10759 * string/test-strcasestr.c: Test both ends of the range of characters.
10760 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10761
48cbc0d6
RM
107622010-07-29 Roland McGrath <roland@redhat.com>
10763
76e6d6bc 10764 [BZ #11856]
48cbc0d6
RM
10765 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10766
880113d9
UD
107672010-07-27 Ulrich Drepper <drepper@redhat.com>
10768
10769 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10770 for ld.so.
10771
deb9cabb
AS
107722010-07-27 Andreas Schwab <schwab@redhat.com>
10773
10774 * manual/memory.texi (Malloc Tunable Parameters): Document
10775 M_PERTURB.
10776
1c7570ff
RM
107772010-07-26 Roland McGrath <roland@redhat.com>
10778
10779 [BZ #11840]
10780 * configure.in (-fgnu89-inline check): Set and substitute
10781 gnu89_inline, not libc_cv_gnu89_inline.
10782 * configure: Regenerated.
10783 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10784
24fb0f88
UD
107852010-07-26 Ulrich Drepper <drepper@redhat.com>
10786
10787 * string/test-strnlen.c: New file.
10788 * string/Makefile (strop-tests): Add strnlen.
10789 * string/tester.c (test_strnlen): Add a few more test cases.
10790 * string/tst-strlen.c: Better error reporting.
10791
10792 * sysdeps/x86_64/strnlen.S: New file.
10793
8e96b93a
UD
107942010-07-24 Ulrich Drepper <drepper@redhat.com>
10795
10796 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10797 lower-latency instructions.
10798
dbc676d4
UD
107992010-07-23 Ulrich Drepper <drepper@redhat.com>
10800
10801 * string/test-strcasestr.c: New file.
10802 * string/test-strstr.c: New file.
10803 * string/Makefile (strop-tests): Add strstr and strcasestr.
10804 * string/str-two-way.h: Don't undefine MAX.
10805 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10806
f6a31e0e
AS
108072010-07-21 Andreas Schwab <schwab@redhat.com>
10808
10809 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10810 strcasestr-nonascii.
10811 (CFLAGS-strcasestr-nonascii.c): Define.
10812 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10813 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10814 Remove unused attribute.
10815
5dbc3b6c
RM
108162010-07-20 Roland McGrath <roland@redhat.com>
10817
10818 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10819 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10820 ld.so.cache was broken. With it, there is no way to disable dsocaps
10821 like LD_HWCAP_MASK can disable hwcaps.
10822
23d101d8
EPM
108232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10824
10825 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10826
cc9f2e47
UD
108272010-07-16 Ulrich Drepper <drepper@redhat.com>
10828
10829 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10830 call in strcasestr.
10831 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10832 __strcasestr_sse42_nonascii.
10833 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10834 strcasestr-nonascii.c.
10835 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10836
77c1b069
LM
108372010-06-15 Luis Machado <luisgpm@br.ibm.com>
10838
10839 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10840 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10841 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10842 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10843
440566c3
UD
108442010-07-09 Ulrich Drepper <drepper@redhat.com>
10845
10846 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10847 fcntl.
10848
5be9d05d
AS
108492010-07-06 Andreas Schwab <schwab@redhat.com>
10850
c30b7ee2 10851 [BZ #11577]
5be9d05d
AS
10852 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10853 dl_signal_cerror.
10854
8a492a67
UD
108552010-07-06 Ulrich Drepper <drepper@redhat.com>
10856
10857 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10858 _PC_PIPE_BUF using F_GETPIPE_SZ.
10859
713df3d5
RM
108602010-07-05 Roland McGrath <roland@redhat.com>
10861
10862 * manual/arith.texi (Rounding Functions): Fix rint description
10863 implicit in round description.
10864
702e8f14
UD
108652010-07-02 Ulrich Drepper <drepper@redhat.com>
10866
10867 * elf/Makefile: Fix linking for a few tests to make recent linker
10868 happy.
10869
52ed8be9
AS
108702010-06-30 Andreas Schwab <schwab@redhat.com>
10871
10872 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10873 $(common-objpfx)libc_nonshared.a.
10874
f47c9a11
LM
108752010-06-21 Luis Machado <luisgpm@br.ibm.com>
10876
10877 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10878 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10879 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10880 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10881 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10882 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10883 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10884 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10899 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10900 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10901 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10902 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10903 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10904 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10905 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10906 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10907 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10908 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10909 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10910 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10925
6fb8cbcb
L
109262010-06-25 H.J. Lu <hongjiu.lu@intel.com>
10927
10928 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10929 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
10930 * string/memmove.c (memmove): Renamed to ...
10931 (MEMMOVE): ...this. Default to memmove.
10932 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10933 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10934 (END_CHK): Define.
10935 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10936 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10937 mempcpy-ssse3-back memmove-ssse3-back.
10938 * sysdeps/x86_64/multiarch/bcopy.S: New file .
10939 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10940 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10941 * sysdeps/x86_64/multiarch/memcpy.S: New file.
10942 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10943 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10944 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10945 * sysdeps/x86_64/multiarch/memmove.c: New file.
10946 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10947 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10948 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10949 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10950 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10951 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10952 Define.
10953 (index_Fast_Copy_Backward): Define.
10954 (HAS_ARCH_FEATURE): Define.
10955 (HAS_FAST_REP_STRING): Define.
10956 (HAS_FAST_COPY_BACKWARD): Define.
10957
4e733bac 109582010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
10959
10960 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10961 Restore proper fallback handling.
10962
63c4ed22
UD
109632010-06-19 Ulrich Drepper <drepper@redhat.com>
10964
ac2b484c
UD
10965 [BZ #11701]
10966 * posix/group_member.c (__group_member): Correct checking loop.
10967
63c4ed22
UD
10968 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
10969 OOM in getpwuid_r correctly. Return error number when the caller
10970 should return, otherwise -1.
10971 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
10972 call returning > 0 value.
10973 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
10974
765ade4b
AS
109752010-06-07 Andreas Schwab <schwab@redhat.com>
10976
10977 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
10978 libc_nonshared.a from targets in modules-names.
10979
80da2e09
KS
109802010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
10981
10982 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
10983 requires it.
10984
158db122
LM
109852010-06-10 Luis Machado <luisgpm@br.ibm.com>
10986
10987 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
10988 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
10989 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
10990 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
10991
caa78cf8
AS
109922010-06-02 Andreas Schwab <schwab@redhat.com>
10993
10994 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
10995
b2ef2c01
UD
109962010-06-14 Ulrich Drepper <drepper@redhat.com>
10997
10998 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
10999 and F_GETPIPE_SZ.
11000 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11001 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11002 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11003 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11004 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11005 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11006
fbd643b6
RM
110072010-06-14 Roland McGrath <roland@redhat.com>
11008
11009 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11010
f32f2869
JJ
110112010-06-07 Jakub Jelinek <jakub@redhat.com>
11012
11013 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11014 __REDIRECT followed by __THROW.
11015 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11016 * posix/getopt.h (getopt): Likewise.
11017
2a50c078
EPM
110182010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11019
11020 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11021 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11022 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11023 in AT_FLAGS.
11024 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11025 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11026
eb5ad2eb
LM
110272010-05-28 Luis Machado <luisgpm@br.ibm.com>
11028
11029 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11030
3c88fe1e
L
110312010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11032
11033 [BZ #11640]
11034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11035 Properly check family and model.
11036
d2f73151
TY
110372010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11038
11039 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11040
ebd2e13d
LM
110412010-05-24 Luis Machado <luisgpm@br.ibm.com>
11042
11043 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11044
b32b8b45
UD
110452010-05-21 Ulrich Drepper <drepper@redhat.com>
11046
11047 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11048 symbol reference.
11049
9acbe24d
AS
110502010-05-19 Andreas Schwab <schwab@redhat.com>
11051
11052 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11053 symbol reference.
11054
f0ccf6ea
AS
110552010-05-21 Andreas Schwab <schwab@redhat.com>
11056
3d04ff3a
AS
11057 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11058 and internal_recvmmsg.
11059 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11060 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11061 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11062 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11063
f0ccf6ea
AS
11064 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11065 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11066 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11067
5b08ac57
AS
110682010-05-20 Andreas Schwab <schwab@redhat.com>
11069
11070 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11071
4828935d
LM
110722010-05-17 Luis Machado <luisgpm@br.ibm.com>
11073
11074 POWER7 optimizations.
11075 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11076 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11077
373d545e
UD
110782010-05-19 Ulrich Drepper <drepper@redhat.com>
11079
11080 * version.h: Update for 2.13 development version.
11081
21a2b1ae
AS
110822010-05-12 Andrew Stubbs <ams@codesourcery.com>
11083
11084 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11085 exceptions. Return 0.
11086
3f7dcb2b
RM
110872010-05-07 Roland McGrath <roland@redhat.com>
11088
11089 * elf/ldconfig.c (main): Add a const.
11090
5f24d53a 110912010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11092
a160f8d8
UD
11093 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11094 (args_options): Add no-idn option.
11095 (ahosts_keys_int): Add idn_flags to ai_flags.
11096 (parse_option): Handle 'i' option to clear idn_flags.
11097
5f24d53a
UD
11098 * malloc/malloc.c (_int_free): Possible race in the most recently
11099 added check. Only act on the data if no current modification
11100 happened.
265bb1ce
UD
11101
11102See ChangeLog.17 for earlier changes.
This page took 1.426342 seconds and 5 git commands to generate.