]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use generic memset/memcpy in rtld on sparcv9/sparc64.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
18c9d62b
DM
12012-03-28 David S. Miller <davem@davemloft.net>
2
88570753
DM
3 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
4 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
10 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11
249d7567
DM
12 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13 loop to 256 bytes instead of 64 bytes and fix test signedness.
14
18c9d62b
DM
15 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16 * sysdeps/sparc/sparc32/Makefile: rather than here...
17 * sysdeps/sparc/sparc64/Makefile: and here.
18
05f3d1f6
UD
192012-03-28 Ulrich Drepper <drepper@gmail.com>
20
21 * malloc/mallocbug.c: Avoid warnings about unused variables.
22
86ae07a8
JL
232012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24
25 [BZ #13760]
26 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27 in the right place. Discard and retry query if response is
28 larger than input buffer size.
29
41bf21a1
JM
302012-03-28 Joseph Myers <joseph@codesourcery.com>
31
d6270972
JM
32 [BZ #369]
33 [BZ #2678]
34 [BZ #3866]
35 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36 x for large integer exponent.
37 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
39 sign of result as needed afterwards.
40 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42 result for underflowing pow the same as for overflow.
43 (__kernel_standard_l): Handle powl overflow and underflow here
44 rather than calling __kernel_standard.
45 * math/libm-test.inc (pow_test): Add more tests.
46
414fca03 47 [BZ #3868]
41bf21a1
JM
48 [BZ #13879]
49 [BZ #13910]
50 [BZ #13911]
51 [BZ #13912]
52 [BZ #13913]
53 [BZ #13915]
54 [BZ #13916]
55 [BZ #13917]
56 [BZ #13918]
57 [BZ #13919]
58 [BZ #13920]
59 [BZ #13921]
60 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
61 * sysdeps/ieee754/k_standard.c: Include <float.h>.
62 (__kernel_standard_l): New function.
63 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
64 __kernel_standard.
65 * math/w_acosl.c (__acosl): Likewise.
66 * math/w_asinl.c (__asinl): Likewise.
67 * math/w_atan2l.c (__atan2l): Likewise.
68 * math/w_atanhl.c (__atanhl): Likewise.
69 * math/w_coshl.c (__coshl): Likewise.
70 * math/w_exp10l.c (__exp10l): Likewise.
71 * math/w_exp2l.c (__exp2l): Likewise.
72 * math/w_fmodl.c (__fmodl): Likewise.
73 * math/w_hypotl.c (__hypotl): Likewise.
74 * math/w_j0l.c (__j0l, __y0l): Likewise.
75 * math/w_j1l.c (__j1l, __y1l): Likewise.
76 * math/w_jnl.c (__jnl, __ynl): Likewise.
77 * math/w_lgammal.c (__lgammal): Likewise.
78 * math/w_log10l.c (__log10l): Likewise.
79 * math/w_log2l.c (__log2l): Likewise.
80 * math/w_logl.c (__logl): Likewise.
81 * math/w_powl.c (__powl): Likewise.
82 * math/w_remainderl.c (__remainderl): Likewise.
83 * math/w_scalbl.c (sysv_scalbl): Likewise.
84 * math/w_sinhl.c (__sinhl): Likewise.
85 * math/w_sqrtl.c (__sqrtl): Likewise.
86 * math/w_tgammal.c (__tgammal): Likewise.
87 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
88 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
89 * math/libm-test.inc (acos_test): Add more tests.
90 (acosh_test): Likewise.
91 (asin_test): Likewise.
92 (atanh_test): Likewise.
93 (exp_test): Likewise.
94 (exp10_test): Likewise.
95 (exp2_test): Likewise.
96 (expm1_test): Likewise.
97 (lgamma_test): Likewise.
98 (log_test): Likewise.
99 (log10_test): Likewise.
100 (log1p_test): Likewise.
101 (log2_test): Likewise.
102 (pow_test): Do not allow some spurious overflow exceptions.
103 (sqrt_test): Add more tests.
104 (tgamma_test): Likewise.
105 (y0_test): Likewise.
106 (y1_test): Likewise.
107 (yn_test): Likewise.
108
dd62fda6
AB
1092012-03-27 Anton Blanchard <anton@samba.org>
110
111 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
112 MAP_HUGETLB.
113 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
114 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
115 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
116
1e3cdfda
AJ
1172012-03-27 David S. Miller <davem@davemloft.net>
118
b855ab85
DM
119 * conform/Makefile: Run run-conformtest.sh using $(BASH).
120
1e3cdfda
AJ
121 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
122 have-as-vis3 check.
123
1242012-03-27 Andreas Jaeger <aj@suse.de>
125
126 * sysdeps/x86_64/elf/configure.in: Moved to ...
127 * sysdeps/x86_64/configure.in: ... here.
128 * sysdeps/x86_64/elf/start.S: Moved to ...
129 * sysdeps/x86_64/start.S: ... here.
130 * sysdeps/x86_64/elf/configure: Delete.
131
132 * sysdeps/x86_64/configure.in: Merge contents from
133 sysdeps/i386/configure.in (without i686 check).
134
135 * sysdeps/i386/elf/Versions: Merge into ...
136 * sysdeps/i386/Versions: ... this.
137 * sysdeps/i386/elf/Versions: Delete file.
138 * sysdeps/i386/elf/start.S: Moved to ...
139 * sysdeps/i386/start.S: ...here.
140 * sysdeps/i386/elf/configure.in: Merge into...
141 * sysdeps/i386/configure.in: ...here.
142 * sysdeps/i386/elf/configure.in: Delete file.
143 * sysdeps/i386/elf/configure: Delete file.
144
145 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
146 * debug/backtracesyms.c: ... here.
147 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
148 * debug/backtracesymsfd.c: ... here.
149 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
150 * sysdeps/generic/ifunc-sel.h: ... here.
151
152 * sysdeps/unix/i386/start.c: Delete file.
153 * sysdeps/unix/sparc/start.c: Delete file.
154 * sysdeps/unix/start.c: Delete file.
155
156 * sysdeps/sh/elf/configure.in: Moved to ...
157 * sysdeps/sh/configure.in: ... here.
158 * sysdeps/sh/elf/start.S: Moved to ...
159 * sysdeps/sh/start.S: ... here.
160 * sysdeps/sh/elf/configure: Delete file.
161
162 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
163 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
164 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
165 * sysdeps/powerpc/powerpc64/entry.h: ... here.
166 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
167 * sysdeps/powerpc/powerpc64/start.S: here.
168 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
169 * sysdeps/powerpc/powerpc64/Makefile: ... this.
170 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
171 * sysdeps/powerpc/powerpc64/configure.in: ... this.
172 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
173
174 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
175 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
176 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
177 * sysdeps/powerpc/powerpc32/start.S: ... here.
178 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
179 * sysdeps/powerpc/powerpc32/configure.in: ... this.
180 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
181
182 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
183 * sysdeps/powerpc/ifunc-sel.h: ... here.
184 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
185 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
186
187 * sysdeps/sparc/elf/configure.in: Moved to ...
188 * sysdeps/sparc/configure.in: ... here.
189 * sysdeps/sparc/elf/configure: Delete file.
190 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
191 * sysdeps/sparc/sparc32/start.S: ... here.
192 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
193 * sysdeps/sparc/sparc64/start.S: ... here.
194 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
195 * sysdeps/sparc/sparc32/Makefile: ... this.
196 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
197 * sysdeps/sparc/sparc64/Makefile: ... this.
198
199 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
200 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
201 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
202 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
203 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
204 * sysdeps/s390/s390-32/setjmp.S: ... here.
205 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
206 * sysdeps/s390/s390-32/configure.in: ... here.
207 * sysdeps/s390/s390-32/elf/configure: Delete file.
208 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
209 * sysdeps/s390/s390-32/start.S: ... here.
210
211 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
212 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
213 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
214 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
215 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
216 * sysdeps/s390/s390-64/setjmp.S: ... here.
217 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
218 * sysdeps/s390/s390-64/configure.in: ... here
219 * sysdeps/s390/s390-64/elf/configure: Delete file.
220 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
221 * sysdeps/s390/s390-64/start.S: ... here.
222 * sysdeps/s390/s390-64/elf/configure: Delete.
223
224 * configure.in: Remove support for elf directories in sysdeps.
225
226 * configure: Regenerated.
227 * sysdeps/i386/configure: Regenerated.
228 * sysdeps/powerpc/powerpc32/configure: Regenerated.
229 * sysdeps/powerpc/powerpc64/configure: Regenerated.
230 * sysdeps/s390/s390-32/configure: Regenerated.
231 * sysdeps/s390/s390-64/configure: Regenerated.
232 * sysdeps/sh/configure: Regenerated.
233 * sysdeps/sparc/configure: Regenerated.
234 * sysdeps/x86_64/configure: Regenerated.
235
a3f61311
AS
2362012-03-26 Andreas Schwab <schwab@linux-m68k.org>
237
c876e002
AS
238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
239
a3f61311
AS
240 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
241 denormal result into account.
242
ac4c54f0
RM
2432012-03-25 Roland McGrath <roland@hack.frob.com>
244
245 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
246 Reported by Allan McRae <allan@archlinux.org>.
247
6a9b9c02
JL
2482012-03-23 Jeff Law <law@redhat.com>
249
250 * nss/getnssent.c (__nss_getent): Fix typo.
251
4c42a0c1
DM
2522012-03-23 David S. Miller <davem@davemloft.net>
253
254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
255
1532c7ac
L
2562012-03-23 H.J. Lu <hongjiu.lu@intel.com>
257
258 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
259 to pad to uint64_t for each field.
260 (dl_tls_index): Replace unsigned long with uint64_t.
261
3ff42526
PP
2622012-03-23 Daniel Jacobowitz <dmj@google.com>
263 Paul Pluzhnikov <ppluzhnikov@google.com>
264
265 [BZ #6528]
266 * grp/Makefile (otherlibs): Don't set it.
267 * inet/Makefile (otherlibs): Likewise.
268 * login/Makefile (otherlibs): Likewise.
269 * nscd/Makefile (otherlibs): Likewise.
270 * posix/Makefile (otherlibs): Likewise.
271 * pwd/Makefile (otherlibs): Likewise.
272 * rt/Makefile (otherlibs): Likewise.
273 * sunrpc/Makefile (otherlibs): Likewise.
274 * nss/Makefile (otherlibs): Likewise.
275 Add libnss_files to routines and static-only-routines.
276 ($(objpfx)getent): Remove rule.
277 * resolv/Makefile: Add libnss_dns and libresolv to routines and
278 static-only-routines.
279
7c69cd14
JM
2802012-03-22 Joseph Myers <joseph@codesourcery.com>
281
282 [BZ #13892]
283 * math/s_cexp.c: Include <float.h>.
284 (__cexp): Handle exp result overflowing not necessarily
285 overflowing both real and imaginary parts of result.
286 * math/s_cexpf.c: Likewise.
287 * math/s_cexpl.c: Likewise.
288 * math/libm-test.inc (cexp_test): Add more tests.
289 * sysdeps/i386/fpu/libm-test-ulps: Update.
290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
291
81b035fe
L
2922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
293
294 * include/link.h (ELFW): New macro.
295 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
296 Replace ELF64_R_TYPE with ELFW(R_TYPE).
297
1da7940c
L
2982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
299
300 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
301 with uint64_t.
302
b749dbb9
L
3032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
304
305 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
306 declaration.
307 (struct La_x32_retval): Likewise.
308
2ff87f3f
L
3092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
310
311 * sysdeps/x86_64/preconfigure.in: New file.
312 * sysdeps/x86_64/preconfigure: New generated file.
313
c0df8e69
JM
3142012-03-22 Joseph Myers <joseph@codesourcery.com>
315
48e44791
JM
316 [BZ #13824]
317 * math/e_exp2l.c: Include <float.h>.
318 (__ieee754_exp2l): Handle overflow and underflow cases
319 separately. Only pass fractional part of argument to
320 __ieee754_expl.
321 * math/libm-test.inc (exp2_test): Add more tests.
322
c0df8e69
JM
323 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
324 negating x to take absolute value.
325 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
326 Likewise.
327 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
328 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
329 Likewise.
330 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
331 computing low part if x was negated.
332 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
333
c8e43ba7
L
3342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
335
336 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
337 la_x32_gnu_pltexit.
338 (pltexit): Cast int_retval to ptrdiff_t.
339 * elf/tst-auditmod3b.c: Likewise.
340 * elf/tst-auditmod4b.c: Likewise.
341 * elf/tst-auditmod5b.c: Likewise.
342 * elf/tst-auditmod6b.c: Likewise.
343 * elf/tst-auditmod6c.c: Likewise.
344 * elf/tst-auditmod7b.c: Likewise.
345
346 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
347 and x32_gnu_pltexit.
348
349 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
350 __ELF_NATIVE_CLASS.
351 (La_x32_regs): New macro.
352 (La_x32_retval): Likewise.
353 (la_x32_gnu_pltenter): New function prototype.
354 (la_x32_gnu_pltexit): Likewise.
355
7998fa78
AS
3562012-03-21 Andreas Schwab <schwab@linux-m68k.org>
357
dcb33988
AS
358 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
359 exponent.
360
233fc563
AS
361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
362
7998fa78
AS
363 * configure.in (libc_cv_cc_nofma): Check for option to disable
364 generation of FMA instructions.
365 * configure: Regenerate.
366 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
367 * sysdeps/ieee754/dbl-64/Makefile: New file.
368 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
369 Remove brandred-fma4.
370 (CFLAGS-brandred-fma4.c): Remove.
371 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
372 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
373 define.
374 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
375 define.
376
8e95c99a
L
3772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
378
379 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
380 LLONG_MAX != LONG_MAX.
381 (_itoa_word): Use _ITOA_WORD_TYPE on value.
382 (_fitoa_word): Likewise.
383 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
384 LLONG_MAX != LONG_MAX.
385 * stdio-common/_itowa.h: Include <_itoa.h>.
386 (_itowa_word): Use _ITOA_WORD_TYPE on value.
387 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
388 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
389 only if not defined.
390 (_ITOA_WORD_TYPE): Likewise.
391 (_itoa_word): Use _ITOA_WORD_TYPE on value.
392 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
393
6f4db457
DM
3942012-03-21 David S. Miller <davem@davemloft.net>
395
396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
397
7785fe5a
L
3982012-03-21 H.J. Lu <hongjiu.lu@intel.com>
399
400 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
401 of x86_64 when setting libc_cv_slibdir, libdir and
402 libc_cv_localedir.
403 * sysdeps/unix/sysv/linux/configure: Regenerated.
404
4535cd55
JM
4052012-03-21 Joseph Myers <joseph@codesourcery.com>
406
407 * manual/lang.texi (Old Varargs): Remove section.
408 (How Variadic): Update menu.
409 (va_start): Do not mention varargs.h.
410
17228132
TS
4112012-03-21 Thomas Schwinge <thomas@codesourcery.com>
412 Joseph Myers <joseph@codesourcery.com>
413
414 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
415 link test.
416 * configure: Regenerated.
417
8149f976
TS
4182012-03-21 Thomas Schwinge <thomas@codesourcery.com>
419
05f3d1f6
UD
420 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
421 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
422 conformtest.pl
8149f976 423
1a4ac776
JM
4242012-03-21 Joseph Myers <joseph@codesourcery.com>
425
be22ce65
JM
426 * NOTES: Remove.
427 * Makefile (files-for-dist): Remove NOTES.
428 (NOTES): Remove rule.
429 * README: Don't refer to NOTES.
430 * manual/creature.texi: Don't include macros.texi.
431 * manual/intro.texi (creature.texi): Remove comment referring to
432 NOTES.
433
40b601fb
JM
434 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
435 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
436 * configure: Regenerated.
437 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
438 LIBC_TRY_CC_OPTION.
439 (libc_cv_as_i686): Likewise.
440 (libc_cv_cc_avx): Likewise.
441 (libc_cv_cc_sse2avx): Likewise.
442 (libc_cv_cc_fma4): Likewise.
443 (libc_cv_cc_novzeroupper): Likewise.
444 * sysdeps/i386/configure: Regenerated.
445
1a4ac776
JM
446 [BZ #13883]
447 * sysdeps/i386/fpu/s_cexp.S: Remove.
448 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
449 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
450 * math/libm-test.inc (cexp_test): Add more tests.
451 * sysdeps/i386/fpu/libm-test-ulps: Update.
452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
453
a458e7fe
AM
4542012-03-21 Allan McRae <allan@archlinux.org>
455
456 * timezone/Makefile: Do not install iso3166.tab and zone.tab
457
0cb7efc5
JM
4582012-03-21 Joseph Myers <joseph@codesourcery.com>
459
460 [BZ #13871]
461 * math/w_exp2.c: Do not include <float.h>.
462 (o_threshold, u_threshold): Remove.
463 (__exp2): Calculate result before checking finiteness and calling
464 __kernel_standard.
465 * math/w_exp2f.c: Likewise.
466 * math/w_exp2l.c: Likewise.
467 * math/libm-test.inc (exp2_test): Require overflow exception for
468 1e6 input.
2460d3aa
JM
469
470 [BZ #3866]
471 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
472 range of signed 64-bit integers before using fistpll. Remove
473 checks for whether integers fit in mantissa bits.
474 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
475 the range of signed 32-bit integers before using fistpl. Remove
476 checks for whether integers fit in mantissa bits.
477 * sysdeps/i386/fpu/e_powl.S (p64): New object.
478 (__ieee754_powl): Test for y outside the range of signed 64-bit
479 integers before using fistpll. Reduce 64-bit values to 63-bit
480 ones as needed.
481 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
482 divide-by-zero is raised for zero to large negative powers.
483 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
484 (__ieee754_powl): Test for y outside the range of signed 64-bit
485 integers before using fistpll. Reduce 64-bit values to 63-bit
486 ones as needed.
487 * math/libm-test.inc (pow_test): Add more tests.
488
eb96ffb0
L
4892012-03-20 H.J. Lu <hongjiu.lu@intel.com>
490
491 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
492 <stdio-common/_itoa.h>.
493 * debug/segfault.c: Likewise.
494 * elf/dl-cache.c: Likewise.
495 * elf/dl-minimal.c: Likewise.
496 * elf/dl-misc.c: Likewise.
497 * elf/dl-sysdep.c: Likewise.
498 * elf/dl-version.c: Likewise.
499 * elf/rtld.c: Likewise.
500 * hurd/hurdsock.c: Likewise.
501 * hurd/lookup-retry.c: Likewise.
502 * malloc/malloc.c: Likewise.
503 * malloc/mtrace.c: Likewise.
504 * nscd/nscd_getgr_r.c: Likewise.
505 * nscd/nscd_getpw_r.c: Likewise.
506 * nscd/nscd_getserv_r.c: Likewise.
507 * posix/getopt_init.c: Likewise.
508 * posix/wordexp.c: Likewise.
509 * stdio-common/_itoa.c: Likewise.
510 * stdio-common/printf_fphex.c: Likewise.
511 * stdio-common/vfprintf.c: Likewise.
512 * string/_strerror.c: Likewise.
513 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
514 * sysdeps/i386/i686/hp-timing.h: Likewise.
515 * sysdeps/mach/_strerror.c: Likewise.
516 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
517 * sysdeps/mach/hurd/sethostid.c: Likewise.
518 * sysdeps/mach/hurd/xmknodat.c: Likewise.
519 * sysdeps/mach/xpg-strerror.c: Likewise.
520 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
521 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
522 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
523 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
524 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
525 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
526 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
527 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
528 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
529 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
530 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
531 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
532 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
533 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
534 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
535 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
536 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
537 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
538 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
539 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
540 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
541
542 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
543
544 * stdio-common/_itoa.h: Moved to ...
545 * sysdeps/generic/_itoa.h: Here.
546
547 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
548
549 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
550 instead of "_itoa.h" and "_itowa.h".
551 * stdio-common/vfprintf.: Likewise.
552
d1af992d
L
5532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
554
555 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
556 <bits/wordsize.h>.
557 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
558 (__signbit): Likwise.
559 (llrintf): Likwise.
560 (llrint): Likwise.
561
114883e0
L
5622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
563
564 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
565 __WORDSIZE != 64.
566
c135cc1b
JM
5672012-03-20 Joseph Myers <joseph@codesourcery.com>
568
569 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
570 OVERFLOW_EXCEPTION_OK.
571 * math/libm-test.inc ("Philosophy"): Update comment about
572 exception testing.
573 (OVERFLOW_EXCEPTION): Define.
574 (OVERFLOW_EXCEPTION_OK): Likewise.
575 (INVALID_EXCEPTION_OK): Renumber.
576 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
577 (IGNORE_ZERO_INF_SIGN): Likewise.
578 (test_exceptions): Handle FE_OVERFLOW.
579 (exp10_test): Expect overflow exceptions.
580 (exp2_test): Likewise.
581 (expm1_test): Likewise.
582 (nextafter_test): Likewise.
583 (pow_test): Likewise.
584 (scalbn_test): Likewise.
585 (scalbln_test): Likewise.
586
95443d88
L
5872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
588
589 * sysdeps/x86_64/bits/atomic.h
590 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
591 64bit integer.
592 (atomic_exchange_acq): Likewise.
593 (__arch_exchange_and_add_body): Likewise.
594 (__arch_add_body): Likewise.
595 (atomic_add_negative): Likewise.
596 (atomic_add_zero): Likewise.
597
490df6c4
L
5982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
599
c2722551 600 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
601 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
602
5e52b189
L
6032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
604
605 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
606 Check __x86_64__ instead of __WORDSIZE.
607
a9879d4c
L
6082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
609
610 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
611
5df98260
DM
6122012-03-19 David S. Miller <davem@davemloft.net>
613
e1497744
DM
614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
615
5df98260
DM
616 * sysdeps/sparc/fpu/fenv_private.h: New file.
617 * sysdeps/sparc/fpu/math_private.h: Use it.
618 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
619 Remove.
620 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
621 (libc_feholdexcept_setroundl): Remove.
622 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
623 Remove.
624 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
625 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
626
b4c35121
L
6272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
628
629 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
630 int64_t instead of long int.
631 (INSERT_WORDS64): Likwise.
632
56965fd7
L
6332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
634
635 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
636 _Unwind_GetCFA return to _Unwind_Ptr first.
637
83d1aec8
JM
6382012-03-19 Joseph Myers <joseph@codesourcery.com>
639
1897ad44
JM
640 [BZ #13629]
641 * math/s_clog.c: Include <float.h>.
642 (__clog): Scale large or subnormal inputs.
643 * math/s_clogf.c: Likewise.
644 * math/s_clogl.c: Likewise.
645 * math/s_clog10.c: Include <float.h>.
646 (M_LOG10_2): Define.
647 (__clog10): Scale large or subnormal inputs.
648 * math/s_clog10f.c: Likewise.
649 * math/s_clog10l.c: Likewise.
650 * math/libm-test.inc (clog_test): Add more tests.
651 (clog10_test): Likewise.
652 * sysdeps/i386/fpu/libm-test-ulps: Update.
653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
654
7726d6a9
JM
655 [BZ #11451]
656 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
657 x and y.
658 * math/libm-test.inc (atan2_test): Add another test.
659
83d1aec8
JM
660 * Makerules (common-objdir-compile): Remove.
661 * sysdeps/unix/Makefile (config-generated): Do not add
662 $(unix-generated) to variable.
663 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
664 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
665 Remove rule.
666 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
667 Likewise.
668 [generic bits/local_lim.h] (before-compile): Do not append to
669 variable.
670 [generic bits/local_lim.h] (common-generated): Likewise.
671 [generic sys/param.h] (before-compile): Do not append to variable.
672 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
673 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
674 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
675 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
676 include.
677 [generic sys/param.h] (sys/param.h-includes): Remove variable.
678 [generic sys/param.h] (sys/param.h-includes): Remove rule.
679 [generic sys/param.h] ($(addprefix
680 $(common-objpfx),$(sys/param.h-includes))): Likewise.
681 [generic sys/param.h] (common-generated): Do not append to
682 variable.
683 [generic sys/param.h] (sysdep_headers): Likewise.
684 [generic bits/errno.h] (before-compile): Do not append to
685 variable.
686 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
687 rule.
688 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
689 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
690 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
691 [generic bits/errno.h] (common-generated): Do not append to
692 variable.
693 [generic bits/ioctls.h] (before-compile): Do not append to
694 variable.
695 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
696 rule.
697 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
698 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
699 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
700 rule.
701 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
702 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
703 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
704 [generic bits/ioctls.h] (common-generated): Do not append to
705 variable.
706 [generic sys/syscall.h] (syscall.h): Remove variable.
707 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
708 rule.
709 [generic sys/syscall.h] (before-compile): Do not append to
710 variable.
711 [generic sys/syscall.h] (common-generated): Likewise.
712 * sysdeps/unix/errnos-tmpl.c: Remove file.
713 * sysdeps/unix/errnos.awk: Likewise.
714 * sysdeps/unix/ioctls-tmpl.c: Likewise.
715 * sysdeps/unix/ioctls.awk: Likewise.
716 * sysdeps/unix/mk-local_lim.c: Likewise.
717 * sysdeps/unix/snarf-ioctls: Likewise.
718
4851a949
RH
7192012-03-19 Richard Henderson <rth@twiddle.net>
720
bd37f2ee
RH
721 * sysdeps/i386/fpu/fenv_private.h: New file.
722 * sysdeps/i386/fpu/math_private.h: Use it.
723 (math_opt_barrier, math_force_eval): Remove.
724 (libc_feholdexcept_setround_53bit): Remove.
725 (libc_feupdateenv_53bit): Remove.
726 * sysdeps/x86_64/fpu/math_private.h: Likewise.
727 (math_opt_barrier, math_force_eval): Remove.
728 (libc_feholdexcept): Remove.
729 (libc_feholdexcept_setround): Remove.
730 (libc_fetestexcept, libc_fesetenv): Remove.
731 (libc_feupdateenv_test): Remove.
732 (libc_feupdateenv, libc_feholdsetround): Remove.
733 (libc_feresetround): Remove.
734
d0adc922
RH
735 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
736 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
737
0fe0f1f8
RH
738 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
739 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
740 (libc_feupdateenv_testl): New.
741 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
742 (libc_feupdateenv_testf): New.
743 (libc_feupdateenv): Use libc_feupdateenv_test.
744 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
745 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
746
eb92c487
RH
747 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
748 (libc_feholdsetroundf, libc_feholdsetroundl): New.
749 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
750 (libc_feresetround_noex): New.
751 (libc_feresetround_noexf): New.
752 (libc_feresetround_noexl): New.
753 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
754 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
755 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
756 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
757 SET_RESTORE_ROUND.
758 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
759 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
760 (__cos): Likewise.
761 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
762 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
763 SET_RESTORE_ROUND_NOEX.
764 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
765 SET_RESTORE_ROUND_NOEXF.
766 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
767 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
768 (libc_feholdsetroundf): New.
769 (libc_feresetround, libc_feresetroundf): New.
770
7d2e8012
RH
771 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
772 (libc_feholdexcept_setround_53bit): Convert from macro to function.
773 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
774
b4dabbb4
RH
775 * sysdeps/generic/math_private.h: Include <fenv.h>.
776 (default_libc_feholdexcept): New.
777 (default_libc_feholdexcept_setround): New.
778 (default_libc_fesetenv, default_libc_feupdateenv): New.
779 (libc_feholdexcept): Only define if undefined.
780 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
781 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
782 (libc_feholdexcept_setroundl): Likewise.
783 (libc_feholdexcept_setround_53bit): Likewise.
784 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
785 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
786 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
787 (libc_feupdateenv_53bit): Likewise.
788 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
789 (libc_feholdexcept): Convert from macro to inline function.
790 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
791 (libc_fesetenv, libc_feupdateenv): Likewise.
792
4851a949
RH
793 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
794 not previously defined.
795 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
796 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
797 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
798 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
799 * sysdeps/ieee754/flt-32/math_private.h: New file.
800 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
801 math_private.h below SET_FLOAT_WORD.
802 (__isnan, __isinf_ns, __finite): Remove.
803 (__isnanf, __isinf_nsf, __finitef): Remove.
804
e79d442e
AS
8052012-03-18 Andreas Schwab <schwab@linux-m68k.org>
806
807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
808
90b80344
DM
8092012-03-17 David S. Miller <davem@davemloft.net>
810
811 [BZ #6471]
812 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
813 for 2.16.
814
edc21804
DM
8152012-03-16 David S. Miller <davem@davemloft.net>
816
77e927af
DM
817 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
818 warnings.
819
374976dd
DM
820 [BZ #6471]
821 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
822 properly.
823 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
824 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
825 sysdep_routines when subdir is sysvipc.
826 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
827 __getshmlba helper.
828
edc21804
DM
829 * sysdeps/sparc/fpu/libm-test/ulps: Update.
830
473c3ef3
L
8312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
832
833 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
834 [__LP64__].
835
eb0f39b6
L
8362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
837
838 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
839 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
840 (__lround): Renamed to ...
841 (__llround): This. Replace long int with long long int.
842 Define lround functions as aliases of llround functions.
843 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
844
6b6cd74b
L
8452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
846
847 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
848 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
849 adresses to uintptr_t. Replace "long int" and "unsigned long
850 int" with "greg_t" on va_arg.
851
f1a77b01
L
8522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
853
854 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
855 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
856
857 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
858 Move e_machine check before EI_CLASS check. Handle x32
859 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
860 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
861 SKIP_EM_IA_64 and include
862 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
863
864 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
865 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
866 (add_system_dir): New macro.
867
868 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
869 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
870
11b90b9f
JM
8712012-03-16 Joseph Myers <joseph@codesourcery.com>
872
c36e1d23
JM
873 [BZ #2551]
874 [BZ #2552]
875 [BZ #2553]
876 [BZ #2554]
877 [BZ #2562]
878 [BZ #2563]
879 [BZ #2565]
880 [BZ #2566]
881 [BZ #2576]
882 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
883 (y0): Likewise.
884 * math/w_j0f.c (j0f): Likewise.
885 (y0f): Likewise.
886 * math/w_j0l.c (__j0l): Likewise.
887 (__y0l): Likewise.
888 * math/w_j1.c (j1): Likewise.
889 (y1): Likewise.
890 * math/w_j1f.c (j1f): Likewise.
891 (y1f): Likewise.
892 * math/w_j1l.c (__j1l): Likewise.
893 (__y1l): Likewise.
894 * math/w_jn.c (jn): Likewise.
895 (yn): Likewise.
896 * math/w_jnf.c (jnf): Likewise.
897 (ynf): Likewise.
898 * math/w_jnl.c (__jnl): Likewise.
899 (__ynl): Likewise.
900 * math/libm-test.inc (j0_test): Add more tests.
901 (j1_test): Likewise.
902 (jn_test): Likewise. Add trailing semicolon to existing test.
903 (y0_test): Likewise.
904 (y1_test): Likewise.
905 * sysdeps/i386/fpu/libm-test-ulps: Update.
906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
907
11b90b9f
JM
908 [BZ #13851]
909 [BZ #13854]
910 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
911 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
912 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
913 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
914 (__tanl): Set errno for infinite argument.
915 * sysdeps/i386/fpu/mptan.c: Remove.
916 * sysdeps/i386/fpu/s_tan.S: Likewise.
917 * sysdeps/i386/fpu/s_tanl.S: Likewise.
918 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
919 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
920 * math/libm-test.inc (tan_test): Add more tests and enable more
921 tests for double and long double.
922 * sysdeps/i386/fpu/libm-test-ulps: Update.
923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
924
6a1bd2a1
JK
9252012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
926
927 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
928 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
929
10a803e0
RM
9302012-03-16 Roland McGrath <roland@hack.frob.com>
931
932 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
933 * configure.in: Use it for both main tree and add-ons.
934 * configure: Regenerated.
935
f196c7f7
L
9362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
937
938 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
939
8848d99d
JM
9402012-03-16 Joseph Myers <joseph@codesourcery.com>
941
96cbe7f4
JM
942 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
943 in comment.
944
8848d99d
JM
945 [BZ #13851]
946 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
947 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
948 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
949 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
950 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
951 infinite argument.
952 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
953 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
954 != 0 for prec == 2.
955 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
956 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
957 * sysdeps/i386/fpu/s_cosl.S: Likewise.
958 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
959 * sysdeps/i386/fpu/s_sinl.S: Likewise.
960 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
961 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
962 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
963 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
964 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
965 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
966 * math/libm-test.inc (cos_test): Add more tests and enable more
967 tests for long double.
968 (sin_test): Likewise.
969 (sincos_test): Likewise.
970 * sysdeps/i386/fpu/libm-test-ulps: Update.
971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
972
dd7f4703
DM
9732012-03-16 David S. Miller <davem@davemloft.net>
974
975 * sysdeps/sparc/fpu/math_private.h: New file.
976
006f1daa
DM
9772012-03-15 David S. Miller <davem@davemloft.net>
978
c0c83bc8
DM
979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
980 file.
e6a62e18 981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
983 file.
e6a62e18
DM
984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
985 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
986 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
987 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
988 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
989 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
990 sysdep routines.
991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
992
88cb87d9
DM
993 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
994 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
995
006f1daa 996 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
998 sparc-ifunc.h
006f1daa 999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
1000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1001 Likewise.
1002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1003 Likewise.
006f1daa
DM
1004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
1007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1008 Likewise.
006f1daa
DM
1009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
1013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1014 Likewise.
1015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1016 Likewise.
006f1daa
DM
1017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1021 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1022 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1023 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1024 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1025 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1026 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1027 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1031 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1032 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1033 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1034 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1035 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1036 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1037 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1038 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1039 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1040 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1041
11e0098e
AS
10422012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1043
1044 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1045 scaling.
1046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1047
e85b09d0
AJ
10482012-03-15 Andreas Jaeger <aj@suse.de>
1049
1050 [BZ #13852]
1051 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1052 ieee754/flt-32 implementation for sin, cos and sincos.
1053 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1054 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1055 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1056 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1057 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1058 ieee754/flt-32 implementation for tan.
1059
1060 * math/libm-test.inc (cos_test): Enable some large input tests for
1061 float as well
1062 (sin_test): Likewise.
1063 (sincos_test): Likewise.
1064 (tan_test): Add tests for large input.
1065
1066 * sysdeps/i386/fpu/libm-test-ulps: Update.
1067
81c64153
AJ
10682012-03-15 Andreas Jaeger <aj@suse.de>
1069
1070 [BZ #13658]
1071 * math/libm-test.inc (cos_test): Add more test cases.
1072 (sin_test): Likewise.
1073 (sincos_test): Likewise.
1074
7bbfa5c6
AJ
10752012-03-15 Andreas Jaeger <aj@suse.de>
1076
1077 [BZ #13837]
1078 * math/libm-test.inc (cos_test): Add a test case for large input
1079 value.
1080 (sin_test): Likewise.
1081 (sincos_test): Likewise.
1082
10832012-03-15 Andreas Jaeger <aj@suse.de>,
1084 Joseph Myers <joseph@codesourcery.com>
1085
1086 [BZ #13658]
0671f479 1087 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1088 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1089 * sysdeps/i386/fpu/branred.c: Likewise.
1090 * sysdeps/i386/fpu/dosincos.c: Likewise.
1091 * sysdeps/i386/fpu/mpa.c: Likewise.
1092 * sysdeps/i386/fpu/s_cos.S: Likewise.
1093 * sysdeps/i386/fpu/s_sin.S: Likewise.
1094 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1095 * sysdeps/i386/fpu/sincos32.c: Likewise.
1096
1097 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1098 Define.
1099 (libc_feupdateenv_53bit): Define.
1100 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1101 Define.
1102 (libc_feupdateenv_53bit): Define.
1103
1104 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1105 53 bit (without extend i386 double precision).
1106
1107 * math/libm-test.inc (sincos_test): Add tests for large input.
1108 (sin): Likewise.
1109 (cos): Likewise.
1110
1111 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1112
9cad04ea
AS
11132012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1114
1115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1116
f7062b9a
DM
11172012-03-15 David S. Miller <davem@davemloft.net>
1118
1119 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1120 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1121 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1122 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1130 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1131 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1132 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1133 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1135 file.
f7062b9a 1136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1138 file.
f7062b9a 1139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1141 file.
f7062b9a 1142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1144 file.
f7062b9a
DM
1145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1146 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1147 fmin/fmax sysdep routines.
1148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1149
7bd951ff
DM
11502012-03-14 David S. Miller <davem@davemloft.net>
1151
559398ab
DM
1152 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1153 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1154 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1155 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1156 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1157 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1158 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1159 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1160 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1161 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1162 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1163 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1164 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1165 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1166 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1167 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1168 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1169 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1170 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1171 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1172 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1173 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1174 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1175 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1176 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1177 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1178 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1179 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1180 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1181 routines.
1182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1183 file.
559398ab 1184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
1185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1186 file.
559398ab 1187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
1188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1189 file.
559398ab 1190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
1191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1192 file.
559398ab 1193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
1194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1195 file.
559398ab 1196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
1197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1198 file.
1199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1200 file.
1201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1202 file.
1203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1204 file.
1205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1206 New file.
1207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1208 file.
1209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1210 file.
559398ab 1211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
1212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1213 file.
559398ab 1214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1216 file.
559398ab 1217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
1218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1219 file.
559398ab 1220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
1221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1222 VIS3 routines.
559398ab
DM
1223
1224 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1225 New file.
1226
5a1c1e32
DM
1227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1228
eae47a36
DM
1229 * sysdeps/sparc/configure.in: New file.
1230 * sysdeps/sparc/configure: Generate.
1231 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1232 * configure: Regenerate.
1233 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1234 * config.make.in (have-as-vis3): New.
1235 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1236 available use -Av9d instead of -Av9a.
1237 * sysdeps/sparc/sparc64/Makefile: Likewise.
1238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
1239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1240 New file.
1241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1242 file.
1243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1244 New file.
1245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1246 file.
eae47a36
DM
1247 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1248 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1249 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1250 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1251 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1252
c0c83bc8
DM
1253 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1254 fzeros/fnegs to load 0x80000000 into a float register instead of
1255 using the stack.
7bd951ff
DM
1256 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1257
bd951ccb
JM
12582012-03-14 Joseph Myers <joseph@codesourcery.com>
1259
1260 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1261 bits/syscall.h.
1262 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1263 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1264 ($(inst_includedir)/bits/syscall.h): Remove rule.
1265 ($(objpfx)bits/syscall.d): Include instead of
1266 $(objpfx)syscall-list.d.
1267 (generated): Change syscall-list.h and syscall-list.d to
1268 bits/syscall.h and bits/syscall.d.
1269
bb4e6db2
RM
12702012-03-14 Roland McGrath <roland@hack.frob.com>
1271
1272 [BZ #13846]
1273 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1274
aa4a2ae1
JM
12752012-03-14 Joseph Myers <joseph@codesourcery.com>
1276
e456826d
JM
1277 [BZ #13841]
1278 * math/s_csqrt.c: Include <float.h>.
1279 (__csqrt): Scale large or subnormal inputs.
1280 * math/s_csqrtf.c: Likewise.
1281 * math/s_csqrtl.c: Likewise.
1282 * math/libm-test.inc (csqrt_test): Add more tests.
1283 * sysdeps/i386/fpu/libm-test-ulps: Update.
1284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1285
aa4a2ae1
JM
1286 [BZ #13840]
1287 * math/libm-test.inc (hypot_test): Add more tests.
1288
7c10fd35
DM
12892012-03-13 David S. Miller <davem@davemloft.net>
1290
1291 [BZ #13840]
1292 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1293 double-precision for the calculation instead of scaling.
1294
f453b98b
JM
12952012-03-13 Joseph Myers <joseph@codesourcery.com>
1296
1297 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1298 manipulate bits before adding and subtracting TWO52[sx].
1299 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1300 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1301 Likewise.
1302 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1303
09a3453f
DM
13042012-03-13 David S. Miller <davem@davemloft.net>
1305
8e59da90
DM
1306 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1307 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1308 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1309 rtld-global-offsets.h
1310 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1311
2a8ab7f2
DM
1312 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1313 large parameters.
1314
10f62770
DM
1315 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1316
5f0bdb18
DM
1317 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1318 'err' in the ifdef scope in which it is actually used.
1319
09a3453f
DM
1320 * nss/nss_db/db-init.c: Include string.h
1321
b4b2eb5e
DM
13222012-03-12 David S. Miller <davem@davemloft.net>
1323
98bb2f1c
DM
1324 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1325 masking out of the most significant byte of random value used.
1326 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1327 Fix coding style in previous change.
1328
b4b2eb5e
DM
1329 * sysdeps/unix/sysv/linux/kernel-features.h
1330 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1331 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1332 expression.
1333 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1334 later.
1335
6e226b09
DM
13362012-03-11 David S. Miller <davem@davemloft.net>
1337
a1bcbd40
DM
1338 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1339 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1340 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1341 for 'resultvar' otherwise things get truncated on 64-bit.
1342
cb9d6174
DM
1343 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1344 Fix masking out of the most significant byte of random value used.
1345
6e226b09
DM
1346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1347
058c132d
AS
13482012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1349
1350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1351
2d2cd515
DM
13522012-03-09 David S. Miller <davem@davemloft.net>
1353
1354 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1355 variables with appropriate CPP guards.
1356 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1357 frame pointer, not the stack pointer. Correct layout comments. Fix test
1358 on resulting framesize and the management of the outregs buffer for pltexit.
1359 Preserve floating point return values across _dl_call_pltexit call.
1360 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1361 framesize and the management of the outregs buffer for pltexit.
1362 Preserve floating point return values across _dl_call_pltexit
1363 call.
1364 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1365 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1366 (print_exit): Fix format string for return register value.
1367
9a07f9d0
JM
13682012-03-10 Joseph Myers <joseph@codesourcery.com>
1369
1370 * sunrpc/Makefile (others): Add rpcgen.
1371 ($(objpfx)rpcgen): Remove special build rule and dependency on
1372 libc.
1373 * sunrpc/rpcgen.c: New file.
1374
547b5e30
PE
13752012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1376
c524201a
PE
1377 [BZ #13673]
1378 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1379 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1380 * sysdeps/i386/crti.S: Likewise.
1381 * sysdeps/i386/crtn.S: Likewise.
1382 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1383 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1384 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1385 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1386 * sysdeps/sh/crti.S: Likewise.
1387 * sysdeps/sh/crtn.S: Likewise.
1388 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1389
7b6235f2
PE
1390 [BZ #13673]
1391 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1392 with URL.
1393 * locale/programs/locfile-kw.gperf: Likewise.
1394 * locale/programs/charmap-kw.h: Regenerated.
1395 * locale/programs/locfile-kw.h: Likewise.
1396
547b5e30
PE
1397 [BZ #13673]
1398 * intl/plural.y: Replace FSF snail mail address with URL.
1399 * intl/plural.c: Regenerated.
1400
5f0a5dae
RH
14012012-03-09 Richard Henderson <rth@twiddle.net>
1402
1403 * include/math_private.h: Remove file.
1404 * math/math_private.h: Move file ...
1405 * sysdeps/generic/math_private.h: ... here.
1406
b8c03620
RH
1407 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1408 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1409 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1410
4e234f5d 1411 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
1412 and <math_private.h>.
1413 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1414 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1415 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1416 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1417 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1418 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1419 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1420 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1421 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1422 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1423 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1424 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1425 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1426 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1427 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1428 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1429 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1430 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1431 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1432 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1433 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1434 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1435 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1436 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1437 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1438 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1439 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1440 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1441 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1442 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1443 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1444 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1445 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1446 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1447 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1448 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1449 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1450 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1451 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1452 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1453 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1454 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1455 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1456 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1457 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1458 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1459 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1460 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1461 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1462 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1463 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1464 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1465 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1466 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1467 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1468 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1469 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1470 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1471 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1472 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1473 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1474 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1475 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1476 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1477 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1478 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1479 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1480 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1481 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1482 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1483 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1484 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1485 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1486 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1487 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1488 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1489 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1490 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1491 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1492 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1493 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1494 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1495 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1496 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1497 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1498 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1499 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1500 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1501 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1502 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1503 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1504 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1505 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1506 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1507 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1508 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1509 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1510 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1511 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1512 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1513 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1514 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1515 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1516 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1517 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1518 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1519 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1520 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1521 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1522 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1523 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1524 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1525 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1526 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1527 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1528 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1529 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1530 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1531 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1532 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1533 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1534 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1535 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1536 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1537 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1538 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1539 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1540 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1541 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1542 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1543 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1544 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1545 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1546 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1547 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1548 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1549 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1550 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1551 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1552 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1553 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1554 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1555 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1556 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1557 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1558 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1559 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1560 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1561 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1562 * sysdeps/ieee754/k_standard.c: Likewise.
1563 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1564 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1565 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1566 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1567 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1568 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1569 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1570 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1571 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1572 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1573 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1574 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1575 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1576 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1577 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1578 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1579 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1580 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1581 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1582 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1583 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1584 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1585 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1586 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1587 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1588 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1589 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1590 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1591 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1592 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1593 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1594 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1595 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1596 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1597 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1598 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1599 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1600 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1601 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1602 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1603 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1604 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1605 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1606 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1607 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1608 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1609 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1610 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1611 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1612 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1613 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1614 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1615 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1616 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1617 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1618 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1619 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1620 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1621 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1622 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1623 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1624 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1625 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1626 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1627 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1628 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1629 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1630 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1631 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1632 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1633 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1634 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1635 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1636 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1637 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1638 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1639 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1640 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1641 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1642 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1643 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1644 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1645 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1646 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1647 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1648 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1649 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1650 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1651 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1652 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1653 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1654 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1655 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1656 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1657 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1658 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1659 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1660 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1661 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1662 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1663 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1664 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1665 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1666 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1667 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1668 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1669 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1670 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1671 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1672 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1673 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1674 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1675 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1676 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1677 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1678 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1679 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1680 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1681 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1682 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1683 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1684 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1685 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1686 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1687 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1688 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1689 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1690 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1691 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1692 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1693 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1694 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1695 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1696 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1697 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1698 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1699 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1700 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1701 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1702 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1703 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1704 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1705 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1706 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1707 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1708 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1709 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1710 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1711 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1712 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1713 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1714 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1715 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1716 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1717 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1718 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1719 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1720 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1721 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1722 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1723 * sysdeps/ieee754/s_lib_version.c: Likewise.
1724 * sysdeps/ieee754/s_matherr.c: Likewise.
1725 * sysdeps/ieee754/s_signgam.c: Likewise.
1726 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1727 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1728 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1729 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1730 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1731 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1732 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1733 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1734 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1735 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1736 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1737 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1738 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1739 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1740 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1741 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1742 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1743 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1744 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1745 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1746 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 1747
1991fa03
JM
17482012-03-09 Joseph Myers <joseph@codesourcery.com>
1749
1750 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1751 * sunrpc/rpc_main.c: Likewise.
1752 * sunrpc/rpc_svcout.c: Likewise.
1753
60d6f5a6
DM
17542012-03-09 David S. Miller <davem@davemloft.net>
1755
1756 * include/math_private.h: New file.
1757
4962050e
JM
17582012-03-09 Joseph Myers <joseph@codesourcery.com>
1759
02a6f887
JM
1760 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1761 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1762 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1763 from <bits/socket_type.h>.
1764 (enum __socket_type): Don't define here.
1765 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1766 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1767 bits/socket_type.h.
1768
c6e013c1
JM
1769 [BZ #13566]
1770 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1771 checking __USE_GNU.
1772
4962050e
JM
1773 * Makerules ($(inst_includedir)/%.h): New rule.
1774 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1775 (install-others): Remove variable setting.
1776 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1777
38842f45
RH
17782012-03-08 Richard Henderson <rth@twiddle.net>
1779
67bb6da6
RH
1780 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1781 from macro to inline function; merge with the
1782 !__LIBC_INTERNAL_MATH_INLINES version.
1783 (__ieee754_sqrtf): Likewise.
1784
15194b4b
RH
1785 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1786 to inline function.
1787 (__rintf, __floor, __floorf): Likewise.
1788
64e21ede
RH
1789 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1790 macro to inline function.
1791 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1792
38842f45
RH
1793 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1794 not <math/math_private.h>.
1795
c64bf5fe
DM
17962012-03-08 David S. Miller <davem@davemloft.net>
1797
1798 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1799 copyright year.
1800 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1801
82d86f28
TS
18022012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1803
1804 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1805 normalization.
1806 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1807 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1808
aea5d727
UD
18092012-03-08 Ulrich Drepper <drepper@gmail.com>
1810
1811 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1812 be defined individually, they must be defined as a block. Define
1813 S for printing a string instead of hidint the different by using a
1814 macro for adding the 'l'.
1815 * stdio-common/tst-fphex-wide.c: Adjust.
1816
70bca0a3
MP
18172012-03-07 Marek Polacek <polacek@redhat.com>
1818
1819 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1820
65b81130
MP
18212012-03-08 Marek Polacek <polacek@redhat.com>
1822
1823 [BZ #13806]
1824 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1825 * stdio-common/tst-fphex.c: Define a few macros to make the
1826 test reusable. Use them.
1827 * stdio-common/tst-fphex-wide.c: New file.
1828
07037eeb
JM
18292012-03-08 Joseph Myers <joseph@codesourcery.com>
1830
a7a93d50
JM
1831 [BZ #6911]
1832 * manual/macros.texi (gnusystems): New macro.
1833 (nongnusystems): Likewise.
1834 (gnulinuxhurdsystems): Likewise.
1835 (gnuhurdsystems): Likewise..
1836 (gnulinuxsystems): Likewise.
1837 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1838 variants of the GNU system, not "GNU system".
1839 * manual/conf.texi: Likewise.
1840 * manual/errno.texi: Likewise. Update example of errno macro
1841 expansion.
1842 * manual/filesys.texi: Likewise.
1843 (getumask): Document as specific to GNU/Hurd.
1844 * manual/install.texi: Likewise. Reword some references to
1845 GNU/Linux.
1846 * manual/intro.texi: Likewise.
1847 * manual/io.texi: Likewise.
1848 (File Name Portability): Detail which constraints are inapplicable
1849 to all GNU systems and which are only inapplicable to GNU/Hurd.
1850 * manual/job.texi: Likewise.
1851 * manual/llio.texi: Likewise.
1852 (O_NOCTTY): Document as present on GNU/Linux.
1853 * manual/maint.texi: Likewise.
1854 * manual/memory.texi: Likewise.
1855 * manual/pattern.texi: Likewise.
1856 * manual/pipe.texi: Likewise.
1857 * manual/process.texi: Likewise.
1858 * manual/resource.texi: Likewise.
1859 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1860 child on GNU/Hurd.
1861 * manual/setjmp.texi: Likewise.
1862 * manual/signal.texi: Likewise.
1863 * manual/startup.texi: Likewise.
1864 * manual/stdio.texi: Likewise.
1865 * manual/terminal.texi: Likewise.
1866 (ONLCR): Document as POSIX.
1867 (OXTABS): Document availability on GNU/Linux as XTABS.
1868 (ONOEOT): Document availability separately from other bits.
1869 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1870 * manual/time.texi: Likewise.
1871 * manual/users.texi: Likewise.
1872 * INSTALL: Regenerated.
1873 * sysdeps/gnu/errlist.c: Regenerated.
1874
07037eeb
JM
1875 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1876 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1877 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1878 puts.
1879 * configure: Regenerated.
1880
d1d3431a
JM
18812012-03-07 Joseph Myers <joseph@codesourcery.com>
1882
af6a1e37
JM
1883 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1884 default includes instead of AC_HEADER_CHECK.
1885 * sysdeps/i386/configure: Regenerated.
1886
d1d3431a
JM
1887 [BZ #10716]
1888 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1889 * math/s_cacoshf.c (__cacoshf): Likewise.
1890 * math/s_cacoshl.c (__cacoshl): Likewise.
1891 * math/s_casinh.c (__casinh): Set signs of result from argument.
1892 * math/s_casinhf.c (__casinhf): Likewise.
1893 * math/s_casinhl.c (__casinhl): Likewise.
1894 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1895 (casinh_test): Add more tests.
1896 * sysdeps/i386/fpu/libm-test-ulps: Update.
1897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1898
482ff4da
UD
18992012-03-07 Ulrich Drepper <drepper@gmail.com>
1900
872fda05
UD
1901 * po/zh_TW.po: Update from translation team.
1902
a4300c7a
UD
1903 * login/Makefile (distribute): Remove variable.
1904 * catgets/Makefile: Likewise.
1905 * mach/Makefile: Likewise.
1906 * malloc/Makefile: Likewise.
1907 * misc/Makefile: Likewise.
1908 * iconv/Makefile: Likewise.
1909 * nscd/Makefile: Likewise.
1910 * hurd/Makefile: Likewise.
1911 * manual/Makefile: Likewise.
1912 * locale/Makefile: Likewise.
1913 * intl/Makefile: Likewise.
1914 * conform/Makefile: Likewise.
1915 * nss/Makefile: Likewise.
1916 * time/Makefile: Likewise.
1917 * soft-fp/Makefile: Likewise.
1918 * dirent/Makefile: Likewise.
1919 * gmon/Makefile: Likewise.
1920 * po/Makefile: Likewise.
1921 * rt/Makefile: Likewise.
1922 * socket/Makefile: Likewise.
1923 * math/Makefile: Likewise.
1924 * signal/Makefile: Likewise.
1925 * debug/Makefile: Likewise.
1926 * elf/Makefile: Likewise.
1927 * timezone/Makefile: Likewise.
1928 * stdlib/Makefile: Likewise.
1929 * iconvdata/Makefile: Likewise.
1930 * sunrpc/Makefile: Likewise.
1931 * io/Makefile: Likewise.
1932 * argp/Makefile: Likewise.
1933 * inet/Makefile: Likewise.
1934 * hesiod/Makefile: Likewise.
1935 * grp/Makefile: Likewise.
1936 * csu/Makefile: Likewise.
1937 * wctype/Makefile: Likewise.
1938 * crypt/Makefile: Likewise.
1939 * libio/Makefile: Likewise.
1940 * string/Makefile: Likewise.
1941 * nis/Makefile: Likewise.
1942 * resolv/Makefile: Likewise.
1943 * stdio-common/Makefile: Likewise.
1944 * wcsmbs/Makefile: Likewise.
1945 * dlfcn/Makefile: Likewise.
1946 * posix/Makefile: Likewise.
1947
482ff4da
UD
1948 * timezone/Makefile: Don't install timezone files, just the programs
1949 and scripts.
1950
f72ed77d
UD
19512012-03-06 Ulrich Drepper <drepper@gmail.com>
1952
a000466f
UD
1953 * nss/databases.def: Add missing gshadow entry.
1954
f72ed77d
UD
1955 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
1956
a53b7a4e
MP
19572012-03-06 Marek Polacek <polacek@redhat.com>
1958
1959 [BZ #13726]
1960 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1961 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1962 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1963 * stdio-common/tst-long-dbl-fphex.c: New file.
1964
e9258400
DM
19652012-03-06 David S. Miller <davem@davemloft.net>
1966
1967 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1968 (set_obp_int): New function.
1969 (get_obp_int): New function.
1970 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
1971 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
1972 Avoid unused variable warnings on 'val' and use builtin_expect.
1973 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1974 __builtin_expect.
e9258400
DM
1975 (INLINE_CLONE_SYSCALL): Likewise.
1976
3bd2c723
DM
19772012-03-05 David S. Miller <davem@davemloft.net>
1978
1979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1980
bbb78d03
AS
19812012-03-05 Andreas Schwab <schwab@linux-m68k.org>
1982
884c5db4
AS
1983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1984
bbb78d03
AS
1985 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
1986 only for |x| >= 40.
1987 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1988
1c9f702a 19892012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
1990
1991 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
1992 Replace gettimeofday with __vdso_gettimeofday.
1993
7be16f82
RM
1994 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1995 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
1996 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
1997
1998 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
1999 time with __vdso_time.
2000
ed58a00f
JM
20012012-03-05 Joseph Myers <joseph@codesourcery.com>
2002
2003 * manual/lang.texi (size_t): Note types to which size_t may be
2004 equivalent with the GNU C Library, but do not describe when
2005 differences between them are significant.
2006
30ee4ced
AJ
20072012-03-05 Andreas Jaeger <aj@suse.de>
2008
2009 * sysdeps/i386/fpu/libm-test-ulps: Update.
2010
b7cd39e8
JM
20112012-03-05 Joseph Myers <joseph@codesourcery.com>
2012
2013 [BZ #3976]
2014 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2015 (__ieee754_pow): Save and restore rounding mode and use
2016 round-to-nearest for main computations.
2017 * math/libm-test.inc (pow_test_tonearest): New function.
2018 (pow_test_towardzero): Likewise.
2019 (pow_test_downward): Likewise.
2020 (pow_test_upward): Likewise.
2021 (main): Call the new functions.
2022 * sysdeps/i386/fpu/libm-test-ulps: Update.
2023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
2024
2025 [BZ #3976]
2026 * math/libm-test.inc (cosh_test_tonearest): New function.
2027 (cosh_test_towardzero): Likewise.
2028 (cosh_test_downward): Likewise.
2029 (cosh_test_upward): Likewise.
2030 (sinh_test_tonearest): Likewise.
2031 (sinh_test_towardzero): Likewise.
2032 (sinh_test_downward): Likewise.
2033 (sinh_test_upward): Likewise.
2034 (main): Call the new functions.
2035 * sysdeps/i386/fpu/libm-test-ulps: Update.
2036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2037
6c6a98c9
TV
20382012-03-05 Tom de Vries <tom@codesourcery.com>
2039
2040 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2041 default stack guard is set in last bytes.
2042 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2043
21bb2d2e 20442012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2045
21bb2d2e 2046 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2047
21bb2d2e
AJ
2048 [BZ #13656]
2049 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2050 possibly allocate from heap instead of stack.
2051 * stdio-common/bug-vfprintf-nargs.c: New file.
2052 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2053
c6922934
AS
20542012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2055
2056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2057
bc957d53
MP
20582012-03-03 Marek Polacek <polacek@redhat.com>
2059
2060 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2061 * math/math_private.h: Likewise.
2062 * stdlib/tst-strtod.c: Likewise.
2063 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2064 * sysdeps/x86_64/bits/atomic.h: Likewise.
2065
6358490d
DM
20662012-03-02 David S. Miller <davem@davemloft.net>
2067
2068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2072 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2073 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2074 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2075 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2076
01ae168d
RM
20772012-03-02 Roland McGrath <roland@hack.frob.com>
2078
d9a17c07
RM
2079 [BZ #13792]
2080 * manual/examples/README: New file, says the example source files
2081 can be used under GPL>=2.
2082 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2083 line containing just "*/".
2084 * manual/examples/add.c: Add copyright header (GPL>=2).
2085 * manual/examples/argp-ex1.c: Likewise.
2086 * manual/examples/argp-ex2.c: Likewise.
2087 * manual/examples/argp-ex3.c: Likewise.
2088 * manual/examples/argp-ex4.c: Likewise.
2089 * manual/examples/atexit.c: Likewise.
2090 * manual/examples/db.c: Likewise.
2091 * manual/examples/dir.c: Likewise.
2092 * manual/examples/dir2.c: Likewise.
2093 * manual/examples/execinfo.c: Likewise.
2094 * manual/examples/filecli.c: Likewise.
2095 * manual/examples/filesrv.c: Likewise.
2096 * manual/examples/fmtmsgexpl.c: Likewise.
2097 * manual/examples/genpass.c: Likewise.
2098 * manual/examples/inetcli.c: Likewise.
2099 * manual/examples/inetsrv.c: Likewise.
2100 * manual/examples/isockad.c: Likewise.
2101 * manual/examples/longopt.c: Likewise.
2102 * manual/examples/memopen.c: Likewise.
2103 * manual/examples/memstrm.c: Likewise.
2104 * manual/examples/mkfsock.c: Likewise.
2105 * manual/examples/mkisock.c: Likewise.
2106 * manual/examples/mygetpass.c: Likewise.
2107 * manual/examples/pipe.c: Likewise.
2108 * manual/examples/popen.c: Likewise.
2109 * manual/examples/rprintf.c: Likewise.
2110 * manual/examples/search.c: Likewise.
2111 * manual/examples/select.c: Likewise.
2112 * manual/examples/setjmp.c: Likewise.
2113 * manual/examples/sigh1.c: Likewise.
2114 * manual/examples/sigusr.c: Likewise.
2115 * manual/examples/stpcpy.c: Likewise.
2116 * manual/examples/strdupa.c: Likewise.
2117 * manual/examples/strftim.c: Likewise.
2118 * manual/examples/strncat.c: Likewise.
2119 * manual/examples/subopt.c: Likewise.
2120 * manual/examples/swapcontext.c: Likewise.
2121 * manual/examples/termios.c: Likewise.
2122 * manual/examples/testopt.c: Likewise.
2123 * manual/examples/testpass.c: Likewise.
2124 * manual/examples/timeval_subtract.c: Likewise.
2125
01ae168d
RM
2126 [BZ #13792]
2127 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2128 function to ...
2129 * manual/timeval_subtract.c.texi: ... here, new file.
2130
49efa33d
DM
21312012-03-02 David S. Miller <davem@davemloft.net>
2132
2133 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2134
28afd92d
JM
21352012-03-02 Joseph Myers <joseph@codesourcery.com>
2136
804360ed
JM
2137 [BZ #3976]
2138 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2139 (__sin): Save and restore rounding mode and use round-to-nearest
2140 for all computations.
2141 (__cos): Save and restore rounding mode and use round-to-nearest
2142 for all computations.
2143 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2144 <fenv.h>.
2145 (tan): Save and restore rounding mode and use round-to-nearest for
2146 all computations.
2147 * math/libm-test.inc (cos_test_tonearest): New function.
2148 (cos_test_towardzero): Likewise.
2149 (cos_test_downward): Likewise.
2150 (cos_test_upward): Likewise.
2151 (sin_test_tonearest): Likewise.
2152 (sin_test_towardzero): Likewise.
2153 (sin_test_downward): Likewise.
2154 (sin_test_upward): Likewise.
2155 (tan_test_tonearest): Likewise.
2156 (tan_test_towardzero): Likewise.
2157 (tan_test_downward): Likewise.
2158 (tan_test_upward): Likewise.
2159 (main): Call the new functions.
2160 * sysdeps/i386/fpu/libm-test-ulps: Update.
2161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2162
a6d06d7b
JM
2163 [BZ #10135]
2164 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2165 small n, then large n, before computing and testing k+n.
2166 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2167 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2168 Likewise.
2169 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2170 Likewise.
2171 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2172 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2173 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2174 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2175 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2176 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2177 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2178 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2179 * math/libm-test.inc (scalbn_test): Add more tests.
2180 (scalbln_test): Likewise.
2181
07e12bb3
JM
2182 * manual/filesys.texi (mode_t): Describe constraints on size and
2183 signedness, not exact equivalence to a particular type.
2184 (ino_t): Likewise.
2185 (ino64_t): Likewise.
2186 (dev_t): Likewise.
2187 (nlink_t): Likewise.
2188 (blkcnt_t): Likewise.
2189 (blkcnt64_t): Likewise.
2190 * manual/llio.texi (off_t): Likewise.
2191
28afd92d
JM
2192 [BZ #3976]
2193 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2194 (__ieee754_exp): Save and restore rounding mode and use
2195 round-to-nearest for all computations.
2196 * math/libm-test.inc (exp_test_tonearest): New function.
2197 (exp_test_towardzero): Likewise.
2198 (exp_test_downward): Likewise.
2199 (exp_test_upward): Likewise.
2200 (main): Call the new functions.
2201 * sysdeps/i386/fpu/libm-test-ulps: Update.
2202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2203
b1eeb65d
CD
22042012-03-01 Chris Demetriou <cgd@google.com>
2205
2206 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2207 have predictable order.
2208
53362a4b
DM
22092012-03-01 David S. Miller <davem@davemloft.net>
2210
3c969083
DM
2211 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2212
759707de
DM
2213 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2214 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2215 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2216 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2217
dfdb8ff2
DM
2218 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2219 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2220 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2222 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2223 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2224 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2225 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2226 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2227
ead89f96
DM
2228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2229
7f66bd07
DM
2230 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2231 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2232 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2233
53362a4b
DM
2234 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2235 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2236 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2237 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2238 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2239 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2240 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2241 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2242 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2243 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2244 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2245 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2246 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2247 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2248 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2249 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2250 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2251 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2252 * sysdeps/sparc/elf/configure: Regenerated.
2253
7b1902cb
JM
22542012-03-01 Joseph Myers <joseph@codesourcery.com>
2255
bec039bc
JM
2256 * configure.in (AS, LD): Require binutils 2.20 or later.
2257 * configure: Regenerated.
2258 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2259 as required minimum version.
2260 * INSTALL: Regenerated.
2261
7b1902cb
JM
2262 [BZ #2541]
2263 [BZ #4108]
2264 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2265 before squaring exponent.
2266 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2267 bottom long double and 27 bits of top long double before squaring
2268 exponent.
2269 * math/libm-test.inc (erfc_test): Add more tests.
2270 * sysdeps/i386/fpu/libm-test-ulps: Update.
2271 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2273
f775c276
KT
22742012-03-01 Kai Tietz <ktietz@redhat.com>
2275
2276 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2277 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2278 containing bit-fields.
2279 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2280 * soft-fp/single.h (_FP_UNION_S): Likewise.
2281 * soft-fp/double.h (_FP_UNION_D): Likewise.
2282
5b8a4d4a
JM
22832012-02-29 Joseph Myers <joseph@codesourcery.com>
2284
0bab47b6
JM
2285 [BZ #13786]
2286 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2287 not include ../strcmp.S.
2288 [USE_AS_STRNCASECMP_L]: Likewise.
2289 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2290 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2291 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2292 (__strncasecmp_l_ia32): Define as alias to
2293 __strncasecmp_l_nonascii.
2294
0fcad3e2
JM
2295 [BZ #5794]
2296 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2297 * sysdeps/i386/fpu/libm-test-ulps: Update.
2298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2299
5b8a4d4a
JM
2300 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2302
8fdceb2e
JL
23032012-02-29 Jeff Law <law@redhat.com>
2304
2305 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2306 out of bounds read.
2307
1f393a11
MP
23082012-02-29 Marek Polacek <polacek@redhat.com>
2309
2310 [BZ #13706]
2311 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2312 * elf/Makefile: Add rules to run tst-unused-dep.out.
2313
8847f037
DM
23142012-02-28 David S. Miller <davem@davemloft.net>
2315
2316 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2317 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2318 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2319 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2320 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2321 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2322
169d7f11
JM
23232012-02-29 Joseph Myers <joseph@codesourcery.com>
2324
2325 * math/libm-test.inc (llround_test): Move one test from
2326 lround_test. Use TEST_f_L in moved test.
2327 (lround_test): Move misplaced test to llround_test. Add testcase
2328 from bug 2561.
2329
39adf059
UD
23302012-02-28 Ulrich Drepper <drepper@gmail.com>
2331
2332 * sysdeps/x86_64/fpu/e_expf.S: New file.
2333 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2334
71b5d1c5
SB
23352012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2336
2337 [BZ #13637]
2338 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2339 of remain_len that may cause incomplete multi-byte character and
2340 false match.
2341 * posix/bug-regex33.c: New file.
2342 * posix/Makefile (tests): Add bug-regex33.
2343
1f77f049
JM
23442012-02-28 Joseph Myers <joseph@codesourcery.com>
2345
2346 * manual/macros.texi: New file.
2347 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2348 * manual/libc.texinfo: Include macros.texi.
2349 * manual/creatute.texi: Likewise.
2350 * manual/install.texi: Likewise.
2351 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2352 @glibcadj{} in references to the GNU C Library.
2353 * manual/charset.texi: Likewise.
2354 * manual/conf.texi: Likewise.
2355 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2356 when not using those macros.
2357 * manual/creature.texi: Likewise.
2358 * manual/crypt.texi: Likewise.
2359 * manual/errno.texi: Likewise.
2360 * manual/filesys.texi: Likewise.
2361 * manual/header.texi: Likewise.
2362 * manual/install.texi: Likewise.
2363 * manual/intro.texi: Likewise.
2364 * manual/io.texi: Likewise.
2365 * manual/job.texi: Likewise.
2366 * manual/lang.texi: Likewise.
2367 * manual/libc.texiinfo: Likewise.
2368 * manual/llio.texi: Likewise.
2369 * manual/locale.texi: Likewise.
2370 * manual/maint.texi: Likewise.
2371 * manual/math.texi: Likewise.
2372 * manual/memory.texi: Likewise.
2373 * manual/message.texi: Likewise.
2374 * manual/nss.texi: Likewise.
2375 * manual/pattern.texi: Likewise.
2376 * manual/process.texi: Likewise.
2377 * manual/resource.texi: Likewise.
2378 * manual/search.texi: Likewise.
2379 * manual/setjmp.texi: Likewise.
2380 * manual/signal.texi: Likewise.
2381 * manual/socket.texi: Likewise.
2382 * manual/startup.texi: Likewise.
2383 * manual/stdio.texi: Likewise.
2384 * manual/string.texi: Likewise.
2385 * manual/sysinfo.texi: Likewise.
2386 * manual/syslog.texi: Likewise.
2387 * manual/terminal.texi: Likewise.
2388 * manual/time.texi: Likewise.
2389 * manual/users.texi: Likewise.
2390 * INSTALL: Regenerated.
2391 * NOTES: Regenerated.
d40c5d54 2392 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 2393
450bf206
AS
23942012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2395
2396 * include/dirent.h: Include <dirstream.h> before
2397 <dirent/dirent.h>.
2398
741a235b
DM
23992012-02-28 David S. Miller <davem@davemloft.net>
2400
2401 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2402 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2403 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2404 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2405
d6b5aa58
DM
24062012-02-27 David S. Miller <davem@davemloft.net>
2407
1aff59a3
DM
2408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2410 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2411 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2412
d6b5aa58
DM
2413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2414 frame pointer instead of stack pointer relative arg slot.
2415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2416 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2417 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2418
433f48bf
CD
24192012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2420
2421 [BZ #3992]
2422 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2423
d674b76d
DM
24242012-02-27 David S. Miller <davem@davemloft.net>
2425
2426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2430 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2431 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2432 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2433 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2434
0e7727f7
JM
24352012-02-27 Joseph Myers <joseph@codesourcery.com>
2436
2437 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2438 later. Allow versions 5-9.
43be4ca2 2439 * configure: Regenerated.
0e7727f7
JM
2440 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2441 required minimum version and 4.6 as recommended version. Do not
2442 mention bugs in GCC 2.7 and 2.8.
43be4ca2 2443 * INSTALL: Regenerated.
0e7727f7 2444
a78bc654
DM
24452012-02-27 David S. Miller <davem@davemloft.net>
2446
428d5830
DM
2447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2451 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2452 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2453 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2454 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2455
a78bc654
DM
2456 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2457 manipulate bits before adding and subtracting TWO112[sx].
2458 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2459
4579f81c
RM
24602012-02-27 Roland McGrath <roland@hack.frob.com>
2461
36c8acb4
RM
2462 [BZ #13775]
2463 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2464 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2465 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2466 being in POSIX, because they are in 1003.1-2008.
2467
84ad622b
RM
2468 * rt/tst-aio.c: Include <fcntl.h>.
2469 * rt/tst-aio7.c: Likewise.
2470 * rt/tst-aio64.c: Likewise.
2471
4579f81c
RM
2472 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2473
abd923db
JM
24742012-02-27 Joseph Myers <joseph@codesourcery.com>
2475
2476 * manual/install.texi (--with-headers): Describe headers as
2477 interface headers, not private headers.
2478 (Specific advice for GNU/Linux systems): Describe use of headers
2479 from "make headers_install", not private headers from older
2480 kernels.
43be4ca2 2481 * INSTALL: Regenerated.
abd923db
JM
2482 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2483 Change to 2.6.19.
2484 * sysdeps/unix/sysv/linux/configure: Regenerated.
2485
6664049b
JM
2486 * manual/llio.texi (fclean): Remove documentation.
2487
bb8b6697
JM
2488 * manual/Makefile (libc-texi-generated): New variable. Include
2489 version.texi.
2490 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2491 $(libc-texi-generated), not duplicated list of files.
2492 (version.texi, stamp-version): New rules.
2493 (realclean): Remove $(libc-texi-generated), not individual files
2494 from that list. Do not remove dir-add.texinfo.
2495 * manual/libc.texinfo: Comment out uses of edition numbers and
2496 references to printed manual. Remove last-updated dates.
2497 (EDITION): Comment out.
2498 (ISBN): Likewise.
2499 (VERSION, UPDATED): Remove.
2500 (version.texi): Include.
2501
12e5c3b9
AS
25022012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2503
2504 * sysdeps/posix/spawni.c: Include <signal.h>.
2505 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2506 * sysdeps/pthread/aio_fsync.c: Likewise.
2507
4efeffc1 25082012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 2509
ba63ba08
UD
2510 * conform/Makefile (tests): Run only when not cross-compiling and
2511 when fast-check is not defined.
2512
d94a4670
UD
2513 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2514 * conform/data/limits.h-data: Fixes for POSIX2008.
2515 * conform/run-conformtest.sh: Run all tests.
2516 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2517 headers.
2518 * include/bits/dlfcn.h: Likewise.
2519 * include/langinfo.h: Likewise.
2520 * include/monetary.h: Likewise.
2521 * include/sys/poll.h: Likewise.
2522
2523 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2524 for __USE_GNU.
2525 * posix/spawn.h: Define __need_sigset_t.
2526 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2527 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2528 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2529 to get sigevent_t only.
2530 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2531 only for __USE_GNU.
2532 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2533 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2534 process_vm_writev only for __USE_GNU.
2535 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
2536
2537 * conform/Makefile: For now ignore errors from run-conformtest.
2538 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2539 POSIX to avoid namespace pollution. Don't prepend headers.
2540 * conform/data/aio.h-data: Fixes for POSIX testing.
2541 * conform/data/fcntl.h-data: Likewise.
2542 * conform/data/glob.h-data: Likewise.
2543 * conform/data/grp.h-data: Likewise.
2544 * conform/data/pthread.h-data: Likewise.
2545 * conform/data/pwd.h-data: Likewise.
2546 * conform/data/signal.h-data: Likewise.
2547 * conform/data/spawn.h-data: Likewise.
2548 * conform/data/stdio.h-data: Likewise.
2549 * conform/data/stdlib.h-data: Likewise.
2550 * conform/data/stropts.h-data: Likewise.
2551 * conform/data/sys/mman.h-data: Likewise.
2552 * conform/data/sys/stat.h-data: Likewise.
2553 * conform/data/sys/types.h-data: Likewise.
2554 * conform/data/sys/wait.h-data: Likewise.
2555 * conform/data/time.h-data: Likewise.
2556 * conform/data/unistd.h-data: Likewise.
2557 * conform/data/utime.h-data: Likewise.
2558
2559 * io/sys/stat.h: fchmod was always in POSIX.
2560 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2561 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2562 * rt/aio.h: Define __need_timespec before including <time.h>.
2563 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2564 struct. Add forward declaration of pthread_attr_t and use it in
2565 sigevent.
2566 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2567 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2568 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2569 always remove CLK_TCK definition.
2570
c20105c3
AS
25712012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2572
2573 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2574
7a270350
UD
25752012-02-25 Ulrich Drepper <drepper@gmail.com>
2576
31341567
UD
2577 * conform/run-conformtest.sh: New file.
2578 * conform/Makefile: Run run-conformtest for tests.
2579 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2580 support.
2581
2582 * conform/data/uchar.h-data: New file.
2583 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2584 * conform/data/arpa/inet.h-data: Likewise.
2585 * conform/data/assert.h-data: Likewise.
2586 * conform/data/complex.h-data: Likewise.
2587 * conform/data/cpio.h-data: Likewise.
2588 * conform/data/ctype.h-data: Likewise.
2589 * conform/data/dirent.h-data: Likewise.
2590 * conform/data/dlfcn.h-data: Likewise.
2591 * conform/data/errno.h-data: Likewise.
2592 * conform/data/fcntl.h-data: Likewise.
2593 * conform/data/float.h-data: Likewise.
2594 * conform/data/fmtmsg.h-data: Likewise.
2595 * conform/data/fnmatch.h-data: Likewise.
2596 * conform/data/ftw.h-data: Likewise.
2597 * conform/data/glob.h-data: Likewise.
2598 * conform/data/grp.h-data: Likewise.
2599 * conform/data/iconv.h-data: Likewise.
2600 * conform/data/inttypes.h-data: Likewise.
2601 * conform/data/langinfo.h-data: Likewise.
2602 * conform/data/libgen.h-data: Likewise.
2603 * conform/data/limits.h-data: Likewise.
2604 * conform/data/locale.h-data: Likewise.
2605 * conform/data/math.h-data: Likewise.
2606 * conform/data/monetary.h-data: Likewise.
2607 * conform/data/mqueue.h-data: Likewise.
2608 * conform/data/ndbm.h-data: Likewise.
2609 * conform/data/net/if.h-data: Likewise.
2610 * conform/data/netdb.h-data: Likewise.
2611 * conform/data/netinet/in.h-data: Likewise.
2612 * conform/data/nl_types.h-data: Likewise.
2613 * conform/data/poll.h-data: Likewise.
2614 * conform/data/pthread.h-data: Likewise.
2615 * conform/data/pwd.h-data: Likewise.
2616 * conform/data/regex.h-data: Likewise.
2617 * conform/data/sched.h-data: Likewise.
2618 * conform/data/search.h-data: Likewise.
2619 * conform/data/semaphore.h-data: Likewise.
2620 * conform/data/setjmp.h-data: Likewise.
2621 * conform/data/signal.h-data: Likewise.
2622 * conform/data/spawn.h-data: Likewise.
2623 * conform/data/stdarg.h-data: Likewise.
2624 * conform/data/stdio.h-data: Likewise.
2625 * conform/data/stdlib.h-data: Likewise.
2626 * conform/data/string.h-data: Likewise.
2627 * conform/data/strings.h-data: Likewise.
2628 * conform/data/stropts.h-data: Likewise.
2629 * conform/data/sys/ipc.h-data: Likewise.
2630 * conform/data/sys/mman.h-data: Likewise.
2631 * conform/data/sys/msg.h-data: Likewise.
2632 * conform/data/sys/resource.h-data: Likewise.
2633 * conform/data/sys/select.h-data: Likewise.
2634 * conform/data/sys/sem.h-data: Likewise.
2635 * conform/data/sys/shm.h-data: Likewise.
2636 * conform/data/sys/socket.h-data: Likewise.
2637 * conform/data/sys/stat.h-data: Likewise.
2638 * conform/data/sys/statvfs.h-data: Likewise.
2639 * conform/data/sys/time.h-data: Likewise.
2640 * conform/data/sys/timeb.h-data: Likewise.
2641 * conform/data/sys/times.h-data: Likewise.
2642 * conform/data/sys/types.h-data: Likewise.
2643 * conform/data/sys/uio.h-data: Likewise.
2644 * conform/data/sys/un.h-data: Likewise.
2645 * conform/data/sys/utsname.h-data: Likewise.
2646 * conform/data/sys/wait.h-data: Likewise.
2647 * conform/data/syslog.h-data: Likewise.
2648 * conform/data/tar.h-data: Likewise.
2649 * conform/data/termios.h-data: Likewise.
2650 * conform/data/utime.h-data: Likewise.
2651 * conform/data/utmpx.h-data: Likewise.
2652 * conform/data/varargs.h-data: Likewise.
2653 * conform/data/wchar.h-data: Likewise.
2654 * conform/data/wctype.h-data: Likewise.
2655 * conform/data/wordexp.h-data: Likewise.
2656
2657 * include/stropts.h: New file.
2658 * include/uchar.h: New file.
2659 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2660 * include/assert.h: Likewise.
2661 * include/ctype.h: Likewise.
2662 * include/dirent.h: Likewise.
2663 * include/dlfcn.h: Likewise.
2664 * include/fcntl.h: Likewise.
2665 * include/fnmatch.h: Likewise.
2666 * include/glob.h: Likewise.
2667 * include/grp.h: Likewise.
2668 * include/libio.h: Likewise.
2669 * include/locale.h: Likewise.
2670 * include/math.h: Likewise.
2671 * include/net/if.h: Likewise.
2672 * include/netdb.h: Likewise.
2673 * include/netinet/in.h: Likewise.
2674 * include/pthread.h: Likewise.
2675 * include/pwd.h: Likewise.
2676 * include/regex.h: Likewise.
2677 * include/sched.h: Likewise.
2678 * include/search.h: Likewise.
2679 * include/setjmp.h: Likewise.
2680 * include/signal.h: Likewise.
2681 * include/stdio.h: Likewise.
2682 * include/stdlib.h: Likewise.
2683 * include/string.h: Likewise.
2684 * include/sys/cdefs.h: Likewise.
2685 * include/sys/mman.h: Likewise.
2686 * include/sys/msg.h: Likewise.
2687 * include/sys/resource.h: Likewise.
2688 * include/sys/select.h: Likewise.
2689 * include/sys/socket.h: Likewise.
2690 * include/sys/stat.h: Likewise.
2691 * include/sys/statvfs.h: Likewise.
2692 * include/sys/time.h: Likewise.
2693 * include/sys/times.h: Likewise.
2694 * include/sys/uio.h: Likewise.
2695 * include/sys/utsname.h: Likewise.
2696 * include/sys/wait.h: Likewise.
2697 * include/termios.h: Likewise.
2698 * include/time.h: Likewise.
2699 * include/ulimit.h: Likewise.
2700 * include/unistd.h: Likewise.
2701 * include/utime.h: Likewise.
2702 * include/wchar.h: Likewise.
2703 * include/wctype.h: Likewise.
2704 * include/wordexp.h: Likewise.
2705
2706 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2707
7a270350
UD
2708 * time/time.h: TIME_UTC must be a macro.
2709 Make timespec_get available for ISO C11 only as well.
2710
7724defc
UD
27112012-02-24 Ulrich Drepper <drepper@gmail.com>
2712
2713 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2714 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2715
6b1d1d46
JM
27162012-02-24 Joseph Myers <joseph@codesourcery.com>
2717
2718 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 2719
0f8bbd69
JM
27202012-02-24 Joseph Myers <joseph@codesourcery.com>
2721
2722 * manual/texinfo.tex: Update to version 2012-01-19.16.
2723
66ab80bc
JM
27242012-02-24 Joseph Myers <joseph@codesourcery.com>
2725
2726 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2727
74981cc5
RM
27282012-02-24 Roland McGrath <roland@hack.frob.com>
2729
ee968201
RM
2730 [BZ #13738]
2731 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2732 * manual/fdl-1.3.texi: New file.
2733 * manual/fdl-1.1.texi: File removed.
2734
74981cc5
RM
2735 [BZ #13738]
2736 * manual/libc.texinfo (FDL_VERSION): New @set.
2737 Use it for mention of FDL in cover text.
2738 (Documentation License): Use it in @include file name.
2739
7bb764bc
JM
27402012-02-22 Joseph Myers <joseph@codesourcery.com>
2741 Roland McGrath <roland@hack.frob.com>
2742
2743 [BZ #5461]
2744 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2745 not LONG_LONG_MAX and LONG_LONG_MIN.
2746 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2747 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2748 name.
2749 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2750
6cbeae47
JM
27512012-02-22 Joseph Myers <joseph@codesourcery.com>
2752
2753 [BZ #2547]
2754 [BZ #11365]
2755 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2756 manipulate bits before adding and subtracting TWO23[sx].
2757 * math/libm-test.inc (nearbyint_test): Add more tests.
2758
fe45ce09
JM
27592012-02-22 Joseph Myers <joseph@codesourcery.com>
2760
2761 [BZ #2548]
2762 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2763 bits before adding and subtracting TWO23[sx].
2764 * math/libm-test.inc (rint_test): Add more tests.
2765 (rint_test_tonearest): Likewise.
2766 (rint_test_towardzero): Likewise.
2767 (rint_test_downward): Likewise.
2768 (rint_test_upward: Likewise.
2769
ff3b3d82
JM
27702012-02-22 Joseph Myers <joseph@codesourcery.com>
2771
2772 [BZ #10110]
2773 * include/stdc-predef.h: New file. Extracted from features.h.
2774 * include/features.h: Include stdc-predef.h.
2775 * Makefile (headers): Add stdc-predef.h.
2776 * CONFORMANCE (Compiler limitations): Update.
2777
ef0aab35
JM
27782012-02-22 Joseph Myers <joseph@codesourcery.com>
2779
2780 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2781
58639409
DM
27822012-02-21 David S. Miller <davem@davemloft.net>
2783
2784 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2785 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2786
c0e70b25
DM
27872012-02-20 David S. Miller <davem@davemloft.net>
2788
2789 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2790 using a normal save/restore sequence, rather than allocating a
2791 dummy stack frame just to store a frame pointer and restore.
2792 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2793
fb06851d
JM
27942012-02-21 Joseph Myers <joseph@codesourcery.com>
2795
2796 * manual/install.texi: Fix stray word in line-wrapped comment.
2797
7a8b71c3
DM
27982012-02-20 David S. Miller <davem@davemloft.net>
2799
d510c123
DM
2800 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2801 both binutils and gcc support GOTDATA.
2802
0722d7c2
DM
2803 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2804 "rd %pc" in the PIC register setup sequences.
2805
3d2b3019
DM
2806 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2807 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2808 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2809 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2810 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2811 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2812 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2813 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2814 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2815 (SYSCALL_ERROR_HANDLER): Likewise.
2816 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2817 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2818 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2819 (SYSCALL_ERROR_HANDLER): Likewise.
2820
c80098a9
DM
2821 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2822 (HAVE_GCC_GOTDATA): New.
2823 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2824 relocation support in both binutils and gcc.
2825 * sysdeps/sparc/elf/configure: Regenerate.
2826
3a2545a0
DM
2827 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2828 * sysdeps/sparc/sparc32/elf/configure: Delete.
2829 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2830 * sysdeps/sparc/sparc64/elf/configure: Delete.
2831 * sysdeps/sparc/elf/configure.in: New file.
2832 * sysdeps/sparc/elf/configure: Generate.
2833
7a8b71c3
DM
2834 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2835 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2836 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2837 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2838 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2839
f1e86fca
JM
28402012-02-21 Joseph Myers <joseph@codesourcery.com>
2841
2842 * manual/install.texi: Do not mention specific glibc version
2843 numbers.
2844 * manual/libc.texinfo (VERSION, UPDATED): Update.
2845 (@copying): Use @copyright{} and range of years.
2846
0e7dfaef
JM
28472012-02-21 Joseph Myers <joseph@codesourcery.com>
2848
2849 [BZ #13695]
2850 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2851 [crti.S not in sysdirs] (generated): Do not append.
2852 [crti.S not in sysdirs] (omit-deps): Likewise.
2853 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2854 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2855 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2856 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2857 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2858 Likewise.
2859 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2860 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2861 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2862 * csu/defs.awk: Remove file.
2863 * sysdeps/generic/initfini.c: Likewise.
2864 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2865 variable.
2866 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2867 Likewise.
2868
599af3ca
JM
28692012-02-20 Joseph Myers <joseph@codesourcery.com>
2870
2871 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2872 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2873 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2874 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2875 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2876 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2877 <bits/epoll.h>.
2878 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2879 (__EPOLL_PACKED): Define to empty if not defined by
2880 <bits/epoll.h>.
2881 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2882 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2883 bits/epoll.h.
2884
0e499750
JM
28852012-02-20 Joseph Myers <joseph@codesourcery.com>
2886
2887 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2888 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2889 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2890 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2891 <bits/timerfd.h>.
2892 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2893 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2894 bits/timerfd.h.
2895
5ad91f6e
JM
28962012-02-20 Joseph Myers <joseph@codesourcery.com>
2897
2898 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2899 in C locale.
2900 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2901 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2902 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2904
06b99b02
AJ
29052012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2906
2907 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2908 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2909
7638c0fd
AS
29102012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2911
2912 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2913 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2914 defined.
2915 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2916 Likewise.
2917 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2918 entry for 2.16.
2919
92221550
AJ
29202012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2921
2922 * math/w_acos.c: Use non-signaling floating-point comparisons.
2923 * math/w_acosf.c: Likewise.
2924 * math/w_acosh.c: Likewise.
2925 * math/w_acoshf.c: Likewise.
2926 * math/w_acoshl.c: Likewise.
2927 * math/w_acosl.c: Likewise.
2928 * math/w_asin.c: Likewise.
2929 * math/w_asinf.c: Likewise.
2930 * math/w_asinl.c: Likewise.
2931 * math/w_atanh.c: Likewise.
2932 * math/w_atanhf.c: Likewise.
2933 * math/w_atanhl.c: Likewise.
2934 * math/w_exp2.c: Likewise.
2935 * math/w_exp2f.c: Likewise.
2936 * math/w_exp2l.c: Likewise.
2937 * math/w_j0.c: Likewise.
2938 * math/w_j0f.c: Likewise.
2939 * math/w_j0l.c: Likewise.
2940 * math/w_j1.c: Likewise.
2941 * math/w_j1f.c: Likewise.
2942 * math/w_j1l.c: Likewise.
2943 * math/w_jn.c: Likewise.
2944 * math/w_jnf.c: Likewise.
2945 * math/w_log.c: Likewise.
2946 * math/w_log10.c: Likewise.
2947 * math/w_log10f.c: Likewise.
2948 * math/w_log10l.c: Likewise.
2949 * math/w_log2.c: Likewise.
2950 * math/w_log2f.c: Likewise.
2951 * math/w_log2l.c: Likewise.
2952 * math/w_logf.c: Likewise.
2953 * math/w_logl.c: Likewise.
2954 * math/w_sqrt.c: Likewise.
2955 * math/w_sqrtf.c: Likewise.
2956 * math/w_sqrtl.c: Likewise.
2957 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2958 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2959 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2960 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2961 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2962
ebaf36eb
JM
29632012-02-19 Joseph Myers <joseph@codesourcery.com>
2964
2965 [BZ #9739]
2966 * manual/string.texi (strnlen): Use correct parameter name in
2967 equivalent expression.
2968
71c254a6
JM
29692012-02-19 Joseph Myers <joseph@codesourcery.com>
2970
2971 [BZ #11174]
2972 * manual/users.texi (seteuid): Consistently use neweuid for
2973 argument name.
2974
16d2c631
JM
29752012-02-19 Joseph Myers <joseph@codesourcery.com>
2976
2977 [BZ #13704]
2978 * manual/nss.texi (Services in the NSS configuration): Correct
2979 list of services in example configuration file.
2980
cd837b09
NB
29812012-02-19 Nick Bowler <nbowler@draconx.ca>
2982
2983 [BZ #11322]
2984 * manual/arith.texi: Remove statements about negative zero
2985 behaving identically to zero.
2986
02c4bbad
JM
29872012-02-18 Joseph Myers <joseph@codesourcery.com>
2988
2989 [BZ #5993]
2990 * manual/install.texi: Do not document upgrading from libc5.
2991
366842e7
JM
29922012-02-18 Joseph Myers <joseph@codesourcery.com>
2993
2994 [BZ #4596]
2995 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
2996
dd54084d
DM
29972012-02-18 David S. Miller <davem@davemloft.net>
2998
2999 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3000 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3001 %o7 across the call.
3002 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3003 instead.
3004 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3005 SETUP_PIC_REG_LEAF.
3006 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3007 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3008 * sysdeps/sparc/crtn.S: Likewise.
3009
2bcc53a3
UD
30102012-02-17 Ulrich Drepper <drepper@gmail.com>
3011
3012 * aout/Makefile: Remove.
3013
09c093b5
RK
30142012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3015
3016 [BZ #13058]
3017 * manual/examples/argp-ex1.c (main): Format definition in GNU
3018 style.
3019 * manual/examples/argp-ex2.c (main): Likewise.
3020 * manual/examples/argp-ex3.c (main): Likewise.
3021 * manual/examples/argp-ex4.c (main): Likewise.
3022 * manual/examples/longopt.c (main): Use new-style prototype
3023 definition.
3024 * manual/examples/strncat.c (main): Specify return type and use
3025 (void) for arguments.
3026 * manual/examples/subopt.c (main): Use char **argv argument.
3027
2ee633a2
JM
30282012-02-17 Joseph Myers <joseph@codesourcery.com>
3029
3030 [BZ #5077]
3031 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3032 rounding modes.
3033
0520adde
FB
30342012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3035
3036 [BZ #6907]
3037 * manual/string.texi (strchr): Change when strchrnul is
3038 recommended.
3039
3f4081cd
DGM
30402012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3041
3042 [BZ #174]
3043 * manual/locale.texi (setlocale): Document LOCPATH.
3044
d1b10e78
JM
30452012-02-17 Joseph Myers <joseph@codesourcery.com>
3046
3047 [BZ #10210]
3048 * manual/process.texi (execle): Move @dots{} before last argument.
3049
79c6869c
PB
30502012-02-17 Paul Bolle <pebolle@tiscali.nl>
3051
3052 [BZ #12047]
3053 * manual/charset.texi (Generic Charset Conversion): Fix typo
3054 (LC_TYPE -> LC_CTYPE).
3055
cc6e48bc
NB
30562012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3057
3058 [BZ #5805]
3059 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3060 (scalbnf): Likewise.
3061 (scalbnl): Likewise.
3062 (scalbln): Likewise.
3063 (scalblnf): Likewise.
3064 (scalblnl): Likewise.
3065 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3066 (vwarnx): Likewise.
3067 (verr): Likewise.
3068 (verrx): Likewise.
3069 * manual/filesys.texi (telldir): Use braces around return type.
3070 * manual/llio.texi (mmap): Add space after comma.
3071 (mmap64): Likewise.
3072 * manual/math.texi (jn): Use @var{} on parameter names.
3073 (jnf): Likewise.
3074 (jnl): Likewise.
3075 (yn): Likewise.
3076 (ynf): Likewise.
3077 (ynl): Likewise.
3078 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3079 line.
3080 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3081 "...".
3082 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3083 (sched_get_priority_max): Likewise.
3084 * manual/signal.texi (sigvec): Add space after comma.
3085 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3086 names.
3087 (if_indextoname): Likewise.
3088 (if_freenameindex): Likewise.
3089 (sendto): Use ',' instead of '.' in prototype.
3090 * manual/startup.texi (syscall): Use @dots{} instead of literal
3091 "...".
3092 * manual/stdio.texi (__fpending): Separate initial words of
3093 paragraph from @deftypefun line.
3094 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3095 "...".
3096 (vsyslog): Use @var{} on parameter names.
3097 * manual/terminal.texi (stty): Use @var{} on parameter names.
3098 * manual/users.texi (getutmp): Use @var{} on parameter names.
3099 (getutmpx): Likewise.
3100
5b23062f
JM
31012012-02-17 Joseph Myers <joseph@codesourcery.com>
3102
3103 [BZ #6884]
3104 * manual/stdio.texi (fopen): Fix typos in description of
3105 ",ccs=STRING".
3106
8dee4833
AJ
31072012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3108
3109 [BZ #4026]
3110 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3111 get clock_id definition.
3112
9078ce93
TS
31132012-02-17 Thomas Schwinge <thomas@schwinge.name>
3114
3115 [BZ #4822]
3116 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3117 (madvise): Cast every argument to void on its own.
3118
3835c55f
JM
31192012-02-17 Joseph Myers <joseph@codesourcery.com>
3120
3121 [BZ #9902]
3122 * manual/startup.texi (Exit Status): Fix typo.
3123
35c47e37
JM
31242012-02-17 Joseph Myers <joseph@codesourcery.com>
3125
3126 [BZ #10140]
3127 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3128 * manual/examples/argp-ex2.c: Likewise.
3129 * manual/examples/argp-ex3.c: Likewise.
3130
e3b69ca7
RH
31312012-02-16 Richard Henderson <rth@redhat.com>
3132
3133 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3134 * sysdeps/s390/s390-32/initfini.c: Remove.
3135 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3136 * sysdeps/s390/s390-64/initfini.c: Remove.
3137
df83af67
KK
31382012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3139
3140 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3141 compiler output for sysdeps/generic/initfini.c.
3142 * sysdeps/sh/elf/initfini.c: Remove file.
3143
f63f3380
DM
31442012-02-16 David S. Miller <davem@davemloft.net>
3145
fb59b3a4
DM
3146 [BZ #11494]
3147 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3148
f63f3380
DM
3149 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3150 * sysdeps/sparc/crti.S: New file.
3151 * sysdeps/sparc/crtn.S: New file.
3152 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3153 * sysdeps/sparc/sparc64/Makefile: Likewise.
3154
df6a4a4a
MF
31552012-02-15 Mike Frysinger <vapier@gentoo.org>
3156
6dd8f3dc 3157 [BZ #3335]
df6a4a4a
MF
3158 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3159
1cac7236
RM
31602012-02-15 Roland McGrath <roland@hack.frob.com>
3161
d2c736f8
RM
3162 [BZ #4822]
3163 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3164
1cac7236
RM
3165 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3166 (write, read, close): Likewise.
3167 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3168
8e475601
JM
31692012-02-15 Joseph Myers <joseph@codesourcery.com>
3170
3171 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3172 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3173 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3174 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3175 <bits/signalfd.h>.
3176 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3177 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3178 bits/signalfd.h.
3179
ed656b40
MP
31802012-02-14 Marek Polacek <polacek@redhat.com>
3181
3182 * sysdeps/x86_64/crti.S: New file.
3183 * sysdeps/x86_64/crtn.S: New file.
3184 * sysdeps/x86_64/elf/initfini.c: Remove file.
3185
2a979d3a
JM
31862012-02-13 Joseph Myers <joseph@codesourcery.com>
3187
3188 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3189 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3190 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3191 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3192 <bits/inotify.h>.
3193 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3194 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3195 bits/inotify.h.
3196
2a418ac3
JM
31972012-02-13 Joseph Myers <joseph@codesourcery.com>
3198
3199 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3200 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3201 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3202 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3203 <bits/eventfd.h>.
3204 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3205 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3206 bits/eventfd.h.
3207
fb779be7
TS
32082012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3209
e19e83c5
RM
3210 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3211 __feraiseexcept instead of feraiseexcept.
7c35ffed 3212
fb779be7
TS
3213 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3214 nanosleep invocations.
3215 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3216 strings, and add error checking for a nanosleep invocations.
3217
59ba27a6
PE
32182012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3219
3220 Replace FSF snail mail address with URLs, as per GNU coding standards.
3221 Most of the snail mail addresses were wrong anyway, and omitting
3222 them makes the source code easier to maintain. Almost all of the
3223 changes are to license notices and to locale LC_IDENTIFICATION
3224 addresses, except for this one:
3225 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3226 not its snail mail address.
3227
57b957eb
RH
32282012-02-09 Richard Henderson <rth@twiddle.net>
3229
af850b1c
RH
3230 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3231 of kernel-features.h.
3232
57b957eb
RH
3233 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3234
6b73181a
MP
32352012-02-08 Marek Polacek <polacek@redhat.com>
3236
3237 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3238 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3239 * sysdeps/gnu/_G_config.h: Likewise.
3240 * sysdeps/generic/_G_config.h: Likewise.
3241
26ecc33a
AS
32422012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3243
6c6dbc63
AS
3244 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3245 tests.
3246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3247
e216c012
AS
3248 * sysdeps/powerpc/powerpc32/crti.S: New file.
3249 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3250 * sysdeps/powerpc/powerpc64/crti.S: New file.
3251 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3252
26ecc33a
AS
3253 * Makeconfig (have-initfini): Don't set.
3254 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3255 * configure.in (nopic_initfini): Don't substitute.
3256 * config.h.in (HAVE_INITFINI): Don't #undef.
3257 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3258 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3259
3add8e13
JM
32602012-02-08 Joseph Myers <joseph@codesourcery.com>
3261
3262 Support crti.S and crtn.S provided directly by architectures.
3263 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3264 [crti.S in sysdirs] (omit-deps): Likewise.
3265 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3266 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3267 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3268 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3269 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3270 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3271 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3272 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3273 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3274 compiler output for sysdeps/generic/initfini.c.
3275 * sysdeps/i386/elf/Makefile: Remove file.
3276 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3277
a22f12b4
MP
32782012-02-07 Marek Polacek <polacek@redhat.com>
3279
3280 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3281 * sysdeps/gnu/_G_config.h: Likewise.
3282 * sysdeps/mach/hurd/_G_config.h: Likewise.
3283
148cf100
MP
32842012-02-07 Marek Polacek <polacek@redhat.com>
3285
3286 * math/Makefile (tests): Add tst-CMPLX2.
3287 * math/tst-CMPLX2.c: New file.
3288
cfdc0dd7
AS
32892012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3290
84ba42c4
AS
3291 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3292
cfdc0dd7
AS
3293 * math/libm-test.inc (jn_test): Add missing L suffix.
3294
622c86f4
MP
32952012-02-06 Marek Polacek <polacek@redhat.com>
3296
3297 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3298 * sysdeps/i386/fpu/e_powf.S: Likewise.
3299 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3300 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3301 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3302 * sysdeps/i386/fpu/e_pow.S: Likewise.
3303 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3304 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3305 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3306 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3307 * sysdeps/i386/fpu/e_log2.S: Likewise.
3308 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3309 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3310 * sysdeps/i386/fpu/e_powl.S: Likewise.
3311 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3312 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3313 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3314 * sysdeps/i386/fpu/e_logl.S: Likewise.
3315 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3316 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3317 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3318 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3319 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3320 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3321 * sysdeps/i386/fpu/e_log.S: Likewise.
3322 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3323 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3324 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3325 * sysdeps/i386/fpu/e_logf.S: Likewise.
3326 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3327 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3328 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3329 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3330 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3331 * sysdeps/i386/fpu/e_log10.S: Likewise.
3332 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3333 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3334 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3335 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3336 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3337 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3338 * sysdeps/i386/asm-syntax.h: Likewise.
3339 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3340 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3341 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3342 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3343 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3344 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3345 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3346 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3347 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3348 * sysdeps/powerpc/sysdep.h: Likewise.
3349 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3350 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3351
d4a54ac6
JM
33522012-02-06 Joseph Myers <joseph@codesourcery.com>
3353
3354 [BZ #411]
3355 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3356
314054ea
JM
33572012-02-06 Joseph Myers <joseph@codesourcery.com>
3358
3359 * sysdeps/i386/sysdep.h: Include <features.h>.
3360 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3361 version.
3362
d8e0ca50
JM
33632012-02-05 Joseph Myers <joseph@codesourcery.com>
3364
3365 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3366 Define.
3367 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3368 LOAD_PIC_REG_STR.
3369
b1da7dd9
JM
33702012-02-03 Joseph Myers <joseph@codesourcery.com>
3371
3372 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3373 (SETUP_PIC_REG): Use GET_PC_THUNK.
3374 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3375 macro.
3376
9a1d9254
JM
33772012-02-03 Joseph Myers <joseph@codesourcery.com>
3378
3379 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3380 for non-PIC compilation.
3381 (SETUP_PIC_REG): Add .p2align directive.
3382 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3383 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3384 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3385 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3386 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3387 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3388 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3389 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3390 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3391 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3392 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3393 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3394 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3395 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3396 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3397 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3398 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3399 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3400 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3401 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3402 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3403 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3404 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3405 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3406 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3407 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3408 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3409 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3410 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3411 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3412 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3413 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3414 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3415 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3416 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3417 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3418 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3419 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3420 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3421 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3422 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3423
65dc3b75
JM
34242012-02-03 Joseph Myers <joseph@codesourcery.com>
3425
3426 * math/tst-CMPLX.c: Include <stdio.h>.
3427
d55bf177
JM
34282012-01-31 Joseph Myers <joseph@codesourcery.com>
3429
3430 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3431 float.
3432 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3433 * sysdeps/sparc/bits/mathdef.h: Likewise.
3434
69db4f8f
MP
34352012-01-31 Marek Polacek <polacek@redhat.com>
3436
3437 * libio/libio.h: Don't define _PARAMS.
3438 * locale/programs/config.h: Don't define PARAMS.
3439 * stdlib/strtol_l.c: Likewise.
3440 (__strtol_l): Remove PARAMS from the prototype.
3441
41b81892
UD
34422012-01-31 Ulrich Drepper <drepper@gmail.com>
3443
3b49edc0
UD
3444 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3445 names. Just use the correct names. Remove unnecessary wrapper
3446 functions.
3447 * malloc/arena.c: Likewise.
3448 * malloc/hooks.c: Likewise.
3449
41b81892
UD
3450 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3451 ARENA_TEST says not to. Simplify test for creation of a new arena.
3452 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3453
27a25b6e
UD
34542012-01-30 Ulrich Drepper <drepper@gmail.com>
3455
3456 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3457 into tail calls.
3458 (update_get_addr): New function.
3459 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3460 GET_ADDR_MODULE parameter.
3461
c8a89e7d
JM
34622012-01-30 Joseph Myers <joseph@codesourcery.com>
3463
3464 * crypt/cert.c: Remove __STDC__ conditionals.
3465 * crypt/crypt-entry.c: Likewise.
3466 * crypt/crypt_util.c: Likewise.
3467 * libio/filedoalloc.c: Likewise.
3468 * libio/fileops.c: Likewise.
3469 * libio/genops.c: Likewise.
3470 * libio/iofclose.c: Likewise.
3471 * libio/iofdopen.c: Likewise.
3472 * libio/iofopen.c: Likewise.
3473 * libio/iofopen64.c: Likewise.
3474 * libio/iogetdelim.c: Likewise.
3475 * libio/iopopen.c: Likewise.
3476 * libio/obprintf.c: Likewise.
3477 * libio/oldfileops.c: Likewise.
3478 * libio/oldiofclose.c: Likewise.
3479 * libio/oldiofdopen.c: Likewise.
3480 * libio/oldiofopen.c: Likewise.
3481 * libio/oldiopopen.c: Likewise.
3482 * libio/wfiledoalloc.c: Likewise.
3483 * libio/wgenops.c: Likewise.
3484 * locale/programs/xmalloc.c: Likewise.
3485 * misc/syslog.c: Likewise.
3486 * stdio-common/xbug.c: Likewise.
3487 * string/memchr.c: Likewise.
3488 * string/memcmp.c: Likewise.
3489 * string/memrchr.c: Likewise.
3490 * string/rawmemchr.c: Likewise.
3491 * sysdeps/posix/getcwd.c: Likewise.
3492 * time/strftime_l.c: Likewise.
3493
3b100462
JM
34942012-01-30 Joseph Myers <joseph@codesourcery.com>
3495
3496 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
3497 * config.make.in (config-cflags-sse2avx): Define.
3498 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3499 Fix typo.
3500
607998af
CM
35012012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3502
3503 * scripts/config.guess: Update from upstream config git repository.
3504 * scripts/config.sub: Likewise.
3505
3601428f
CM
35062012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3507
3ac8b282
CM
3508 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3509 (EM_NUM): Update.
3510 (R_TILEPRO_*, R_TILEGX_*): New macros.
3511
e034841e
CM
3512 * scripts/firstversions.awk: Fix bug in version range handling.
3513
540d7568
CM
3514 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3515
3601428f
CM
3516 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3517
463de862
CM
3518 * include/sys/epoll.h: New file.
3519 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3520 libc_hidden_def.
3521
73139a76
UD
35222012-01-28 Ulrich Drepper <drepper@gmail.com>
3523
96bc5b45
UD
3524 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3525 Avoid unnecessary __WORDSIZE == 64 test.
3526 (fmaxf): Use VEX format if possible.
3527 (fmax): Likewise.
3528 (fminf): Likewise.
3529 (fmin): Likewise.
3530
56f6f6a2
UD
3531 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3532 * math/math_private.h: Remove libc_fegetround* and
3533 libc_fesetround*.
3534 * sysdeps/i386/configure.in: Check for -msse2avx.
3535 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3536 also if SSE2AVX is defined.
3537 Remove libc_fegetround* and libc_fesetround*.
3538 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3539 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3540 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3541 of HAS_YMM_USABLE.
3542 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3543 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3544 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3545 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3546 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3547
73139a76
UD
3548 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3549
d73f93a4
AZ
35502012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3551
3552 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3553 size is not set.
3554 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3555
6ee65ed6
UD
35562012-01-27 Ulrich Drepper <drepper@gmail.com>
3557
3558 [BZ #13618]
3559 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3560 relocation.
3561 * Makeconfig (libm): Define.
3562 * elf/Makefile: Add rules to build and run tst-relsort1.
3563 * elf/tst-relsort1.c: New file.
3564 * elf/tst-relsort1mod1.c: New file.
3565 * elf/tst-relsort1mod2.c: New file.
3566
8db21882
JM
35672012-01-27 Joseph Myers <joseph@codesourcery.com>
3568
3569 * math/s_ldexp.c: Remove __STDC__ conditionals.
3570 * math/s_ldexpf.c: Likewise.
3571 * math/s_ldexpl.c: Likewise.
3572 * math/s_nextafter.c: Likewise.
3573 * math/s_nexttowardf.c: Likewise.
3574 * math/s_significand.c: Likewise.
3575 * math/s_significandf.c: Likewise.
3576 * math/s_significandl.c: Likewise.
3577 * math/w_jnl.c: Likewise.
3578 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3579 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3580 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3581 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3582 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3583 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3584 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3585 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3586 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3587 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3588 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3589 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3590 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3591 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3592 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3593 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3594 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3595 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3596 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3597 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3598 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3599 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3600 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3601 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3602 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3603 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3604 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3605 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3606 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3607 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3608 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3609 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3610 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3611 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3612 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3613 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3614 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3615 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3616 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3617 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3618 * sysdeps/ieee754/k_standard.c: Likewise.
3619 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3620 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3621 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3622 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3623 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3624 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3625 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3626 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3627 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3628 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3629 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3630 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3631 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3632 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3633 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3634 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3635 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3636 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3637 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3638 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3639 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3640 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3641 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3642 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3643 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3644 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3645 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3646 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3647 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3648 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3649 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3650 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3651 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3652 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3653 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3654 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3655 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3656 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3657 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3658 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3659 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3660 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3661 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3662 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3663 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3664 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3665 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3666 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3667 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3668 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3669 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3670 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3671 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3672 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3673 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3674 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3675 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3676 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3677 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3678 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3679 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3680 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3681 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3682 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3683 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3684 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3685 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3686 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3687 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3688 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3689 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3690 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3691 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3692 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3693 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3694 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3695 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3696 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3697 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3698 * sysdeps/ieee754/s_matherr.c: Likewise.
3699 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3700 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3701 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3702 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3703
965a54a4
JM
37042012-01-26 Joseph Myers <joseph@codesourcery.com>
3705
3706 * crypt/md5.h: Remove __STDC__ conditionals.
3707 * libio/libioP.h: Likewise.
3708 * locale/programs/config.h: Likewise.
3709 * sysdeps/generic/sysdep.h: Likewise.
3710 * sysdeps/i386/asm-syntax.h: Likewise.
3711 * sysdeps/s390/asm-syntax.h: Likewise.
3712 * sysdeps/unix/sysdep.h: Likewise.
3713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3715
7071ad79
JM
37162012-01-26 Joseph Myers <joseph@codesourcery.com>
3717
3718 * libio/libio.h: Remove __STDC__ conditionals.
3719 * malloc/obstack.h: Likewise.
3720 * math/complex.h: Likewise.
3721 * math/math.h: Likewise.
3722 * sysdeps/generic/_G_config.h: Likewise.
3723 * sysdeps/gnu/_G_config.h: Likewise.
3724 * sysdeps/mach/hurd/_G_config.h: Likewise.
3725 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3726 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3727 * sysdeps/sparc/bits/mathdef.h: Likewise.
3728
afc5ed09
UD
37292012-01-26 Ulrich Drepper <drepper@gmail.com>
3730
3731 [BZ #13583]
3732 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 3733 Clean up HAS_* macros.
afc5ed09 3734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
3735 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3736 possible.
3737 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3738 HAS_AVX.
3739 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3740 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3741 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3742 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3743 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 3744
bdb6de1d
JM
37452012-01-25 Joseph Myers <joseph@codesourcery.com>
3746
3747 * elf/tst-unique3.cc (gets): Remove declaration.
3748 * elf/tst-unique3lib.cc (gets): Likewise.
3749 * elf/tst-unique3lib2.cc (gets): Likewise.
3750 * elf/tst-unique4.cc (gets): Likewise.
3751
b15549e6
UD
37522012-01-24 Ulrich Drepper <drepper@gmail.com>
3753
3754 * include/stdio.h: Add C++ protection. Add gets declarations and
3755 definitions.
3756 * debug/tst-chk1.c: Don't declare gets here.
3757 * stdio-common/tst-gets.c: Likewise.
3758
a037381f
JM
37592012-01-24 Joseph Myers <joseph@codesourcery.com>
3760
3761 * posix/glob: Remove directory.
3762
f1d4aa75
JM
37632012-01-24 Joseph Myers <joseph@codesourcery.com>
3764
3765 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3766
81c0c964
PT
37672012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3768
3769 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3770 of the non-standard EPFNOSUPPORT.
3771
0ea698ae
ST
37722011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3773
3774 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3775 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3776 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3777
d220b117
UD
37782012-01-21 Ulrich Drepper <drepper@gmail.com>
3779
3780 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3781
3e1aa84e
UD
37822012-01-20 Ulrich Drepper <drepper@gmail.com>
3783
3784 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3785 transient errors.
3786 * nscd/grpcache.c (cache_addgr): Likewise.
3787 * nscd/hstcache.c (cache_addhst): Likewise.
3788 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3789 * nscd/pwdcache.c (cache_addpw): Likewise.
3790 * nscd/servicescache.c (cache_addserv): Likewise.
3791
400aa020
UD
37922012-01-16 Ulrich Drepper <drepper@gmail.com>
3793
d77e7869
UD
3794 * malloc/malloc.c: Various cleanups.
3795 * malloc/hooks.c: Likewise.
3796
400aa020
UD
3797 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3798 * stdlib/bug-fmtmsg1.c: New file.
3799
3800 * stdlib/fmtmsg.c (init): Add missing unlock.
3801 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3802
e0a309cf
MP
38032012-01-12 Marek Polacek <polacek@redhat.com>
3804
3805 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3806 and _GNU_SOURCE.
3807
929d11c7
WS
38082012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3809
3810 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3811 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3812 macro to ensure uniqueness of label name.
3813 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3814 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3815
41d0e869
UD
38162012-01-11 Ulrich Drepper <drepper@gmail.com>
3817
0cc5ed3b
UD
3818 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3819
41d0e869
UD
3820 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3821 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3822 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3823 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3824
a47a831a
UD
38252012-01-10 Ulrich Drepper <drepper@gmail.com>
3826
daa891c0
UD
3827 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3828
3829 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3830 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3831 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3832
e58ef0f2
UD
3833 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3834
a47a831a 3835 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
3836 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3837 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 3838 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
3839
3840 * math/bits/math-finite.h: Add ldexp support.
3841
a0bfc9c7
MP
38422012-01-10 Marek Polacek <polacek@redhat.com>
3843
3844 * locale/programs/localedef.h (show_archive_content): Add noreturn
3845 attribute.
3846
d6e97a1d
UD
38472012-01-09 Ulrich Drepper <drepper@gmail.com>
3848
3849 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3850
d5835c26
UD
38512012-01-08 Ulrich Drepper <drepper@gmail.com>
3852
e5f484c6
UD
3853 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3854
d5835c26
UD
3855 * io/Makefile (headers): Add bits/poll2.h.
3856
d1f741e9
WS
38572011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3858
3859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3860 typo #include statement.
3861
ec09c1c4
UD
38622012-01-08 Ulrich Drepper <drepper@gmail.com>
3863
3864 * include/sys/cdefs.h: Define __attribute_alloc_size.
3865 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3866 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3867 * elf/pldd.c: Likewise.
3868 * iconv/iconv_charmap.c: Likewise.
3869 * iconv/iconvconfig.c: Likewise.
3870 * iconv/strtab.c: Likewise.
3871 * locale/programs/locale.c: Likewise.
3872 * locale/programs/localedef.h: Likewise.
3873 * locale/programs/simple-hash.c: Likewise.
3874 * nscd/nscd.h: Likewise.
3875 * nss/makedb.c: Likewise.
3876 * sysdeps/generic/ldconfig.h: Likewise.
3877 * locale/programs/localedef.c: Remove xmalloc prototype.
3878 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3879
20b38e03
PP
38802012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3881
3882 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3883 appropriate.
3884
a0da5fe1
UD
38852012-01-08 Ulrich Drepper <drepper@gmail.com>
3886
1d5a644a 3887 * math/Makefile (tests): Add tst-CMPLX.
669704fd 3888 * math/tst-CMPLX.c: New file.
1d5a644a 3889
8784a6db
UD
3890 * math/complex.h (CMPLXL): Fix typo.
3891
d9a216c0
UD
3892 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3893 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3894 GLIBC_2.16.
3895 * debug/tst-chk1.c: Add poll and ppoll tests.
3896 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3897 * include/sys/poll.h: Add hidden proto for ppoll.
3898 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3899 * sysdeps/mach/hurd/ppoll.c: Likewise.
3900 * io/ppoll.c: Likewise.
3901 * debug/poll_chk.c: New file.
3902 * debug/ppoll_chk.c: New file.
3903 * include/bits/poll2.h: New file.
3904 * io/bits/poll2.h: New file.
3905
ac097f5c
UD
3906 [BZ #1350]
3907 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3908
2119dcfa
UD
3909 * configure.in: static is always set to yes. Remove.
3910 * config.make.in: Don't set build-static.
3911 * Makeconfig: Remove use of build-static.
3912 * dlfcn/Makefile: Likewise.
3913 * elf/Makefile: Likewise.
3914 * math/Makefile: Likewise.
3915 * misc/Makefile: Likewise.
3916 * nptl/Makefile: Likewise.
3917 * sysdeps/mach/hurd/Makefile: Likewise.
3918
121766a9
UD
3919 * configure.in: PWD_P is not used anymore.
3920 * config.make.in: Remove PWD_P entry.
3921
51a1d39c 3922 * configure.in: Remove last remnants of RANLIB.
8720d066 3923 No need to check for signed size_t anymore.
215f4bdc
UD
3924 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3925 and IA-64.
3857022a 3926 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
3927 * aclocal.m4: Likewise.
3928
d3ed7225
UD
3929 * wcsmbs/mbrtoc16.c: Implement using towc function.
3930 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3931 * wcsmbs/wcsmbsload.c: Likewise.
3932 * iconv/gconv_simple.c: Likewise.
3933 * iconv/gconv_int.h: Likewise.
3934 * iconv/gconv_builtin.h: Likewise.
3935 * iconv/iconv_prog.c: Remove CHAR16 handling.
3936
3937 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3938
3939 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3940
a0da5fe1
UD
3941 * configure.in: Remove --with-elf and --enable-bounded options.
3942 Dont set base_machine for ia64. More non-ELF conditions removed.
3943 Remove testing and setting of leading underscore information.
3944 * config.make.in (build-bounded): Set to no.
3945 * config.h.in: Remove NO_UNDERSCORES entry.
3946 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
3947 them.
3948 * csu/start.c: Remove !NO_UNDERSCORE code.
3949 * locale/localeinfo.h: Likewise.
3950 * sysdeps/generic/machine-gmon.h: Likewise.
3951 * sysdeps/generic/sysdep.h: Likewise.
3952 * sysdeps/i386/sysdep.h: Likewise.
3953 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3954 * sysdeps/mach/sysdep.h: Likewise.
3955 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3956 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3957 * sysdeps/sh/sysdep.h: Likewise.
3958 * sysdeps/sparc/sparc32/alloca.S: Likewise.
3959 * sysdeps/unix/i386/sysdep.S: Likewise.
3960 * sysdeps/unix/sparc/start.c: Likewise.
3961 * sysdeps/unix/sparc/sysdep.S: Likewise.
3962 * sysdeps/unix/sparc/sysdep.h: Likewise.
3963 * sysdeps/unix/start.c: Likewise.
3964 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3965 * sysdeps/x86_64/sysdep.h: Likewise.
3966
df78418a
UD
39672012-01-07 Ulrich Drepper <drepper@gmail.com>
3968
a784e502
UD
3969 [BZ #13553]
3970 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3971 for non-gcc.
3972 * argp/argp-fmtstream.h: Use const instead __const.
3973 * argp/argp.h: Likewise.
3974 * assert/assert.h: Likewise.
3975 * bits/fenv.h: Likewise.
3976 * bits/sched.h: Likewise.
3977 * bits/sigset.h: Likewise.
3978 * bits/sigthread.h: Likewise.
3979 * catgets/nl_types.h: Likewise.
3980 * conform/data/pthread.h-data: Likewise.
3981 * crypt/crypt-private.h: Likewise.
3982 * crypt/crypt.h: Likewise.
3983 * crypt/crypt_util.c: Likewise.
3984 * ctype/ctype.h: Likewise.
3985 * debug/execinfo.h: Likewise.
3986 * debug/mbsnrtowcs_chk.c: Likewise.
3987 * debug/mbsrtowcs_chk.c: Likewise.
3988 * debug/wcsnrtombs_chk.c: Likewise.
3989 * debug/wcsrtombs_chk.c: Likewise.
3990 * debug/wcstombs_chk.c: Likewise.
3991 * dirent/dirent.h: Likewise.
3992 * dlfcn/dlfcn.h: Likewise.
3993 * elf/neededtest4.c: Likewise.
3994 * grp/grp.h: Likewise.
3995 * gshadow/gshadow.h: Likewise.
3996 * iconv/gconv.h: Likewise.
3997 * iconv/gconv_int.h: Likewise.
3998 * iconv/gconv_simple.c: Likewise.
3999 * iconv/iconv.h: Likewise.
4000 * iconv/loop.c: Likewise.
4001 * iconv/skeleton.c: Likewise.
4002 * include/aio.h: Likewise.
4003 * include/aliases.h: Likewise.
4004 * include/argz.h: Likewise.
4005 * include/arpa/inet.h: Likewise.
4006 * include/assert.h: Likewise.
4007 * include/dirent.h: Likewise.
4008 * include/dlfcn.h: Likewise.
4009 * include/execinfo.h: Likewise.
4010 * include/fcntl.h: Likewise.
4011 * include/fenv.h: Likewise.
4012 * include/glob.h: Likewise.
4013 * include/grp.h: Likewise.
4014 * include/libintl.h: Likewise.
4015 * include/mntent.h: Likewise.
4016 * include/netdb.h: Likewise.
4017 * include/pwd.h: Likewise.
4018 * include/rpc/netdb.h: Likewise.
4019 * include/sched.h: Likewise.
4020 * include/search.h: Likewise.
4021 * include/shadow.h: Likewise.
4022 * include/signal.h: Likewise.
4023 * include/stdio.h: Likewise.
4024 * include/stdlib.h: Likewise.
4025 * include/string.h: Likewise.
4026 * include/sys/socket.h: Likewise.
4027 * include/sys/stat.h: Likewise.
4028 * include/sys/statfs.h: Likewise.
4029 * include/sys/statvfs.h: Likewise.
4030 * include/sys/syslog.h: Likewise.
4031 * include/sys/time.h: Likewise.
4032 * include/sys/uio.h: Likewise.
4033 * include/time.h: Likewise.
4034 * include/unistd.h: Likewise.
4035 * include/utmp.h: Likewise.
4036 * include/wchar.h: Likewise.
4037 * include/wctype.h: Likewise.
4038 * inet/aliases.h: Likewise.
4039 * inet/arpa/inet.h: Likewise.
4040 * inet/netinet/ether.h: Likewise.
4041 * inet/netinet/in.h: Likewise.
4042 * intl/libintl.h: Likewise.
4043 * io/bits/fcntl2.h: Likewise.
4044 * io/fcntl.h: Likewise.
4045 * io/ftw.h: Likewise.
4046 * io/sys/poll.h: Likewise.
4047 * io/sys/stat.h: Likewise.
4048 * io/sys/statfs.h: Likewise.
4049 * io/sys/statvfs.h: Likewise.
4050 * io/utime.h: Likewise.
4051 * libio/bits/stdio.h: Likewise.
4052 * libio/bits/stdio2.h: Likewise.
4053 * libio/libio.h: Likewise.
4054 * libio/libioP.h: Likewise.
4055 * libio/stdio.h: Likewise.
4056 * locale/lc-ctype.c: Likewise.
4057 * locale/locale.h: Likewise.
4058 * login/utmp.h: Likewise.
4059 * malloc/arena.c: Likewise.
4060 * malloc/malloc.c: Likewise.
4061 * malloc/malloc.h: Likewise.
4062 * malloc/mcheck.c: Likewise.
4063 * malloc/mtrace.c: Likewise.
4064 * math/bits/mathcalls.h: Likewise.
4065 * math/fenv.h: Likewise.
4066 * math/math_private.h: Likewise.
4067 * misc/bits/error.h: Likewise.
4068 * misc/bits/syslog.h: Likewise.
4069 * misc/err.h: Likewise.
4070 * misc/error.h: Likewise.
4071 * misc/fstab.h: Likewise.
4072 * misc/mntent.h: Likewise.
4073 * misc/regexp.h: Likewise.
4074 * misc/search.h: Likewise.
4075 * misc/sgtty.h: Likewise.
4076 * misc/sys/mman.h: Likewise.
4077 * misc/sys/syslog.h: Likewise.
4078 * misc/sys/uio.h: Likewise.
4079 * misc/sys/xattr.h: Likewise.
4080 * misc/ttyent.h: Likewise.
4081 * nis/rpcsvc/ypclnt.h: Likewise.
4082 * nss/nss.h: Likewise.
4083 * posix/bits/unistd.h: Likewise.
4084 * posix/fnmatch.h: Likewise.
4085 * posix/glob.h: Likewise.
4086 * posix/sched.h: Likewise.
4087 * posix/spawn.h: Likewise.
4088 * posix/sys/wait.h: Likewise.
4089 * posix/unistd.h: Likewise.
4090 * posix/wordexp.h: Likewise.
4091 * pwd/pwd.h: Likewise.
4092 * resolv/netdb.h: Likewise.
4093 * resource/sys/resource.h: Likewise.
4094 * rt/aio.h: Likewise.
4095 * rt/bits/mqueue2.h: Likewise.
4096 * rt/mqueue.h: Likewise.
4097 * shadow/shadow.h: Likewise.
4098 * signal/signal.h: Likewise.
4099 * socket/send.c: Likewise.
4100 * socket/sendto.c: Likewise.
4101 * socket/sys/socket.h: Likewise.
4102 * stdio-common/printf.h: Likewise.
4103 * stdlib/bits/stdlib.h: Likewise.
4104 * stdlib/fmtmsg.h: Likewise.
4105 * stdlib/monetary.h: Likewise.
4106 * stdlib/stdlib.h: Likewise.
4107 * stdlib/ucontext.h: Likewise.
4108 * streams/stropts.h: Likewise.
4109 * string/argz.h: Likewise.
4110 * string/bits/string2.h: Likewise.
4111 * string/string.h: Likewise.
4112 * string/strings.h: Likewise.
4113 * sunrpc/rpc/auth.h: Likewise.
4114 * sunrpc/rpc/auth_des.h: Likewise.
4115 * sunrpc/rpc/clnt.h: Likewise.
4116 * sunrpc/rpc/netdb.h: Likewise.
4117 * sunrpc/rpc/pmap_clnt.h: Likewise.
4118 * sunrpc/rpc/xdr.h: Likewise.
4119 * sysdeps/generic/inttypes.h: Likewise.
4120 * sysdeps/generic/net/if.h: Likewise.
4121 * sysdeps/generic/sys/swap.h: Likewise.
4122 * sysdeps/gnu/net/if.h: Likewise.
4123 * sysdeps/gnu/utmpx.h: Likewise.
4124 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4125 * sysdeps/i386/i486/bits/string.h: Likewise.
4126 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4127 * sysdeps/s390/bits/string.h: Likewise.
4128 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4129 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4130 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4131 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4132 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4133 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4134 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4135 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4136 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4137 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4138 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4139 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4140 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4141 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4142 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4143 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4144 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4145 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4146 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4147 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4148 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4149 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4150 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4151 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4152 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4153 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4154 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4155 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4156 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4157 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4158 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4159 * sysvipc/sys/ipc.h: Likewise.
4160 * sysvipc/sys/msg.h: Likewise.
4161 * sysvipc/sys/sem.h: Likewise.
4162 * sysvipc/sys/shm.h: Likewise.
4163 * termios/termios.h: Likewise.
4164 * time/sys/time.h: Likewise.
4165 * time/time.h: Likewise.
4166 * wcsmbs/bits/wchar2.h: Likewise.
4167 * wcsmbs/uchar.h: Likewise.
4168 * wcsmbs/wchar.h: Likewise.
4169 * wctype/wctype.h: Likewise.
4170
0269750c
UD
4171 [BZ #13551]
4172 * Makeconfig: Remove all but ELF support including AIX support.
4173 * Makerules: Likewise.
4174 * config.h.in: Likewise.
4175 * config.make.in: Likewise.
4176 * configure: Likewise.
4177 * configure.in: Likewise.
4178 * csu/Makefile: Likewise.
4179 * csu/version.c: Likewise.
4180 * debug/Makefile: Likewise.
4181 * dlfcn/Makefile: Likewise.
4182 * elf/Makefile: Likewise.
4183 * extra-lib.mk: Likewise.
4184 * iconv/Makefile: Likewise.
4185 * include/libc-symbols.h: Likewise.
4186 * include/shlib-compat.h: Likewise.
4187 * resolv/Makefile: Likewise.
4188 * resolv/res_libc.c: Likewise.
4189 * rt/Makefile: Likewise.
4190 * sysdeps/i386/asm-syntax.h: Likewise.
4191 * sysdeps/i386/sysdep.h: Likewise.
4192 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4193 * sysdeps/mach/sysdep.h: Likewise.
4194 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4195 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4196 * sysdeps/s390/asm-syntax.h: Likewise.
4197 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4198 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4199 * sysdeps/sh/sysdep.h: Likewise.
4200 * sysdeps/unix/sparc/sysdep.h: Likewise.
4201 * sysdeps/wordsize-32/divdi3.c: Likewise.
4202 * sysdeps/x86_64/sysdep.h: Likewise.
4203
00bbd29b
UD
4204 * argp/Versions: Remove _argp_unlock_xxx.
4205
4206 [BZ #13559]
4207 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4208 * abilist/libBrokenLocale.abilist: Likewise.
4209 * abilist/libanl.abilist: Likewise.
4210 * abilist/libc.abilist: Likewise.
4211 * abilist/libcrypt.abilist: Likewise.
4212 * abilist/libdl.abilist: Likewise.
4213 * abilist/libm.abilist: Likewise.
4214 * abilist/libnsl.abilist: Likewise.
4215 * abilist/libpthread.abilist: Likewise.
4216 * abilist/libresolv.abilist: Likewise.
4217 * abilist/librt.abilist: Likewise.
4218 * abilist/libthread_db.abilist: Likewise.
4219 * abilist/libutil.abilist: Likewise.
4220 * abilist/libnss_db.abilist: New file.
4221
4222 * scripts/abilist.awk: Add support for indirect functions.
4223
a2693a0e
UD
4224 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4225
3f05895f
UD
4226 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4227
ecb6fb48
UD
4228 * shlib-versions: Remove entries for ports architectures.
4229
664f8cb9
UD
4230 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4231 files in ports.
4232 * elf/stackguard-macros.h: Remove support for IA-64.
4233 * elf/tst-auditmod1.c: Likewise.
4234 * sysdeps/generic/ldsodefs.h: Likewise.
4235
7ae81d88
UD
4236 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4237 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4238 configure files.
4239
bdeba135
UD
4240 [BZ #13552]
4241 * configure.in: Remove --enable-omitfp support.
4242 * FAQ.in: Adjust.
4243 * config.make.in: Likewise.
4244 * Makeconfig: Likewise.
4245 * manual/install.texi: Likewise.
4246
d75a0a62
UD
4247 In case anyone cares, the IA-64 architecture could move to ports.
4248 * sysdeps/ia64/*: Removed.
4249 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 4250 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 4251
dcc9756b
UD
4252 [BZ #13555]
4253 * configure.in: Remove entries for unsupported architectures.
4254
d3761ebc 4255 [BZ #13533]
9954432e
UD
4256 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4257 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4258 routines.
4259 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4260 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4261 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4262 fall back to using wcrtomb.
4263 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4264 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4265 renaming.
4266 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4267 * wcsmbs/tst-c16c32-1.c: New file.
4268
4269 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4270 local variable.
4271
c3a87236
UD
4272 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4273
28926a1b
UD
4274 * elf/tst-unique3.cc: Add explicit declaration of gets.
4275 * elf/tst-unique3lib.cc: Likewise.
4276 * elf/tst-unique3lib2.cc: Likewise.
4277 * elf/tst-unique4.cc: Likewise.
4278
df78418a
UD
4279 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4280
8ecd6b2a
JM
42812012-01-06 Joseph Myers <joseph@codesourcery.com>
4282
4283 [BZ #13566]
4284 * assert/assert.h (static_assert): Don't define for C++.
4285 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4286 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4287
9f115170
UD
42882012-01-03 Ulrich Drepper <drepper@gmail.com>
4289
5e0d0300
UD
4290 * iconv/loop.c (single loop): Fix assertion in storing of
4291 remaining bytes.
4292
9f115170
UD
4293 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4294
81fb02b0
UD
42952012-01-01 Ulrich Drepper <drepper@gmail.com>
4296
4297 * posix/getconf.c: Update copyright year.
4298 * nss/getent.c: Likewise.
a316c1f6 4299 * nss/makedb.c: Likewise.
81fb02b0
UD
4300 * iconv/iconvconfig.c: Likewise.
4301 * iconv/iconv_prog.c: Likewise.
4302 * elf/ldconfig.c: Likewise.
a316c1f6
UD
4303 * elf/pldd.c: Likewise.
4304 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
4305 * catgets/gencat.c: Likewise.
4306 * csu/version.c: Likewise.
4307 * elf/ldd.bash.in: Likewise.
4308 * elf/sprof.c (print_version): Likewise.
4309 * locale/programs/locale.c: Likewise.
4310 * locale/programs/localedef.c: Likewise.
a316c1f6 4311 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4312 * nscd/nscd.c (print_version): Likewise.
4313 * debug/xtrace.sh: Likewise.
4314 * malloc/memusage.sh: Likewise.
4315 * malloc/mtrace.pl: Likewise.
4316 * debug/catchsegv.sh: Likewise.
4317
2ba92745
JJ
43182011-12-30 Jakub Jelinek <jakub@redhat.com>
4319
4320 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4321 pure attribute.
4322
dadebdae
UD
43232011-12-24 Ulrich Drepper <drepper@gmail.com>
4324
d3761ebc 4325 [BZ #13533]
db6af3eb
UD
4326 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4327 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4328 transformations.
4329 * iconv/gconv_int.h: Likewise.
4330 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4331 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4332 from libc for GLIBC_2.16.
4333 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4334 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4335 * wcsmbs/uchar.h: Really define mbstate_t.
4336 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4337 * wcsmbs/c16rtomb.c: New file.
4338 * wcsmbs/mbrtoc16.c: New file.
4339 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4340 for C/POSIX locale.
4341 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4342 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4343
dadebdae
UD
4344 * wcsmbs/wchar.h: Add missing __restrict.
4345
67371b56
UD
43462011-12-23 Ulrich Drepper <drepper@gmail.com>
4347
74033a25
UD
4348 [BZ #13532]
4349 * time/Makefile (routines): Add timespec_get.
4350 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4351 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4352 timespec for ISO C11.
4353 * time/timespec_get.c: New file.
4354 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4355 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4356
380d7e87
UD
4357 [BZ #13531]
4358 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4359 * stdlib/stdlib.h: Declare aligned_alloc.
4360 * Versions.def: Add GLIBC_2.16 for libc.
4361 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4362
4e9e7a35
UD
4363 [BZ 13527]
4364 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4365 ISO C11.
4366
380d7e87 4367 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
4368 code.
4369
03a71829
UD
4370 [BZ #13528]
4371 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4372
839e283e
UD
4373 [BZ #13529]
4374 * assert/assert.h (static_assert): Define.
4375
ce5294e2 4376 * version.h: Update for 2.16 development version.
90fa7312 4377
8d44e150 4378 [BZ #13526]
d7809905
UD
4379 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4380 _ISOC11_SOURCE.
4381
c0da14cd
UD
4382 * version.h (RELEASE): Bump for 2.15 release.
4383 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4384
530a3249
MP
4385 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4386 Patch by Marek Polacek <mpolacek@redhat.com>.
4387
67371b56
UD
4388 * bits/byteswap.h: Protect long long constants with __extension__.
4389 * sysdeps/i386/bits/byteswap.h: Likewise.
4390 * sysdeps/ia64/bits/byteswap.h: Likewise.
4391 * sysdeps/s390/bits/byteswap.h: Likewise.
4392 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4393
15db4de1
LD
43942011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4395
4396 [BZ #13540]
bbe315ea
LD
4397 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4398 destination buffer.
15db4de1
LD
4399 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4400
2b2596b1
MP
44012011-12-23 Marek Polacek <polacek@redhat.com>
4402
4403 * elf/dl-addr.c (determine_info): Add inline keyword.
4404 * elf/tst-auditmod4b.c (check_avx): Likewise.
4405 * elf/tst-auditmod6b.c (check_avx): Likewise.
4406 * elf/tst-auditmod6c.c (check_avx): Likewise.
4407 * elf/tst-auditmod7b.c (check_avx): Likewise.
4408
70c6c246
UD
44092011-12-23 Ulrich Drepper <drepper@gmail.com>
4410
4411 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4412 !__SSE_MATH__.
4413
c044cf14
LD
44142011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4415
15db4de1 4416 [BZ #13540]
c044cf14
LD
4417 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4418 processing for last bytes.
4419
6b13d9d9
BH
44202011-08-06 Bruno Haible <bruno@clisp.org>
4421
d455f537
BH
4422 [BZ #13061]
4423 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4424 U+0385, not to U+1FEE.
4425
6b13d9d9
BH
4426 [BZ #13062]
4427 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4428 entry for U+00A5 U+0301.
4429
db910efd
UD
44302011-12-22 Ulrich Drepper <drepper@gmail.com>
4431
27deeafc
UD
4432 [BZ #13166]
4433 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4434 buffer for the output is too small.
4435
aed9d171
UD
4436 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4437 optimization.
4438
db910efd
UD
4439 [BZ #13185]
4440 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4441 SSE flags if possible.
4442
2bd779ae
LD
44432011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4444
e7f9dac3 4445 [BZ #13540]
2bd779ae
LD
4446 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4447 processing for last bytes.
4448
154bfc16
JM
44492011-12-22 Joseph Myers <joseph@codesourcery.com>
4450
4451 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4452 (syscall-list-default-options, syscall-list-default-condition)
4453 (syscall-list-includes): Define.
4454 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4455 list of ABIs and options and #if conditions for each ABI. Do not
4456 handle common syscalls between ABIs specially.
4457 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4458 Remove.
4459 (syscall-list-variants, syscall-list-32bit-options)
4460 (syscall-list-32bit-condition, syscall-list-64bit-options)
4461 (syscall-list-64bit-condition): Define.
4462 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4463 (syscall-list-variants, syscall-list-32bit-options)
4464 (syscall-list-32bit-condition, syscall-list-64bit-options)
4465 (syscall-list-64bit-condition): Define.
4466 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4467 Remove.
4468 (syscall-list-variants, syscall-list-32bit-options)
4469 (syscall-list-32bit-condition, syscall-list-64bit-options)
4470 (syscall-list-64bit-condition): Define.
4471 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4472 Remove.
4473 (syscall-list-variants, syscall-list-32bit-options)
4474 (syscall-list-32bit-condition, syscall-list-64bit-options)
4475 (syscall-list-64bit-condition): Define.
4476
21eaf3a5
UD
44772011-12-22 Ulrich Drepper <drepper@gmail.com>
4478
16c6f992
UD
4479 * locale/iso-639.def: Add brx entry.
4480
41043168
UD
4481 [BZ #13328]
4482 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4483 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4484
21eaf3a5
UD
4485 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4486 __feraiseexcept_renamed.
4487
e3a851a2
UD
44882011-12-21 Ulrich Drepper <drepper@gmail.com>
4489
4920765e
UD
4490 [BZ #13538]
4491 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4492 EPOLLET with unsigned values.
4493 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4494 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4495
e3a851a2
UD
4496 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4497 to large cancellation.
4498 * math/s_cacoshf.c: Likewise.
4499 * math/s_cacoshl.c: Likewise.
4500
b27e24b8
RK
45012011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4502
4503 [BZ #13305]
aebefeee 4504 [BZ #12786]
b27e24b8
RK
4505 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4506 * math/s_cacoshf.c: Likewise.
4507 * math/s_cacoshl.c: Likewise.
4508
ee190f67
UD
45092011-12-21 Ulrich Drepper <drepper@gmail.com>
4510
4511 [BZ #13439]
4512 * iconv/gconv.h: Define __GCONV_SWAP.
4513 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4514 * iconvdata/utf-16.c: Likewise.
4515 * iconvdata/utf-32.c: Likewise.
4516
707f25df
AS
45172011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4518
4519 [BZ #13524]
4520 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4521 numerator after shifting it by one limb.
4522
d2daaa1e
RÁE
45232011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4524
4525 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4526 under [__USE_EXTERN_INLINES].
4527
a4647e72
UD
45282011-12-17 Ulrich Drepper <drepper@gmail.com>
4529
4530 [BZ #13446]
4531 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4532
f0b264f1
AZ
45332011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4534
4535 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4536 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4537 optimized code.
4538 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4539 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4540 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4541 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4542 for strncasecmp/strncasecmp_l compilation.
4543 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4544 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4545
8ef4f244
MP
45462011-12-08 Marek Polacek <mpolacek@redhat.com>
4547
4548 [BZ #13484]
4549 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4550 of __asm__.
4551
97ac2654
UD
45522011-12-17 Ulrich Drepper <drepper@gmail.com>
4553
4554 [BZ #13506]
4555 * time/tzfile.c (__tzfile_read): Check values from file header.
4556
91d2a845
WS
45572011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4558
4559 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4560 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4561 * powerpc/powerpc32/dl-start.S: Likewise.
4562 * powerpc/powerpc32/elf/start.S: Likewise.
4563 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4564 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4565 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4566 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4567 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4568 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4569 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4570 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4571 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4572 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4573 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4574 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4575 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4576 * powerpc/powerpc32/memset.S: Likewise.
4577 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4578 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4579 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4580 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4581 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4582 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4583 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4584 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4585 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4586 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4587 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4588 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4589 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4590
a1267ba1
AZ
45912011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4592
4593 * math/libm-test.inc: Added more nearbyint tests.
4594 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4595 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4596 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4597 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4598
ad8ac1bd
RL
45992011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4600
4601 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4602 FD_CLOEXEC.
4603
1d3e4b61
UD
46042011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4605
4606 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4607 Add wcscpy-ssse3 wcscpy-c.
4608 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4609 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4610 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4611 * sysdeps/x86_64/wcschr.S: New file.
4612 * sysdeps/x86_64/wcsrchr.S: New file.
4613 * string/test-strcmp.c: Remove checking of wcscmp function for
4614 wrong alignments.
4615 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4616 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4617 wcsrchr-sse2 wcsrchr-c.
4618 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4619 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4620 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4621 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4622 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4623 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4624 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4625 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4626 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4627 * wcsmbc/wcschr.c (WCSCHR): New macro.
4628
5b330a2d
UD
46292011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4630
4631 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4632 * wcsmbs/test-wcsrchr.c: New file.
4633 * string/test-strrchr.c: Add wcsrchr support.
4634 (WIDE): New macro.
4635 * wcsmbs/test-wcscpy.c: New file.
4636 * string/test-strcpy.c: Add wcscpy support.
4637 (WIDE): New macro.
26428b7c 4638
f039c043
UD
46392011-12-10 Ulrich Drepper <drepper@gmail.com>
4640
4641 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4642 the inner loop.
4643
850fb039
AS
46442011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4645
4646 [BZ #13472]
4647 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4648
4efbd5cb
UD
46492011-12-04 Ulrich Drepper <drepper@gmail.com>
4650
52ff5dd0 4651 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 4652 Minor optimizations.
52ff5dd0 4653
4efbd5cb
UD
4654 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4655 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4656 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4657
8a426e12
UD
46582011-12-03 Ulrich Drepper <drepper@gmail.com>
4659
aff2453d
UD
4660 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4661 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4662 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4663 for gcc to avoid warnings.
4664 * inet/Makefile (tests): Add tst-checks.
4665 * inet/tst-checks.c: New file.
4666
4667 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4668 warning.
4669
4670 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4671 __wmemcmp_sse2.
4672
4673 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4674 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4675
8a426e12
UD
4676 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4677
9bea3473
UD
46782011-12-02 Ulrich Drepper <drepper@gmail.com>
4679
3a965496
UD
4680 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4681 problem.
4682
9bea3473
UD
4683 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4684
f101631b
UD
46852011-11-29 Joseph Myers <joseph@codesourcery.com>
4686
4687 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4688 conditional on GCC version.
4689 (__arch_compare_and_exchange_val_8_acq)
4690 (__arch_compare_and_exchange_val_16_acq)
4691 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4692 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4693 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4694
a98275aa
UD
46952011-12-02 Joseph Myers <joseph@codesourcery.com>
4696
4697 * sysdeps/sh/backtrace.c: New file.
4698
d4cc29a2
AS
46992011-12-02 Andreas Schwab <schwab@redhat.com>
4700
4701 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4702 parenthesis.
4703
6257af2d
AS
47042011-12-01 Andreas Schwab <schwab@redhat.com>
4705
4706 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4707 falling back to utime.
4708
b5f44c1a
AS
47092011-11-30 Andreas Schwab <schwab@redhat.com>
4710
4711 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4712 expectations for float.
4713
f3a6cc0a
AS
47142011-11-29 Andreas Schwab <schwab@redhat.com>
4715
4716 * locale/weight.h (findidx): Add parameter len.
4717 * locale/weightwc.h (findidx): Likewise.
4718 * posix/fnmatch_loop.c (FCT): Adjust caller.
4719 * posix/regcomp.c (build_equiv_class): Likewise.
4720 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4721 * posix/regexec.c (check_node_accept_bytes): Likewise.
4722 * string/strcoll_l.c (STRCOLL): Likewise.
4723 * string/strxfrm_l.c (STRXFRM): Likewise.
4724
9d65ea3a
UD
47252011-11-17 Ulrich Drepper <drepper@gmail.com>
4726
4727 * Makefile.in: Remove CVSOPT handling.
4728 * configure.in: Remove use of AC_REVISION.
4729 * iconvdata/Makefile (distribute): No need to filter out CVS.
4730 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4731 handling.
4732
5583a086
AS
47332011-11-16 Andreas Schwab <schwab@redhat.com>
4734
4735 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4736 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4737 [USE_AS_STRNCASECMP_L]: Likewise.
4738 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4739 NO_TLS_DIRECT_SEG_REFS.
4740 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4741 Fix argument offsets for non-PIC.
4742 [USE_AS_STRNCASECMP_L]: Likewise.
4743 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4744 NO_TLS_DIRECT_SEG_REFS.
4745
d62a8200
UD
47462011-11-15 Ulrich Drepper <drepper@gmail.com>
4747
9d65ea3a 4748 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
4749 O_CLOEXEC.
4750 * locale/loadlocale.c (_nl_load_locale): Likewise.
4751
09f93bd3
AS
47522011-11-15 Andreas Schwab <schwab@redhat.com>
4753
446514f9
AS
4754 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4755 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4756 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4757 (SYSCALL_GETTIME): Set errno on error.
4758
09f93bd3
AS
4759 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4760 count references to noai6ai_cached.
4761
312be3f9
UD
47622011-11-15 Ulrich Drepper <drepper@gmail.com>
4763
4764 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4765
4766 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4767 FD_CLOEXEC for /proc/self/maps.
4768
4769 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4770 FD_CLOEXEC for /proc/meminfo.
4771
4772 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4773 gai.conf.
4774
4775 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4776 FD_CLOEXEC for given file.
4777
4778 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4779
4780 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4781 FD_CLOEXEC for /etc/hosts.
4782 (_gethtent): Likewise.
4783
4784 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4785
4786 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4787 cancellation and set FD_CLOEXEC for /etc/netgroup.
4788
4789 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4790 reading /etc/publickey.
4791
4792 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4793 allow cancellation when reading /etc/group.
4794
4795 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4796 cancellation.
4797 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4798
4799 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4800 when using data file.
4801
4802 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4803
4804 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4805 (write_nis_obj): Use "c" and "e" in fopen.
4806
4807 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4808
4809 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4810
4811 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4812
4813 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4814
4815 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4816 locale.alias.
4817
4818 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4819
4820 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4821
4822 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4823
4824 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4825 file parsing and set FD_CLOEXEC.
4826
82af0fa8
UD
48272011-11-14 Ulrich Drepper <drepper@gmail.com>
4828
4829 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4830
a5fb313c
AS
48312011-11-14 Andreas Schwab <schwab@redhat.com>
4832
4833 * malloc/arena.c (arena_get2): Don't call reused_arena when
4834 _int_new_arena failed.
4835
6abf3465
UD
48362011-11-14 Ulrich Drepper <drepper@gmail.com>
4837
4838 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4839 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4840 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4841 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4842 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4843 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4844 to compile strcasecmp and strncasecmp.
4845 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4846 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4847
4848 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4849
76e3966e
UD
48502011-11-13 Ulrich Drepper <drepper@gmail.com>
4851
4852 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4853 locale-defines.sym to gen-as-const-headers.
4854 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4855 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4856 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4857 to compile strcasecmp and strncasecmp.
4858 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4859 strcasecmp_l and strncasecmp_l.
4860 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4861 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4862 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4863 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4864 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4865 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4866 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4867 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4868 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4869 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4870 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4871
ab26144e
UD
48722011-11-12 Ulrich Drepper <drepper@gmail.com>
4873
7edb22ef
UD
4874 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4875 result of SYSDEP_GETTIME_CPU to retval.
4876 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4877 parameter list to macro. Remove trailing semicolon. Adjust users.
4878
9694fc44
UD
4879 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4880 variable.
4881
8ad89ef8
UD
4882 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4883 mantissa words.
4884 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4885
0c822ef9
UD
4886 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4887 from unused variable.
4888
874e0564
UD
4889 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4890 DWARF definitions.
4891 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4892 for assembling.
4893
3a2edc79
UD
4894 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4895 over namespaces.
4896
f3c2577f
UD
4897 * sunrpc/rpc_prot.c (rejected): Fix case value.
4898
294ce126
UD
4899 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4900 unsigned long long int to avoid warnings in shift.
4901
5e2b63c6
UD
4902 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4903 of use of trans.
4904 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4905 variable tmp.
4906
e7f4b08e
UD
4907 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4908 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4909 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4910
ab26144e
UD
4911 * nis/nis_table.c (nis_list): Use variable of correct type for
4912 result of __follow_path call.
4913
8a6d5255
AZ
49142011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4915
4916 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4917 of math functions ceil, trunc, floor, round, and sqrt, when
4918 avaliable on the platform.
4919 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4920 name clash.
4921 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4922 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4923 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4924
aaddc98c
MP
49252011-10-30 Marek Polacek <mpolacek@redhat.com>
4926
4927 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4928 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4929
95b7042b
RM
49302011-11-11 Roland McGrath <roland@hack.frob.com>
4931
4932 * include/unistd.h: Fix __readlink return type.
4933 Reported by Chris Metcalf <cmetcalf@tilera.com>.
4934
57769839
UD
49352011-11-11 Ulrich Drepper <drepper@gmail.com>
4936
4937 * stdlib/ucontext.h: Undo last change for makecontext.
4938
edc5984d
AS
49392011-11-11 Andreas Schwab <schwab@redhat.com>
4940
98591e58
AS
4941 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4942
edc5984d
AS
4943 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4944 * setjmp/setjmp.h: Mark functions as non-leaf.
4945 * setjmp/bits/setjmp2.h: Likewise.
4946 * stdlib/ucontext.h: Likewise.
4947
77cdc054
AS
49482011-11-10 Andreas Schwab <schwab@redhat.com>
4949
4950 * malloc/arena.c (_int_new_arena): Don't increment narenas.
4951 (reused_arena): Don't check arena limit.
4952 (arena_get2): Atomically check arena limit.
4953
fe72eebd
UD
49542011-11-08 Ulrich Drepper <drepper@gmail.com>
4955
5f078c32
UD
4956 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4957 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4958
fe72eebd
UD
4959 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4960 instructions.
4961
ae1bc2fa
AS
49622011-11-07 Andreas Schwab <schwab@redhat.com>
4963
7583a88d
AS
4964 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4965 handler when locking.
4966
ae1bc2fa
AS
4967 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4968 Fix size of allocated buffer.
4969
10fb0bfa
AS
49702011-11-04 Andreas Schwab <schwab@redhat.com>
4971
998832a4
AS
4972 [BZ #10103]
4973 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4974 declarations for long double functions.
4975 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
4976
10fb0bfa
AS
4977 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
4978
3d7ba52b
AS
49792011-11-03 Andreas Schwab <schwab@redhat.com>
4980
a9ae54a1
AS
4981 * nscd/nscd.c (main): Don't start AVC thread until credentials are
4982 installed.
4983
3d7ba52b
AS
4984 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
4985 is disabled.
4986
bc8db248
ST
49872011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4988
4989 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
4990
45b96dd6
AS
49912011-11-01 Andreas Schwab <schwab@linux-m68k.org>
4992
647776f6
AS
4993 * include/alloca.h (stackinfo_alloca_round): Define.
4994 (extend_alloca): Use it.
4995 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
4996 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
4997 here.
4998
d91a8b93
AS
4999 * scripts/check-local-headers.sh: Ignore libaudit.h.
5000
45b96dd6
AS
5001 * nscd/Makefile (extra-objs): Make recursively expanded.
5002
432d41ce
UD
50032011-11-01 Ulrich Drepper <drepper@gmail.com>
5004
34372fc6
UD
5005 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5006 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5007
fadb59f8
UD
5008 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5009 * posix/tst-rfc3484-2.c: Likewise.
5010 * posix/tst-rfc3484-3.c: Likewise.
5011
78239589
UD
5012 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5013 process_vm_writev.
5014 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5015 process_vm_writev.
5016 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5017 process_vm_writev from libc using GLIBC_2.15 version.
5018
432d41ce
UD
5019 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5020
02f9c6cf
PP
50212011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5022
5023 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5024 stack usage.
5025
3a2c0242
UD
50262011-10-31 Ulrich Drepper <drepper@gmail.com>
5027
f4ec4833
UD
5028 [BZ #13367]
5029 * nss/getent.c (initgroups_keys): Show error message in case no group
5030 names are given.
5031
3a2c0242
UD
5032 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5033 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5034 __bump_nl_timestamp.
5035 * nscd/connections (nscd_init): When host database is served open
5036 netlink socket and request notification about configuration changes.
5037 (main_loop_poll): Track netlink file descriptor and bump timestamp
5038 in case data becomes available.
5039 (main_loop_epoll): Likewise.
5040 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5041 (database_pers_head): Add extra_data fileds.
5042 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5043 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5044 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5045 Adjust caller.
5046 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5047 in6ai data, call __free_in6ai.
5048 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5049 Add -DHAVE_NETLINK.
5050 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5051 interface information. Reuse previous data if netlink timestamp
5052 is not changed.
5053 (__bump_nl_timestamp): New function.
5054 (__free_in6ai): New function.
5055
636064eb
UD
50562011-10-30 Ulrich Drepper <drepper@gmail.com>
5057
5058 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5059 close_not_cancel_no_status here.
5060 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5061
9beb2334
UD
50622011-10-29 Ulrich Drepper <drepper@gmail.com>
5063
6ef76f3b
UD
5064 [BZ #13276]
5065 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5066 return value.
5067
0ffc4f3e 5068 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5069 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5070 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5071
cb95113e
UD
50722011-07-03 Andreas Jaeger <aj@suse.de>
5073
5074 [BZ #10709]
5075 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5076 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5077 * math/libm-test.inc (sin_test): Add test case.
5078
a1b560ff
UD
50792011-10-29 Ulrich Drepper <drepper@gmail.com>
5080
c9aaface
UD
5081 [BZ #13337]
5082 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5083 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5084
d272e7f1
UD
5085 * elf/chroot_canon.c (chroot_canon): Cleanups.
5086
1bc33071
UD
5087 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5088
1760874d
TJ
5089 [BZ #13335]
5090 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5091 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5092
51d91b18
UD
5093 * string/test-strchr.c: Make usable for strchrnul testing.
5094 * string/test-strchrnul.c: New file.
5095 * string/Makefile (strop-tests): Add strchrnul.
5096
a1b560ff 5097 * po/it.po: Update from translation team.
b611fb81 5098 * po/es.po: Likewise.
a1b560ff 5099
a5b81e1f
UD
51002011-10-28 Ulrich Drepper <drepper@gmail.com>
5101
fd52bc6d
UD
5102 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5103 the three constants needed as parameters. Drop the others.
5104 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5105 __m128i_strloadu_tolower.
52e4b9eb
UD
5106 Create and initialize variable zero and use it in all the places
5107 where _mm_setzero_si128 was used.
fd52bc6d 5108
a5b81e1f
UD
5109 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5110 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5111 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5112 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5113 anymore.
5114 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5115 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5116 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5117 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5118 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5119 __mpranred, __mptan.
5120 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5121 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5122 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5123 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5124 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5125 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5126 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5127 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5128 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5129
b4343346
AS
51302011-10-28 Andreas Schwab <schwab@redhat.com>
5131
0c92d8a8
AS
5132 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5133 redefine if SHARED.
5134 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5135
b4343346
AS
5136 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5137 wide char related routines to wcsmbs subdir.
5138
3871f58f
AS
51392011-10-27 Andreas Schwab <schwab@redhat.com>
5140
5141 [BZ #13344]
5142 * misc/sys/cdefs.h (__THROWNL): Define.
5143 * posix/unistd.h: Use __THREADNL instead of __THREAD
5144 for memory synchronization functions.
5145
94d44d9f
RM
51462011-10-26 Roland McGrath <roland@hack.frob.com>
5147
21b64b15 5148 [BZ #13349]
94d44d9f
RM
5149 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5150 doesn't exist.
5151 * manual/stdio.texi (Obstack Streams): Node removed.
5152
f6ce9294
AS
51532011-10-26 Andreas Schwab <schwab@redhat.com>
5154
80479147
AS
5155 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5156 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5157 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5158
f6ce9294
AS
5159 * math/math_private.h (math_force_eval): Allow non-addressable
5160 arguments.
5161 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5162
618280a1
UD
51632011-10-25 Ulrich Drepper <drepper@gmail.com>
5164
e0016b11
UD
5165 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5166 file is not needed.
5167
5168 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5169 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5170 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5171 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5172 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5173 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5174 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5175 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5176 Add AVX variants.
5177 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5178 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5179 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5180 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5181 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5182 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5183 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5184 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5185 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5186 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5187 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5188 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5189 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5190 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5191 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5192 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5193 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5194 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5195 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5196
5197 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5198 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5199
618280a1
UD
5200 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5201 place. Use VEX encoding when compiling for AVX.
5202
37822576
AS
52032011-10-25 Andreas Schwab <schwab@redhat.com>
5204
1f1e1947
AS
5205 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5206 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5207
37822576
AS
5208 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5209
31ea014d
UD
52102011-10-25 Ulrich Drepper <drepper@gmail.com>
5211
d7826aa1 5212 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 5213 useless if() expression.
d7826aa1
UD
5214 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5215 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5216 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5217 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5218 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5219 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5220 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5221 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5222 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5223 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5224 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5225 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5226 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5227 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5228 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5229 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5230 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5231 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5232 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5233
31ea014d
UD
5234 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5235
16437fec
AS
52362011-10-25 Andreas Schwab <schwab@redhat.com>
5237
5238 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5239 condition.
5240 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5241
31d3cc00
UD
52422011-10-25 Ulrich Drepper <drepper@gmail.com>
5243
5244 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5245 .text section. Avoid duplicate constants.
5246 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5247 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5248 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5249 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5250 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5251 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5252 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5253 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5254 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5255 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5256 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5257 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5258 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5259 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5260 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5261 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5262 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5263 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5264 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5265 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5266 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5267 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5268 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5269 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5270 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5271 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5272 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5273 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5274 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5275 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5276 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5277 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5278 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5279 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5280 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5281 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5282 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5283 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5284 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5285 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5286 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5287 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5288 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5289 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5290 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5291
58985aa9
UD
52922011-10-24 Ulrich Drepper <drepper@gmail.com>
5293
202c9deb
UD
5294 * sysdeps/x86_64/dla.h: Move to ...
5295 * sysdeps/x86_64/fpu/dla.h: ...here.
5296 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5297 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 5298
af968f62
UD
5299 * config.make.in: Add have-mfma4 entry.
5300 * configure.in: Substitute libc_cv_cc_fma4.
5301 * math/Makefile (dbl-only-routines): Add sincostab.
5302 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5303 Use __sincostab not sincos.
5304 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5305 name is a macro.
5306 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5307 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5308 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5309 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5310 using __copysign.
5311 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5312 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5313 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5314 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5315 and __inv.
5316 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5317 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5318 __copysign.
5319 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5320 define aliases when function name is a macro.
5321 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5322 sysdeps/ieee754/dbl-64/sincos.tbl.
5323 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5324 fma4-enabled routines.
5325 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5326 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5327 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5328 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5329 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5330 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5331 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5332 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5333 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5334 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5335 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5336 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5337 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5338 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5339 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5340 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5341 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5342 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5343 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5344 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5345 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5346 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5347 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5348 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5349 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5350 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5351 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5352 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5353 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5354 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5355
58985aa9
UD
5356 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5357 rename.
5358 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5359 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5360 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5361 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5362 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5363 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5364 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5365 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5366
a201fbcf
AS
53672011-10-24 Andreas Schwab <schwab@redhat.com>
5368
5369 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5370
fc2ee42a
LD
53712011-10-23 Ulrich Drepper <drepper@gmail.com>
5372
bb3129bd
UD
5373 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5374
0275fff8
UD
5375 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5376 prediction.
5377 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5378
2fa2ae85
UD
5379 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5380 Remove unused variable magic_bits.
5381 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5382
fc2ee42a
LD
5383 * string/strnlen.c: Define and use STRNLEN macro.
5384 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5385 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5386 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5387 * wcsmbs/wcslen.c: Define and use WCSLEN.
5388 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5389 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5390 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5391 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5392 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5393 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5394 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5395
ce7dd29f
LD
53962011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5397
5398 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5399 strnlen-sse2-no-bsf.
5400 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5401 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5402 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5403 Add strnlen support.
5404 (USE_AS_STRNLEN): New macro.
5405 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5406 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5407 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5408 * sysdeps/x86_64/wcslen.S: New file.
5409
979c70a3
MZ
54102011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5411
5412 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5413 XMM-moves are used for copying on small sizes.
5414
2d09f82f
LD
54152011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5416
5417 * wcsmbs/Makefile (strop-tests): Add wcschr.
5418 * wcsmbs/test-wcschr.c: New file.
5419 * string/test-strchr.c: Update.
5420 Add wcschr support.
5421 (WIDE): New macro.
5422
619fccca
LD
54232011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5424
2d09f82f 5425 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
5426 * wcsmbs/test-wcslen.c: New file.
5427 * string/test-strlen.c: Update.
5428 Add wcslen support.
5429 (WIDE): New macro.
5430
09f699ea
UD
54312011-10-23 Ulrich Drepper <drepper@gmail.com>
5432
5433 * po/it.po: Update from translation team.
5434
95584d3b
LD
54352011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5436
5437 * sysdeps/x86_64/wcscmp.S: Update.
5438 Fix wrong comparison semantics.
5439 wcscmp shall use signed comparison not unsigned.
5440 Don't use substraction to avoid overflow bug.
5441 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5442 * wcsmbc/wcscmp.c: Likewise.
5443 * string/test-strcmp.c: Likewise.
5444 Add new tests to check cases with negative values.
5445
c8b3296b
UD
54462011-10-23 Ulrich Drepper <drepper@gmail.com>
5447
5448 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5449 * sysdeps/x86_64/dla.h: ...here. New file.
5450 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5451 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5452 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5453 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5454 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5455 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5456 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5457 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5458 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5459
246ad57a
AS
54602011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5461
5462 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5463 __ynl_finite aliases.
5464
a1a87169
UD
54652011-10-22 Ulrich Drepper <drepper@gmail.com>
5466
0d355eb7
UD
5467 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5468
a1a87169
UD
5469 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5470 define DLA_FMA.
5471 [DLA_FMA] (EMULV): Use DLA_FMA.
5472 [DLA_FMA] (MUL12): Use EMULV.
5473 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5474 that are not needed.
5475 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5476 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5477 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5478 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5479 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5480 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5481 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5482
ee2aafe0
AS
54832011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5484
5485 * math/s_nan.c: Undef __nan.
5486 * math/s_nanf.c: Undef __nanf.
5487 * math/s_nanl.c: Undef __nanl.
5488 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5489 "math_private.h".
5490
bc62c2fb
UD
54912011-10-22 Ulrich Drepper <drepper@gmail.com>
5492
77425c63
UD
5493 * math/s_catan.c: Add branch predictions.
5494 * math/s_catanf.c: Likewise.
5495 * math/s_catanh.c: Likewise.
5496 * math/s_catanhf.c: Likewise.
5497 * math/s_catanhl.c: Likewise.
5498 * math/s_catanl.c: Likewise.
5499 * math/s_cexp.c: Likewise.
5500 * math/s_cexpf.c: Likewise.
5501 * math/s_cexpl.c: Likewise.
5502 * math/s_clog.c: Likewise.
5503 * math/s_clog10.c: Likewise.
5504 * math/s_clog10f.c: Likewise.
5505 * math/s_clog10l.c: Likewise.
5506 * math/s_clogf.c: Likewise.
5507 * math/s_clogl.c: Likewise.
5508 * math/s_csqrt.c: Likewise.
5509 * math/s_csqrtf.c: Likewise.
5510 * math/s_csqrtl.c: Likewise.
5511 * math/s_ctanf.c: Likewise.
5512 * math/s_ctanh.c: Likewise.
5513 * math/s_ctanhf.c: Likewise.
5514 * math/s_ctanhl.c: Likewise.
5515 * math/s_ctanl.c: Likewise.
5516
bc62c2fb
UD
5517 * math/math_private.h: Define __nan, __nanf, __nanl.
5518 * math/s_cacosh.c: Include <math_private.h>.
5519 * math/s_cacoshl.c: Likewise.
5520 * math/s_casinh.c: Likewise.
5521 * math/s_casinhf.c: Likewise.
5522 * math/s_casinhl.c: Likewise.
5523 * math/s_ccos.c: Rely entire on ccosh.
5524 * math/s_ccosf.c: Rely entire on ccoshf.
5525 * math/s_ccosl.c: Rely entirely on ccoshl.
5526 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5527 Remove tests for FE_INVALID.
5528 * math/s_ccoshf.c: Likewise.
5529 * math/s_ccoshl.c: Likewise.
5530 * math/s_csin.c: Likewise.
5531 * math/s_csinf.c: Likewise.
5532 * math/s_csinh.c Likewise.
5533 * math/s_csinhf.c: Likewise.
5534 * math/s_csinhl.c: Likewise.
5535 * math/s_csinl.c: Likewise.
5536 * math/s_ctan.c: Likewise.
5537 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5538 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5539 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5540
8ec250a4
UD
55412011-10-21 Ulrich Drepper <drepper@gmail.com>
5542
c196fed8
UD
5543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5544 compilation problems.
5545
8ec250a4
UD
5546 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5547 __builtin_expect.
5548
8d4f46c6
UD
55492011-10-20 Ulrich Drepper <drepper@gmail.com>
5550
ed72b654
UD
5551 * sysdeps/i386/configure.in: Test for -mfma4 option.
5552 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5553 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5554 COMMON_CPUID_INDEX_80000001.
5555 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5556 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5557 use it if FMA3 is not supported.
5558 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5559
8d4f46c6
UD
5560 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5561 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5562
d45c60c2
AS
55632011-10-20 Andreas Schwab <schwab@redhat.com>
5564
5565 [BZ #12892]
5566 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5567 it would create a cycle with a link time dependency.
5568
d9a4d2ab
UD
55692011-10-19 Ulrich Drepper <drepper@gmail.com>
5570
855d1560
UD
5571 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5572 instruction.
5573 * string/Makefile (strop-tests): Add rawmemchr.
5574 * string/test-rawmemchr.c: New file.
5575
d9a4d2ab
UD
5576 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5577 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5578 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5579 when compiling str{,n}casecmp and when AVX is available. Hook up
5580 new optimized code in initializers.
5581
8f3b1ffe
AS
55822011-10-19 Andreas Schwab <schwab@redhat.com>
5583
5584 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5585 __feraiseexcept instead of feraiseexcept.
5586
d38f1dba
UD
55872011-10-18 Ulrich Drepper <drepper@gmail.com>
5588
d9a8d0ab
UD
5589 * math/math_private.h: Define defaults for libc_fetestexcept and
5590 libc_feupdateenv.
5591 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5592 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5593 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5594 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5595 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5596 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5597 libc_fetestexcept and libc_feupdateenv.
5598
4855e3dd
UD
5599 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5600 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5601 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5602 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5603 libc_feholdexcept_setround.
5604
581d30e3
UD
5605 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5606 Add s_nearbyint-c and s_nearbyintf-c.
5607 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5608 nearbyintf inlines.
5609 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5610 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5611 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5612 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5613
d38f1dba
UD
5614 * math/math_private.h: Define defaults for libc_fegetround,
5615 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5616 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5617 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5618 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5619 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5620 standard functions.
5621 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5622 Remove comments and hacks for old compiler versions.
5623 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5624 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5625 libc_feholdexceptl.
5626
caa6c9d8
AS
56272011-10-18 Andreas Schwab <schwab@redhat.com>
5628
5629 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
5630 (__feraiseexcept_renamed): Add __NTH.
5631 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
5632 namespace violations.
5633
97c066e6
UD
56342011-10-17 Ulrich Drepper <drepper@gmail.com>
5635
99ce7b04
UD
5636 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5637
1004d182
UD
5638 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5639
228a984d
UD
5640 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5641 recently added interfaces.
5642 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5643
c8553a6a
UD
5644 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5645 about macro parameter expansion.
5646
ed22dcf6
UD
5647 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5648 __NO_MATH_INLINES is defined. Cleanups.
5649
5650 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5651 and __floorf is target has SSE4.1.
5652 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5653 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5654 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5655 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5656
b171c137
UD
5657 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5658 name.
5659 (floorf): Likewise.
5660
97c066e6
UD
5661 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5662
629f62ef
AS
56632011-10-17 Andreas Schwab <schwab@redhat.com>
5664
49a43d80
AS
5665 * misc/sys/cdefs.h: Fix last change.
5666
629f62ef
AS
5667 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5668 database lookup.
5669
e453f6cd
UD
56702011-10-16 Ulrich Drepper <drepper@gmail.com>
5671
aa78043a
UD
5672 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5673
ad0f5cad
UD
5674 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5675 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5676 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5677 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5678 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5679 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5680 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5681 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5682 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5683 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5684 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5685 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5686 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5687 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5688 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5689 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5690 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5691 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5692 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5693 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5694 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5695 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5696
5697 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5698 ceil, ceilf, floor, floorf.
5699
5700 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5701 Perform IRELATIVE relocations last.
5702
e453f6cd
UD
5703 * elf/do-rel.h: Add another parameter nrelative, replacing the
5704 local variable with the same name. Change name of the function
5705 to end in Rel or Rela (uppercase).
5706 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5707 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5708 elf_dynamic_do_##reloc function.
5709
fd5bdc09
UD
57102011-10-15 Ulrich Drepper <drepper@gmail.com>
5711
79b195b5
UD
5712 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5713 is sufficient, at least on modern CPUs.
5714
d4a28569
UD
5715 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5716
b61099b5
UD
5717 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5718 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5719
bcf01e6d
UD
5720 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5721 __expl_finite.
5722 * math/bits/math-finite.h: Add entries for exp.
5723 * math/e_expl.c: Add __*_finite alias.
5724 * sysdeps/i386/fpu/e_exp.S: Likewise.
5725 * sysdeps/i386/fpu/e_expf.S: Likewise.
5726 * sysdeps/i386/fpu/e_expl.c: Likewise.
5727 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5728 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5729 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5730 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5731 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5732 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5733 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5734
ba1a0d59
UD
5735 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5736 is sufficient, at least on modern CPUs.
5737
fd5bdc09
UD
5738 * ctype/ctype-info.c (__ctype_init): Define.
5739 * include/ctype.h (__ctype_init): Declare.
5740 (__ctype_b_loc): The variable is always initialized.
5741 (__ctype_toupper_loc): Likewise.
5742 (__ctype_tolower_loc): Likewise.
5743 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5744 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5745
7872cfb0
AS
57462011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5747
b468825a
AS
5748 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5749
7872cfb0
AS
5750 * configure.in: Also look in $cxxmachine/include for C++ system
5751 headers.
5752
be13f7bf
LD
57532011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5754
5755 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5756 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5757 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5758 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5759 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5760 (USE_AS_WMEMCMP): New macro.
5761 Fixing indents.
5762 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5763 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5764 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5765 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5766 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5767 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5768 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5769 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5770 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5771 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5772 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5773 (USE_AS_WMEMCMP): New macro.
5774 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5775 * sysdeps/string/test-memcmp.c: Update.
5776 Fix simple_wmemcmp.
5777 Add new tests.
5778 * wcsmbs/wmemcmp.c: Update.
5779 (WMEMCMP): New macro.
5780 Fix overflow bug.
5781
556a2007
AJ
57822011-10-12 Andreas Jaeger <aj@suse.de>
5783
5784 [BZ #13268]
5785 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5786
538faaa7
UD
57872011-10-15 Ulrich Drepper <drepper@gmail.com>
5788
ab6737ff
UD
5789 * libio/iofwide.c (do_length): Avoid warning.
5790
538faaa7
UD
5791 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5792
396a21b1
UD
57932011-10-14 Ulrich Drepper <drepper@gmail.com>
5794
cdf2901f
UD
5795 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5796
38ad40ce
UD
5797 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5798 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5799 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5800 * sysdeps/i386/i686/fpu/e_log.S: New file.
5801 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5802 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5803
396a21b1
UD
5804 * ctype/ctype.h: Add support for inlined isXXX functions when
5805 compiling C++ code.
5806
6b1f68c9
AS
58072011-10-14 Andreas Schwab <schwab@redhat.com>
5808
349290c0
AS
5809 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5810
6b1f68c9
AS
5811 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5812
f2282d42
RM
58132011-10-13 Roland McGrath <roland@hack.frob.com>
5814
5815 [BZ #13291]
5816 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5817
5298ffa8
AS
58182011-10-13 Andreas Schwab <schwab@redhat.com>
5819
714fad23
AS
5820 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5821 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5822 feraiseexcept.
5823
81dcc7fb
AS
5824 * sysdeps/x86_64/memrchr.S: Check for zero size.
5825
5298ffa8
AS
5826 * string/stratcliff.c: Add memrchr tests.
5827
951fbcec
LD
58282011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5829
5830 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5831 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5832 rawmemchr-sse2 rawmemchr-sse2-bsf.
5833 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5834 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5835 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5836 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5837 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5838 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5839 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5840 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5841 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5842 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5843 * string/memrchr.c (MEMRCHR): New macro.
5844
0ac5ae23
UD
58452011-10-12 Ulrich Drepper <drepper@gmail.com>
5846
5847 Add integration with gcc's -ffinite-math-only and optimize wrapper
5848 functions in libm.
5849 * Versions.def: Define GLIBC_2.15 version for libm.
5850 * math/Makefile (headers): Add bits/math-finite.h.
5851 * math/bits/math-finite.h: New file.
5852 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5853 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5854 * math/e_acoshl.c: Add __*_finite alias.
5855 * math/e_acosl.c: Likewise.
5856 * math/e_asinl.c: Likewise.
5857 * math/e_atan2l.c: Likewise.
5858 * math/e_atanhl.c: Likewise.
5859 * math/e_coshl.c: Likewise.
5860 * math/e_exp10.c: Likewise.
5861 * math/e_exp10f.c: Likewise.
5862 * math/e_exp10l.c: Likewise.
5863 * math/e_exp2l.c: Likewise.
5864 * math/e_fmodl.c: Likewise.
5865 * math/e_gammal_r.c: Likewise.
5866 * math/e_hypotl.c: Likewise.
5867 * math/e_j0l.c: Likewise.
5868 * math/e_j1l.c: Likewise.
5869 * math/e_jnl.c: Likewise.
5870 * math/e_lgammal_r.c: Likewise.
5871 * math/e_log10l.c: Likewise.
5872 * math/e_log2l.c: Likewise.
5873 * math/e_logl.c: Likewise.
5874 * math/e_powl.c: Likewise.
5875 * math/e_sinhl.c: Likewise.
5876 * math/e_sqrtl.c: Likewise.
5877 * math/e_scalb.c: Completely rewritten and optimized.
5878 * math/e_scalbf.c: Likewise.
5879 * math/e_scalbl.c: Likewise.
5880 * math/w_acos.c: Likewise.
5881 * math/w_acosf.c: Likewise.
5882 * math/w_acosl.c: Likewise.
5883 * math/w_acosh.c: Likewise.
5884 * math/w_acoshf.c: Likewise.
5885 * math/w_acoshl.c: Likewise.
5886 * math/w_asin.c: Likewise.
5887 * math/w_asinf.c: Likewise.
5888 * math/w_asinl.c: Likewise.
5889 * math/w_atan2.c: Likewise.
5890 * math/w_atan2f.c: Likewise.
5891 * math/w_atan2l.c: Likewise.
5892 * math/w_atanh.c: Likewise.
5893 * math/w_atanhf.c: Likewise.
5894 * math/w_atanhl.c: Likewise.
5895 * math/w_exp10.c: Likewise.
5896 * math/w_exp10f.c: Likewise.
5897 * math/w_exp10l.c: Likewise.
5898 * math/w_fmod.c: Likewise.
5899 * math/w_fmodf.c: Likewise.
5900 * math/w_fmodl.c: Likewise.
5901 * math/w_j0.c: Likewise.
5902 * math/w_j0f.c: Likewise.
5903 * math/w_j0l.c: Likewise.
5904 * math/w_j1.c: Likewise.
5905 * math/w_j1f.c: Likewise.
5906 * math/w_j1l.c: Likewise.
5907 * math/w_jn.c: Likewise.
5908 * math/w_jnf.c: Likewise.
5909 * math/w_log.c: Likewise.
5910 * math/w_logf.c: Likewise.
5911 * math/w_logl.c: Likewise.
5912 * math/w_log10.c: Likewise.
5913 * math/w_log10f.c: Likewise.
5914 * math/w_log10l.c: Likewise.
5915 * math/w_log2.c: Likewise.
5916 * math/w_log2f.c: Likewise.
5917 * math/w_log2l.c: Likewise.
5918 * math/w_pow.c: Likewise.
5919 * math/w_powf.c: Likewise.
5920 * math/w_powl.c: Likewise.
5921 * math/w_remainder.c: Likewise.
5922 * math/w_remainderf.c: Likewise.
5923 * math/w_remainderl.c: Likewise.
5924 * math/w_scalb.c: Likewise.
5925 * math/w_scalbf.c: Likewise.
5926 * math/w_scalbl.c: Likewise.
5927 * math/w_sqrt.c: Likewise.
5928 * math/w_sqrtf.c: Likewise.
5929 * math/w_sqrtl.c: Likewise.
5930 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5931 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5932 used.
5933 * math/math_private.h: Declare __kernel_standard_f.
5934 * math/w_cosh.c: Remove cruft and optimize a bit.
5935 * math/w_coshf.c: Likewise.
5936 * math/w_coshl.c: Likewise.
5937 * math/w_exp2.c: Likewise.
5938 * math/w_exp2f.c: Likewise.
5939 * math/w_exp2l.c: Likewise.
5940 * math/w_hypot.c: Likewise.
5941 * math/w_hypotf.c: Likewise.
5942 * math/w_hypotl.c: Likewise.
5943 * math/w_lgamma.c: Likewise.
5944 * math/w_lgamma_r.c: Likewise.
5945 * math/w_lgammaf.c: Likewise.
5946 * math/w_lgammaf_r.c: Likewise.
5947 * math/w_lgammal.c: Likewise.
5948 * math/w_lgammal_r.c: Likewise.
5949 * math/w_sinh.c: Likewise.
5950 * math/w_sinhf.c: Likewise.
5951 * math/w_sinhl.c: Likewise.
5952 * math/w_tgamma.c: Likewise.
5953 * math/w_tgammaf.c: Likewise.
5954 * math/w_tgammal.c: Likewise.
5955 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5956 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5957 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5958 Minor optimizations. Pretty printing. Remove cruft.
5959 * sysdeps/i386/fpu/e_acosf.S: Likewise.
5960 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5961 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5962 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5963 * sysdeps/i386/fpu/e_acosl.c: Likewise.
5964 * sysdeps/i386/fpu/e_asin.S: Likewise.
5965 * sysdeps/i386/fpu/e_asinf.S: Likewise.
5966 * sysdeps/i386/fpu/e_atan2.S: Likewise.
5967 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5968 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5969 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5970 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5971 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5972 * sysdeps/i386/fpu/e_exp10.S: Likewise.
5973 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5974 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5975 * sysdeps/i386/fpu/e_exp2.S: Likewise.
5976 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
5977 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
5978 * sysdeps/i386/fpu/e_fmod.S: Likewise.
5979 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
5980 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
5981 * sysdeps/i386/fpu/e_hypot.S: Likewise.
5982 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
5983 * sysdeps/i386/fpu/e_log.S: Likewise.
5984 * sysdeps/i386/fpu/e_log10.S: Likewise.
5985 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5986 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5987 * sysdeps/i386/fpu/e_log2.S: Likewise.
5988 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5989 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5990 * sysdeps/i386/fpu/e_logf.S: Likewise.
5991 * sysdeps/i386/fpu/e_logl.S: Likewise.
5992 * sysdeps/i386/fpu/e_pow.S: Likewise.
5993 * sysdeps/i386/fpu/e_powf.S: Likewise.
5994 * sysdeps/i386/fpu/e_powl.S: Likewise.
5995 * sysdeps/i386/fpu/e_remainder.S: Likewise.
5996 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
5997 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
5998 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5999 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6000 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6001 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6002 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6003 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6004 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6005 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6006 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6007 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6008 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6009 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6010 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6011 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6012 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6013 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6014 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6015 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6016 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6017 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6018 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6019 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6020 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6021 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6022 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6023 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6024 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6025 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6026 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6027 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6028 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6029 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6030 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6031 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6032 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6033 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6034 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6035 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6036 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6037 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6038 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6039 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6040 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6041 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6042 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6043 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6044 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6045 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6046 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6047 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6048 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6049 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6050 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6051 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6052 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6053 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6054 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6055 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6056 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6057 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6058 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6059 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6060 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6061 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6062 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6063 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6064 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6065 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6066 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6067 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6068 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6069 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6070 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6071 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6072 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6073 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6074 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6075 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6076 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6077 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6078 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6079 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6080 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6081 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6082 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6083 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6084 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6085 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6086 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6087 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6088 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6089 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6090 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6091 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6092 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6093 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6094 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6095 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6096 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6097 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6098 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6099 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6100 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6101 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6102 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6103 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6104 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6105 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6106 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6107 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6108 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6109 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6110 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6111 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6112 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6113 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6114 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6115 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6116 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6117 (__isnanf): Likewise.
6118 (__isinf_ns): Likewise.
6119 (__isinf_nsf): Likewise.
6120 (__finite): Likewise.
6121 (__finitef): Likewise.
6122 (__ieee754_sqrt): Define as macro.
6123 (__ieee754_sqrtf): Define as macro.
6124 (__ieee754_sqrtl): Define as macro.
6125 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6126 inlined copy.
6127 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6128 __FINITE_MATH_ONLY__ consistent.
6129 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6130
12cc2fcd
AS
61312011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6132
a843a204
AS
6133 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6134 of rawmemchr.
6135
12cc2fcd
AS
6136 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6137
c853acd5
UD
61382011-10-09 Ulrich Drepper <drepper@gmail.com>
6139
6140 * po/ja.po: Update from translation team.
6141
c658d255
RM
61422011-10-08 Roland McGrath <roland@hack.frob.com>
6143
110946e4
RM
6144 * locale/programs/locarchive.c (prepare_address_space): New function.
6145 (create_archive, enlarge_archive, open_archive): Use it.
6146
50604220
RM
6147 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6148 inside [SHARED], where it is used.
6149
c658d255
RM
6150 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6151
6152 * nss/getent.c (netgroup_keys): Remove unused variable.
6153 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6154
6a621eb7
UD
61552011-10-08 Ulrich Drepper <drepper@gmail.com>
6156
7edb55ce
UD
6157 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6158 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6159 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6160 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6161 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6162 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6163 * math/Makefile (libm-calls): Add s_isinf_ns.
6164 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6165 * math/multc3.c: Likewise.
6166 * math/s_casin.c: Likewise.
6167 * math/s_casinf.c: Likewise.
6168 * math/s_casinl.c: Likewise.
6169 * math/s_ccos.c: Likewise.
6170 * math/s_ccosf.c: Likewise.
6171 * math/s_ccosl.c: Likewise.
6172 * math/s_ctan.c: Likewise.
6173 * math/s_ctanf.c: Likewise.
6174 * math/s_ctanh.c: Likewise.
6175 * math/s_ctanhf.c: Likewise.
6176 * math/s_ctanhl.c: Likewise.
6177 * math/s_ctanl.c: Likewise.
6178 * math/w_fmod.c: Likewise.
6179 * math/w_fmodf.c: Likewise.
6180 * math/w_fmodl.c: Likewise.
6181 * math/w_remainder.c: Likewise.
6182 * math/w_remainderf.c: Likewise.
6183 * math/w_remainderl.c: Likewise.
6184 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6185 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6186 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6187 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6188 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6189 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6190 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6191 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6192
187da0ae
UD
6193 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6194 of the number.
6195 * stdio-common/printf_fphex.c: Likewise.
6196 * stdio-common/printf_size.c: Likewise.
6197
9277c064
UD
6198 * math/e_exp10.c: Include math_private.h using <...> not "...".
6199 * math/e_exp10f.c: Likewise.
6200 * math/e_exp10l.c: Likewise.
6201 * math/e_exp2l.c: Likewise.
6202 * math/e_j0l.c: Likewise.
6203 * math/e_j1l.c: Likewise.
6204 * math/e_jnl.c: Likewise.
6205 * math/e_lgammal_r.c: Likewise.
6206 * math/e_rem_pio2l.c: Likewise.
6207 * math/e_scalb.c: Likewise.
6208 * math/e_scalbf.c: Likewise.
6209 * math/e_scalbl.c: Likewise.
6210 * math/k_cosl.c: Likewise.
6211 * math/k_sinl.c: Likewise.
6212 * math/k_tanl.c: Likewise.
6213 * math/s_cacoshf.c: Likewise.
6214 * math/s_catan.c: Likewise.
6215 * math/s_catanf.c: Likewise.
6216 * math/s_catanh.c: Likewise.
6217 * math/s_catanhf.c: Likewise.
6218 * math/s_catanhl.c: Likewise.
6219 * math/s_catanl.c: Likewise.
6220 * math/s_ccosh.c: Likewise.
6221 * math/s_ccoshf.c: Likewise.
6222 * math/s_ccoshl.c: Likewise.
6223 * math/s_cexp.c: Likewise.
6224 * math/s_cexpf.c: Likewise.
6225 * math/s_cexpl.c: Likewise.
6226 * math/s_clog.c: Likewise.
6227 * math/s_clog10.c: Likewise.
6228 * math/s_clog10f.c: Likewise.
6229 * math/s_clog10l.c: Likewise.
6230 * math/s_clogf.c: Likewise.
6231 * math/s_clogl.c: Likewise.
6232 * math/s_csin.c: Likewise.
6233 * math/s_csinf.c: Likewise.
6234 * math/s_csinh.c: Likewise.
6235 * math/s_csinhf.c: Likewise.
6236 * math/s_csinhl.c: Likewise.
6237 * math/s_csinl.c: Likewise.
6238 * math/s_csqrt.c: Likewise.
6239 * math/s_csqrtf.c: Likewise.
6240 * math/s_csqrtl.c: Likewise.
6241 * math/s_ctan.c: Likewise.
6242 * math/s_ctanf.c: Likewise.
6243 * math/s_ctanh.c: Likewise.
6244 * math/s_ctanhf.c: Likewise.
6245 * math/s_ctanhl.c: Likewise.
6246 * math/s_ctanl.c: Likewise.
6247 * math/s_ldexp.c: Likewise.
6248 * math/s_ldexpf.c: Likewise.
6249 * math/s_ldexpl.c: Likewise.
6250 * math/s_significand.c: Likewise.
6251 * math/s_significandf.c: Likewise.
6252 * math/s_significandl.c: Likewise.
6253 * math/w_acos.c: Likewise.
6254 * math/w_acosf.c: Likewise.
6255 * math/w_acosh.c: Likewise.
6256 * math/w_acoshf.c: Likewise.
6257 * math/w_acoshl.c: Likewise.
6258 * math/w_acosl.c: Likewise.
6259 * math/w_asin.c: Likewise.
6260 * math/w_asinf.c: Likewise.
6261 * math/w_asinl.c: Likewise.
6262 * math/w_atan2.c: Likewise.
6263 * math/w_atan2f.c: Likewise.
6264 * math/w_atan2l.c: Likewise.
6265 * math/w_atanh.c: Likewise.
6266 * math/w_atanhf.c: Likewise.
6267 * math/w_atanhl.c: Likewise.
6268 * math/w_cosh.c: Likewise.
6269 * math/w_coshf.c: Likewise.
6270 * math/w_coshl.c: Likewise.
6271 * math/w_dremf.c: Likewise.
6272 * math/w_exp10.c: Likewise.
6273 * math/w_exp10f.c: Likewise.
6274 * math/w_exp10l.c: Likewise.
6275 * math/w_exp2.c: Likewise.
6276 * math/w_exp2f.c: Likewise.
6277 * math/w_fmod.c: Likewise.
6278 * math/w_fmodf.c: Likewise.
6279 * math/w_fmodl.c: Likewise.
6280 * math/w_hypot.c: Likewise.
6281 * math/w_hypotf.c: Likewise.
6282 * math/w_hypotl.c: Likewise.
6283 * math/w_j0.c: Likewise.
6284 * math/w_j0f.c: Likewise.
6285 * math/w_j0l.c: Likewise.
6286 * math/w_j1.c: Likewise.
6287 * math/w_j1f.c: Likewise.
6288 * math/w_j1l.c: Likewise.
6289 * math/w_jn.c: Likewise.
6290 * math/w_jnf.c: Likewise.
6291 * math/w_jnl.c: Likewise.
6292 * math/w_lgamma.c: Likewise.
6293 * math/w_lgamma_r.c: Likewise.
6294 * math/w_lgammaf.c: Likewise.
6295 * math/w_lgammaf_r.c: Likewise.
6296 * math/w_lgammal.c: Likewise.
6297 * math/w_lgammal_r.c: Likewise.
6298 * math/w_log.c: Likewise.
6299 * math/w_log10.c: Likewise.
6300 * math/w_log10f.c: Likewise.
6301 * math/w_log10l.c: Likewise.
6302 * math/w_log2.c: Likewise.
6303 * math/w_log2f.c: Likewise.
6304 * math/w_log2l.c: Likewise.
6305 * math/w_logf.c: Likewise.
6306 * math/w_logl.c: Likewise.
6307 * math/w_pow.c: Likewise.
6308 * math/w_powf.c: Likewise.
6309 * math/w_powl.c: Likewise.
6310 * math/w_remainder.c: Likewise.
6311 * math/w_remainderf.c: Likewise.
6312 * math/w_remainderl.c: Likewise.
6313 * math/w_scalb.c: Likewise.
6314 * math/w_scalbf.c: Likewise.
6315 * math/w_scalbl.c: Likewise.
6316 * math/w_sinh.c: Likewise.
6317 * math/w_sinhf.c: Likewise.
6318 * math/w_sinhl.c: Likewise.
6319 * math/w_sqrt.c: Likewise.
6320 * math/w_sqrtf.c: Likewise.
6321 * math/w_sqrtl.c: Likewise.
6322 * math/w_tgamma.c: Likewise.
6323 * math/w_tgammaf.c: Likewise.
6324 * math/w_tgammal.c: Likewise.
6325
6a621eb7
UD
6326 * po/ja.po: Update from translation team.
6327
bf582445
AJ
63282011-09-29 Andreas Jaeger <aj@suse.de>
6329
f9efbf3a
AJ
6330 [BZ #13179]
6331 * sunrpc/netname.c (netname2host): Fix logic.
6332
bf582445
AJ
6333 [BZ #6779]
6334 [BZ #6783]
6335 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6336 correctly.
6337 * math/w_remainder.c (__remainder): Likewise.
6338 * math/w_remainderf.c (__remainderf): Likewise.
6339 * math/libm-test.inc (remainder_test): Add test cases.
6340
48693bea
AK
63412011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6342
6343 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6344 sdiv_qrnnd.
6345
42622229
LD
63462011-10-07 Ulrich Drepper <drepper@gmail.com>
6347
6348 * string/test-memcmp.c: Avoid unncessary #defines.
6349 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6350
093ecf92
LD
63512011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6352
6353 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6354 Use new sse2 version for core i3 - i7 as it's faster
6355 than sse42 version.
6356 (bit_Prefer_PMINUB_for_stringop): New.
6357 * sysdeps/x86_64/rawmemchr.S: Update.
6358 Replace with faster SSE2 version.
6359 * sysdeps/x86_64/memrchr.S: New file.
6360 * sysdeps/x86_64/memchr.S: Update.
6361 Replace with faster SSE2 version.
6362
fde56e5c
MP
63632011-09-12 Marek Polacek <mpolacek@redhat.com>
6364
6365 * elf/dl-load.c (lose): Add cast to avoid warning.
6366
21fd49a9
UD
63672011-10-07 Ulrich Drepper <drepper@gmail.com>
6368
5a06e643
UD
6369 * po/ca.po: Update from translation team.
6370
684ae515
UD
6371 * inet/getnetgrent_r.c: Hook up nscd.
6372 * nscd/Makefile (routines): Add nscd_netgroup.
6373 (nscd-modules): Add netgroupcache.
6374 (CFLAGS-netgroupcache.c): Define.
6375 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6376 (cache_search): Add const to second parameter.
6377 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6378 INNETGR.
6379 (dbs): Add netgrdb entry.
6380 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6381 (verify_persistent_db): Handle netgrdb.
6382 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6383 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6384 GETFDNETGR.
6385 (netgroup_response_header): Define.
6386 (innetgroup_response_header): Define.
6387 (datahead): Add netgroup_response_header and innetgroup_response_header
6388 elements.
6389 * nscd/nscd.conf: Add entries for netgroup cache.
6390 * nscd/nscd.h (dbtype): Add netgrdb.
6391 (_PATH_NSCD_NETGROUP_DB): Define.
6392 (netgroup_iov_disabled): Declare.
6393 (xmalloc, xcalloc, xrealloc): Move declarations here.
6394 (cache_search): Adjust prototype.
6395 Add netgroup-related prototypes.
6396 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6397 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6398 (__nscd_innetgr): Declare.
6399 * nscd/selinux.c (perms): Use access_vector_t as element type and
6400 add netgroup-related initializers.
6401 * nscd/netgroupcache.c: New file.
6402 * nscd/nscd_netgroup.c: New file.
6403 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6404 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6405 For four parameters use innetgr.
6406 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6407 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6408 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6409 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6410
21fd49a9
UD
6411 * nscd/connections.c (register_traced_file): Don't register file
6412 for disabled databases.
6413
054c0457
UD
64142011-10-06 Ulrich Drepper <drepper@gmail.com>
6415
32b63198
UD
6416 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6417
054c0457
UD
6418 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6419 from tree and freeing node.
6420
64031225
JO
64212011-09-25 Jiri Olsa <jolsa@redhat.com>
6422
6423 * nss/nsswitch.c (__nss_database_lookup): Handle
6424 nss_parse_service_list out of memory case.
6425
0490345c
JO
64262011-09-15 Jiri Olsa <jolsa@redhat.com>
6427
6428 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6429 out of memory case.
6430
3a62d00d
AS
64312011-10-04 Andreas Schwab <schwab@redhat.com>
6432
6433 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6434 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6435 pass it down.
6436 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6437 elf_machine_rela, elf_machine_lazy_rel.
6438 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6439 (ELF_DYNAMIC_DO_REL): Likewise.
6440 (ELF_DYNAMIC_DO_RELA): Likewise.
6441 (ELF_DYNAMIC_RELOCATE): Likewise.
6442 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6443 to ELF_DYNAMIC_DO_REL.
6444 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6445 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6446 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6447 elf_machine_rela.
6448 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6449 skip_ifunc, don't call ifunc function if non-zero.
6450 (elf_machine_rela): Likewise.
6451 (elf_machine_lazy_rel): Likewise.
6452 (elf_machine_lazy_rela): Likewise.
6453 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6454 (elf_machine_lazy_rel): Likewise.
6455 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6456 Likewise.
6457 (elf_machine_lazy_rel): Likewise.
6458 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6459 Likewise.
6460 (elf_machine_lazy_rel): Likewise.
6461 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6462 (elf_machine_lazy_rel): Likewise.
6463 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6464 (elf_machine_lazy_rel): Likewise.
6465 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6466 (elf_machine_lazy_rel): Likewise.
6467 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6468 (elf_machine_lazy_rel): Likewise.
6469 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6470 (elf_machine_lazy_rel): Likewise.
6471 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6472 (elf_machine_lazy_rel): Likewise.
6473
68577918
UD
64742011-09-28 Ulrich Drepper <drepper@gmail.com>
6475
6476 * nss/nss_files/files-init.c (_nss_files_init): Use static
6477 initialization for all the *_traced_file variables.
6478
68822d74
AS
64792011-09-28 Andreas Schwab <schwab@redhat.com>
6480
6481 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6482
2056100b
RM
64832011-09-27 Roland McGrath <roland@hack.frob.com>
6484
6485 [BZ #13226]
6486 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6487
32c76b63
AS
64882011-09-27 Andreas Schwab <schwab@redhat.com>
6489
6490 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6491 Reread the line before reparsing it.
6492
bf972c9d
AS
64932011-09-26 Andreas Schwab <schwab@redhat.com>
6494
6495 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6496
e057a1b5
JM
64972011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6498 Maxim Kuvyrkov <maxim@codesourcery.com>
6499 Joseph Myers <joseph@codesourcery.com>
6500
6501 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6502 if needed for __stack_chk_guard.
6503
bc7e1c36
RM
65042011-09-19 Roland McGrath <roland@hack.frob.com>
6505
ecb1482f
RM
6506 * sysdeps/posix/spawni.c (script_execute): Always define it.
6507 It will be optimized away if unused.
6508 (maybe_script_execute): New function.
6509 (__spawni): Call it.
6510
bc7e1c36
RM
6511 * Makerules: Don't include tls.make.
6512 (config-tls): Always set to thread.
6513 * tls.make.c: File removed.
6514
1c3b002b
MF
65152011-09-19 Mike Frysinger <vapier@gentoo.org>
6516
6517 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6518 * config.make.in (CPPFLAGS-config): New substituted variable.
6519
2840865d
UD
65202011-09-15 Ulrich Drepper <drepper@gmail.com>
6521
88738eb6
UD
6522 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6523
cbf645a6 6524 [BZ #13192]
2840865d
UD
6525 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6526 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6527
b402e91a
RM
65282011-09-15 Roland McGrath <roland@hack.frob.com>
6529
6530 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6531 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6532 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6533 (CALL_FAIL): Likewise.
6534 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6535 (CALL_FAIL): Macro removed.
6536 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6537
4c1a1f71
UD
65382011-09-15 Ulrich Drepper <drepper@gmail.com>
6539
6540 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6541 for __FINITE_MATH_ONLY__ == 1.
6542
edc121be
AS
65432011-09-15 Andreas Schwab <schwab@redhat.com>
6544
6545 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6546 __ieee754_sqrt instead of sqrt.
6547 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6548 __ieee754_sqrtf instead of sqrtf.
6549 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6550 __floorf instead of floorf.
6551 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6552 __floorf, __truncf instead of floorf, truncf.
6553
cd205654
UD
65542011-09-14 Ulrich Drepper <drepper@gmail.com>
6555
ee4d0315
UD
6556 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6557
cd205654
UD
6558 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6559 __extern_always_inline.
6560 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6561 32-bit.
6562
48b67d71
AS
65632011-09-14 Andreas Schwab <schwab@redhat.com>
6564
6565 * elf/rtld.c (dl_main): Also relocate in dependency order when
6566 doing symbol dependency testing.
6567
1ae12c75
AS
65682011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6569
6570 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6571 Always define `refsym'.
6572
995a80df
AS
65732011-09-13 Andreas Schwab <schwab@redhat.com>
6574
e529793b
AS
6575 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6576 (__FD_ELT): Renamed from __FDELT.
6577 * misc/bits/select2.h (__FD_ELT): Likewise.
6578 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6579 __FD_MASK instead of __FDELT, __FDMASK.
6580 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6581 Likewise.
6582 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6583 Likewise.
6584
52d4fef8
AS
6585 * elf/Makefile (gen-ldd): Fix pattern.
6586
995a80df
AS
6587 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6588 (init_tls): Likewise.
6589
8682f8b0
UD
65902011-09-12 Ulrich Drepper <drepper@gmail.com>
6591
6592 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6593
de82006d
AS
65942011-09-12 Andreas Schwab <schwab@redhat.com>
6595
a7c8e6a1
AS
6596 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6597 `struct cmsghdr *' instead of `void *'.
6598 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6599 Likewise.
6600
0f31fe77
AS
66012011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6602
6603 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6604 if non-absolute.
6605 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6606 ldd_rewrite_script.
0f31fe77 6607
32b4c839
UD
66082011-09-11 Ulrich Drepper <drepper@gmail.com>
6609
83cd1420
UD
6610 * configure.in: Remove --with-tls option.
6611 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6612 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6613 out in case it is missing.
6614 * sysdeps/ia64/elf/configure.in: Likewise.
6615 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6616 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6617 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6618 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6619 * sysdeps/sh/elf/configure.in: Likewise.
6620 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6621 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6622 * sysdeps/x86_64/elf/configure.in: Likewise.
6623 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6624 * sysdeps/mach/hurd/tls.h: Likewise.
6625
633f745d
UD
6626 [BZ #13067]
6627 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6628
f318beb8
UD
6629 [BZ #13090]
6630 * configure.in: Fix use of AC_INIT.
6631
32b4c839
UD
6632 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6633
3ce1f295
UD
66342011-09-10 Ulrich Drepper <drepper@gmail.com>
6635
bb016596
UD
6636 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6637 __set_errno.
8e58439c
UD
6638 * malloc/hooks.c: Likewise.
6639
aebae053 6640 [BZ #11929]
02d46fc4
UD
6641 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6642 variables statically.
6643 (narenas): Initialize.
6644 (list_lock): Initialize.
bb016596
UD
6645 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6646 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
6647 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6648 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6649 Add initializers to main_arena and mp_.
6650 (malloc_state): Remove pagesize member. Change all users to use
6651 GLRO(dl_pagesize).
6652
6653 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6654 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6655 is always initialized.
6656
22a89187
UD
6657 * malloc/malloc.c: Removed unused configurations and dead code.
6658 * malloc/arena.c: Likewise.
6659 * malloc/hooks.c: Likewise.
02d46fc4 6660 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 6661
d063d164
UD
6662 * include/tls.h: Removed. USE___THREAD must always be defined.
6663 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6664 * elf/dl-libc.c: Likewise.
6665 * elf/dl-tsd.c: Likewise.
6666 * include/errno.h: Likewise.
6667 * include/netdb.h: Likewise.
6668 * include/resolv.h: Likewise.
6669 * inet/herrno-loc.c: Likewise.
6670 * inet/herrno.c: Likewise.
6671 * malloc/arena.c: Likewise.
6672 * malloc/hooks.c: Likewise.
6673 * malloc/malloc.c: Likewise.
6674 * resolv/res-state.c: Likewise.
6675 * resolv/res_libc.c: Likewise.
6676 * sysdeps/i386/dl-machine.h: Likewise.
6677 * sysdeps/ia64/dl-machine.h: Likewise.
6678 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6679 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6680 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6681 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6682 * sysdeps/sh/dl-machine.h: Likewise.
6683 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6684 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6685 * sysdeps/unix/i386/sysdep.S: Likewise.
6686 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6687 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6688 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6689 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6690 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6691 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6692 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6693 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6694 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6695 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6696 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6697 * sysdeps/x86_64/dl-machine.h: Likewise.
6698 * tls.make.c: Likewise.
6699
3ce1f295
UD
6700 * configure.in: Remove --with-__thread option. Make tests for
6701 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6702 tls_model attribute fail if no support is available. Remove
6703 USE_IN_LIBIO.
6704 * Makeconfig: Adjust for dropped configure option. All features are
6705 now mandatory.
6706 * Makerules: Likewise.
6707 * Versions.def: Likewise.
6708 * argp/argp-fmtstream.c: Likewise.
6709 * argp/argp-fmtstream.h: Likewise.
6710 * argp/argp-help.c: Likewise.
6711 * assert/assert.c: Likewise.
6712 * config.h.in: Likewise.
6713 * config.make.in: Likewise.
6714 * configure: Likewise.
6715 * configure.in: Likewise.
6716 * csu/Versions: Likewise.
6717 * csu/init.c: Likewise.
6718 * elf/tst-audit2.c: Likewise.
6719 * elf/tst-tls10.c: Likewise.
6720 * elf/tst-tls10.h: Likewise.
6721 * elf/tst-tls11.c: Likewise.
6722 * elf/tst-tls12.c: Likewise.
6723 * elf/tst-tls14.c: Likewise.
6724 * elf/tst-tlsmod11.c: Likewise.
6725 * elf/tst-tlsmod12.c: Likewise.
6726 * elf/tst-tlsmod13.c: Likewise.
6727 * elf/tst-tlsmod13a.c: Likewise.
6728 * elf/tst-tlsmod14a.c: Likewise.
6729 * elf/tst-tlsmod15b.c: Likewise.
6730 * elf/tst-tlsmod16a.c: Likewise.
6731 * elf/tst-tlsmod16b.c: Likewise.
6732 * elf/tst-tlsmod7.c: Likewise.
6733 * elf/tst-tlsmod8.c: Likewise.
6734 * elf/tst-tlsmod9.c: Likewise.
6735 * gmon/gmon.c: Likewise.
6736 * grp/fgetgrent_r.c: Likewise.
6737 * grp/putgrent.c: Likewise.
6738 * hurd/fopenport.c: Likewise.
6739 * include/libc-symbols.h: Likewise.
6740 * include/tls.h: Likewise.
6741 * intl/gettextP.h: Likewise.
6742 * intl/loadinfo.h: Likewise.
6743 * locale/global-locale.c: Likewise.
6744 * locale/localeinfo.h: Likewise.
6745 * mach/devstream.c: Likewise.
6746 * malloc/arena.c: Likewise.
6747 * malloc/set-freeres.c: Likewise.
6748 * misc/err.c: Likewise.
6749 * misc/getttyent.c: Likewise.
6750 * misc/mntent_r.c: Likewise.
6751 * posix/getopt.c: Likewise.
6752 * posix/wordexp.c: Likewise.
6753 * pwd/fgetpwent_r.c: Likewise.
6754 * resolv/Versions: Likewise.
6755 * resolv/res_hconf.c: Likewise.
6756 * shadow/fgetspent_r.c: Likewise.
6757 * shadow/putspent.c: Likewise.
6758 * stdio-common/printf_fphex.c: Likewise.
6759 * stdio-common/tmpfile.c: Likewise.
6760 * stdlib/abort.c: Likewise.
6761 * stdlib/fmtmsg.c: Likewise.
6762 * sunrpc/auth_unix.c: Likewise.
6763 * sunrpc/clnt_perr.c: Likewise.
6764 * sunrpc/clnt_tcp.c: Likewise.
6765 * sunrpc/clnt_udp.c: Likewise.
6766 * sunrpc/clnt_unix.c: Likewise.
6767 * sunrpc/openchild.c: Likewise.
6768 * sunrpc/svc_simple.c: Likewise.
6769 * sunrpc/svc_tcp.c: Likewise.
6770 * sunrpc/svc_udp.c: Likewise.
6771 * sunrpc/svc_unix.c: Likewise.
6772 * sunrpc/xdr.c: Likewise.
6773 * sunrpc/xdr_array.c: Likewise.
6774 * sunrpc/xdr_rec.c: Likewise.
6775 * sunrpc/xdr_ref.c: Likewise.
6776 * sunrpc/xdr_stdio.c: Likewise.
6777
1248c1c4
PB
67782011-09-09 Ulrich Drepper <drepper@gmail.com>
6779
6780 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6781
67822011-07-03 Andreas Jaeger <aj@suse.de>
6783
6784 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6785 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6786 regenerate with gen-libm-tests.pl.
6787
67882010-05-12 Petr Baudis <pasky@suse.cz>
6789
6790 [BZ #11589]
6791 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6792 around j0() zero points by switching to j1().
6793 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6794 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6795 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6796 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6797
f22e1074
UD
67982011-09-09 Ulrich Drepper <drepper@gmail.com>
6799
f19009c1
UD
6800 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6801 instead of 0.
6802 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6803 instead of 0. .
6804 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6805 Patch in part by Pavel Roskin <proski@gnu.org>.
6806
3f8cc204
UD
6807 [BZ #13138]
6808 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6809 realloc.
6810 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6811 Free memory block if necessary.
6812
f22e1074
UD
6813 [BZ #12847]
6814 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6815 be NULL. Don't lock in this case.
6816
0a2349f9
RM
68172011-09-09 Roland McGrath <roland@hack.frob.com>
6818
6819 * elf/elf.h (ELFOSABI_GNU): New macro.
6820 (ELFOSABI_LINUX): Define to that.
6821
f3cdd467
DZ
68222011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6823
6824 * string/strncat.c (strncat): Undef the symbol in case it has been
6825 defined in bits/string.h.
6826
74718d13
UD
68272011-09-09 Ulrich Drepper <drepper@gmail.com>
6828
633e9e0f
UD
6829 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6830
0a2349f9 6831 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
6832 link map.
6833
f9924780
AJ
68342011-08-17 Andreas Jaeger <aj@suse.de>
6835
6836 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6837
7f5517aa
PP
68382011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6839 Ian Lance Taylor <iant@google.com>
6840
6841 * math/libm-test.inc (lround_test): New testcase.
6842 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6843
762011fe
UD
68442011-09-08 Ulrich Drepper <drepper@gmail.com>
6845
92963737
UD
6846 * Makefile: Remove support for automatic cvs check-ins.
6847 * Makerules: Likewise.
6848 * config.make.in: Likewise.
6849 * configure.in: Likewise.
6850 * intl/Makefile: Likewise.
6851 * locale/Makefile: Likewise.
6852 * po/Makefile: Likewise.
6853 * posix/Makefile: Likewise.
6854 * sysdeps/gnu/Makefile: Likewise.
6855 * sysdeps/mach/hurd/Makefile: Likewise.
6856 * sysdeps/sparc/sparc32/Makefile: Likewise.
6857
b0727fd8
JS
6858 [BZ #13118]
6859 * posix/Makefile (bug-regex32-ENV): Define.
6860 Patch by John Stanley <jpsinthemix@verizon.net>.
6861
a0f33f99
UD
6862 * misc/Makefile (headers): Add bits/select2.h.
6863 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6864 * misc/bits/select2.h: New file.
6865 * include/bits/select2.h: New file.
6866 * debug/Makefile (routines): Add fdelt_chk.
6867 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6868 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6869 FD_ISSET.
6870 * debug/fdelt_chk.c: New file.
6871
762011fe
UD
6872 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6873 * wcsmbs/test-wmemcmp.c: Likewise.
6874 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 6875 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
6876
68772011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6878
6879 * string/Makefile (strop-tests): Add memcmp.
6880 * string/test-wmemcmp.c: New file.
6881 * string/test-memcmp.c: Add wmemcmp support.
6882
7f513ec8
RM
68832011-09-08 Roland McGrath <roland@hack.frob.com>
6884
0442afb4
RM
6885 [BZ #13153]
6886 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6887 2011-07-19 change.
6888
7f513ec8
RM
6889 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6890 garbage value in a __mach_port_mod_refs call in the cases of the
6891 task-self and thread-self ports.
6892
a12b2239
ST
68932011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6894
6895 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6896
610f9ab4
AS
68972011-09-08 Andreas Schwab <schwab@redhat.com>
6898
7f513ec8 6899 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 6900
48882a1a
LD
69012011-09-07 Ulrich Drepper <drepper@gmail.com>
6902
b49865be
UD
6903 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6904
fdc86bc9
UD
6905 * elf/dl-libc.c (dlerror_run): Pass back error code from
6906 dl_catch_error.
6907
c966526a
UD
6908 [BZ #13123]
6909 * elf/dl-load.c (lose): Free l_origin if it is valid.
6910
48882a1a
LD
6911 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6912 names.
6913 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6914 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6915 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6916 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6917 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6918 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6919
77a2a8b4
AZ
69202011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6921
6922 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6923 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6924 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6925 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6926 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6927 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6928 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6929 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6930 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6931 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6932
24f579d8
AM
69332011-08-15 Alan Modra <amodra@gmail.com>
6934
6935 [BZ #13092]
6936 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6937 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6938 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
6939 ppc_mcount to static-only-routines.
6940 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6941 __mcount_internal.
6942 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6943 __mcount_internal with usual JUMPTARGET. Remove useless nop.
6944
3d4837df
UD
69452011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
6946
6947 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6948 for finite and infinity parameters.
6949
22700377
WS
69502011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6951
6952 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6953 and add nop instructions for throughput optimization.
6954 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6955
5025581e
WS
69562011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
6957
6958 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6959 aligned copy for power7 with vector-scalar instructions.
6960 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6961
08a300c9
L
69622011-07-24 H.J. Lu <hongjiu.lu@intel.com>
6963
6964 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6965 AVX check.
6966
59178ef9
AS
69672011-09-07 Andreas Schwab <schwab@redhat.com>
6968
6969 [BZ #13144]
6970 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6971 last change.
6972
e38ba7ab
UD
69732011-09-07 Ulrich Drepper <drepper@gmail.com>
6974
6975 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6976 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
6977 syscall wrapper around clock_gettime in __vdso_clock_gettime.
6978 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
6979 clock_gettime.
6980
d53a73ac
UD
69812011-09-06 Ulrich Drepper <drepper@gmail.com>
6982
fc8bffcc
UD
6983 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
6984 Forgot to demangle the pointer.
6985
ceaa0c5d
UD
6986 * sysdeps/i386/sysdep.h: Define atom_text_section.
6987 * sysdeps/x86_64/sysdep.h: Likewise.
6988 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
6989 section with atom_text_section.
6990 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6991 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6992 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6993 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6994 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
6995
a77d3c17
UD
6996 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
6997 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
6998 already be defined. Change to take two parameters and don't assign
6999 result to variable. Adjust all users.
7000 Define INTERNAL_GETTIME if not already defined.
7001 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7002 call.
7003 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7004 HAVE_CLOCK_GETTIME_VSYSCALL.
7005 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7006
d53a73ac
UD
7007 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7008 gettimeofday vsyscall, just use time.
7009
a8f84144
AS
70102011-09-06 Andreas Schwab <schwab@redhat.com>
7011
7012 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7013 <errno.h>.
7014
ef606249
UD
70152011-09-06 Ulrich Drepper <drepper@gmail.com>
7016
7017 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7018 syscall on x86-64.
7019 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7020 syscall.
7021 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7022 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7023 syscall if possible.
7024
6585cb60
UD
70252011-09-05 Ulrich Drepper <drepper@gmail.com>
7026
7027 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7028 e_ident. Don't pass to find_mapsXX.
7029 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7030
a5f524e4
LD
70312011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7032
7033 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7034 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7035 * sysdeps/x86_64/multiarch/strchr.S: Update.
7036 Check bit_slow_BSF bit.
7037 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7038 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7039 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7040
554881ef
UD
70412011-09-05 Ulrich Drepper <drepper@gmail.com>
7042
d96de963
UD
7043 [BZ #13134]
7044 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7045 before glibc 2.15.
7046 (tryshell): Define.
7047 (__spawni): Change last parameter to be flag. Test
7048 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7049 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7050 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7051 * posix/spawni.c: Likewise.
7052 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7053 * posix/spawnp.c: Likewise. Change normal version to use
7054 SPAWN_XFLAGS_USE_PATH.
7055 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7056 SPAWN_XFLAGS_TRY_SHELL.
7057
d48e5868
UD
7058 [BZ #13150]
7059 * posix/glob.h: Remove gcc 1.x support.
7060
554881ef
UD
7061 [BZ #13068]
7062 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7063
693fb948
LD
70642011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7065
7066 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7067 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7068 strrchr-sse2-bsf
7069 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7070 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7071 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7072 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7073 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7074 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7075
1b48c537
UD
70762011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7077
49d42c37
UD
7078 * sysdeps/x86_64/wcscmp.S: New file.
7079
1b48c537
UD
7080 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7081 wcscmp-c wcscmp-sse2
7082 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7083 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7084 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7085 * wcsmbs/wcscmp.c: Allow renaming.
7086
15c95c5d
DM
70872011-09-05 David S. Miller <davem@davemloft.net>
7088
7089 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7090 stack slot, rather than the struct return pointer slot.
7091 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7092 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7094 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7095
2f0ad8f3
UD
70962011-09-05 Ulrich Drepper <drepper@gmail.com>
7097
d88ae418
UD
7098 * po/ja.po: Update from translation team.
7099
2f0ad8f3
UD
7100 [BZ #13144]
7101 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7102 kernel in 64-bit binaries.
7103
5f4318d1
DM
71042011-09-01 David S. Miller <davem@davemloft.net>
7105
7106 * elf/elf.h (HWCAP_SPARC_*): Move to..
7107 * sysdeps/sparc/sysdep.h: this new file and add new values.
7108 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7109 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7110 _DL_HWCAP_COUNT to 24.
7111 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7112 entries.
7113 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7114 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7115 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7116 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7117 instead of magic constants.
7118 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7119
3ba57516
DM
71202011-08-31 David S. Miller <davem@davemloft.net>
7121
7122 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7123 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7124 Reimplement to do errno handling inline.
7125 (SYSCALL_ERROR_HANDLER): New macro.
7126 (__SYSCALL_STRING): Do not do errno handling in asm.
7127 (__CLONE_SYSCALL_STRING): Delete.
7128 (__INTERNAL_SYSCALL_STRING): Delete.
7129 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7130 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7131 (PSEUDO): Reimplement to do errno handling inline.
7132 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7133 (SYSCALL_ERROR_HANDLER): New macro.
7134 (__SYSCALL_STRING): Do not do errno handling in asm.
7135 (__CLONE_SYSCALL_STRING): Delete.
7136 (__INTERNAL_SYSCALL_STRING): Delete.
7137 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7138 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7139 i386.
7140 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7141 (inline_syscall*): Add 'err' argument.
7142 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7143 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7144 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7145 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7146
7147 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7148 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7149
2bc17433
AS
71502011-08-30 Andreas Schwab <schwab@redhat.com>
7151
7152 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7153
fbeb5f4d
JO
71542011-08-29 Jiri Olsa <jolsa@redhat.com>
7155
7156 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7157 directive.
7158
ad69cc26
DM
71592011-08-24 David S. Miller <davem@davemloft.net>
7160
7161 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7162
39dd69df
AS
71632011-08-24 Andreas Schwab <schwab@redhat.com>
7164
7165 * elf/Makefile: Add rules to build and run unload8 test.
7166 * elf/unload8.c: New file.
7167 * elf/unload8mod1.c: New file.
7168 * elf/unload8mod1x.c: New file.
7169 * elf/unload8mod2.c: New file.
7170 * elf/unload8mod3.c: New file.
7171
7172 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7173 it wasn't used.
7174
2c0b250a
DM
71752011-08-23 David S. Miller <davem@davemloft.net>
7176
7177 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7178 subtract stack bias.
7179 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7180 %sp not %fp in calculations.
7181 (_JMPBUF_UNWINDS_ADJ): Likewise.
7182
22044b48
DM
7183 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7184 (aio_suspend): Call it to force an exception region around the
7185 AIO_MISC_WAIT() invocation.
7186
2cae4995
AS
71872011-08-23 Andreas Schwab <schwab@redhat.com>
7188
7189 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7190 backslash.
7191
873a772e
AJ
71922011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7193
7194 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7195 protection macro.
7196 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7197 and <dl-machine.h>.
7198 (Elf64_FuncDesc): Remove.
7199
25ad0df1
DM
72002011-08-22 David S. Miller <davem@davemloft.net>
7201
7202 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7203 sigaltstack check, add missing cfi directives.
7204 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7205 missing cfi directives, and sigaltstack handling.
7206
e888bcbe
AS
72072011-08-16 Andreas Schwab <schwab@redhat.com>
7208
7209 [BZ #11724]
7210 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7211 object is seen twice.
7212 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7213
7214 * elf/Makefile (distribute): Add tst-initorder2.c.
7215 (tests): Add tst-initorder2.
7216 (modules-names): Add tst-initorder2a tst-initorder2b
7217 tst-initorder2c tst-initorder2d. Add rules to build them.
7218 ($(objpfx)tst-initorder2.out): New rule.
7219 * elf/tst-initorder2.c: New file.
7220 * elf/tst-initorder2.exp: New file.
7221
87162f46
AS
72222011-08-22 Andreas Schwab <schwab@redhat.com>
7223
70538b7f
AS
7224 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7225
f55ffe58
AS
7226 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7227 dependencies back to end of function.
7228
87162f46
AS
7229 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7230 $(elfobjdir)/ld.so.
7231
91b392a4
UD
72322011-08-21 Ulrich Drepper <drepper@gmail.com>
7233
7234 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7235 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7236 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7237 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7238 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7239 of __vdso_gettimeofday.
7240 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7241 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7242 attribute_hidden.
7243 (_libc_vdso_platform_setup): Remove initialization of
7244 __vdso_gettimeofday and __vdso_time.
7245
5c43483f
UD
72462011-08-20 Ulrich Drepper <drepper@gmail.com>
7247
775a77e7
UD
7248 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7249 and fgetc_unlocked.
7250 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7251 getc_unlocked.
89f447ed 7252
49c74ba9
UD
7253 * elf/dl-open.c (add_to_global): Report additions to the global scope
7254 for LD_DEBUG=scopes.
7255 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 7256 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 7257
5c43483f
UD
7258 [BZ #13114]
7259 * stdio-common/Makefile (tests): Add bug24.
7260 * stdio-common/bug24.c: New file.
7261
a101b025
AJ
72622011-08-19 Andreas Jaeger <aj@suse.de>
7263
7264 [BZ #13114]
7265 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7266 non-existant file when using close-on-exec mode.
7267
c88f1766
UD
72682011-08-20 Ulrich Drepper <drepper@gmail.com>
7269
0276a718
UD
7270 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7271 the very first instruction.
7272
c88f1766
UD
7273 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7274 the CFI state in the end.
7275 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7276 inclusion of dl-trampoline.h.
7277 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7278
51ccffa0
AS
72792011-08-19 Andreas Schwab <schwab@redhat.com>
7280
94d7165f
AS
7281 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7282 expectations for long double.
7283
51ccffa0
AS
7284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7285 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7286
fd708658 72872011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
7288
7289 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7290 artificual limit depends upon the system page size.
7291
44f0a71e
UD
72922011-08-17 Ulrich Drepper <drepper@gmail.com>
7293
7294 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7295 * resolv/Makefile: Define CFLAGS-libresolv.
7296
8de79a24
AS
72972011-08-17 Andreas Schwab <schwab@redhat.com>
7298
7299 * nss/makedb.c (compute_tables): Make variables used in nested
7300 function static.
7301
27724598
UD
73022011-08-17 Ulrich Drepper <drepper@gmail.com>
7303
c5305d88
UD
7304 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7305 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7306 if buffer was too small.
7307
27724598
UD
7308 * elf/pldd.c (main): Attach to all threads in the process.
7309 Rewrite /proc handling to use *at functions.
7310
076fe015
UD
73112011-08-16 Ulrich Drepper <drepper@gmail.com>
7312
174baab3
UD
7313 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7314 specifies first scope to show.
7315 (dl_open_worker): Update callers. Move printing scope of new
7316 object to before the relocation.
44f0a71e 7317 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7318 * sysdeps/generic/ldsodefs.h: Update declaration.
7319
076fe015
UD
7320 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7321 string for the scope number.
7322
a60df2c3
UD
73232011-08-14 Ulrich Drepper <drepper@gmail.com>
7324
7325 * nscd/servicescache.c (cache_addserv): Make sure written is always
7326 initialized.
7327
5e4287d1
RM
73282011-08-14 Roland McGrath <roland@hack.frob.com>
7329
85ae0589
RM
7330 * sysdeps/i386/i486/bits/atomic.h
7331 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7332 statement expression, so as to suppress "set but not used" warning.
7333 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7334
69f63097
RM
7335 * string/strncat.c (STRNCAT): Use prototype definition.
7336
675456ef
RM
7337 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7338 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7339 -Iprograms here.
7340 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7341 (localedef-modules): Add localedef.
7342 (locale-modules): Add locale.
7343
5e4287d1
RM
7344 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7345 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7346 to avoid a warning.
7347
9c96ff23
DM
73482011-08-14 David S. Miller <davem@davemloft.net>
7349
7350 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7351 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7352
f9ddf089
UD
73532011-08-13 Ulrich Drepper <drepper@gmail.com>
7354
44f0a71e 7355 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
7356 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7357 * elf/rtld.c (dl_main): Set l_name of vDSO.
7358 Call _dl_show_scope when DL_DEBUG_SCOPES.
7359 (process_dl_debug): Recognize scopes flag and also set it for all.
7360 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7361 Declare _dl_show_scope.
7362
1dc27704
UD
7363 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7364 (do_dlopen): Pass caller_dlopen to dl_open.
7365 (__libc_dlopen_mode): Initialize caller_dlopen.
7366
f9ddf089
UD
7367 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7368 of libc. Make tolower call locale-independent. Optimize a bit by
7369 using isdigit instead of isalnum.
7370 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7371
9ac533d3
UD
73722011-08-12 Ulrich Drepper <drepper@gmail.com>
7373
7374 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7375 was a dependency or dynamically loaded.
7376
89edf2e9
UD
73772011-08-11 Ulrich Drepper <drepper@gmail.com>
7378
8e999d29
UD
7379 * intl/l10nflist.c: Allow architecture-specific pop function.
7380 * sysdeps/x86_64/l10nflist.c: New file.
7381
89edf2e9
UD
7382 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7383 classification.
7384
14d96785
AS
73852011-08-10 Andreas Schwab <schwab@redhat.com>
7386
7387 * include/dirent.h: Add libc_hidden_proto for scandirat and
7388 scandirat64. Don't declare __scandirat64.
7389 * dirent/scandirat.c: Add libc_hidden_def.
7390 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7391 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7392
6761ac04
DM
73932011-08-10 David S. Miller <davem@davemloft.net>
7394
7395 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7396 enum.
7397 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7398 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7399 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7400
c55fbd1e
UD
74012011-08-09 Ulrich Drepper <drepper@gmail.com>
7402
7403 * Versions.def [libc]: Add GLIBC_2.15.
7404 * dirent/Makefile (routines): Add scandirat and scandirat64.
7405 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7406 GLIBC_2.15.
7407 * dirent/dirent.h: Declare scandirat and scandirat64.
7408 * dirent/scandirat.c: New file.
7409 * dirent/scandirat64.c: New file.
7410 * sysdeps/wordsize-64/scandirat.c: New file.
7411 * sysdeps/wordsize-64/scandirat64.c: New file.
7412 * dirent/opendir.c: Define opendirat.
7413 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7414 using scandirat.
7415 * dirent/scandir64.c: Adjust for scandir.c change.
7416 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7417 __scandirat64, and __scandir_cancel_handler.
7418 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7419 additional parameter and use openat instead of open (outside of ld.so).
7420 Add new __opendir as wrapper around __opendirat.
7421 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7422 here without requiring old scandirat implementation.
7423
879165f2
UD
74242011-08-08 Ulrich Drepper <drepper@gmail.com>
7425
7426 * dirent/scandir.c (cancel_handler): Renamed to
7427 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7428 defined. Adjust users.
7429 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7430 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7431
cb7e923b
UD
74322011-08-04 Ulrich Drepper <drepper@gmail.com>
7433
16292edd
UD
7434 * string/test-string.h (IMPL): Use __STRING to expand name and then
7435 stringify it.
7436
cb7e923b
UD
7437 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7438 of cleanups.
7439
cff82933
LD
74402011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7441
7442 * string/Makefile: Update.
7443 (strop-tests): Append strncat.
7444 * string/test-wcscmp.c: New file.
7445 New comprehensive test for wcscmp.
7446 * string/test-strcmp.c: Update.
7447 (WIDE): New define.
7448
9be9bfcc
AS
74492011-07-22 Andreas Schwab <schwab@redhat.com>
7450
7451 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7452 line.
7453
2e96f1c7
AS
74542011-07-26 Andreas Schwab <schwab@redhat.com>
7455
7456 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7457 encoding to ACE if AI_IDN.
7458
85188888
JJ
74592011-08-01 Jakub Jelinek <jakub@redhat.com>
7460
7461 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7462 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7463
5fa16e9b
LD
74642011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7465
7466 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7467 Fix overflow bug in strncat.
7468 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7469
7470 * string/test-strncat.c: Update.
7471 Add new tests for checking overflow bugs.
7472
74732011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7474
7475 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7476 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7477 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7478 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7479 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7480 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7481 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7482 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7483 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7484
7485 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7486 (USE_AS_STRCAT): Define.
7487 Add strcat and strncat support.
7488 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7489
8c1a459f
AS
74902011-07-25 Andreas Schwab <schwab@redhat.com>
7491
7492 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7493 __n bigger than INT_MAX+1.
7494 (__strncmp_g): Likewise.
7495
bba33c28
UD
74962011-07-23 Ulrich Drepper <drepper@gmail.com>
7497
798be72d
UD
7498 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7499 * libio/stido.h: Likewise.
7500
8accd4dc
UD
7501 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7502 (AF_NFC): Define.
7503 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7504 (AF_NFC): Define.
7505
cbff0d96
UD
7506 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7507 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7508 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7509 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7510 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7511
9191c04a
UD
7512 [BZ #13021]
7513 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7514 installed.
7515
bba33c28
UD
7516 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7517 typo.
7518 (_dl_x86_64_save_sse): Likewise.
7519
90f139dd
UD
75202011-07-22 Ulrich Drepper <drepper@gmail.com>
7521
1aae088a
UD
7522 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7523 OSXSAVE.
7524 (_dl_x86_64_save_sse): Likewise.
7525
8e2045f5
UD
7526 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7527
90f139dd
UD
7528 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7529
1d002f25
AS
75302011-07-21 Andreas Schwab <schwab@redhat.com>
7531
7532 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7533 change.
7534 (_dl_x86_64_save_sse): Use correct AVX check.
7535
21137f89
UD
75362011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7537
7538 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7539 bug in strncpy/strncat.
7540 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7541
a65c0b7a
UD
75422011-07-21 Ulrich Drepper <drepper@gmail.com>
7543
7544 * string/tester.c (test_strcat): Add tests for different alignments
7545 of source and destination.
7546 (test_strncat): Likewise.
7547
6986b98a
UD
75482011-07-20 Ulrich Drepper <drepper@gmail.com>
7549
90bb2039
UD
7550 [BZ #12852]
7551 * posix/glob.c (glob): Check passed in values before using them in
7552 expressions to avoid some overflows.
7553 (glob_in_dir): Likewise.
7554
5644ef54
UD
7555 [BZ #13007]
7556 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7557 check for AVX enablement so that we don't crash with old kernels and
7558 new hardware.
7559 * elf/tst-audit4.c: Add same checks here.
7560 * elf/tst-audit6.c: Likewise.
7561
7562 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 7563
bfc9dc9b
AS
75642011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7565
7566 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7567
702e64bb
UD
75682011-07-20 Ulrich Drepper <drepper@gmail.com>
7569
7570 * po/cs.po: Update from translation team.
7571 * po/bg.po: Likewise.
7572
295e904f
MP
75732011-07-12 Marek Polacek <mpolacek@redhat.com>
7574
7575 * misc/sys/cdefs.h: Add support for const attribute.
7576 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7577 to gnu_dev_{major,minor,makedev} functions.
7578
3ff94596
MP
75792011-07-20 Marek Polacek <mpolacek@redhat.com>
7580
7581 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7582
28b59fca
AS
75832011-07-20 Andreas Schwab <schwab@redhat.com>
7584
7585 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7586 strlen results.
7587
19df733e
AK
75882011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7589
7590 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7591 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7592 register in order to avoid conflicts with the soft frame pointer
7593 being held in r11 when necessary.
7594 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7595 (INTERNAL_VSYSCALL_NCS): Likewise.
7596
c8835729
MP
75972011-07-14 Marek Polacek <mpolacek@redhat.com>
7598
7599 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7600 * elf/dl-fini.c (_dl_fini): Adjust caller.
7601 * elf/dl-close.c (_dl_close_worker): Likewise.
7602 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7603
b902330c
MP
76042011-07-15 Marek Polacek <mpolacek@redhat.com>
7605
8991e135
MP
7606 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7607 "aux_cache->nlibs < 0".
7608
b902330c
MP
7609 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7610 in the reload-count case.
7611
99710781
LD
76122011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7613
7614 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7615 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7616 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7617 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7618 * sysdeps/x86_64/multiarch/strcat.S: New file.
7619 * sysdeps/x86_64/multiarch/strncat.S: New file.
7620 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7621 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7622 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7623 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7624 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7625 (USE_AS_STRCAT): Define.
7626 Add strcat and strncat support.
7627 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7628 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7629 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7630 * string/strncat.c: Update.
7631 (USE_AS_STRNCAT): Define.
7632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7633 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7634 and i7.
7635 * sysdeps/x86_64/multiarch/init-arch.h
7636 (bit_Prefer_PMINUB_for_stringop): New.
7637 (index_Prefer_PMINUB_for_stringop): Likewise.
7638 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7639 bit_Prefer_PMINUB_for_stringop.
7640
7dc6bd90
UD
76412011-07-19 Ulrich Drepper <drepper@gmail.com>
7642
7643 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7644 buffer64.
7645 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7646 of casting of buffer.
7647 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7648 buffer32 and buffer64.
7649 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7650 writes instead of casting of buffer.
7651 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7652 buffer32.
7653 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7654 casting of buffer.
7655
e0e72284
AS
76562011-07-19 Andreas Schwab <schwab@redhat.com>
7657
7658 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7659
feb1eb0b
UD
76602011-07-19 Ulrich Drepper <drepper@gmail.com>
7661
7662 * nscd/nscd.c (termination_handler): Don't do anything for a database
7663 if it has not yet been initialized.
7664
298711ff
UD
76652011-07-18 Ulrich Drepper <drepper@gmail.com>
7666
7667 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7668
76692011-07-15 Marek Polacek <mpolacek@redhat.com>
7670
7671 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7672
f9d68389
UD
76732011-07-18 Ulrich Drepper <drepper@gmail.com>
7674
7675 * po/nl.po: Update from translation team.
7676 * po/sv.po: Likewise.
7677
db290cf5
RM
76782011-07-16 Roland McGrath <roland@hack.frob.com>
7679
7680 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7681 now disallowed by GCC.
5c550700 7682
fd5e21c7
RM
7683 * configure.in (use-default-link): Default to yes if a test -shared
7684 link meets our qualifications.
7685 * configure: Regenerated.
7686
5c550700
RM
7687 * config.make.in (output-format): New variable.
7688 * configure.in: Check for ld --print-output-format support.
7689 * configure: Regenerated.
7690 * Makerules ($(common-objpfx)format.lds)
7691 [$(output-format) != unknown]: Just use $(output-format),
7692 instead of the linker-script munging.
7693
9fa2c032
RM
76942011-07-14 Roland McGrath <roland@hack.frob.com>
7695
a6928d51
RM
7696 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7697 of $(common-objpfx)shlib.lds.
7698 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7699
661607b3
RM
7700 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7701 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7702
9fa2c032
RM
7703 * configure.in (-z relro check): Adjust test code to add a large
7704 writable data section after it.
7705 * configure: Regenerated.
7706
defe9061
RM
77072011-07-11 Roland McGrath <roland@hack.frob.com>
7708
7709 * configure.in (-z relro check): Fix test code to make the variable
7710 truly const.
7711 * configure: Regenerated.
7712
319b9ad4
UD
77132011-07-11 Ulrich Drepper <drepper@gmail.com>
7714
7715 * nscd/nscd.h (struct traced_file): Define.
7716 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7717 elements. Add traced_files.
7718 (inotify_fd): Declare.
7719 (register_traced_file): Declare.
7720 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7721 (inotify_fd): Export.
7722 (resolv_conf_descr): Remove.
7723 (nscd_init): Move inotify descriptor creation to main.
7724 Don't register files for notification here.
7725 (register_traced_file): New function.
7726 (invalidate_cache): Don't use reset_res to determine whether to call
7727 res_init, go through the list of registered files.
7728 (main_loop_poll): The inotify descriptors are now stored in the
7729 structures for the traced files.
7730 (main_loop_epoll): Likewise
7731 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7732 to __nss_disable_nscd.
7733 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7734 for a database anymore. Check the records for all the registered
7735 files instead.
7736 * nss/Makefile (libnss_files-routines): Add files-init.
7737 (libnss_db-routines): Add db-init.
7738 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7739 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7740 * nss/nss_db/db-init.c: New file.
7741 * nss/nss_files/files-init.c: New file.
7742 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7743 __nss_lookup_function.
7744 (__nss_lookup_function): Call nss_load_library.
7745 (nss_load_all_libraries): New function.
7746 (__nss_disable_nscd): Take parameter with callback function for files
7747 to register. Set is_nscd. Load all the DSOs for the NSS modules
7748 used for the cached services.
7749 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7750 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7751 options for features to all the files in nscd.
7752
7753 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7754
23bee3e8
RM
77552011-07-10 Roland McGrath <roland@hack.frob.com>
7756
7757 * csu/elf-init.c (__libc_csu_init): Comment typo.
7758
46a5b7f0
UD
77592011-07-09 Ulrich Drepper <drepper@gmail.com>
7760
7761 * po/pl.po: Update from translation team.
7762 * po/ja.po: Likewise.
7763 * po/ru.po: Likewise.
7764 * po/ko.po: Likewise.
7765 * po/fr.po: Likewise.
7766
d30cf5bb
RM
77672011-07-09 Roland McGrath <roland@hack.frob.com>
7768
113ddea4
RM
7769 * configure.in (.ctors/.dtors header and trailer check):
7770 Use an empirical test on a built program.
7771 * configure: Regenerated.
7772
574920b4
RM
7773 * configure.in (-z relro check): Use an empirical test on a built DSO.
7774 Detect, but do not require, on ia64.
7775 * configure: Regenerated.
7776
d30cf5bb
RM
7777 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7778 Update tests that use readelf to use $READELF instead.
7779 * configure: Regenerated.
7780
8538fdb3
UD
77812011-07-08 Ulrich Drepper <drepper@gmail.com>
7782
7783 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7784 if the result is not used.
7785
04d08991
AJ
77862011-07-05 Andreas Jaeger <aj@suse.de>
7787
7788 [BZ#9696]
7789 * stdlib/tst-strtod.c: Add testcase.
7790
de283087
AD
77912011-07-07 Ulrich Drepper <drepper@gmail.com>
7792
4e5f31c8 7793 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 7794 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
7795 The latter has a higher limit. Take additional parameter to pass to
7796 the new function.
7797 (__pathconf): Pass file to __statfs_link_max.
7798 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7799 __statfs_link_max.
7800 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7801 __statfs_link_max.
7802
de283087
AD
7803 [BZ #12868]
7804 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7805 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7806 Handle Lustre.
7807 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7808 (__statfs_filesize_max): Likewise.
7809 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7810
c75fa153
AJ
78112011-07-05 Andreas Jaeger <aj@suse.de>
7812
7813 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7814
1a544854
UD
78152011-07-06 Marek Polacek <mpolacek@redhat.com>
7816
7817 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7818 `status' variable.
7819 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7820 Likewise.
7821
6f0eec67
UD
78222011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7823
7824 * Makefile (strop-tests): Add strncat.
7825 * string/test-strncat.c: New file.
7826
aae30307
UD
78272011-06-30 Marek Polacek <mpolacek@redhat.com>
7828
7829 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7830
c0cfb5eb
UD
78312011-06-21 Andreas Jaeger <aj@suse.de>
7832
7833 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7834 Copy rule from iconvdata/Makefile.
7835
01636b21
UD
78362011-07-06 Ulrich Drepper <drepper@gmail.com>
7837
7838 [BZ #12922]
7839 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7840 but no long options are defined, just return 'W'.
7841
9895c8bc
UD
78422011-06-22 Marek Polacek <mpolacek@redhat.com>
7843
7844 [BZ #9696]
7845 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7846
5d4cf042
UD
78472011-07-06 Ulrich Drepper <drepper@gmail.com>
7848
7849 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7850 netgroups to read.
960e5535 7851 (innetgr): Likewise.
5d4cf042 7852
751eb97e
RM
78532011-07-05 Roland McGrath <roland@hack.frob.com>
7854
7855 * config.make.in (install_root): Default to $(DESTDIR).
7856
f15f1e45
UD
78572011-07-05 Ulrich Drepper <drepper@gmail.com>
7858
7859 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7860
4e34ac6a
RM
78612011-07-02 Roland McGrath <roland@hack.frob.com>
7862
5e9b6af4
RM
7863 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7864
84f9ea0f
RM
7865 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7866 containing directory rather than embedding absolute directory names.
7867
ea5ee9f7
RM
7868 * scripts/check-local-headers.sh: Rewritten using awk.
7869 Match by word, not by line. Print error messages for matches.
7870 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7871
1b74661a
RM
7872 * Makerules [shlib-lds-flags empty]:
7873 ($(common-objpfx)libc_pic.opts): New target.
7874 ($(common-objpfx)libc_pic.os.clean): New target.
7875 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7876
7877 * config.make.in (OBJCOPY): New variable.
7878 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7879 * configure: Regenerated.
7880
f781ef40
RM
7881 * config.make.in (use-default-link): New variable.
7882 * configure.in (use_default_link): Grok --with-default-link to set it.
7883 * configure: Regenerated.
7884 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7885 (shlib-lds, shlib-lds-flags): Define to empty.
7886
2d4fa81e
RM
7887 * Makerules (shlib-lds): New variable.
7888 (shlib-lds-flags): New variable.
7889 (build-shlib, build-moduile, build-module-asneeded): Use it.
7890 ($(common-objpfx)libc.so): Use $(shlib-lds).
7891 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7892 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7893
31fffa6b
RM
7894 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7895 DT_FLAGS/DT_FLAGS_1 with zero flags.
7896
4e34ac6a
RM
7897 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7898 linker script munging.
7899
fcfc776b
UD
79002011-07-02 Ulrich Drepper <drepper@gmail.com>
7901
7902 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7903 as 128-bit value.
7904 * crypt/sha512.c (sha512_process_block): Perform total addition using
7905 128-bit if possible.
7906 (__sha512_finish_ctx): Likewise.
7907 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7908 as 64-bit value.
7909 * crypt/sha256.c (SWAP64): Define.
7910 (sha256_process_block): Perform total addition using 64-bit if
7911 possible.
7912 (__sha256_finish_ctx): Likewise.
7913
99231d9a
UD
79142011-07-01 Ulrich Drepper <drepper@gmail.com>
7915
7916 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7917 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7918 * nscd/hstcache.c (cache_addhst): Likewise.
7919 * nscd/grpcache.c (cache_addgr): Likewise.
7920 * nscd/aicache.c (addhstaiX): Likewise
7921 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7922
445b4a53
TK
79232011-07-01 Thorsten Kukuk <kukuk@suse.de>
7924
7925 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7926 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7927 * nscd/hstcache.c (cache_addhst): Likewise.
7928 * nscd/grpcache.c (cache_addgr): Likewise.
7929 * nscd/aicache.c (addhstaiX): Likewise
7930
6d4d8e8e
AS
79312011-07-01 Andreas Schwab <schwab@redhat.com>
7932
7933 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7934 domain only when needed.
7935
89f654c5
AS
79362011-06-30 Andreas Schwab <schwab@redhat.com>
7937
7938 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7939 is always restored.
7940
cf3b23ff
UD
79412011-06-29 Ulrich Drepper <drepper@gmail.com>
7942
7943 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7944 are re-adding the entry.
7945 * nscd/servicescache.c (cache_addserv): Likewise.
7946
751626f9
AJ
79472011-06-30 Aurelien Jarno <aurelien@aurel32.net>
7948
7949 * sysdeps/generic/dl-irel.h: fix protection against multiple
7950 inclusions.
7951 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7952
9113ea1f
UD
79532011-06-28 Ulrich Drepper <drepper@gmail.com>
7954
5c0b8d90
UD
7955 [BZ #12935]
7956 * malloc/memusage.sh: Fix quoting in message.
7957 * debug/xtrace.sh: Likewise.
7958
9113ea1f
UD
7959 * configure.in: Remove support for --experimental-malloc option, make
7960 it the default.
7961 * config.make.in: Likewise.
7962 * malloc/Makefile: Likewise.
7963
a4172181
AS
79642011-06-27 Andreas Schwab <schwab@redhat.com>
7965
7966 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7967 two-byte characters.
7968
78a7eee7
RM
79692011-06-27 Roland McGrath <roland@hack.frob.com>
7970
62bede13
RM
7971 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
7972 AC_CACHE_CHECK invocation.
7973 * configure: Regenerated.
7974
78a7eee7
RM
7975 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
7976
5ce33a62
UD
79772011-06-27 Ulrich Drepper <drepper@gmail.com>
7978
034807a9
UD
7979 [BZ #12350]
7980 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
7981 bit from old_res_options.
7982
4902da17
UD
7983 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
7984
5ce33a62
UD
7985 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
7986 value type for setfct.
7987
c2344f56
L
79882011-06-23 H.J. Lu <hongjiu.lu@intel.com>
7989
7990 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7991 __gettimeofday instead of gettimeofday.
7992
68468076
UD
79932011-06-26 Ulrich Drepper <drepper@gmail.com>
7994
7995 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
7996
acb0d739
L
79972011-06-24 H.J. Lu <hongjiu.lu@intel.com>
7998
7999 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8000
8001 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8002 info.
8003
8912479f
L
80042011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8005
8006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8007 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8008 strcpy-sse2-unaligned strncpy-sse2-unaligned
8009 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8010 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8011 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8012 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8013 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8014 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8015 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8016 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8017 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8018 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8019 (STRCPY): Support SSE2 and SSSE3 versions.
8020
d5495a11
UD
80212011-06-24 Ulrich Drepper <drepper@gmail.com>
8022
8023 [BZ #12874]
8024 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8025 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8026 kernels which artificially limit size of requests.
8027
0b1cbaae
L
80282011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8029
8030 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8031 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8032 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8033 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8034 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8035 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8036 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8037 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8038 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8039 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8040 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8041 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8042 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8043 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8044 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8046 Enable unaligned load optimization for Intel Core i3, i5 and i7
8047 processors.
8048 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8049 Define.
8050 (index_Fast_Unaligned_Load): Define.
8051 (HAS_FAST_UNALIGNED_LOAD): Define.
8052
07f494a0
MP
80532011-06-23 Marek Polacek <mpolacek@redhat.com>
8054
8055 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8056
fa3fc0fe
UD
80572011-06-22 Ulrich Drepper <drepper@gmail.com>
8058
8059 [BZ #12907]
8060 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8061 until it is clear that the information is realy needed.
8062 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8063
e12df166
AS
80642011-06-22 Andreas Schwab <schwab@redhat.com>
8065
8066 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8067
852eb34d
UD
80682011-06-22 Ulrich Drepper <drepper@gmail.com>
8069
84e2a551
UD
8070 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8071 /sys/devices/system/cpu/online if it is usable.
8072
852eb34d
UD
8073 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8074 reading the information from the /proc filesystem to once a second.
8075
6e502e19
UD
80762011-06-21 Andreas Jaeger <aj@suse.de>
8077
8078 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8079 NULL after inclusion of kernel headers.
8080
75d39ff2
UD
80812011-06-21 Ulrich Drepper <drepper@gmail.com>
8082
51f9aa6a
UD
8083 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8084 calls to internal_setent.
8085
c0244a9d
UD
8086 [BZ #12885]
8087 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8088 addresses using gethostbyname4_r ignore IPv4 addresses.
8089
c5e3c2ae
UD
8090 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8091 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8092
75d39ff2
UD
8093 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8094
42675c6f
DM
80952011-06-20 David S. Miller <davem@davemloft.net>
8096
8097 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8098 inclusions.
8099 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8100
8101 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8102 (elf_irel): Use it.
8103 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8104 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8105 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8106 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8107 * sysdeps/x86_64/dl-irel.h: Likewise.
8108
8109 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8110 * elf/dl-sym.c: Likewise.
8111
57912a71
UD
81122011-06-15 Ulrich Drepper <drepper@gmail.com>
8113
8114 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8115 need to dereference resplen2.
8116
ee22793d
AS
81172011-06-14 Andreas Schwab <schwab@redhat.com>
8118
8119 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8120
a9e836b0
UD
81212011-06-15 Ulrich Drepper <drepper@gmail.com>
8122
77fb9117
UD
8123 * Makeconfig: Define vardbdir and inst_vardbdir.
8124 * nss/Makefile: Add rules to install db-Makefile.
8125
40c1b22c
UD
8126 * nss/nss_db/db-XXX.c: Cleanup.
8127
9f2da732
UD
8128 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8129 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8130 GLIBC_PRIVATE.
8131 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8132 * nss/makedb.c: Implement -g option to specify that value strings
8133 are generated and should not be added to table iterated over for
8134 get*ent calls.
8135 * nss/nss_db/db-initgroups.c: New file.
8136
82e9a1f7
UD
8137 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8138 interface.
8139
c41af17e
UD
8140 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8141 (internal_getgrouplist): Adjust to name change.
8142 Update use_initgroups_entry if this is not the first call.
8143 * nss/databases.def: Add initgroups entry.
8144
a9e836b0
UD
8145 * nss/makedb.c (compute_tables): Check result of multiple hash table
8146 sizes to minimize maximum chain length.
8147
2666d441
UD
81482011-06-14 Ulrich Drepper <drepper@gmail.com>
8149
8150 * Versions.def: Add entry for libnss_db.
8151 * shlib-versions: Likewise.
8152 * nss/Makefile: Add rules to build libnss_db.
8153 * nss/Versions: Add libnss_db information. Organize libnss_files
8154 entries better.
8155 * nss/db-Makefile: Add gshadow support. Change rules for the new
8156 makedb progra. Some minor improvements to generate smaller files.
8157 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8158 here from...
8159 * nss/makedb.c: ...here.
8160 Improve database format to be smaller and require less memory at
8161 runtime.
8162 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8163 db anymore.
8164 * nss/nss_db/db-netgrp.c: Likewise.
8165 * nss/nss_db/db-open.c: Likewise.
8166 * nss/nss_files/flies-XXX.x: Adjust comments.
8167 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8168 * nss/nss_files/files-grp.c: Likewise.
8169 * nss/nss_files/files-hosts.c: Likewise.
8170 * nss/nss_files/files-network.c: Likewise.
8171 * nss/nss_files/files-proto.c: Likewise.
8172 * nss/nss_files/files-pwd.c: Likewise.
8173 * nss/nss_files/files-rpc.c: Likewise.
8174 * nss/nss_files/files-service.c: Likewise.
8175 * nss/nss_files/files-sgrp.c: Likewise.
8176 * nss/nss_files/files-spwd.c: Likewise.
8177 * nss/nss_db/db-alias.c: Removed.
8178 * nss/nss_db/dummy-db.h: Removed.
8179
9ee76b5a
UD
81802011-06-02 Ulrich Drepper <drepper@gmail.com>
8181
8182 * nss/makedb.c: Rewritten to not use database library.
8183 * nss/Makefile: Update to build new makedb program.
8184
c71ca1f8
AJ
81852011-06-14 Andreas Jaeger <aj@suse.de>
8186
8187 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8188 memset declaration.
8189
3154bfb8
UD
81902011-06-10 Andreas Schwab <schwab@redhat.com>
8191
8192 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8193 tmpbuf.
8194
b350afab
RM
81952011-06-10 Roland McGrath <roland@hack.frob.com>
8196
decd4e50
RM
8197 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8198 * elf/Makefile ($(objpfx)ld.so): Likewise.
8199
5615eaf2
RM
8200 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8201 Don't list ld.so twice in dependencies.
8202
8203 * posix/bug-regex31.c: Include <stdlib.h>.
8204
8205 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8206
8207 * nis/nss_compat/compat-spwd.c
8208 (getspent_next_nss_netgr): Remove unused variable.
8209 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8210
8211 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8212 nonmembers" output to use the right array.
8213
8214 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8215
8216 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8217
8218 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8219 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8220 * catgets/gencat.c (read_input_file): Likewise.
8221 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8222
8223 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8224 variable definition inside #if's controlling its use.
8225
8226 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8227
8228 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8229
8230 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8231
8232 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8233 unreachable code.
8234
8235 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8236
b68e08db
RM
8237 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8238 * configure: Regenerated.
8239
b350afab
RM
8240 * Makerules: Revert last change.
8241 * elf/Makefile: Likewise.
8242
28368601
RM
82432011-06-09 Roland McGrath <roland@hack.frob.com>
8244
8245 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8246 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8247 (reloc-link): Likewise.
8248
11988f8f
UD
82492011-06-09 Ulrich Drepper <drepper@gmail.com>
8250
8251 * elf/Makefile: Add rules to build pldd.
8252 * elf/pldd.c: New file.
8253 * elf/pldd-xx.c: New file.
8254
e80fab37
UD
82552011-06-07 Ulrich Drepper <drepper@gmail.com>
8256
8257 * version.h: Update for 2.15 development version.
8258
9b849836
DM
82592011-06-07 David S. Miller <davem@davemloft.net>
8260
8261 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8262 ifuncs.
8263 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8264 elf_machine_lazy_rel): Likewise.
8265 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8266 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8267 elf_machine_lazy_rel): Likewise.
8268 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8269 dl_hwcap via passed in argument.
8270 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8271 Likewise.
8272
5a31b283
AK
82732011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8274
8275 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8276
069e52f8
RM
82772011-06-06 Roland McGrath <roland@hack.frob.com>
8278
8279 [BZ #12849]
8280 * manual/fdl-1.1.texi: New file, verbatim from:
8281 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8282 * manual/lgpl-2.1.texi: New file, verbatim from:
8283 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8284 * manual/Makefile (licenses): New variable, list those new file names.
8285 (texis): Use it.
8286 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8287
8288 * manual/fdl.texi: File removed.
8289 * manual/lesser.texi: File removed.
8290 * manual/libc.texinfo (Copying, Documentation License):
8291 Use new @include file names, put @appendix directive before @include.
8292
f16846a5
JJ
82932011-06-04 Jakub Jelinek <jakub@redhat.com>
8294
8295 [BZ #12841]
8296 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8297 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8298 (mq_open): Add __NTH.
8299
3d29045b
L
83002011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8301
8302 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8303 Assume Intel Core i3/i5/i7 processor if AVX is available.
8304
8c297311
UD
83052011-05-31 Ulrich Drepper <drepper@gmail.com>
8306
8307 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8308 typo.
8309
c8fc0c91
UD
83102011-05-31 Andreas Schwab <schwab@redhat.com>
8311
8312 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8313 memory. Use alloca_account. Fix memory leak when retrying.
8314
5b27a807
UD
83152011-05-31 Ulrich Drepper <drepper@gmail.com>
8316
356f8bc6
UD
8317 * version.h (RELEASE): Bump for 2.14 release.
8318 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8319
5b27a807
UD
8320 * config.make.in (RANLIB): Remove entry.
8321
01f16ab0
UD
83222011-05-30 Ulrich Drepper <drepper@gmail.com>
8323
41fce8bd
UD
8324 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8325 (libc.pot): Work around missing support for .ksh extension in xgettext.
8326
4769ae77
UD
8327 [BZ #12684]
8328 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8329 if both request failed.
8330 (send_dg): In case of server errors clear resplen or *resplen2.
8331
6b1e7d19
UD
8332 [BZ #12454]
8333 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8334 when there are multiple maps.
8335 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8336 (_dl_fini): Remove test here.
8337
01f16ab0
UD
8338 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8339
b1ebd700
UD
83402011-05-29 Ulrich Drepper <drepper@gmail.com>
8341
7ae22829
UD
8342 [BZ #12350]
8343 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8344 bit from old_res_options.
8345 (gaih_inet): Likewise.
8346
553149f6 8347 [BZ #11099]
18a84741 8348 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8349 as signed.
8350
652ffab1
UD
8351 * resolv/res_init.c (res_setoptions): Make the code more compact.
8352
16985fd0
UD
8353 [BZ #11558]
8354 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8355 set RES_USEVC.
8356
0464f746
UD
8357 [BZ #11634]
8358 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8359
7d17596c
UD
8360 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8361
cf6bbbd7
UD
8362 [BZ #11781]
8363 * malloc/malloc.h: Declare malloc hook variables as volatile.
8364
13f1ab36
UD
8365 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8366 in last patch.
8367
b1ebd700
UD
8368 [BZ #11799]
8369 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 8370 raise in the comment.
80e2212d
UD
8371 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8372 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8373 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 8374
ce67228d
UD
83752011-05-28 Ulrich Drepper <drepper@gmail.com>
8376
8887a920
UD
8377 [BZ #12811]
8378 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8379 grow the buffers more if it already has to be sufficient.
8380 (build_wcs_upper_buffer): Likewise.
8381 * posix/regexec.c (check_matching): Likewise.
8382 (clean_state_log_if_needed): Likewise.
8383 (extend_buffers): Don't enlarge buffers beyond size of the input
8384 buffer.
8385 Patches mostly by Emil Wojak <emil@wojak.eu>.
8386 * posix/bug-regex32.c: New file.
8387 * posix/Makefile (tests): Add bug-regex32.
8388
4f031072
UD
8389 * locale/findlocale.c (_nl_find_locale): Return right away if
8390 _nl_explode_name failed.
8391 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8392
d0478f0c
UD
8393 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8394
de81b246
UD
8395 * debug/xtrace.sh: Unify messages.
8396 * malloc/memusage.sh: Likewise.
8397
c738465a
UD
8398 [BZ #12813]
8399 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8400 time symbol from vDSO. Substitute with vsyscall if not available.
8401 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8402 __vdso_time.
8403
f1f929d7
UD
8404 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8405 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8406 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8407 Add sendmmsg and internal_sendmmsg.
8408 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8409 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8410 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8411
ce67228d
UD
8412 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8413 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8414 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8415
e57420c6
UD
84162011-05-27 Ulrich Drepper <drepper@gmail.com>
8417
a8509ca5
UD
8418 [BZ #12813]
8419 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8420 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8421 available.
8422 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8423 __vdso_getcpu.
8424
e57420c6
UD
8425 [BZ #12814]
8426 * iconvdata/Makefile (tests): Add bug-iconv9.
8427 * iconvdata/bug-iconv9.c: New file.
8428
4d07db15
AS
84292011-05-27 Andreas Schwab <schwab@redhat.com>
8430
8431 [BZ #12814]
8432 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8433
ea486f69
JJ
84342011-05-25 Jakub Jelinek <jakub@redhat.com>
8435
8436 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8437 (struct user_regs_struct): Change intcs field back to cs.
8438
6f038433
UD
84392011-05-25 Ulrich Drepper <drepper@gmail.com>
8440
8441 * po/ja.po: Update from translation team.
8442
67f86a25
UD
84432011-05-23 Ulrich Drepper <drepper@gmail.com>
8444
8445 [BZ #12795]
8446 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8447 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8448
def7fbd6
AS
84492011-05-20 Andreas Schwab <schwab@redhat.com>
8450
8451 * stdlib/longlong.h: Update from GCC.
8452
f50ef8f1
AS
84532011-05-23 Andreas Schwab <schwab@redhat.com>
8454
8455 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8456 parameter name.
8457 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8458 Add parameter name.
8459 (__sysconf): Pass it down.
8460
de7ce8f1
UD
84612011-05-22 Ulrich Drepper <drepper@gmail.com>
8462
f2962a71
UD
8463 [BZ #12671]
8464 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8465 some situations.
8466 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8467 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8468 add in in __libc_use_alloca calls. Adjust callers.
8469 (glob): Use malloc in some situations.
8470
de7ce8f1
UD
8471 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8472 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8473 pltexit.
8474
aec84f53
UD
84752011-05-21 Ulrich Drepper <drepper@gmail.com>
8476
05bb4a68
UD
8477 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8478 and CLOCK_BOOTTIME_ALARM.
8479
7ea72f99
UD
8480 [BZ #12782]
8481 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8482 is returned.
8483
7e4afad5
UD
8484 * string/_strerror.c (__strerror_r): Print negative errors as signed
8485 numbers.
8486
8e211fec
UD
8487 [BZ #12777]
8488 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8489 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8490 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8491
f7d82dc9
UD
8492 * configure.in: Fix typo in redirection and correct removal of test
8493 files in two cases.
8494
cc9e536d
UD
8495 [BZ #12788]
8496 * locale/setlocale.c (new_composite_name): Fix test to check for
8497 identical name of all categories.
8498
aec84f53
UD
8499 [BZ #12792]
8500 * libio/filedoalloc.c (local_isatty): New function.
8501 (_IO_file_doallocate): Use local_isatty.
8502 * stdio-common/perror.c (perror): In case a new stream is used
8503 forward the stream error.
8504 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8505 error flag.
8506
78e64fdc
RT
85072011-05-20 Ulrich Drepper <drepper@gmail.com>
8508
34a9094f
UD
8509 [BZ #11869]
8510 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8511 alloca.
8512 * include/alloca.h (extend_alloca_account): Define.
8513
78e64fdc
RT
8514 [BZ #11857]
8515 * posix/regex.h: Fix comments with documentation of user-accessible
8516 fields after compilation and describe correct free'ing of pattern
8517 after re_compile_pattern.
8518 Patch by Reuben Thomas <rrt@sc3d.org>.
8519
457bddfc
RA
85202011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8521
8522 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8523 and -mno-altivec to prevent the compiler from using Altivec and/or
8524 VSX instructions when the corresponding registers are not available.
8525
a4527b51
AS
85262011-05-19 Andreas Schwab <schwab@redhat.com>
8527
8528 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8529
ed690b2f
UD
85302011-05-19 Ulrich Drepper <drepper@gmail.com>
8531
8532 * libio/freopen.c (freopen): Use __dup2, not dup2.
8533 * libio/freopen64.c (freopen64): Likewise.
8534
8db73634
L
85352011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8536
8537 [BZ #12775]
8538 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8539 * math/Makefile (tests): Add test-powl.
8540 (CFLAGS-test-powl.c): Define.
8541 * math/test-powl.c: New file.
8542
0a197a9d
L
85432011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8544
8545 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8546
ee30c380
UD
85472011-05-17 Ulrich Drepper <drepper@gmail.com>
8548
8549 [BZ #11837]
8550 * iconvdata/gb18030.c: Update to GB18020-2005.
8551
6ce75379
UD
85522011-05-16 Ulrich Drepper <drepper@gmail.com>
8553
a4b89fd8
AR
8554 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8555 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8556 Patch by Aharon Robbins <arnold@skeeve.com>.
8557
ea389b12
UD
8558 [BZ #11892]
8559 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8560 on the stack.
8561
68a3f91f
UD
8562 [BZ #11895]
8563 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8564 through underflows.
8565
15cc7dd1
UD
8566 [BZ #12766]
8567 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8568 point to strings before performing equality test for error_one_per_line
8569 mode.
8570
f3799213
UD
8571 [BZ #11697]
8572 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8573
d79a9c94
UD
8574 [BZ #11820]
8575 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8576 (struct user_fpregs_struct): Avoid __uint*_t types.
8577
56e5eb46
UD
8578 [BZ #6420]
8579 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8580 symbol info. Use it instead of calling _dl_addr locally.
8581 (lock_and_info): New function.
8582 (tr_freehook): Call lock_and_info and pass symbol info as additional
8583 parameter to tr_where.
8584 (tr_mallochook): Likewise.
8585 (tr_reallochook): Likewise.
8586 (tr_memalignhook): Likewise.
8587
6ce75379
UD
8588 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8589 used and couldn't be at all thread-safe.
8590
f8a3b5bf
UD
85912011-05-15 Ulrich Drepper <drepper@gmail.com>
8592
94b7cc37
UD
8593 * libio/freopen.c (freopen): Don't close old file descriptor
8594 before the new one is opened. Instead dup the new file descriptor
8595 to the old one after the new stream is created.
8596 * libio/freopen64.c (freopen64): Likewise.
8597 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8598 * libio/fileops.c (_IO_new_file_close_it): Handle new
8599 _IO_FLAGS2_NOCLOSE flag.
8600 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8601 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8602 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8603 _IO_FLAGS2_NOCLOSE flag.
8604 * include/unistd.h: Add hidden_proto for dup3.
8605 Define __have_dup3.
8606 * io/dup3.c: Define hidden symbol.
8607 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8608
bd25564e
UD
8609 [BZ #7101]
8610 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8611 when an incomplete long option is used.
8612 * posix/tst-getopt_long1.c: New file.
8613 * posix/Makefile (tests): Add tst-getopt_long1.
8614
c84cfef4
UD
8615 [BZ #10138]
8616 * scripts/config.guess: Update from autoconf-2.68.
8617 * scripts/config.sub: Likewise.
8618
3b85df27
UD
8619 [BZ #10157]
8620 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8621 tests into ...
8622 (has_cpuclock): ...this. New function.
8623 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8624 macro here based on has_cpuclock code.
8625
15a856b1
UD
8626 [BZ #10149]
8627 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8628 First byte (not low byte) is now always NUL.
8629 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8630
05f399e6
UD
8631 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8632 Use non-cancelable interfaces.
8633
10a52685 8634 [BZ #9809]
94ecc67d
UD
8635 * locale/iso-639.def: Add entry for Sorani.
8636
f8a3b5bf
UD
8637 [BZ #11901]
8638 * include/stdlib.h: Move include protection to the right place.
8639 Define abort_msg_s. Declare __abort_msg with it.
8640 * stdlib/abort.c (__abort_msg): Adjust type.
8641 * assert/assert.c (__assert_fail_base): New function. Majority
8642 of code from __assert_fail. Allocate memory for __abort_msg with
8643 mmap.
8644 (__assert_fail): Now call __assert_fail_base.
8645 * assert/assert-perr.c: Remove bulk of implementation. Use
8646 __assert_fail_base.
8647 * include/assert.hL Declare __assert_fail_base.
8648 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8649 mmap.
8650 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8651
1af4e298
UD
86522011-05-14 Ulrich Drepper <drepper@gmail.com>
8653
f8a3b5bf 8654 [BZ #11952]
d26dfc60
MG
8655 [BZ #12453]
8656 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8657 until all modules are registered in the DTV.
8658 * elf/Makefile: Add rules to build and run tst-tls19.
8659 * elf/tst-tls19.c: New file.
8660 * elf/tst-tls19mod1.c: New file.
8661 * elf/tst-tls19mod2.c: New file.
8662 * elf/tst-tls19mod3.c: New file.
8663 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8664
2fc54d6f
UD
8665 [BZ #12083]
8666 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8667 correctly.
8668
98d76b46
UD
8669 [BZ #12601]
8670 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8671 two-byte sequence errors.
8672 * iconvdata/Makefile (tests): Add bug-iconv8.
8673 * iconvdata/bug-iconv8.c: New file.
8674
da3c19ef
UD
8675 [BZ #12626]
8676 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8677 buf2 definition.
8678
ca408c15
UD
8679 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8680
d6f67f7d
UD
8681 [BZ #12432]
8682 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8683 (dummy_getcfa): New function.
8684 (init): Get _Unwind_GetCFA address, use dummy if not found.
8685 (backtrace_helper): In recursion check, also check whether CFA changes.
8686 (__backtrace): Completely initialize arg.
8687
1af4e298 8688 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
8689 storing incomplete byte sequence in state object. Avoid testing for
8690 guaranteed too small input if we know there is enough data available.
1af4e298 8691
da62f81b
AS
86922011-05-11 Andreas Schwab <schwab@redhat.com>
8693
8694 * Makeconfig (+link-pie): Indent.
8695 * Rules (binaries-pie): Define if $(have-fpie) and
8696 $(build-shared).
8697 (binaries-shared): Also filter out $(binaries-pie).
8698 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8699 * nscd/Makefile (others-pie): Add nscd.
8700 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8701 ($(objpfx)nscd): Remove command override.
8702 * login/Makefile (others-pie): Add pt_chown.
8703 ($(objpfx)pt_chown): Remove command override.
8704 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8705 remove command overrides.
8706
fcabc0f8
UD
87072011-05-13 Ulrich Drepper <drepper@gmail.com>
8708
20030ae6
UD
8709 * libio/tst_putwc.c: Fix error messages.
8710
fcabc0f8
UD
8711 [BZ #12724]
8712 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8713 currently writing and seek to current position when not.
8714 * libio/Makefile (tests): Add bug-fclose1.
8715 * libio/bug-fclose1.c: New file.
8716
320a5dc0
PB
87172011-05-12 Ulrich Drepper <drepper@gmail.com>
8718
8719 [BZ #12511]
8720 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8721 don't set DF_1_NODELETE here.
8722 (do_lookup_x): When entering new entry test for copy relocation
8723 and if necessary set DF_1_NODELETE flag.
8724 * elf/tst-unique4.cc: New file.
8725 * elf/tst-unique4.h: New file.
8726 * elf/tst-unique4lib.cc: New file.
8727 * elf/Makefile: Add rules to build and run tst-unique4.
8728 Patch by Piotr Bury <pbury@goahead.com>.
8729
22836f52
UD
87302011-05-11 Ulrich Drepper <drepper@gmail.com>
8731
f574184a
UD
8732 [BZ #12052]
8733 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8734
e1fb097f
UD
8735 [BZ #12625]
8736 * misc/mntent_r.c (addmntent): Flush the stream after the output
8737
22836f52
UD
8738 [BZ #12393]
8739 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8740 (is_trusted_path_normalize): Skip initial colon. Append slash
8741 to empty buffer. Duplicate is_trusted_path code but allow
8742 constructed patch to be prefix.
8743 (is_dst): Allow $ORIGIN followed by /.
8744 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8745 Correct testing of result of is_trusted_path_normalize
8746 (decompose_rpath): Fix warning.
8747
7b3b0b2a
UD
87482011-05-10 Ulrich Drepper <drepper@gmail.com>
8749
8750 [BZ #11257]
8751 * grp/initgroups.c (internal_getgrouplist): When we found the service
8752 list through the initgroups entry in nsswitch.conf do not always
8753 continue on a successful lookup. Don't always use the
eac80ce2 8754 __nss_group_database value if it is set.
7b3b0b2a
UD
8755 * nss/nsswitch.conf (initgroups): Change action for successful db
8756 lookup to continue for compatibility.
8757
2a81eaa5
UD
87582011-05-09 Ulrich Drepper <drepper@gmail.com>
8759
be97a69e
UD
8760 [BZ #11532]
8761 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8762 and CP774 modules.
8763 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8764 and CP774 modules.
8765 * iconvdata/tst-tables.sh: Likewise.
8766 * iconvdata/cp770.c: New file.
8767 * iconvdata/cp771.c: New file.
8768 * iconvdata/cp772.c: New file.
8769 * iconvdata/cp773.c: New file.
8770 * iconvdata/cp774.c: New file.
8771 * iconvdata/testdata/CP770: New file.
8772 * iconvdata/testdata/CP770..UTF8: New file.
8773 * iconvdata/testdata/CP771: New file.
8774 * iconvdata/testdata/CP771..UTF8: New file.
8775 * iconvdata/testdata/CP772: New file.
8776 * iconvdata/testdata/CP772..UTF8: New file.
8777 * iconvdata/testdata/CP773: New file.
8778 * iconvdata/testdata/CP773..UTF8: New file.
8779 * iconvdata/testdata/CP774: New file.
8780 * iconvdata/testdata/CP774..UTF8: New file.
8781
8782 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8783 END CHARMAP line.
8784 * iconvdata/gen-8bit-gap.sh: Likewise.
8785 * iconvdata/gen-8bit.sh: Likewise.
8786
c1e9e399
UD
8787 * locale/iso-639.def: Add ary entry.
8788
24c55fb3 8789 [BZ #11258]
96b4b1b0
UD
8790 * locale/C-translit.h.in: Add U20A1 transliteration.
8791
bdc2f971
KB
8792 [BZ #12178]
8793 * locale/iso-639.def: Add wae entry.
8794 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8795
2952b117
UD
8796 [BZ #12545]
8797 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8798 for n.
8799
2a81eaa5
UD
8800 [BZ #12711]
8801 * locale/C-translit.h.in: Add entry for U20B9.
8802 Patch by pravin.d.s@gmail.com.
8803
28377d1b
UD
88042011-05-08 Ulrich Drepper <drepper@gmail.com>
8805
7fb90fb8
UD
8806 [BZ #12713]
8807 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8808 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
8809 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8810 in rtld. Use *stat64.
7fb90fb8 8811 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 8812 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 8813 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
8814 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8815 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8816 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8817 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8818 __fstatat64 macros.
7fb90fb8
UD
8819 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8820 * dirent/rewinddir.c: Add libc_hidden_def.
8821 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 8822 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 8823
28377d1b
UD
8824 * include/dirent.h (__alloc_dir): Add flags parameter.
8825 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8826 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8827 __alloc_dir.
8828 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8829 from fdopendir if O_CLOEXEC is already set.
8830
66bdbaa4
AM
88312011-03-15 Alan Modra <amodra@gmail.com>
8832
8833 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8834 l_tls_firstbyte_offset non-zero. Save padding offset in
8835 l_tls_firstbyte_offset for later use.
8836 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8837 freeing static tls block.
8838
95721191
JN
88392011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8840
8841 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8842 where #ifdef was intended. The intent is to prevent ARG_MAX from
8843 being defined by the kernel headers.
8844
f87dfb1f
UD
88452011-05-07 Ulrich Drepper <drepper@gmail.com>
8846
8847 [BZ #12734]
8848 * resolv/resolv.h: Define RES_NOTLDQUERY.
8849 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8850 no-tld-query and set RES_NOTLDQUERY.
8851 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8852 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8853 modern BIND to search name as TLD unless forbidden.
8854
47c3cd7a
UD
88552011-05-07 Petr Baudis <pasky@suse.cz>
8856 Ulrich Drepper <drepper@gmail.com>
8857
8858 [BZ #12393]
8859 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8860 (is_trusted_path): ...to here.
c1e9ea35 8861 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 8862 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 8863 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 8864
8a35c912
PP
88652011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8866
8867 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8868 __BEGIN/__END_DECLS.
8869
acd41f47
UD
88702011-05-06 Ulrich Drepper <drepper@gmail.com>
8871
8872 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8873 NSS_STATUS_NOTFOUND if no record was found.
8874
597df647
AS
88752011-05-05 Andreas Schwab <schwab@redhat.com>
8876
8877 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8878 (headers-not-in-tirpc): Remove rpc/netdb.h
8879 * resolv/netdb.h: Revert last change.
8880
b9af1301
PP
88812011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8882
8883 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8884 circular dependency between libgcc.a and libc.a.
8885
4e34d5f5
AS
88862011-05-05 Andreas Schwab <schwab@redhat.com>
8887
8888 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8889 * nis/Makefile: Don't install rpcsvc/*.
8890 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8891 instead of <rpc/types.h>.
8892 (MAXHOSTNAMELEN): Define.
8893
00ee369c
AS
88942011-05-03 Andreas Schwab <schwab@redhat.com>
8895
8896 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8897
0b592a30
MB
88982011-04-28 Maciej Babinski <mbabinski@google.com>
8899
8900 [BZ #12714]
8901 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8902 gethostbyname4_r when IPv6 results are possible.
8903
6e04cbbe
UD
89042011-05-02 Ulrich Drepper <drepper@gmail.com>
8905
8906 [BZ #12723]
8907 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8908 _PC_PIPE_BUF handling.
8909
e4ecafe0
BH
89102011-04-30 Bruno Haible <bruno@clisp.org>
8911
8912 [BZ #12717]
8913 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8914 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8915 to 'int'.
8916 * inet/getnameinfo.c (getnameinfo): Likewise.
8917
125ee683
UD
89182011-04-29 Ulrich Drepper <drepper@gmail.com>
8919
8920 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8921 to groups setting in database lookup.
8922 * nss/nsswitch.conf: Add initgroups entry.
8923
b722481a
EB
89242011-04-22 Ulrich Drepper <drepper@gmail.com>
8925
8926 [BZ #12685]
8927 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8928 mode string.
8929 Patch by Eric Blake <eblake@redhat.com>.
8930
4df46dbd
L
89312011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8932
8933 * sunrpc/Makefile (need-export-routines): Add svc_run.
8934 (routines): Remove svc_run.
8935 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8936 * sunrpc/clnt_perr.c (clnt_perrno): Export.
8937 * sunrpc/svc_run.c (svc_run): Likewise.
8938 * sunrpc/svc_udp.c (svcudp_create): Likewise.
8939
e84142d2
UD
89402011-04-21 Ulrich Drepper <drepper@gmail.com>
8941
8942 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8943 problem in reallocation in last patch.
8944
877175d8
UD
89452011-04-20 Ulrich Drepper <drepper@gmail.com>
8946
8947 * sunrpc/Makefile: Move inclusion of Rules.
8948
ab8eed78
UD
89492011-04-19 Ulrich Drepper <drepper@gmail.com>
8950
8951 * nss/nss_files/files-initgroups.c: New file.
8952 * nss/Makefile (libnss_files-routines): Add files-initgroups.
8953 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8954 _nss_files_initgroups_dyn.
8955
e3d8f584
RS
89562011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
8957
8958 * elf/elf.h (R_ARM_IRELATIVE): Define.
8959
af190f45
UD
89602011-04-19 Ulrich Drepper <drepper@gmail.com>
8961
8962 * po/ru.po: Update from translation team.
8963
53cf59ef
UD
89642011-04-17 Ulrich Drepper <drepper@gmail.com>
8965
8966 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8967 dependencies.
8968
4c559bcd
MF
89692011-02-06 Mike Frysinger <vapier@gentoo.org>
8970
8971 [BZ #12653]
8972 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8973 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8974 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8975 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8976 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8977
4420675c
AS
89782011-03-28 Andreas Schwab <schwab@linux-m68k.org>
8979
8980 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
8981 differing bytes.
8982 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8983 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8984 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8985
75ea32ab
UD
89862011-04-17 Ulrich Drepper <drepper@gmail.com>
8987
8988 [BZ #12420]
8989 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
8990 storing it.
8991 * stdlib/bug-getcontext.c: New file.
8992 * stdlib/Makefile: Add rules to build and run bug-getcontext.
8993
27390476
AK
89942011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8995
8996 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
8997 instructions into .machine "z9-109".
8998 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8999 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9000
10442705
AK
90012011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9002
9003 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9004 between environment variables and auxiliary vector.
9005
7b57bfe5
UD
90062011-04-16 Ulrich Drepper <drepper@gmail.com>
9007
9008 * Makefile: Add rules to build linkobj/libc.so.
9009 * include/libc-symbols.h: Define libc_hidden_nolink.
9010 * include/rpc/auth.h: Mark functions which are to be hidden.
9011 * include/rpc/auth_des.h: Likewise.
9012 * include/rpc/auth_unix.h: Likewise.
9013 * include/rpc/clnt.h: Likewise.
9014 * include/rpc/des_crypt.h: Likewise.
9015 * include/rpc/key_prot.h: Likewise.
9016 * include/rpc/pmap_clnt.h: Likewise.
9017 * include/rpc/pmap_prot.h: Likewise.
9018 * include/rpc/pmap_rmt.h: Likewise.
9019 * include/rpc/rpc_msg.h: Likewise.
9020 * include/rpc/svc.h: Likewise.
9021 * include/rpc/svc_auth.h: Likewise.
9022 * include/rpc/xdr.h: Likewise.
9023 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9024 * nss/Makefile: Likewise.
9025 * sunrpc/Makefile: Don't install headers. Build library with normal
9026 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9027 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9028 for the compat linking library. Remove use of INTDEF/INTUSE.
9029 * sunrpc/auth_none.c: Likewise.
9030 * sunrpc/auth_unix.c: Likewise.
9031 * sunrpc/authdes_prot.c: Likewise.
9032 * sunrpc/authuxprot.c: Likewise.
9033 * sunrpc/clnt_gen.c: Likewise.
9034 * sunrpc/clnt_perr.c: Likewise.
9035 * sunrpc/clnt_raw.c: Likewise.
9036 * sunrpc/clnt_simp.c: Likewise.
9037 * sunrpc/clnt_tcp.c: Likewise.
9038 * sunrpc/clnt_udp.c: Likewise.
9039 * sunrpc/clnt_unix.c: Likewise.
9040 * sunrpc/des_crypt.c: Likewise.
9041 * sunrpc/des_soft.c: Likewise.
9042 * sunrpc/get_myaddr.c: Likewise.
9043 * sunrpc/key_call.c: Likewise.
9044 * sunrpc/key_prot.c: Likewise.
9045 * sunrpc/netname.c: Likewise.
9046 * sunrpc/pm_getmaps.c: Likewise.
9047 * sunrpc/pm_getport.c: Likewise.
9048 * sunrpc/pmap_clnt.c: Likewise.
9049 * sunrpc/pmap_prot.c: Likewise.
9050 * sunrpc/pmap_prot2.c: Likewise.
9051 * sunrpc/pmap_rmt.c: Likewise.
9052 * sunrpc/publickey.c: Likewise.
9053 * sunrpc/rpc_cmsg.c: Likewise.
9054 * sunrpc/rpc_common.c: Likewise.
9055 * sunrpc/rpc_dtable.c: Likewise.
9056 * sunrpc/rpc_prot.c: Likewise.
9057 * sunrpc/rpc_thread.c: Likewise.
9058 * sunrpc/rtime.c: Likewise.
9059 * sunrpc/svc.c: Likewise.
9060 * sunrpc/svc_auth.c: Likewise.
9061 * sunrpc/svc_authux.c: Likewise.
9062 * sunrpc/svc_raw.c: Likewise.
9063 * sunrpc/svc_run.c: Likewise.
9064 * sunrpc/svc_simple.c: Likewise.
9065 * sunrpc/svc_tcp.c: Likewise.
9066 * sunrpc/svc_udp.c: Likewise.
9067 * sunrpc/svc_unix.c: Likewise.
9068 * sunrpc/svcauth_des.c: Likewise.
9069 * sunrpc/xcrypt.c: Likewise.
9070 * sunrpc/xdr.c: Likewise.
9071 * sunrpc/xdr_array.c: Likewise.
9072 * sunrpc/xdr_float.c: Likewise.
9073 * sunrpc/xdr_intXX_t.c: Likewise.
9074 * sunrpc/xdr_mem.c: Likewise.
9075 * sunrpc/xdr_rec.c: Likewise.
9076 * sunrpc/xdr_ref.c: Likewise.
9077 * sunrpc/xdr_sizeof.c: Likewise.
9078 * sunrpc/xdr_stdio.c: Likewise.
9079
e6c61494
UD
90802011-04-10 Ulrich Drepper <drepper@gmail.com>
9081
9082 [BZ #12650]
9083 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9084 * sysdeps/ia64/dl-tls.h: Likewise.
9085 * sysdeps/powerpc/dl-tls.h: Likewise.
9086 * sysdeps/s390/dl-tls.h: Likewise.
9087 * sysdeps/sh/dl-tls.h: Likewise.
9088 * sysdeps/sparc/dl-tls.h: Likewise.
9089 * sysdeps/x86_64/dl-tls.h: Likewise.
9090 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9091
34fe483e
AS
90922011-03-14 Andreas Schwab <schwab@redhat.com>
9093
9094 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9095 rpath element also skip the following colon.
9096 (expand_dynamic_string_token): Add is_path parameter and pass
9097 down to DL_DST_REQUIRED and _dl_dst_substitute.
9098 (decompose_rpath): Call expand_dynamic_string_token with
9099 non-zero is_path. Ignore empty rpaths.
9100 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9101 with zero is_path.
9102
f12a32e6
AS
91032011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9104
9105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9106 Make cancelable.
9107
38a7d692
UD
91082011-04-09 Ulrich Drepper <drepper@gmail.com>
9109
9110 [BZ #12655]
9111 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9112 Patch by Filipe David Manana <fdmanana@apache.org>.
9113
e451d22b
AS
91142011-04-07 Andreas Schwab <schwab@redhat.com>
9115
9116 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9117 Maintain aligned stack.
9118 (CHECK_RSP): Remove unused macro.
9119
dedc7c7b
UD
91202011-04-03 Ulrich Drepper <drepper@gmail.com>
9121
9122 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9123 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9124
94521213
UD
91252011-04-02 Ulrich Drepper <drepper@gmail.com>
9126
9127 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9128
8cb700c0 9129 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9130
0354e355
L
91312011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9132
9133 [BZ #12518]
9134 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9135 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9136 * sysdeps/x86_64/memmove.c: New file.
9137 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9138 (memcpy): Renamed to ...
9139 (__new_memcpy): This.
9140 (memcpy): Provide GLIBC_2_14 memcpy.
9141 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9142 (memcpy): Provide GLIBC_2_2_5 memcpy.
9143
8593482f
UD
91442011-04-01 Ulrich Drepper <drepper@gmail.com>
9145
9146 [BZ #12631]
9147 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9148
81a5726b
AS
91492011-03-30 Andreas Schwab <schwab@redhat.com>
9150
9151 * misc/syncfs.c: New file.
9152 * misc/Makefile (routines): Add syncfs.
9153 * posix/unistd.h: Declare syncfs.
9154 * sysdeps/unix/syscalls.list: Add syncfs.
9155
00e5419f
AS
91562011-04-01 Andreas Schwab <schwab@redhat.com>
9157
9158 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9159 open_by_handle_at.
9160 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9161 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9162 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9163 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9164 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9165 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9166 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9167
748876bf
UD
91682011-04-01 Ulrich Drepper <drepper@gmail.com>
9169
658e451d
UD
9170 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9171 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9172 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9173 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9174 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9175 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9176 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9177
748876bf
UD
9178 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9179 sync_file_range.c with -fexceptions.
9180 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9181 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9182 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9183 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9184 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9185 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9186 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
9187 sync_file_range as cancellation point
9188 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9189 now a wrapper around __call_sync_file_range with cancellation handling.
9190 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9191 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9192 function name to __call_sync_file_range.
9193 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9194 Add call_sync_file_range.
748876bf 9195
6e63d5e1
AS
91962011-04-01 Andreas Schwab <schwab@redhat.com>
9197
9198 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 9199 bits/timex.h.
6e63d5e1 9200
46998f74
UD
92012011-04-01 Ulrich Drepper <drepper@gmail.com>
9202
4c1423ed
UD
9203 * iconv/iconv.h: Fix typo in comment.
9204 * io/fcntl.h: Likewise.
9205 * libio/stdio.h: Likewise.
9206 * posix/spawn.h: Likewise.
9207 * posix/unistd.h: Likewise.
9208 * stdlib/stdlib.h: Likewise.
9209 * time/time.h: Likewise.
9210 * wcsmbs/wchar.h: Likewise.
9211
158648c0
UD
9212 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9213 open_by_handle): Add.
9214 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9215 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9216 Augment a few comments.
9217 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9218 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9219 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9220 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9221 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9222 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9223 open_by_handle.
9224
46998f74
UD
9225 * io/fcntl.h (AT_EMPTY_PATH): Define.
9226
83fe108b
UD
92272011-03-30 Ulrich Drepper <drepper@gmail.com>
9228
9229 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9230 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9231 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9232 to...
9233 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
9234 * Versions.def: Add GLIBC_2.14.
9235 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9236 Export.
83fe108b 9237
bb242059
UD
92382011-03-22 Ulrich Drepper <drepper@gmail.com>
9239
9240 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9241 round counter.
9242 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9243
c97a1282
L
92442011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9245
9246 [BZ #12597]
9247 * string/test-strncmp.c (do_page_test): New function.
9248 (check2): Likewise.
9249 (test_main): Call check2.
9250 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9251
2a115601
UD
92522011-03-20 Ulrich Drepper <drepper@gmail.com>
9253
9254 [BZ #12587]
9255 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9256 Handle cache information in CPU leaf 4.
9257 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9258
8126d904
UD
92592011-03-18 Ulrich Drepper <drepper@gmail.com>
9260
042c49c6 9261 [BZ #12583]
8126d904
UD
9262 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9263 character representation.
9264 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9265
ccfe366e
RA
92662011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9267
9268 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9269 END(__isnan) to END(__isnanf) to match function entry point/label
9270 EALIGN(__isnanf,...).
9271
c6e13027
JJ
92722011-03-10 Jakub Jelinek <jakub@redhat.com>
9273
9274 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9275
33f85a3f
UD
92762011-03-10 Ulrich Drepper <drepper@gmail.com>
9277
028478fa
UD
9278 [BZ #12510]
9279 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9280 copy from the symbol referenced in the relocation to initialize the
9281 used variable.
9282 Patch by Piotr Bury <pbury@goahead.com>.
9283 * elf/Makefile: Add rules to build and tst-unique3.
9284 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9285 * elf/tst-unique3.cc: New file.
9286 * elf/tst-unique3.h: New file.
9287 * elf/tst-unique3lib.cc: New file.
9288 * elf/tst-unique3lib2.cc: New file.
9289
33f85a3f
UD
9290 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9291
03592fc7
MF
92922011-03-10 Mike Frysinger <vapier@gentoo.org>
9293
9294 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9295 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9296 to _start.
03592fc7 9297
6a5ee102
UD
92982011-03-06 Ulrich Drepper <drepper@gmail.com>
9299
9300 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9301 to-be-loaded object along a path to loader is ld.so.
9302
7e4ba49c
HJ
93032011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9304 Ulrich Drepper <drepper@gmail.com>
9305
9306 * sysdeps/x86_64/memset.S: After aligning destination, code
9307 branches to different locations depending on the value of
9308 misalignment, when multiarch is enabled. Fix this.
9309
93102011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9311
9312 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9313 Set _x86_64_preferred_memory_instruction for AMD processsors.
9314 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9315 Set bit_Prefer_SSE_for_memop for AMD processors.
9316
13a804de
UD
93172011-03-04 Ulrich Drepper <drepper@gmail.com>
9318
9319 * libio/fmemopen.c (fmemopen): Optimize a bit.
9320
9d25c392
AS
93212011-03-03 Andreas Schwab <schwab@redhat.com>
9322
9323 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9324
a5543c6a
RM
93252011-03-03 Roland McGrath <roland@redhat.com>
9326
9327 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9328
012d35f7
DM
93292011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9330
7e4ba49c 9331 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9332 __bzero_ultra1 instead of __memset_ultra1.
9333
4bff6e01
AS
93342011-02-23 Andreas Schwab <schwab@redhat.com>
9335 Ulrich Drepper <drepper@gmail.com>
9336
9337 [BZ #12509]
9338 * include/link.h (struct link_map): Add l_orig_initfini.
9339 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9340 returning unsuccessfully.
9341 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9342 close of a file loaded at startup, restore the original l_initfini
9343 list.
9344 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9345 list, store the pointer.
9346 * elf/Makefile ($(objpfx)noload-mem): New rule.
9347 (noload-ENV): Define.
9348 (tests): Add $(objpfx)noload-mem.
9349 * elf/noload.c: Include <memcheck.h>.
9350 (main): Call mtrace. Close all opened handles.
9351
f2092faf
AS
93522011-02-17 Andreas Schwab <schwab@redhat.com>
9353
9354 [BZ #12454]
9355 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9356 dependencies are missing.
9357
6c8a2e88
ST
93582011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9359
f2092faf 9360 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
9361 Hurd needs munmap.
9362 * sysdeps/mach/hurd/ifreq.h: New file.
9363
84a42118
PB
93642011-01-27 Petr Baudis <pasky@suse.cz>
9365 Ulrich Drepper <drepper@gmail.com>
9366
071f805e 9367 [BZ 12445]#
84a42118
PB
9368 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9369 to extend_alloca().
9370 * stdio-common/bug23.c: New file.
9371 * stdio-common/Makefile (tests): Add bug23.
9372
e23fe25b
AS
93732010-09-28 Andreas Schwab <schwab@redhat.com>
9374 Ulrich Drepper <drepper@gmail.com>
9375
9376 [BZ #12489]
9377 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9378 before performing relro protection. At old place add assertion
9379 to make sure nothing changed.
9380
d3f02e10
NS
93812011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9382 Glauber de Oliveira Costa <glommer@gmail.com>
9383
9384 * elf/elf.h: Add new ARM TLS relocs.
9385
d55fd7a5
RA
93862011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9387
9388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9389 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9390 cast from r3.
9391 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9392 'tests' variable.
9393 * sysdeps/wordsize-64/tst-writev.c: New file.
9394
2206397e
RA
93952011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9396
9397 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9398 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9399 insns in _dl_start to prevent a TOC reference before relocs are
9400 resolved.
9401
e9433893
UD
94022011-02-15 Ulrich Drepper <drepper@gmail.com>
9403
9404 [BZ #12469]
9405 * Makeconfig: Remove RANLIB definition.
9406 * Makerules: Don't use RANLIB.
9407 * aclocal.m4: Remove ranlib test.
9408 * configure.in: No need to check for ranlib.
9409 * elf/rtld-Rules: Don't use RANLIB.
9410
f75286c6
ST
94112011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9412
8e31c82d
ST
9413 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9414 protection macro.
9415 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9416 inclusion protection macro.
9417
f75286c6
ST
9418 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9419 SIGRTMIN and SIGRTMAX and print information in that case only when
9420 SIGRTMIN is defined.
9421
c1d0e639
JJ
94222011-02-11 Jakub Jelinek <jakub@redhat.com>
9423
9424 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9425 arginfo fn returning -1.
9426
9427 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9428 and thousands string is zero terminated.
9429
edf9294e
AS
94302011-02-03 Andreas Schwab <schwab@redhat.com>
9431
9432 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9433 sysdeps/unix/sysv/linux/bits/socket.h.
9434
2b7e92df
ST
94352011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9436
edf9294e
AS
9437 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9438 (__CPU_COUNT): Remove old macros.
9439 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9440 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9441 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
9442 (__sched_cpualloc, __sched_cpufree): Add declarations.
9443
a4c7ea7b
UD
94442011-02-05 Ulrich Drepper <drepper@gmail.com>
9445
9446 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9447 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9448 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9449 (readdhstai): Return value of addhstaiX call.
9450 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9451 (addgrbyX): Return value returned by cache_addgr.
9452 (readdgrbyname): Return value returned by addgrbyX.
9453 (readdgrbygid): Likewise.
9454 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9455 (addpwbyX): Return value returned by cache_addpw.
9456 (readdpwbyname): Return value returned by addhstbyX.
9457 (readdpwbyuid): Likewise.
9458 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9459 (addservbyX): Return value returned by cache_addserv.
9460 (readdservbyname): Return value returned by addservbyX:
9461 (readdservbyport): Likewise.
9462 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9463 (addhstbyX): Return value returned by cache_addhst.
9464 (readdhstbyname): Return value returned by addhstbyX.
9465 (readdhstbyaddr): Likewise.
9466 (readdhstbynamev6): Likewise.
9467 (readdhstbyaddrv6): Likewise.
9468 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9469 (readdinitgroups): Return value returned by addinitgroupsX.
9470 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9471 (prune_cache): Keep track of timeout value of re-added entries.
9472 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9473 * nscd/nscd.h: Adjust prototypes of readd* functions.
9474
a0bf67cc
RM
94752011-02-04 Roland McGrath <roland@redhat.com>
9476
9477 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9478 (nis_stats): Likewise.
9479 * nis/nis_modify.c (nis_modify): Likewise.
9480 * nis/nis_remove.c (nis_remove): Likewise.
9481 * nis/nis_add.c (nis_add): Likewise.
9482
9483 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9484
9485 * posix/fnmatch_loop.c: Add some consts.
9486
9487 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9488
435b95eb
L
94892011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9490
9491 [BZ #12460]
9492 * config.make.in (config-cflags-novzeroupper): Define.
9493 * configure.in: Substitute libc_cv_cc_novzeroupper.
9494 * elf/Makefile (AVX-CFLAGS): Define.
9495 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9496 (CFLAGS-tst-auditmod4a.c): Likewise.
9497 (CFLAGS-tst-auditmod4b.c): Likewise.
9498 (CFLAGS-tst-auditmod6b.c): Likewise.
9499 (CFLAGS-tst-auditmod6c.c): Likewise.
9500 (CFLAGS-tst-auditmod7b.c): Likewise.
9501 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9502
8517b15e
UD
95032011-02-02 Ulrich Drepper <drepper@gmail.com>
9504
9505 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9506 function to the callback.
9507 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9508
10a656fe
AS
95092011-02-02 Andreas Schwab <schwab@redhat.com>
9510
9511 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9512 of errno.
9513
968dad0a
UD
95142011-01-19 Ulrich Drepper <drepper@gmail.com>
9515
9f94d2ea 9516 [BZ #11724]
968dad0a
UD
9517 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9518 of constructors.
9519 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9520 of destructors.
9521 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9522
9523 [BZ #11724]
9524 * elf/Makefile: Add rules to build and run new test.
9525 * elf/tst-initorder.c: New file.
9526 * elf/tst-initorder.exp: New file.
9527 * elf/tst-initordera1.c: New file.
9528 * elf/tst-initordera2.c: New file.
9529 * elf/tst-initordera3.c: New file.
9530 * elf/tst-initordera4.c: New file.
9531 * elf/tst-initorderb1.c: New file.
9532 * elf/tst-initorderb2.c: New file.
9533 * elf/tst-order-a1.c: New file.
9534 * elf/tst-order-a2.c: New file.
9535 * elf/tst-order-a3.c: New file.
9536 * elf/tst-order-a4.c: New file.
9537 * elf/tst-order-b1.c: New file.
9538 * elf/tst-order-b2.c: New file.
9539 * elf/tst-order-main.c: New file.
9540 New test case by George Gensure <werkt0@gmail.com>.
9541
86e92359
UD
95422010-10-01 Andreas Schwab <schwab@redhat.com>
9543
9544 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9545 decoding ACE if AI_CANONIDN.
9546
5d5732b0
UD
95472011-01-18 Ulrich Drepper <drepper@gmail.com>
9548
9549 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9550
a77e8cbc
UD
95512011-01-17 Ulrich Drepper <drepper@gmail.com>
9552
6392473f
UD
9553 * version.h (RELEASE): Bump for 2.13 release.
9554 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9555
620a0529
UD
9556 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9557
18ba70a5
UD
9558 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9559 MADV_NOHUGEPAGE.
32465c3e
UD
9560 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9561 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9562 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9563 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9564 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9565 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9566
c0dafcf1
UD
9567 * posix/getconf.c: Update copyright year.
9568 * catgets/gencat.c: Likewise.
9569 * csu/version.c: Likewise.
9570 * debug/catchsegv.sh: Likewise.
9571 * debug/xtrace.sh: Likewise.
9572 * elf/ldconfig.c: Likewise.
9573 * elf/ldd.bash.in: Likewise.
9574 * elf/sprof.c (print_version): Likewise.
9575 * iconv/iconv_prog.c: Likewise.
9576 * iconv/iconvconfig.c: Likewise.
9577 * locale/programs/locale.c: Likewise.
9578 * locale/programs/localedef.c: Likewise.
9579 * malloc/memusage.sh: Likewise.
9580 * malloc/mtrace.pl: Likewise.
9581 * nscd/nscd.c (print_version): Likewise.
9582 * nss/getent.c: Likewise.
9583
a77e8cbc
UD
9584 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9585 PF_CAIF, and PF_ALG.
9586 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9587
77e8bddf
AS
95882011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9589
1f20b93a
AS
9590 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9591 (modules-names): Use them.
9592 (ifunc-test-modules, ifunc-pie-tests): Define.
9593 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9594 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9595 (test-extras): Likewise.
9596 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9597 $(compile-command.c).
9598 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9599 (all-built-dso): Define.
9600 (check-textrel.out, check-execstack.out): Depend on it.
9601
77e8bddf
AS
9602 * configure.in: Don't override --enable-multi-arch.
9603
bc425b33
UD
96042011-01-15 Ulrich Drepper <drepper@gmail.com>
9605
9606 [BZ #6812]
9607 * nscd/hstcache.c (tryagain): Define.
9608 (cache_addhst): Return tryagain not notfound for temporary errors.
9609 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9610 failed.
9611
794c3ad3
UD
96122011-01-14 Ulrich Drepper <drepper@gmail.com>
9613
70181fdd
UD
9614 [BZ #10563]
9615 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9616 to make the syscall.
9617 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9618
794c3ad3
UD
9619 [BZ #12378]
9620 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9621 and fall back to matching as normal character if the string ends before
9622 the matching ']' is found. This is what POSIX requires.
9623 * posix/testfnm.c: Adjust test result.
9624 * posix/globtest.sh: Adjust test result. Add new test.
9625 * posix/tst-fnmatch.input: Likewise.
9626 * posix/tst-fnmatch2.c: Add new test.
9627
68dc9497
AS
96282010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9629
9630 * elf/Makefile (check-execstack): Revert last change. Depend on
9631 check-execstack.h.
9632 (check-execstack.h): New target.
9633 (generated): Add check-execstack.h.
9634 * elf/check-execstack.c: Include "check-execstack.h".
9635 (main): Revert last change.
9636 (handle_file): Return zero if GNU_STACK is absent and
9637 DEFAULT_STACK_PERMS doesn't include PF_X.
9638
451f001b
UD
96392011-01-13 Ulrich Drepper <drepper@gmail.com>
9640
cfa28e56
UD
9641 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9642 in child fails because the descriptor is already closed.
8cf8ce17
UD
9643 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9644 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9645 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 9646
1086d70d
UD
9647 [BZ #12397]
9648 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9649 syscall.
9650
451f001b
UD
9651 [BZ #10484]
9652 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9653 temporary buffer used to handle multi lookups locally.
a85b5cb4 9654 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 9655
08769175
UD
96562011-01-12 Ulrich Drepper <drepper@gmail.com>
9657
9658 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9659 loader is ld.so.
9660
5e49c52e
UD
96612011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9662
9663 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9664 alignment for SSE2.
9665
60522a5f
UD
96662011-01-12 Ulrich Drepper <drepper@gmail.com>
9667
9668 [BZ #12394]
9669 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9670 characters. When rounding increased number of integer digits recompute
9671 number of groups.
9672 * stdio-common/tst-grouping.c: New file.
9673 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9674
f257bbd7
UD
96752011-01-09 Ulrich Drepper <drepper@gmail.com>
9676
9677 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9678 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9679
9680 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9681 void.
9682 * bits/select.h: Likewise.
9683
fa9c15cb
UD
96842011-01-08 Ulrich Drepper <drepper@gmail.com>
9685
9686 * po/ja.po: Update from translation team.
9687
16c2895f
DM
96882011-01-04 David S. Miller <davem@sunset.davemloft.net>
9689
9690 [BZ #11155]
9691 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9692 implementation just like for lxstat, fxstatat, et al.
9693
2543fef2
JM
96942010-12-27 Jim Meyering <meyering@redhat.com>
9695
9696 [BZ #12348]
9697 * posix/regexec.c (build_trtable): Return failure indication upon
9698 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9699
98727dbe
UD
97002010-12-25 Ulrich Drepper <drepper@gmail.com>
9701
5bd6dc5c
UD
9702 [BZ #12201]
9703 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9704 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9705 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9706 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9707
97983464
UD
9708 [BZ #12207]
9709 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9710
98727dbe
UD
9711 [BZ #12204]
9712 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9713 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9714
4a531bb0
L
97152010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9716
9717 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9718 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9719 script has SORT_BY_INIT_PRIORITY.
9720 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9721 NO_CTORS_DTORS_SECTIONS is defined.
9722 * elf/soinit.c: Likewise.
9723 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9724 NO_CTORS_DTORS_SECTIONS is defined.
9725 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9726 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9727 * sysdeps/sh/init-first.c: Likewise.
9728 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9729
07eb4b71
UD
97302010-12-24 Ulrich Drepper <drepper@gmail.com>
9731
9732 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9733 always use the slow path.
9734
30950a5f
RA
97352010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9736
9737 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9738 similar rule which adds the sysdep directories to the header search in
9739 order to pick up the correct platform stackinfo.h.
9740 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9741 perform test if it is, otherwise return successfully without testing.
9742 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9743 DEFAULT_STACK_PERMS define in stackinfo.h.
9744 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9745 defined in stackinfo.h.
9746 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9747 DEFAULT_STACK_PERMS defined in stackinfo.h.
9748 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9749 * sysdeps/ia64/stackinfo.h: Likewise.
9750 * sysdeps/s390/stackinfo.h: Likewise.
9751 * sysdeps/sh/stackinfo.h: Likewise.
9752 * sysdeps/sparc/stackinfo.h: Likewise.
9753 * sysdeps/x86_64/stackinfo.h: Likewise.
9754 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9755 PF_X for powerpc64. Retain PF_X for powerpc32.
9756
db753e2c
UD
97572010-12-19 Ulrich Drepper <drepper@gmail.com>
9758
14b697f7
UD
9759 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9760 accurately.
db753e2c
UD
9761 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9762 GETDENTS_64BIT_ALIGNED.
9763
28300719
UD
97642010-12-14 Ulrich Drepper <dreper@gmail.com>
9765
14b697f7 9766 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 9767
4f197237
AS
97682010-12-10 Andreas Schwab <schwab@redhat.com>
9769
dbb0472f
AS
9770 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9771 _GNU_SOURCE.
9772
4f197237
AS
9773 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9774 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9775 Remove __restrict.
9776 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9777 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9778
fb88ac72
UD
97792010-12-09 Ulrich Drepper <drepper@gmail.com>
9780
9781 [BZ #11655]
9782 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9783 are initialized.
9784
42acbb92
JJ
97852010-12-09 Jakub Jelinek <jakub@redhat.com>
9786
9787 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9788
c038d98d
UD
97892010-12-03 Ulrich Drepper <drepper@gmail.com>
9790
9791 * po/it.po: Update from translation team.
9792
3a4a2499
L
97932010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9794
9795 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9796 unused codes.
9797
1e24cf6e
UD
97982010-11-30 Ulrich Drepper <drepper@gmail.com>
9799
9800 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9801
a7690819
AS
98022010-11-24 Andreas Schwab <schwab@redhat.com>
9803
9804 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9805 specially.
9806 (gaih_getanswer_slice): Likewise.
9807
3bf8d1b1
JJ
98082010-10-20 Jakub Jelinek <jakub@redhat.com>
9809
9810 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9811
6db52fbb
PB
98122010-05-31 Petr Baudis <pasky@suse.cz>
9813
9814 [BZ #11149]
9815 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9816 silently even in the chroot mode.
9817
eaca7569
UD
98182010-11-22 Ulrich Drepper <drepper@gmail.com>
9819
9820 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9821 last patch a bit. Pretty printing
9822
3056dcdb
UD
98232010-05-31 Petr Baudis <pasky@suse.cz>
9824
9825 [BZ #10085]
9826 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9827 initialization of skip_initgroups_dyn.
9828
cf7c9078
UD
98292010-11-19 Ulrich Drepper <drepper@gmail.com>
9830
9831 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9832 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9833
a1fb5e3e
UD
98342010-11-16 Ulrich Drepper <drepper@gmail.com>
9835
9836 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9837
3540d66b
AS
98382010-11-11 Andreas Schwab <schwab@redhat.com>
9839
9840 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9841 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9842 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9843 ($(objpfx)tst-fnmatch-mem): New rule.
9844 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9845 * posix/tst-fnmatch.c (main): Call mtrace.
9846
13b69574
L
98472010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9848
9849 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9850 Support Intel processor model 6 and model 0x2c.
9851
da93d214
LM
98522010-11-10 Luis Machado <luisgpm@br.ibm.com>
9853
9854 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9855 signed comparison.
9856
8ca52c6e
L
98572010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9858
9859 [BZ #12205]
9860 * string/test-strncasecmp.c (check_result): New function.
9861 (do_one_test): Use it.
9862 (check1): New function.
9863 (test_main): Use it.
9864 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9865 Support strcasecmp and strncasecmp.
9866
69da074d
UD
98672010-11-08 Ulrich Drepper <drepper@gmail.com>
9868
9869 [BZ #12194]
9870 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9871 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9872
ff02d528
L
98732010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9874
9875 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9876 IFUNC support.
9877 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9878 memset-x86-64.
9879 * sysdeps/x86_64/multiarch/bzero.S: New file.
9880 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9881 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9882 * sysdeps/x86_64/multiarch/memset.S: New file.
9883 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9884 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9885 Set bit_Prefer_SSE_for_memop for Intel processors.
9886 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9887 Define.
9888 (index_Prefer_SSE_for_memop): Define.
9889 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9890
344d0b54
LM
98912010-11-04 Luis Machado <luisgpm@br.ibm.com>
9892
9893 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9894 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9895
c0dde15b
UD
98962010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9897
9898 [BZ #12191]
9899 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9900 (__x86_64_raw_data_cache_size_half): Likewise.
9901 (__x86_64_raw_shared_cache_size): Likewise.
9902 (__x86_64_raw_shared_cache_size_half): Likewise.
9903
9904 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9905 (__x86_64_raw_data_cache_size_half): Likewise.
9906 (__x86_64_raw_shared_cache_size): Likewise.
9907 (__x86_64_raw_shared_cache_size_half): Likewise.
9908 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9909 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9910 and __x86_64_raw_shared_cache_size_half. Round
9911 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9912 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9913 to multiple of 256 bytes.
9914
0e516e0e
MS
99152010-11-03 Ulrich Drepper <drepper@gmail.com>
9916
9917 [BZ #12167]
9918 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9919 of inacessible symlinks. Verify result of symlink before returning it.
9920 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9921 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9922
0e012e87
ER
99232010-10-28 Erich Ritz <erichritz@gmail.com>
9924
9925 * math/math.h (isinf): Fix typo in comment.
9926
de0ff7bc
UD
99272010-11-01 Ulrich Drepper <drepper@gmail.com>
9928
9929 * po/da.po: Update from translation team.
9930
fa41c84d
UD
99312010-10-26 Ulrich Drepper <drepper@gmail.com>
9932
9933 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9934 is added to the list.
9935
f0967738
AK
99362010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9937 Ulrich Drepper <drepper@gmail.com>
9938
9939 * elf/dl-object.c (_dl_new_object): Don't append the new object to
9940 the global list here. Move code to...
9941 (_dl_add_to_namespace_list): ...here. New function.
9942 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9943 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9944 * elf/dl-load.c (lose): Don't remove the element from the list.
9945 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9946 (_dl_map_object): Likewise.
9947
99482010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
9949
9950 [BZ #12159]
9951 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9952 into all bytes of SSE register.
9953 Patch by Richard Li <richardpku@gmail.com>.
9954
f0967738 99552010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
9956
9957 [BZ #12140]
9958 * malloc/malloc.c (_int_free): Fill correct number of bytes when
9959 perturbing.
9960
d0b9e94f
MB
99612010-10-20 Michael B. Brutman <brutman@us.ibm.com>
9962
9963 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9964 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9965 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9966 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9968 submachine.
9969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9970
8e9f92e9
AS
99712010-10-22 Andreas Schwab <schwab@redhat.com>
9972
9973 * include/dlfcn.h (__RTLD_SECURE): Define.
9974 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
9975 mode & __RTLD_SECURE instead.
9976 (open_path): Rename preloaded parameter to secure.
9977 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
9978 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9979 * elf/dl-deps.c (openaux): Likewise.
9980 * elf/rtld.c (struct map_args): Remove is_preloaded.
9981 (map_doit): Don't use it.
9982 (dl_main): Likewise.
9983 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
9984 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
9985
bc96fbda
AS
99862010-09-09 Andreas Schwab <schwab@redhat.com>
9987
9988 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
9989 (sysd-rules-targets): Remove duplicates.
9990 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
9991 rtld-%.$o dependency.
9992
22cd1c9b
AS
99932010-10-18 Andreas Schwab <schwab@redhat.com>
9994
9995 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
9996 _dl_map_object do it.
9997
18edac48
UD
99982010-10-19 Ulrich Drepper <drepper@gmail.com>
9999
10000 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10001 fast fma builtins, define the macros in the C99 standard.
10002 (FP_FAST_FMAF): Likewise.
10003 (FP_FAST_FMAL): Likewise.
10004 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10005
10006 * bits/mathdef.h: Update copyright year.
10007 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10008
d2050124
MM
100092010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10010
10011 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10012 builtins, define the macros in the C99 standard.
10013 (FP_FAST_FMAF): Likewise.
10014 (FP_FAST_FMAL): Likewise.
10015 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10016 multiply/add.
10017 (FP_FAST_FMAF): Likewise.
10018
475facd1
JJ
100192010-10-15 Jakub Jelinek <jakub@redhat.com>
10020
10021 [BZ #3268]
10022 * math/libm-test.inc (fma_test): Some new testcases.
10023 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10024 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10025 y and infinite z. Do multiplication by C already in long double.
10026 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10027 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10028 y and infinite z. Do bitwise or of inexact bit into u.d.
10029 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10030 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10031 * sysdeps/i386/fpu/s_fma.S: Removed.
10032 * sysdeps/i386/fpu/s_fmal.S: Removed.
10033
7c08a05c
JJ
100342010-10-16 Jakub Jelinek <jakub@redhat.com>
10035
10036 [BZ #3268]
10037 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10038 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10039 computation is not scheduled after fetestexcept. Fix value
10040 of minimum denormal long double.
10041
f3f7372d
JJ
100422010-10-14 Jakub Jelinek <jakub@redhat.com>
10043
10044 [BZ #3268]
10045 * math/libm-test.inc (fma_test): Add some more tests.
10046 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10047 correctly.
10048
14d43591
AS
100492010-10-15 Andreas Schwab <schwab@redhat.com>
10050
10051 * scripts/data/localplt-s390-linux-gnu.data: New file.
10052 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10053
5e908464
JJ
100542010-10-13 Jakub Jelinek <jakub@redhat.com>
10055
10056 [BZ #3268]
10057 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10058 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10059 instead of dbl-64.
10060 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10061 inlines.
10062 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10063 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10064 if one of x and y is very large and the other is subnormal.
10065 * sysdeps/s390/fpu/s_fmaf.c: New file.
10066 * sysdeps/s390/fpu/s_fma.c: New file.
10067 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10068 * sysdeps/powerpc/fpu/s_fma.S: New file.
10069 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10070 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10071 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10072
100732010-10-12 Jakub Jelinek <jakub@redhat.com>
10074
10075 [BZ #3268]
10076 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10077 fma tests.
10078 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10079 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10080 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10081 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10082 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10083 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10084 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10085
b833d51f
UD
100862010-10-12 Ulrich Drepper <drepper@redhat.com>
10087
10088 [BZ #12078]
10089 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10090 * posix/bug-regex31.input: Add test case.
10091
1751705d
UD
100922010-10-11 Ulrich Drepper <drepper@gmail.com>
10093
e9b9cbf5
UD
10094 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10095 * posix/bug-regex31.input: New file.
10096
10097 [BZ #12078]
10098 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10099 (parse_sub_exp): Fix last change, use postorder.
10100
ef06edbe
UD
10101 * posix/bug-regex31.c: New file.
10102 * posix/Makefile: Add rules to build and run bug-regex31.
10103
a129c80d
UD
10104 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10105
10106 [BZ #12078]
10107 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10108
b76b818e
UD
10109 [BZ #12108]
10110 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10111 to have entries in sys_siglist.
10112
1751705d
UD
10113 [BZ #12093]
10114 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10115 be NULL.
10116
9ff8d36f
JJ
101172010-10-07 Jakub Jelinek <jakub@redhat.com>
10118
10119 [BZ #3268]
10120 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10121 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10122 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10123 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10124 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10125 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10126 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10127 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10128 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10129 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10130 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10131 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10132 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10133 * math/ftestexcept.c (fetestexcept): Likewise.
10134 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10135 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10136 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10137 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10138 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10139 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10140 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10141
af325969
UD
101422010-10-11 Ulrich Drepper <drepper@gmail.com>
10143
c579b202 10144 [BZ #12107]
af325969
UD
10145 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10146 newline.
10147
67a67b95
UD
101482010-10-06 Ulrich Drepper <drepper@gmail.com>
10149
10150 * string/bug-strstr1.c: New file.
10151 * string/Makefile: Add rules to build and run bug-strstr1.
10152
5fb308bc
EB
101532010-10-05 Eric Blake <eblake@redhat.com>
10154
10155 [BZ #12092]
10156 * string/str-two-way.h (two_way_long_needle): Always clear memory
10157 when skipping input due to the shift table.
10158
45db99c7
UD
101592010-10-03 Ulrich Drepper <drepper@gmail.com>
10160
3b111893
UD
10161 [BZ #12005]
10162 * malloc/mcheck.c: Handle large requests.
10163
45db99c7
UD
10164 [BZ #12077]
10165 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10166 for strncmp and strncasecmp.
10167 * string/stratcliff.c: Add tests for strcmp and strncmp.
10168 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10169
cf7a1eb8
NI
101702010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10171
10172 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10173 __set_fpscr.
10174
6484ba5e
AJ
101752010-09-30 Andreas Jaeger <aj@suse.de>
10176
10177 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10178 (CGROUP_SUPER_MAGIC): Define.
10179 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10180 Handle btrfs and cgroup file systems.
10181 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10182 Likewise.
10183
91c42559
LM
101842010-09-27 Luis Machado <luisgpm@br.ibm.com>
10185
10186 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10187 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10188
87a97932
AK
101892010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10190
10191 [BZ #12067]
10192 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10193 trying to locate the ELF header.
10194
c21cc9bc
AS
101952010-09-27 Andreas Schwab <schwab@redhat.com>
10196
10197 [BZ #11611]
10198 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10199 Mask out sign-bit copies when constructing f_fsid.
10200
315970f6
PB
102012010-09-24 Petr Baudis <pasky@suse.cz>
10202
10203 * debug/stack_chk_fail_local.c: Add missing licence exception.
10204 * debug/warning-nop.c: Likewise.
10205
1ac7a2c7
JM
102062010-09-15 Joseph Myers <joseph@codesourcery.com>
10207
10208 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10209 implementing getdents64 using getdents syscall, set d_type if
10210 __ASSUME_GETDENTS32_D_TYPE.
10211
56801c50
AS
102122010-09-16 Andreas Schwab <schwab@redhat.com>
10213
10214 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10215 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10216
dda51327
UD
102172010-09-21 Ulrich Drepper <drepper@redhat.com>
10218
10219 [BZ #12037]
10220 * posix/unistd.h: Undo change of feature selection for ftruncate from
10221 2010-01-11.
10222
8ffcee4a
UD
102232010-09-20 Ulrich Drepper <drepper@redhat.com>
10224
a545ecd9 10225 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
10226 detection.
10227
e24f0a8b
AS
102282010-09-20 Andreas Schwab <schwab@redhat.com>
10229
10230 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10231 fanotify_mark.
10232 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10233
7291c56f
AS
102342010-09-14 Andreas Schwab <schwab@redhat.com>
10235
10236 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10237 variables after CHECK_SP call.
10238 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10239
bc5fb037
AS
102402010-09-13 Andreas Schwab <schwab@redhat.com>
10241 Ulrich Drepper <drepper@redhat.com>
10242
10243 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10244 re-relocationg ld.so.
10245 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10246 _dl_init_paths call.
10247 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10248 here anymore.
10249
e66e7419
UD
102502010-09-14 Ulrich Drepper <drepper@redhat.com>
10251
10252 * resolv/res_init.c (__res_vinit): Count the default server we added.
10253
c044aa75
CLT
102542010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10255 Ulrich Drepper <drepper@redhat.com>
10256
10257 [BZ #11968]
10258 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10259 (____longjmp_chk): Use %ebx for saving value across system call.
10260 Add unwind info.
10261
32cf4069
AS
102622010-09-06 Andreas Schwab <schwab@redhat.com>
10263
10264 * manual/Makefile: Don't mix pattern rules with normal rules.
10265
817328ee
AS
102662010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10267
10268 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10269 operation.
10270 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10271 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10272 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10273 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10274 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10275 Likewise.
10276
29fddf61
UD
102772010-09-04 Ulrich Drepper <drepper@redhat.com>
10278
10279 [BZ #11979]
10280 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10281 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10282
0959ffc9
UD
102832010-09-02 Ulrich Drepper <drepper@redhat.com>
10284
10285 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10286 * sysdeps/x86_64/addmul_1.S: Likewise.
10287 * sysdeps/x86_64/lshift.S: Likewise.
10288 * sysdeps/x86_64/mul_1.S: Likewise.
10289 * sysdeps/x86_64/rshift.S: Likewise.
10290 * sysdeps/x86_64/sub_n.S: Likewise.
10291 * sysdeps/x86_64/submul_1.S: Likewise.
10292
ece29840
ST
102932010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10294
0959ffc9
UD
10295 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10296 Define __sched_param instead of SCHED_* and sched_param when
ece29840 10297 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 10298 * bits/sched.h [__need_schedparam]
ece29840 10299 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
10300 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10301 (__defined_schedparam): Define to 1.
ece29840
ST
10302 (__sched_param): New structure, identical to sched_param.
10303 (__need_schedparam): Undefine.
10304
e53a31fe
MF
103052010-08-31 Mike Frysinger <vapier@gentoo.org>
10306
fdc0c10d
MF
10307 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10308 (epoll_create1): Declare.
10309
e53a31fe
MF
10310 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10311
a726d796
AS
103122010-08-31 Andreas Schwab <schwab@redhat.com>
10313
10314 [BZ #7066]
10315 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10316 shifting retval into place.
10317
2f3e3dc7
UD
103182010-09-01 Ulrich Drepper <drepper@redhat.com>
10319
f2933da9
UD
10320 * nis/rpcsvc/nis.h: Update copyright notice.
10321 * nis/rpcsvc/nis.x: Likewise.
10322 * nis/rpcsvc/nis_callback.h: Likewise.
10323 * nis/rpcsvc/nis_callback.x: Likewise.
10324 * nis/rpcsvc/nis_object.x: Likewise.
10325 * nis/rpcsvc/nis_tags.h: Likewise.
10326 * nis/rpcsvc/yp.h: Likewise.
10327 * nis/rpcsvc/yp.x: Likewise.
10328 * nis/rpcsvc/ypupd.h: Likewise.
10329 * nis/yp_xdr.c: Likewise.
10330 * nis/ypupdate_xdr.c: Likewise.
10331
2f3e3dc7
UD
10332 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10333 mainly the body of pmap_getport. Add parameters to specify timeouts.
10334 (pmap_getport): Use __libc_rpc_getport.
10335 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10336 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10337 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10338
f3dcc2f9
AS
103392010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10340
10341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10342 fanotify_mark.
10343
6d34eb5b
RM
103442010-08-27 Roland McGrath <roland@redhat.com>
10345
10346 * sysdeps/i386/i686/multiarch/Makefile
10347 (CFLAGS-varshift.c): New variable.
10348
9ea3de11
UD
103492010-08-27 Ulrich Drepper <drepper@redhat.com>
10350
c96d23fc
UD
10351 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10352 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10353
9ea3de11
UD
10354 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10355
10356 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10357
623aac7f
L
103582010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10359
10360 * sysdeps/x86_64/strlen.S: Unroll the loop.
10361 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10362 strlen-sse2 strlen-sse2-bsf.
10363 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10364 __strlen_no_bsf if bit_Slow_BSF is set.
10365 (__strlen_sse42): Removed.
10366 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10367 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10368
8b2b7715
RM
103692010-08-25 Roland McGrath <roland@redhat.com>
10370
10371 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10372 * sysdeps/x86_64/multiarch/varshift.c: New file.
10373 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10374 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10375 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10376 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10377
e73015f2
L
103782010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10379
10380 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10381 strlen-sse2 strlen-sse2-bsf.
10382 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10383 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10384 (__strlen_sse2): Removed.
10385 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10386 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10387 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10388 bit_Slow_BSF for Atom.
10389 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10390 (index_Slow_BSF): Define.
10391 (HAS_SLOW_BSF): Define.
10392
df24a73e
UD
103932010-08-25 Ulrich Drepper <drepper@redhat.com>
10394
10395 [BZ #10851]
10396 * resolv/res_init.c (__res_vinit): When no server address at all
10397 is given default to loopback.
10398
f2ac4868
RM
103992010-08-24 Roland McGrath <roland@redhat.com>
10400
09055553
RM
10401 * configure.in: Remove config-name.h generation.
10402 * configure: Regenerated.
10403 * config-name.in: File removed.
10404 * scripts/config-uname.sh: New file.
10405 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10406 ($(objdir)config-name.h): New target.
10407
f2ac4868
RM
10408 * sunrpc/rpc_parse.h: Avoid nested comment.
10409
73f27d5e
RH
104102010-08-24 Richard Henderson <rth@redhat.com>
10411 Ulrich Drepper <drepper@redhat.com>
10412 H.J. Lu <hongjiu.lu@intel.com>
10413
10414 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10415 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10416 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10417 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10418 _mm_alignr_epi8 with _mm_loadu_si128.
10419 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10420 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10421 (__m128i_shift_right): Removed.
10422 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10423 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10424 * sysdeps/x86_64/multiarch/varshift.h: New file.
10425 * sysdeps/x86_64/multiarch/varshift.S: New file.
10426
84b9230c
MF
104272010-08-21 Mike Frysinger <vapier@gentoo.org>
10428
10429 * configure.in: Move assembler checks to before sysdep dir checking.
10430
9bbd0ddc
PB
104312010-08-20 Petr Baudis <pasky@suse.cz>
10432
10433 * LICENSES: Sync the sunrpc license.
10434
9da4bb31
UD
104352010-08-19 Ulrich Drepper <drepper@redhat.com>
10436
a7ab6ec8
UD
10437 * sunrpc/auth_des.c: Update copyright notice once again.
10438 * sunrpc/auth_none.c: Likewise.
10439 * sunrpc/auth_unix.c: Likewise.
10440 * sunrpc/authdes_prot.c: Likewise.
10441 * sunrpc/authuxprot.c: Likewise.
10442 * sunrpc/bindrsvprt.c: Likewise.
10443 * sunrpc/clnt_gen.c: Likewise.
10444 * sunrpc/clnt_perr.c: Likewise.
10445 * sunrpc/clnt_raw.c: Likewise.
10446 * sunrpc/clnt_simp.c: Likewise.
10447 * sunrpc/clnt_tcp.c: Likewise.
10448 * sunrpc/clnt_udp.c: Likewise.
10449 * sunrpc/clnt_unix.c: Likewise.
10450 * sunrpc/des_crypt.c: Likewise.
10451 * sunrpc/des_soft.c: Likewise.
10452 * sunrpc/get_myaddr.c: Likewise.
10453 * sunrpc/getrpcport.c: Likewise.
10454 * sunrpc/key_call.c: Likewise.
10455 * sunrpc/key_prot.c: Likewise.
10456 * sunrpc/openchild.c: Likewise.
10457 * sunrpc/pm_getmaps.c: Likewise.
10458 * sunrpc/pm_getport.c: Likewise.
10459 * sunrpc/pmap_clnt.c: Likewise.
10460 * sunrpc/pmap_prot.c: Likewise.
10461 * sunrpc/pmap_prot2.c: Likewise.
10462 * sunrpc/pmap_rmt.c: Likewise.
10463 * sunrpc/rpc/auth.h: Likewise.
10464 * sunrpc/rpc/auth_unix.h: Likewise.
10465 * sunrpc/rpc/clnt.h: Likewise.
10466 * sunrpc/rpc/des_crypt.h: Likewise.
10467 * sunrpc/rpc/key_prot.h: Likewise.
10468 * sunrpc/rpc/netdb.h: Likewise.
10469 * sunrpc/rpc/pmap_clnt.h: Likewise.
10470 * sunrpc/rpc/pmap_prot.h: Likewise.
10471 * sunrpc/rpc/pmap_rmt.h: Likewise.
10472 * sunrpc/rpc/rpc.h: Likewise.
10473 * sunrpc/rpc/rpc_des.h: Likewise.
10474 * sunrpc/rpc/rpc_msg.h: Likewise.
10475 * sunrpc/rpc/svc.h: Likewise.
10476 * sunrpc/rpc/svc_auth.h: Likewise.
10477 * sunrpc/rpc/types.h: Likewise.
10478 * sunrpc/rpc/xdr.h: Likewise.
10479 * sunrpc/rpc_clntout.c: Likewise.
10480 * sunrpc/rpc_cmsg.c: Likewise.
10481 * sunrpc/rpc_common.c: Likewise.
10482 * sunrpc/rpc_cout.c: Likewise.
10483 * sunrpc/rpc_dtable.c: Likewise.
10484 * sunrpc/rpc_hout.c: Likewise.
10485 * sunrpc/rpc_main.c: Likewise.
10486 * sunrpc/rpc_parse.c: Likewise.
10487 * sunrpc/rpc_parse.h: Likewise.
10488 * sunrpc/rpc_prot.c: Likewise.
10489 * sunrpc/rpc_sample.c: Likewise.
10490 * sunrpc/rpc_scan.c: Likewise.
10491 * sunrpc/rpc_scan.h: Likewise.
10492 * sunrpc/rpc_svcout.c: Likewise.
10493 * sunrpc/rpc_tblout.c: Likewise.
10494 * sunrpc/rpc_util.c: Likewise.
10495 * sunrpc/rpc_util.h: Likewise.
10496 * sunrpc/rpcinfo.c: Likewise.
10497 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10498 * sunrpc/rpcsvc/key_prot.x: Likewise.
10499 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10500 * sunrpc/rpcsvc/mount.x: Likewise.
10501 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10502 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10503 * sunrpc/rpcsvc/rex.x: Likewise.
10504 * sunrpc/rpcsvc/rstat.x: Likewise.
10505 * sunrpc/rpcsvc/rusers.x: Likewise.
10506 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10507 * sunrpc/rpcsvc/spray.x: Likewise.
10508 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10509 * sunrpc/rtime.c: Likewise.
10510 * sunrpc/svc.c: Likewise.
10511 * sunrpc/svc_auth.c: Likewise.
10512 * sunrpc/svc_authux.c: Likewise.
10513 * sunrpc/svc_raw.c: Likewise.
10514 * sunrpc/svc_run.c: Likewise.
10515 * sunrpc/svc_simple.c: Likewise.
10516 * sunrpc/svc_tcp.c: Likewise.
10517 * sunrpc/svc_udp.c: Likewise.
10518 * sunrpc/svc_unix.c: Likewise.
10519 * sunrpc/svcauth_des.c: Likewise.
10520 * sunrpc/xcrypt.c: Likewise.
10521 * sunrpc/xdr.c: Likewise.
10522 * sunrpc/xdr_array.c: Likewise.
10523 * sunrpc/xdr_float.c: Likewise.
10524 * sunrpc/xdr_mem.c: Likewise.
10525 * sunrpc/xdr_rec.c: Likewise.
10526 * sunrpc/xdr_ref.c: Likewise.
10527 * sunrpc/xdr_sizeof.c: Likewise.
10528 * sunrpc/xdr_stdio.c: Likewise.
10529
9da4bb31
UD
10530 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10531 handling.
10532
bdaa77bc
AS
105332010-08-19 Andreas Schwab <schwab@redhat.com>
10534
10535 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10536
fe2f79db
LM
105372010-08-19 Luis Machado <luisgpm@br.ibm.com>
10538
10539 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10540 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10541 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10542 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10543 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10544 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10545 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10546 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10547 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10548 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10549 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10550 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10551 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10552 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10553
b9b42ee0
AB
105542010-07-26 Anton Blanchard <anton@samba.org>
10555
10556 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10557 * malloc/arena.c (heap_trim): Likewise.
10558
1c06ba31
UD
105592010-08-16 Ulrich Drepper <drepper@redhat.com>
10560
10561 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10562 here. Not...
10563 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10564 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10565
f8392f40
L
105662010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10567
10568 * sysdeps/i386/elf/Makefile: New file.
10569
3162f12e
AS
105702010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10571
10572 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10573 from fanotify_init.
10574 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10575 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10576
28c90b2c
UD
105772010-08-15 Ulrich Drepper <drepper@redhat.com>
10578
10579 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10580 of strncasecmp_l.
1feccb6c 10581 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 10582
ca6bb004
UD
105832010-08-14 Ulrich Drepper <drepper@redhat.com>
10584
e9f82e0d
UD
10585 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10586 strncase_l-nonascii.
10587 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10588 Add strncase_l-ssse3.
10589 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10590 * sysdeps/x86_64/strcmp.S: Likewise.
10591 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10592 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10593 * sysdeps/x86_64/strncase.S: New file.
10594 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10595 * sysdeps/x86_64/strncase_l.S: New file.
10596 * string/Makefile (strop-tests): Add strncasecmp.
10597 * string/test-strncasecmp.c: New file.
10598
10599 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10600 warning.
10601
ca6bb004
UD
10602 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10603 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10604
052fa7b3
AS
106052010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10606
10607 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10608
962dba78
UD
106092010-08-12 Ulrich Drepper <drepper@redhat.com>
10610
10611 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10612 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10613 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10614
bebff237
AM
106152010-05-01 Alan Modra <amodra@gmail.com>
10616
10617 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10618 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10619 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10620 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10621 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10622 tidying. Don't tail-call __sigjmp_save for static lib.
10623 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10624 save location.
10625 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10626 (CALL_MCOUNT): Add eh info, and nop after bl.
10627 (TAIL_CALL_SYSCALL_ERROR): New macro.
10628 (PSEUDO_RET): Use it.
10629 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10630 Correct save location of integer regs and cr.
10631 (_dl_profile_resolve): Correct cr save location. Delete nops
10632 after bl when SHARED. Reduce cfi size a little by better
10633 placement of cfi directives.
10634 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10635 make a stack frame. Instead use parm save area as a temp.
10636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10637 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10639 Don't make a stack frame for parent, use parm save area.
10640 Increase child stack frame to 112 bytes. Don't save unused reg,
10641 and adjust reg usage. Set up cfi on error recovery and
10642 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10644 (__makecontext): Add dummy nop after jump to exit.
10645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10646 Use correct parm save area and cr save, reduce stack frame.
10647 Correct cfi for possible PSEUDO_RET frame setup.
10648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10649 Branch to local label emitted by PSEUDO_RET rather than
10650 __syscall_error.
10651
02637374
AS
106522010-08-12 Andreas Schwab <schwab@redhat.com>
10653
10654 [BZ #11904]
10655 * locale/programs/locale.c (print_assignment): New function.
10656 (show_locale_vars): Use it.
10657
c3e2f19b
UD
106582010-08-11 Ulrich Drepper <drepper@redhat.com>
10659
3cdaa6ad
UD
10660 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10661 field.
10662 (struct statfs64): Likewise.
10663 (_STATFS_F_FLAGS): Define.
10664 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10665 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10666 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10667 (ST_VALID): Define locally.
10668 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10669 __statvfs_getflags, use the provided value.
10670 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10671 __ASSUME_STATFS_F_FLAGS.
10672
754f7da3
UD
10673 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10674
10b3bedc
UD
10675 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10676 Add sys/fanotify.h.
10677 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10678 fanotify_mask for GLIBC_2.13.
10679 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10680 fanotify_init and fanotify_mark.
10681 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10682 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10683
c08fb0d7
UD
10684 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10685 Add prlimit.
10686 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10687 prlimit64 for GLIBC_2.13.
10688 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10689 prlimit64.
10690 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10691 syscall.
10692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10693 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10694 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10695 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10696 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10697 add prlimit alias.
10698 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10699
15bac72b
UD
10700 [BZ #11903]
10701 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10702 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10703
c3e2f19b
UD
10704 * nss/Makefile: Add rules to build and run tst-nss-test1.
10705 * shlib-versions: Add entry for libnss_test1.
10706 * nss/nss_test1.c: New file.
10707 * nss/tst-nss-test1.c: New file.
10708
10709 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10710 (__nss_configure_lookup): Set appropriate entry in
10711 __nss_configure_lookup to true.
10712 * nss/nsswitch.h: Define enum with indeces of databases in
10713 databases and __nss_database_custom arrays. Declare
10714 __nss_database_custom.
10715 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10716 to avoid using nscd when custom rules are installed.
10717 * nss/getXXbyYY_r.c: Likewise.
10718 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10719
10720 * nss/nss_files/files-parse.c: Whitespace fixes.
10721
f15ce4d8
UD
107222010-08-09 Ulrich Drepper <drepper@redhat.com>
10723
10724 [BZ #11883]
10725 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10726 * posix/fnmatch_loop.c: Likewise.
10727
d22e4cc9
AK
107282010-07-17 Andi Kleen <ak@linux.intel.com>
10729
10730 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10731 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10732 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10733 * Versions.def [GLIBC_2.13]: Add.
10734
805bc17d
UD
107352010-08-06 Ulrich Drepper <drepper@redhat.com>
10736
10737 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10738 Also fail if tpwd after pwuid call is NULL.
10739
5a42321d
ST
107402010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10741
10742 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10743 when converting to ms.
10744
fd3ebeda
ST
107452010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10746
10747 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10748 EOPNOTSUPP errors with ENOTTY.
10749 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10750 EOPNOTSUPP errors with ENOTTY.
10751
73507d3a
UD
107522010-07-31 Ulrich Drepper <drepper@redhat.com>
10753
10754 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10755 Add strcasecmp_l-ssse3.
10756 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10757 strcasecmp.
10758 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10759 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10760 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10761
fe36dd02
UD
107622010-07-30 Ulrich Drepper <drepper@redhat.com>
10763
66f6765a
UD
10764 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10765
42e08a54
UD
10766 * string/Makefile (strop-tests): Add strcasecmp.
10767 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10768 strcasecmp_l-nonascii.
10769 (gen-as-const-headers): Add locale-defines.sym.
10770 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10771 * sysdeps/x86_64/strcasecmp.S: New file.
10772 * sysdeps/x86_64/strcasecmp_l.S: New file.
10773 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10774 * sysdeps/x86_64/locale-defines.sym: New file.
10775 * string/test-strcasecmp.c: New file.
10776
fe36dd02
UD
10777 * string/test-strcasestr.c: Test both ends of the range of characters.
10778 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10779
48cbc0d6
RM
107802010-07-29 Roland McGrath <roland@redhat.com>
10781
76e6d6bc 10782 [BZ #11856]
48cbc0d6
RM
10783 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10784
880113d9
UD
107852010-07-27 Ulrich Drepper <drepper@redhat.com>
10786
10787 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10788 for ld.so.
10789
deb9cabb
AS
107902010-07-27 Andreas Schwab <schwab@redhat.com>
10791
10792 * manual/memory.texi (Malloc Tunable Parameters): Document
10793 M_PERTURB.
10794
1c7570ff
RM
107952010-07-26 Roland McGrath <roland@redhat.com>
10796
10797 [BZ #11840]
10798 * configure.in (-fgnu89-inline check): Set and substitute
10799 gnu89_inline, not libc_cv_gnu89_inline.
10800 * configure: Regenerated.
10801 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10802
24fb0f88
UD
108032010-07-26 Ulrich Drepper <drepper@redhat.com>
10804
10805 * string/test-strnlen.c: New file.
10806 * string/Makefile (strop-tests): Add strnlen.
10807 * string/tester.c (test_strnlen): Add a few more test cases.
10808 * string/tst-strlen.c: Better error reporting.
10809
10810 * sysdeps/x86_64/strnlen.S: New file.
10811
8e96b93a
UD
108122010-07-24 Ulrich Drepper <drepper@redhat.com>
10813
10814 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10815 lower-latency instructions.
10816
dbc676d4
UD
108172010-07-23 Ulrich Drepper <drepper@redhat.com>
10818
10819 * string/test-strcasestr.c: New file.
10820 * string/test-strstr.c: New file.
10821 * string/Makefile (strop-tests): Add strstr and strcasestr.
10822 * string/str-two-way.h: Don't undefine MAX.
10823 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10824
f6a31e0e
AS
108252010-07-21 Andreas Schwab <schwab@redhat.com>
10826
10827 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10828 strcasestr-nonascii.
10829 (CFLAGS-strcasestr-nonascii.c): Define.
10830 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10831 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10832 Remove unused attribute.
10833
5dbc3b6c
RM
108342010-07-20 Roland McGrath <roland@redhat.com>
10835
10836 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10837 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10838 ld.so.cache was broken. With it, there is no way to disable dsocaps
10839 like LD_HWCAP_MASK can disable hwcaps.
10840
23d101d8
EPM
108412010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10842
10843 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10844
cc9f2e47
UD
108452010-07-16 Ulrich Drepper <drepper@redhat.com>
10846
10847 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10848 call in strcasestr.
10849 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10850 __strcasestr_sse42_nonascii.
10851 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10852 strcasestr-nonascii.c.
10853 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10854
77c1b069
LM
108552010-06-15 Luis Machado <luisgpm@br.ibm.com>
10856
10857 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10858 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10859 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10860 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10861
440566c3
UD
108622010-07-09 Ulrich Drepper <drepper@redhat.com>
10863
10864 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10865 fcntl.
10866
5be9d05d
AS
108672010-07-06 Andreas Schwab <schwab@redhat.com>
10868
c30b7ee2 10869 [BZ #11577]
5be9d05d
AS
10870 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10871 dl_signal_cerror.
10872
8a492a67
UD
108732010-07-06 Ulrich Drepper <drepper@redhat.com>
10874
10875 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10876 _PC_PIPE_BUF using F_GETPIPE_SZ.
10877
713df3d5
RM
108782010-07-05 Roland McGrath <roland@redhat.com>
10879
10880 * manual/arith.texi (Rounding Functions): Fix rint description
10881 implicit in round description.
10882
702e8f14
UD
108832010-07-02 Ulrich Drepper <drepper@redhat.com>
10884
10885 * elf/Makefile: Fix linking for a few tests to make recent linker
10886 happy.
10887
52ed8be9
AS
108882010-06-30 Andreas Schwab <schwab@redhat.com>
10889
10890 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10891 $(common-objpfx)libc_nonshared.a.
10892
f47c9a11
LM
108932010-06-21 Luis Machado <luisgpm@br.ibm.com>
10894
10895 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10896 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10897 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10898 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10899 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10900 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10901 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10902 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10917 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10918 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10919 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10920 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10921 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10922 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10923 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10924 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10925 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10926 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10927 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10928 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10943
6fb8cbcb
L
109442010-06-25 H.J. Lu <hongjiu.lu@intel.com>
10945
10946 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10947 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
10948 * string/memmove.c (memmove): Renamed to ...
10949 (MEMMOVE): ...this. Default to memmove.
10950 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10951 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10952 (END_CHK): Define.
10953 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10954 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10955 mempcpy-ssse3-back memmove-ssse3-back.
10956 * sysdeps/x86_64/multiarch/bcopy.S: New file .
10957 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10958 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10959 * sysdeps/x86_64/multiarch/memcpy.S: New file.
10960 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10961 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10962 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10963 * sysdeps/x86_64/multiarch/memmove.c: New file.
10964 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10965 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10966 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10967 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10968 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10969 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10970 Define.
10971 (index_Fast_Copy_Backward): Define.
10972 (HAS_ARCH_FEATURE): Define.
10973 (HAS_FAST_REP_STRING): Define.
10974 (HAS_FAST_COPY_BACKWARD): Define.
10975
4e733bac 109762010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
10977
10978 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10979 Restore proper fallback handling.
10980
63c4ed22
UD
109812010-06-19 Ulrich Drepper <drepper@redhat.com>
10982
ac2b484c
UD
10983 [BZ #11701]
10984 * posix/group_member.c (__group_member): Correct checking loop.
10985
63c4ed22
UD
10986 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
10987 OOM in getpwuid_r correctly. Return error number when the caller
10988 should return, otherwise -1.
10989 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
10990 call returning > 0 value.
10991 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
10992
765ade4b
AS
109932010-06-07 Andreas Schwab <schwab@redhat.com>
10994
10995 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
10996 libc_nonshared.a from targets in modules-names.
10997
80da2e09
KS
109982010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
10999
11000 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11001 requires it.
11002
158db122
LM
110032010-06-10 Luis Machado <luisgpm@br.ibm.com>
11004
11005 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11006 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11007 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11008 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11009
caa78cf8
AS
110102010-06-02 Andreas Schwab <schwab@redhat.com>
11011
11012 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11013
b2ef2c01
UD
110142010-06-14 Ulrich Drepper <drepper@redhat.com>
11015
11016 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11017 and F_GETPIPE_SZ.
11018 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11019 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11020 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11021 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11022 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11023 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11024
fbd643b6
RM
110252010-06-14 Roland McGrath <roland@redhat.com>
11026
11027 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11028
f32f2869
JJ
110292010-06-07 Jakub Jelinek <jakub@redhat.com>
11030
11031 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11032 __REDIRECT followed by __THROW.
11033 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11034 * posix/getopt.h (getopt): Likewise.
11035
2a50c078
EPM
110362010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11037
11038 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11039 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11040 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11041 in AT_FLAGS.
11042 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11043 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11044
eb5ad2eb
LM
110452010-05-28 Luis Machado <luisgpm@br.ibm.com>
11046
11047 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11048
3c88fe1e
L
110492010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11050
11051 [BZ #11640]
11052 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11053 Properly check family and model.
11054
d2f73151
TY
110552010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11056
11057 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11058
ebd2e13d
LM
110592010-05-24 Luis Machado <luisgpm@br.ibm.com>
11060
11061 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11062
b32b8b45
UD
110632010-05-21 Ulrich Drepper <drepper@redhat.com>
11064
11065 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11066 symbol reference.
11067
9acbe24d
AS
110682010-05-19 Andreas Schwab <schwab@redhat.com>
11069
11070 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11071 symbol reference.
11072
f0ccf6ea
AS
110732010-05-21 Andreas Schwab <schwab@redhat.com>
11074
3d04ff3a
AS
11075 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11076 and internal_recvmmsg.
11077 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11078 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11079 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11080 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11081
f0ccf6ea
AS
11082 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11083 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11084 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11085
5b08ac57
AS
110862010-05-20 Andreas Schwab <schwab@redhat.com>
11087
11088 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11089
4828935d
LM
110902010-05-17 Luis Machado <luisgpm@br.ibm.com>
11091
11092 POWER7 optimizations.
11093 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11094 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11095
373d545e
UD
110962010-05-19 Ulrich Drepper <drepper@redhat.com>
11097
11098 * version.h: Update for 2.13 development version.
11099
21a2b1ae
AS
111002010-05-12 Andrew Stubbs <ams@codesourcery.com>
11101
11102 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11103 exceptions. Return 0.
11104
3f7dcb2b
RM
111052010-05-07 Roland McGrath <roland@redhat.com>
11106
11107 * elf/ldconfig.c (main): Add a const.
11108
5f24d53a 111092010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11110
a160f8d8
UD
11111 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11112 (args_options): Add no-idn option.
11113 (ahosts_keys_int): Add idn_flags to ai_flags.
11114 (parse_option): Handle 'i' option to clear idn_flags.
11115
5f24d53a
UD
11116 * malloc/malloc.c (_int_free): Possible race in the most recently
11117 added check. Only act on the data if no current modification
11118 happened.
265bb1ce
UD
11119
11120See ChangeLog.17 for earlier changes.