]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Do not elide the libc hidden def of sparc's memset/memcpy when multiarching.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
18c9d62b
DM
12012-03-28 David S. Miller <davem@davemloft.net>
2
e5aa83e1
DM
3 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
4 the IFUNC routine in the libc case.
5 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6
88570753
DM
7 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
10 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
14 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15
249d7567
DM
16 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17 loop to 256 bytes instead of 64 bytes and fix test signedness.
18
18c9d62b
DM
19 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20 * sysdeps/sparc/sparc32/Makefile: rather than here...
21 * sysdeps/sparc/sparc64/Makefile: and here.
22
05f3d1f6
UD
232012-03-28 Ulrich Drepper <drepper@gmail.com>
24
25 * malloc/mallocbug.c: Avoid warnings about unused variables.
26
86ae07a8
JL
272012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28
29 [BZ #13760]
30 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31 in the right place. Discard and retry query if response is
32 larger than input buffer size.
33
41bf21a1
JM
342012-03-28 Joseph Myers <joseph@codesourcery.com>
35
d6270972
JM
36 [BZ #369]
37 [BZ #2678]
38 [BZ #3866]
39 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40 x for large integer exponent.
41 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
43 sign of result as needed afterwards.
44 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46 result for underflowing pow the same as for overflow.
47 (__kernel_standard_l): Handle powl overflow and underflow here
48 rather than calling __kernel_standard.
49 * math/libm-test.inc (pow_test): Add more tests.
50
414fca03 51 [BZ #3868]
41bf21a1
JM
52 [BZ #13879]
53 [BZ #13910]
54 [BZ #13911]
55 [BZ #13912]
56 [BZ #13913]
57 [BZ #13915]
58 [BZ #13916]
59 [BZ #13917]
60 [BZ #13918]
61 [BZ #13919]
62 [BZ #13920]
63 [BZ #13921]
64 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
65 * sysdeps/ieee754/k_standard.c: Include <float.h>.
66 (__kernel_standard_l): New function.
67 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
68 __kernel_standard.
69 * math/w_acosl.c (__acosl): Likewise.
70 * math/w_asinl.c (__asinl): Likewise.
71 * math/w_atan2l.c (__atan2l): Likewise.
72 * math/w_atanhl.c (__atanhl): Likewise.
73 * math/w_coshl.c (__coshl): Likewise.
74 * math/w_exp10l.c (__exp10l): Likewise.
75 * math/w_exp2l.c (__exp2l): Likewise.
76 * math/w_fmodl.c (__fmodl): Likewise.
77 * math/w_hypotl.c (__hypotl): Likewise.
78 * math/w_j0l.c (__j0l, __y0l): Likewise.
79 * math/w_j1l.c (__j1l, __y1l): Likewise.
80 * math/w_jnl.c (__jnl, __ynl): Likewise.
81 * math/w_lgammal.c (__lgammal): Likewise.
82 * math/w_log10l.c (__log10l): Likewise.
83 * math/w_log2l.c (__log2l): Likewise.
84 * math/w_logl.c (__logl): Likewise.
85 * math/w_powl.c (__powl): Likewise.
86 * math/w_remainderl.c (__remainderl): Likewise.
87 * math/w_scalbl.c (sysv_scalbl): Likewise.
88 * math/w_sinhl.c (__sinhl): Likewise.
89 * math/w_sqrtl.c (__sqrtl): Likewise.
90 * math/w_tgammal.c (__tgammal): Likewise.
91 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
92 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
93 * math/libm-test.inc (acos_test): Add more tests.
94 (acosh_test): Likewise.
95 (asin_test): Likewise.
96 (atanh_test): Likewise.
97 (exp_test): Likewise.
98 (exp10_test): Likewise.
99 (exp2_test): Likewise.
100 (expm1_test): Likewise.
101 (lgamma_test): Likewise.
102 (log_test): Likewise.
103 (log10_test): Likewise.
104 (log1p_test): Likewise.
105 (log2_test): Likewise.
106 (pow_test): Do not allow some spurious overflow exceptions.
107 (sqrt_test): Add more tests.
108 (tgamma_test): Likewise.
109 (y0_test): Likewise.
110 (y1_test): Likewise.
111 (yn_test): Likewise.
112
dd62fda6
AB
1132012-03-27 Anton Blanchard <anton@samba.org>
114
115 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
116 MAP_HUGETLB.
117 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
118 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
119 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
120
1e3cdfda
AJ
1212012-03-27 David S. Miller <davem@davemloft.net>
122
b855ab85
DM
123 * conform/Makefile: Run run-conformtest.sh using $(BASH).
124
1e3cdfda
AJ
125 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
126 have-as-vis3 check.
127
1282012-03-27 Andreas Jaeger <aj@suse.de>
129
130 * sysdeps/x86_64/elf/configure.in: Moved to ...
131 * sysdeps/x86_64/configure.in: ... here.
132 * sysdeps/x86_64/elf/start.S: Moved to ...
133 * sysdeps/x86_64/start.S: ... here.
134 * sysdeps/x86_64/elf/configure: Delete.
135
136 * sysdeps/x86_64/configure.in: Merge contents from
137 sysdeps/i386/configure.in (without i686 check).
138
139 * sysdeps/i386/elf/Versions: Merge into ...
140 * sysdeps/i386/Versions: ... this.
141 * sysdeps/i386/elf/Versions: Delete file.
142 * sysdeps/i386/elf/start.S: Moved to ...
143 * sysdeps/i386/start.S: ...here.
144 * sysdeps/i386/elf/configure.in: Merge into...
145 * sysdeps/i386/configure.in: ...here.
146 * sysdeps/i386/elf/configure.in: Delete file.
147 * sysdeps/i386/elf/configure: Delete file.
148
149 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
150 * debug/backtracesyms.c: ... here.
151 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
152 * debug/backtracesymsfd.c: ... here.
153 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
154 * sysdeps/generic/ifunc-sel.h: ... here.
155
156 * sysdeps/unix/i386/start.c: Delete file.
157 * sysdeps/unix/sparc/start.c: Delete file.
158 * sysdeps/unix/start.c: Delete file.
159
160 * sysdeps/sh/elf/configure.in: Moved to ...
161 * sysdeps/sh/configure.in: ... here.
162 * sysdeps/sh/elf/start.S: Moved to ...
163 * sysdeps/sh/start.S: ... here.
164 * sysdeps/sh/elf/configure: Delete file.
165
166 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
167 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
168 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
169 * sysdeps/powerpc/powerpc64/entry.h: ... here.
170 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
171 * sysdeps/powerpc/powerpc64/start.S: here.
172 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
173 * sysdeps/powerpc/powerpc64/Makefile: ... this.
174 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
175 * sysdeps/powerpc/powerpc64/configure.in: ... this.
176 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
177
178 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
179 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
180 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
181 * sysdeps/powerpc/powerpc32/start.S: ... here.
182 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
183 * sysdeps/powerpc/powerpc32/configure.in: ... this.
184 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
185
186 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
187 * sysdeps/powerpc/ifunc-sel.h: ... here.
188 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
189 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
190
191 * sysdeps/sparc/elf/configure.in: Moved to ...
192 * sysdeps/sparc/configure.in: ... here.
193 * sysdeps/sparc/elf/configure: Delete file.
194 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
195 * sysdeps/sparc/sparc32/start.S: ... here.
196 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
197 * sysdeps/sparc/sparc64/start.S: ... here.
198 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
199 * sysdeps/sparc/sparc32/Makefile: ... this.
200 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
201 * sysdeps/sparc/sparc64/Makefile: ... this.
202
203 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
204 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
205 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
206 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
207 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
208 * sysdeps/s390/s390-32/setjmp.S: ... here.
209 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
210 * sysdeps/s390/s390-32/configure.in: ... here.
211 * sysdeps/s390/s390-32/elf/configure: Delete file.
212 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
213 * sysdeps/s390/s390-32/start.S: ... here.
214
215 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
216 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
217 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
218 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
219 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
220 * sysdeps/s390/s390-64/setjmp.S: ... here.
221 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
222 * sysdeps/s390/s390-64/configure.in: ... here
223 * sysdeps/s390/s390-64/elf/configure: Delete file.
224 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
225 * sysdeps/s390/s390-64/start.S: ... here.
226 * sysdeps/s390/s390-64/elf/configure: Delete.
227
228 * configure.in: Remove support for elf directories in sysdeps.
229
230 * configure: Regenerated.
231 * sysdeps/i386/configure: Regenerated.
232 * sysdeps/powerpc/powerpc32/configure: Regenerated.
233 * sysdeps/powerpc/powerpc64/configure: Regenerated.
234 * sysdeps/s390/s390-32/configure: Regenerated.
235 * sysdeps/s390/s390-64/configure: Regenerated.
236 * sysdeps/sh/configure: Regenerated.
237 * sysdeps/sparc/configure: Regenerated.
238 * sysdeps/x86_64/configure: Regenerated.
239
a3f61311
AS
2402012-03-26 Andreas Schwab <schwab@linux-m68k.org>
241
c876e002
AS
242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
243
a3f61311
AS
244 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
245 denormal result into account.
246
ac4c54f0
RM
2472012-03-25 Roland McGrath <roland@hack.frob.com>
248
249 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
250 Reported by Allan McRae <allan@archlinux.org>.
251
6a9b9c02
JL
2522012-03-23 Jeff Law <law@redhat.com>
253
254 * nss/getnssent.c (__nss_getent): Fix typo.
255
4c42a0c1
DM
2562012-03-23 David S. Miller <davem@davemloft.net>
257
258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
259
1532c7ac
L
2602012-03-23 H.J. Lu <hongjiu.lu@intel.com>
261
262 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
263 to pad to uint64_t for each field.
264 (dl_tls_index): Replace unsigned long with uint64_t.
265
3ff42526
PP
2662012-03-23 Daniel Jacobowitz <dmj@google.com>
267 Paul Pluzhnikov <ppluzhnikov@google.com>
268
269 [BZ #6528]
270 * grp/Makefile (otherlibs): Don't set it.
271 * inet/Makefile (otherlibs): Likewise.
272 * login/Makefile (otherlibs): Likewise.
273 * nscd/Makefile (otherlibs): Likewise.
274 * posix/Makefile (otherlibs): Likewise.
275 * pwd/Makefile (otherlibs): Likewise.
276 * rt/Makefile (otherlibs): Likewise.
277 * sunrpc/Makefile (otherlibs): Likewise.
278 * nss/Makefile (otherlibs): Likewise.
279 Add libnss_files to routines and static-only-routines.
280 ($(objpfx)getent): Remove rule.
281 * resolv/Makefile: Add libnss_dns and libresolv to routines and
282 static-only-routines.
283
7c69cd14
JM
2842012-03-22 Joseph Myers <joseph@codesourcery.com>
285
286 [BZ #13892]
287 * math/s_cexp.c: Include <float.h>.
288 (__cexp): Handle exp result overflowing not necessarily
289 overflowing both real and imaginary parts of result.
290 * math/s_cexpf.c: Likewise.
291 * math/s_cexpl.c: Likewise.
292 * math/libm-test.inc (cexp_test): Add more tests.
293 * sysdeps/i386/fpu/libm-test-ulps: Update.
294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
295
81b035fe
L
2962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
297
298 * include/link.h (ELFW): New macro.
299 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
300 Replace ELF64_R_TYPE with ELFW(R_TYPE).
301
1da7940c
L
3022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
303
304 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
305 with uint64_t.
306
b749dbb9
L
3072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
308
309 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
310 declaration.
311 (struct La_x32_retval): Likewise.
312
2ff87f3f
L
3132012-03-22 H.J. Lu <hongjiu.lu@intel.com>
314
315 * sysdeps/x86_64/preconfigure.in: New file.
316 * sysdeps/x86_64/preconfigure: New generated file.
317
c0df8e69
JM
3182012-03-22 Joseph Myers <joseph@codesourcery.com>
319
48e44791
JM
320 [BZ #13824]
321 * math/e_exp2l.c: Include <float.h>.
322 (__ieee754_exp2l): Handle overflow and underflow cases
323 separately. Only pass fractional part of argument to
324 __ieee754_expl.
325 * math/libm-test.inc (exp2_test): Add more tests.
326
c0df8e69
JM
327 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
328 negating x to take absolute value.
329 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
330 Likewise.
331 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
332 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
333 Likewise.
334 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
335 computing low part if x was negated.
336 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
337
c8e43ba7
L
3382012-03-21 H.J. Lu <hongjiu.lu@intel.com>
339
340 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
341 la_x32_gnu_pltexit.
342 (pltexit): Cast int_retval to ptrdiff_t.
343 * elf/tst-auditmod3b.c: Likewise.
344 * elf/tst-auditmod4b.c: Likewise.
345 * elf/tst-auditmod5b.c: Likewise.
346 * elf/tst-auditmod6b.c: Likewise.
347 * elf/tst-auditmod6c.c: Likewise.
348 * elf/tst-auditmod7b.c: Likewise.
349
350 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
351 and x32_gnu_pltexit.
352
353 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
354 __ELF_NATIVE_CLASS.
355 (La_x32_regs): New macro.
356 (La_x32_retval): Likewise.
357 (la_x32_gnu_pltenter): New function prototype.
358 (la_x32_gnu_pltexit): Likewise.
359
7998fa78
AS
3602012-03-21 Andreas Schwab <schwab@linux-m68k.org>
361
dcb33988
AS
362 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
363 exponent.
364
233fc563
AS
365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
366
7998fa78
AS
367 * configure.in (libc_cv_cc_nofma): Check for option to disable
368 generation of FMA instructions.
369 * configure: Regenerate.
370 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
371 * sysdeps/ieee754/dbl-64/Makefile: New file.
372 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
373 Remove brandred-fma4.
374 (CFLAGS-brandred-fma4.c): Remove.
375 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
376 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
377 define.
378 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
379 define.
380
8e95c99a
L
3812012-03-21 H.J. Lu <hongjiu.lu@intel.com>
382
383 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
384 LLONG_MAX != LONG_MAX.
385 (_itoa_word): Use _ITOA_WORD_TYPE on value.
386 (_fitoa_word): Likewise.
387 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
388 LLONG_MAX != LONG_MAX.
389 * stdio-common/_itowa.h: Include <_itoa.h>.
390 (_itowa_word): Use _ITOA_WORD_TYPE on value.
391 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
392 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
393 only if not defined.
394 (_ITOA_WORD_TYPE): Likewise.
395 (_itoa_word): Use _ITOA_WORD_TYPE on value.
396 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
397
6f4db457
DM
3982012-03-21 David S. Miller <davem@davemloft.net>
399
400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
401
7785fe5a
L
4022012-03-21 H.J. Lu <hongjiu.lu@intel.com>
403
404 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
405 of x86_64 when setting libc_cv_slibdir, libdir and
406 libc_cv_localedir.
407 * sysdeps/unix/sysv/linux/configure: Regenerated.
408
4535cd55
JM
4092012-03-21 Joseph Myers <joseph@codesourcery.com>
410
411 * manual/lang.texi (Old Varargs): Remove section.
412 (How Variadic): Update menu.
413 (va_start): Do not mention varargs.h.
414
17228132
TS
4152012-03-21 Thomas Schwinge <thomas@codesourcery.com>
416 Joseph Myers <joseph@codesourcery.com>
417
418 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
419 link test.
420 * configure: Regenerated.
421
8149f976
TS
4222012-03-21 Thomas Schwinge <thomas@codesourcery.com>
423
05f3d1f6
UD
424 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
425 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
426 conformtest.pl
8149f976 427
1a4ac776
JM
4282012-03-21 Joseph Myers <joseph@codesourcery.com>
429
be22ce65
JM
430 * NOTES: Remove.
431 * Makefile (files-for-dist): Remove NOTES.
432 (NOTES): Remove rule.
433 * README: Don't refer to NOTES.
434 * manual/creature.texi: Don't include macros.texi.
435 * manual/intro.texi (creature.texi): Remove comment referring to
436 NOTES.
437
40b601fb
JM
438 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
439 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
440 * configure: Regenerated.
441 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
442 LIBC_TRY_CC_OPTION.
443 (libc_cv_as_i686): Likewise.
444 (libc_cv_cc_avx): Likewise.
445 (libc_cv_cc_sse2avx): Likewise.
446 (libc_cv_cc_fma4): Likewise.
447 (libc_cv_cc_novzeroupper): Likewise.
448 * sysdeps/i386/configure: Regenerated.
449
1a4ac776
JM
450 [BZ #13883]
451 * sysdeps/i386/fpu/s_cexp.S: Remove.
452 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
453 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
454 * math/libm-test.inc (cexp_test): Add more tests.
455 * sysdeps/i386/fpu/libm-test-ulps: Update.
456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
457
a458e7fe
AM
4582012-03-21 Allan McRae <allan@archlinux.org>
459
460 * timezone/Makefile: Do not install iso3166.tab and zone.tab
461
0cb7efc5
JM
4622012-03-21 Joseph Myers <joseph@codesourcery.com>
463
464 [BZ #13871]
465 * math/w_exp2.c: Do not include <float.h>.
466 (o_threshold, u_threshold): Remove.
467 (__exp2): Calculate result before checking finiteness and calling
468 __kernel_standard.
469 * math/w_exp2f.c: Likewise.
470 * math/w_exp2l.c: Likewise.
471 * math/libm-test.inc (exp2_test): Require overflow exception for
472 1e6 input.
2460d3aa
JM
473
474 [BZ #3866]
475 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
476 range of signed 64-bit integers before using fistpll. Remove
477 checks for whether integers fit in mantissa bits.
478 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
479 the range of signed 32-bit integers before using fistpl. Remove
480 checks for whether integers fit in mantissa bits.
481 * sysdeps/i386/fpu/e_powl.S (p64): New object.
482 (__ieee754_powl): Test for y outside the range of signed 64-bit
483 integers before using fistpll. Reduce 64-bit values to 63-bit
484 ones as needed.
485 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
486 divide-by-zero is raised for zero to large negative powers.
487 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
488 (__ieee754_powl): Test for y outside the range of signed 64-bit
489 integers before using fistpll. Reduce 64-bit values to 63-bit
490 ones as needed.
491 * math/libm-test.inc (pow_test): Add more tests.
492
eb96ffb0
L
4932012-03-20 H.J. Lu <hongjiu.lu@intel.com>
494
495 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
496 <stdio-common/_itoa.h>.
497 * debug/segfault.c: Likewise.
498 * elf/dl-cache.c: Likewise.
499 * elf/dl-minimal.c: Likewise.
500 * elf/dl-misc.c: Likewise.
501 * elf/dl-sysdep.c: Likewise.
502 * elf/dl-version.c: Likewise.
503 * elf/rtld.c: Likewise.
504 * hurd/hurdsock.c: Likewise.
505 * hurd/lookup-retry.c: Likewise.
506 * malloc/malloc.c: Likewise.
507 * malloc/mtrace.c: Likewise.
508 * nscd/nscd_getgr_r.c: Likewise.
509 * nscd/nscd_getpw_r.c: Likewise.
510 * nscd/nscd_getserv_r.c: Likewise.
511 * posix/getopt_init.c: Likewise.
512 * posix/wordexp.c: Likewise.
513 * stdio-common/_itoa.c: Likewise.
514 * stdio-common/printf_fphex.c: Likewise.
515 * stdio-common/vfprintf.c: Likewise.
516 * string/_strerror.c: Likewise.
517 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
518 * sysdeps/i386/i686/hp-timing.h: Likewise.
519 * sysdeps/mach/_strerror.c: Likewise.
520 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
521 * sysdeps/mach/hurd/sethostid.c: Likewise.
522 * sysdeps/mach/hurd/xmknodat.c: Likewise.
523 * sysdeps/mach/xpg-strerror.c: Likewise.
524 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
525 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
526 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
527 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
528 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
529 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
530 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
531 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
532 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
533 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
534 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
535 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
536 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
537 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
538 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
539 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
540 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
541 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
542 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
543 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
544 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
545
546 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
547
548 * stdio-common/_itoa.h: Moved to ...
549 * sysdeps/generic/_itoa.h: Here.
550
551 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
552
553 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
554 instead of "_itoa.h" and "_itowa.h".
555 * stdio-common/vfprintf.: Likewise.
556
d1af992d
L
5572012-03-20 H.J. Lu <hongjiu.lu@intel.com>
558
559 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
560 <bits/wordsize.h>.
561 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
562 (__signbit): Likwise.
563 (llrintf): Likwise.
564 (llrint): Likwise.
565
114883e0
L
5662012-03-20 H.J. Lu <hongjiu.lu@intel.com>
567
568 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
569 __WORDSIZE != 64.
570
c135cc1b
JM
5712012-03-20 Joseph Myers <joseph@codesourcery.com>
572
573 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
574 OVERFLOW_EXCEPTION_OK.
575 * math/libm-test.inc ("Philosophy"): Update comment about
576 exception testing.
577 (OVERFLOW_EXCEPTION): Define.
578 (OVERFLOW_EXCEPTION_OK): Likewise.
579 (INVALID_EXCEPTION_OK): Renumber.
580 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
581 (IGNORE_ZERO_INF_SIGN): Likewise.
582 (test_exceptions): Handle FE_OVERFLOW.
583 (exp10_test): Expect overflow exceptions.
584 (exp2_test): Likewise.
585 (expm1_test): Likewise.
586 (nextafter_test): Likewise.
587 (pow_test): Likewise.
588 (scalbn_test): Likewise.
589 (scalbln_test): Likewise.
590
95443d88
L
5912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
592
593 * sysdeps/x86_64/bits/atomic.h
594 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
595 64bit integer.
596 (atomic_exchange_acq): Likewise.
597 (__arch_exchange_and_add_body): Likewise.
598 (__arch_add_body): Likewise.
599 (atomic_add_negative): Likewise.
600 (atomic_add_zero): Likewise.
601
490df6c4
L
6022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
603
c2722551 604 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
605 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
606
5e52b189
L
6072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
608
609 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
610 Check __x86_64__ instead of __WORDSIZE.
611
a9879d4c
L
6122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
613
614 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
615
5df98260
DM
6162012-03-19 David S. Miller <davem@davemloft.net>
617
e1497744
DM
618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
619
5df98260
DM
620 * sysdeps/sparc/fpu/fenv_private.h: New file.
621 * sysdeps/sparc/fpu/math_private.h: Use it.
622 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
623 Remove.
624 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
625 (libc_feholdexcept_setroundl): Remove.
626 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
627 Remove.
628 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
629 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
630
b4c35121
L
6312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
632
633 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
634 int64_t instead of long int.
635 (INSERT_WORDS64): Likwise.
636
56965fd7
L
6372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
638
639 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
640 _Unwind_GetCFA return to _Unwind_Ptr first.
641
83d1aec8
JM
6422012-03-19 Joseph Myers <joseph@codesourcery.com>
643
1897ad44
JM
644 [BZ #13629]
645 * math/s_clog.c: Include <float.h>.
646 (__clog): Scale large or subnormal inputs.
647 * math/s_clogf.c: Likewise.
648 * math/s_clogl.c: Likewise.
649 * math/s_clog10.c: Include <float.h>.
650 (M_LOG10_2): Define.
651 (__clog10): Scale large or subnormal inputs.
652 * math/s_clog10f.c: Likewise.
653 * math/s_clog10l.c: Likewise.
654 * math/libm-test.inc (clog_test): Add more tests.
655 (clog10_test): Likewise.
656 * sysdeps/i386/fpu/libm-test-ulps: Update.
657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
658
7726d6a9
JM
659 [BZ #11451]
660 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
661 x and y.
662 * math/libm-test.inc (atan2_test): Add another test.
663
83d1aec8
JM
664 * Makerules (common-objdir-compile): Remove.
665 * sysdeps/unix/Makefile (config-generated): Do not add
666 $(unix-generated) to variable.
667 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
668 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
669 Remove rule.
670 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
671 Likewise.
672 [generic bits/local_lim.h] (before-compile): Do not append to
673 variable.
674 [generic bits/local_lim.h] (common-generated): Likewise.
675 [generic sys/param.h] (before-compile): Do not append to variable.
676 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
677 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
678 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
679 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
680 include.
681 [generic sys/param.h] (sys/param.h-includes): Remove variable.
682 [generic sys/param.h] (sys/param.h-includes): Remove rule.
683 [generic sys/param.h] ($(addprefix
684 $(common-objpfx),$(sys/param.h-includes))): Likewise.
685 [generic sys/param.h] (common-generated): Do not append to
686 variable.
687 [generic sys/param.h] (sysdep_headers): Likewise.
688 [generic bits/errno.h] (before-compile): Do not append to
689 variable.
690 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
691 rule.
692 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
693 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
694 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
695 [generic bits/errno.h] (common-generated): Do not append to
696 variable.
697 [generic bits/ioctls.h] (before-compile): Do not append to
698 variable.
699 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
700 rule.
701 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
702 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
703 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
704 rule.
705 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
706 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
707 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
708 [generic bits/ioctls.h] (common-generated): Do not append to
709 variable.
710 [generic sys/syscall.h] (syscall.h): Remove variable.
711 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
712 rule.
713 [generic sys/syscall.h] (before-compile): Do not append to
714 variable.
715 [generic sys/syscall.h] (common-generated): Likewise.
716 * sysdeps/unix/errnos-tmpl.c: Remove file.
717 * sysdeps/unix/errnos.awk: Likewise.
718 * sysdeps/unix/ioctls-tmpl.c: Likewise.
719 * sysdeps/unix/ioctls.awk: Likewise.
720 * sysdeps/unix/mk-local_lim.c: Likewise.
721 * sysdeps/unix/snarf-ioctls: Likewise.
722
4851a949
RH
7232012-03-19 Richard Henderson <rth@twiddle.net>
724
bd37f2ee
RH
725 * sysdeps/i386/fpu/fenv_private.h: New file.
726 * sysdeps/i386/fpu/math_private.h: Use it.
727 (math_opt_barrier, math_force_eval): Remove.
728 (libc_feholdexcept_setround_53bit): Remove.
729 (libc_feupdateenv_53bit): Remove.
730 * sysdeps/x86_64/fpu/math_private.h: Likewise.
731 (math_opt_barrier, math_force_eval): Remove.
732 (libc_feholdexcept): Remove.
733 (libc_feholdexcept_setround): Remove.
734 (libc_fetestexcept, libc_fesetenv): Remove.
735 (libc_feupdateenv_test): Remove.
736 (libc_feupdateenv, libc_feholdsetround): Remove.
737 (libc_feresetround): Remove.
738
d0adc922
RH
739 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
740 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
741
0fe0f1f8
RH
742 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
743 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
744 (libc_feupdateenv_testl): New.
745 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
746 (libc_feupdateenv_testf): New.
747 (libc_feupdateenv): Use libc_feupdateenv_test.
748 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
749 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
750
eb92c487
RH
751 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
752 (libc_feholdsetroundf, libc_feholdsetroundl): New.
753 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
754 (libc_feresetround_noex): New.
755 (libc_feresetround_noexf): New.
756 (libc_feresetround_noexl): New.
757 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
758 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
759 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
760 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
761 SET_RESTORE_ROUND.
762 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
763 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
764 (__cos): Likewise.
765 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
766 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
767 SET_RESTORE_ROUND_NOEX.
768 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
769 SET_RESTORE_ROUND_NOEXF.
770 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
771 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
772 (libc_feholdsetroundf): New.
773 (libc_feresetround, libc_feresetroundf): New.
774
7d2e8012
RH
775 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
776 (libc_feholdexcept_setround_53bit): Convert from macro to function.
777 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
778
b4dabbb4
RH
779 * sysdeps/generic/math_private.h: Include <fenv.h>.
780 (default_libc_feholdexcept): New.
781 (default_libc_feholdexcept_setround): New.
782 (default_libc_fesetenv, default_libc_feupdateenv): New.
783 (libc_feholdexcept): Only define if undefined.
784 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
785 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
786 (libc_feholdexcept_setroundl): Likewise.
787 (libc_feholdexcept_setround_53bit): Likewise.
788 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
789 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
790 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
791 (libc_feupdateenv_53bit): Likewise.
792 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
793 (libc_feholdexcept): Convert from macro to inline function.
794 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
795 (libc_fesetenv, libc_feupdateenv): Likewise.
796
4851a949
RH
797 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
798 not previously defined.
799 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
800 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
801 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
802 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
803 * sysdeps/ieee754/flt-32/math_private.h: New file.
804 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
805 math_private.h below SET_FLOAT_WORD.
806 (__isnan, __isinf_ns, __finite): Remove.
807 (__isnanf, __isinf_nsf, __finitef): Remove.
808
e79d442e
AS
8092012-03-18 Andreas Schwab <schwab@linux-m68k.org>
810
811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
812
90b80344
DM
8132012-03-17 David S. Miller <davem@davemloft.net>
814
815 [BZ #6471]
816 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
817 for 2.16.
818
edc21804
DM
8192012-03-16 David S. Miller <davem@davemloft.net>
820
77e927af
DM
821 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
822 warnings.
823
374976dd
DM
824 [BZ #6471]
825 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
826 properly.
827 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
828 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
829 sysdep_routines when subdir is sysvipc.
830 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
831 __getshmlba helper.
832
edc21804
DM
833 * sysdeps/sparc/fpu/libm-test/ulps: Update.
834
473c3ef3
L
8352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
836
837 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
838 [__LP64__].
839
eb0f39b6
L
8402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
841
842 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
843 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
844 (__lround): Renamed to ...
845 (__llround): This. Replace long int with long long int.
846 Define lround functions as aliases of llround functions.
847 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
848
6b6cd74b
L
8492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
850
851 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
852 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
853 adresses to uintptr_t. Replace "long int" and "unsigned long
854 int" with "greg_t" on va_arg.
855
f1a77b01
L
8562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
857
858 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
859 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
860
861 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
862 Move e_machine check before EI_CLASS check. Handle x32
863 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
864 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
865 SKIP_EM_IA_64 and include
866 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
867
868 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
869 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
870 (add_system_dir): New macro.
871
872 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
873 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
874
11b90b9f
JM
8752012-03-16 Joseph Myers <joseph@codesourcery.com>
876
c36e1d23
JM
877 [BZ #2551]
878 [BZ #2552]
879 [BZ #2553]
880 [BZ #2554]
881 [BZ #2562]
882 [BZ #2563]
883 [BZ #2565]
884 [BZ #2566]
885 [BZ #2576]
886 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
887 (y0): Likewise.
888 * math/w_j0f.c (j0f): Likewise.
889 (y0f): Likewise.
890 * math/w_j0l.c (__j0l): Likewise.
891 (__y0l): Likewise.
892 * math/w_j1.c (j1): Likewise.
893 (y1): Likewise.
894 * math/w_j1f.c (j1f): Likewise.
895 (y1f): Likewise.
896 * math/w_j1l.c (__j1l): Likewise.
897 (__y1l): Likewise.
898 * math/w_jn.c (jn): Likewise.
899 (yn): Likewise.
900 * math/w_jnf.c (jnf): Likewise.
901 (ynf): Likewise.
902 * math/w_jnl.c (__jnl): Likewise.
903 (__ynl): Likewise.
904 * math/libm-test.inc (j0_test): Add more tests.
905 (j1_test): Likewise.
906 (jn_test): Likewise. Add trailing semicolon to existing test.
907 (y0_test): Likewise.
908 (y1_test): Likewise.
909 * sysdeps/i386/fpu/libm-test-ulps: Update.
910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
911
11b90b9f
JM
912 [BZ #13851]
913 [BZ #13854]
914 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
915 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
916 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
917 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
918 (__tanl): Set errno for infinite argument.
919 * sysdeps/i386/fpu/mptan.c: Remove.
920 * sysdeps/i386/fpu/s_tan.S: Likewise.
921 * sysdeps/i386/fpu/s_tanl.S: Likewise.
922 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
923 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
924 * math/libm-test.inc (tan_test): Add more tests and enable more
925 tests for double and long double.
926 * sysdeps/i386/fpu/libm-test-ulps: Update.
927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
928
6a1bd2a1
JK
9292012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
930
931 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
932 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
933
10a803e0
RM
9342012-03-16 Roland McGrath <roland@hack.frob.com>
935
936 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
937 * configure.in: Use it for both main tree and add-ons.
938 * configure: Regenerated.
939
f196c7f7
L
9402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
941
942 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
943
8848d99d
JM
9442012-03-16 Joseph Myers <joseph@codesourcery.com>
945
96cbe7f4
JM
946 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
947 in comment.
948
8848d99d
JM
949 [BZ #13851]
950 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
951 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
952 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
953 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
954 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
955 infinite argument.
956 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
957 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
958 != 0 for prec == 2.
959 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
960 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
961 * sysdeps/i386/fpu/s_cosl.S: Likewise.
962 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
963 * sysdeps/i386/fpu/s_sinl.S: Likewise.
964 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
965 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
966 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
967 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
968 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
969 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
970 * math/libm-test.inc (cos_test): Add more tests and enable more
971 tests for long double.
972 (sin_test): Likewise.
973 (sincos_test): Likewise.
974 * sysdeps/i386/fpu/libm-test-ulps: Update.
975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
976
dd7f4703
DM
9772012-03-16 David S. Miller <davem@davemloft.net>
978
979 * sysdeps/sparc/fpu/math_private.h: New file.
980
006f1daa
DM
9812012-03-15 David S. Miller <davem@davemloft.net>
982
c0c83bc8
DM
983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
984 file.
e6a62e18 985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
987 file.
e6a62e18
DM
988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
989 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
990 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
991 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
992 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
993 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
994 sysdep routines.
995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
996
88cb87d9
DM
997 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
998 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
999
006f1daa 1000 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
1001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1002 sparc-ifunc.h
006f1daa 1003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
1004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1005 Likewise.
1006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1007 Likewise.
006f1daa
DM
1008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
1011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1012 Likewise.
006f1daa
DM
1013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
1017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1018 Likewise.
1019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1020 Likewise.
006f1daa
DM
1021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1025 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1026 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1027 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1028 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1029 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1030 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1034 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1035 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1036 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1037 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1038 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1039 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1040 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1041 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1042 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1043 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1044 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1045
11e0098e
AS
10462012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1047
1048 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1049 scaling.
1050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1051
e85b09d0
AJ
10522012-03-15 Andreas Jaeger <aj@suse.de>
1053
1054 [BZ #13852]
1055 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1056 ieee754/flt-32 implementation for sin, cos and sincos.
1057 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1058 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1059 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1060 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1061 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1062 ieee754/flt-32 implementation for tan.
1063
1064 * math/libm-test.inc (cos_test): Enable some large input tests for
1065 float as well
1066 (sin_test): Likewise.
1067 (sincos_test): Likewise.
1068 (tan_test): Add tests for large input.
1069
1070 * sysdeps/i386/fpu/libm-test-ulps: Update.
1071
81c64153
AJ
10722012-03-15 Andreas Jaeger <aj@suse.de>
1073
1074 [BZ #13658]
1075 * math/libm-test.inc (cos_test): Add more test cases.
1076 (sin_test): Likewise.
1077 (sincos_test): Likewise.
1078
7bbfa5c6
AJ
10792012-03-15 Andreas Jaeger <aj@suse.de>
1080
1081 [BZ #13837]
1082 * math/libm-test.inc (cos_test): Add a test case for large input
1083 value.
1084 (sin_test): Likewise.
1085 (sincos_test): Likewise.
1086
10872012-03-15 Andreas Jaeger <aj@suse.de>,
1088 Joseph Myers <joseph@codesourcery.com>
1089
1090 [BZ #13658]
0671f479 1091 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1092 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1093 * sysdeps/i386/fpu/branred.c: Likewise.
1094 * sysdeps/i386/fpu/dosincos.c: Likewise.
1095 * sysdeps/i386/fpu/mpa.c: Likewise.
1096 * sysdeps/i386/fpu/s_cos.S: Likewise.
1097 * sysdeps/i386/fpu/s_sin.S: Likewise.
1098 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1099 * sysdeps/i386/fpu/sincos32.c: Likewise.
1100
1101 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1102 Define.
1103 (libc_feupdateenv_53bit): Define.
1104 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1105 Define.
1106 (libc_feupdateenv_53bit): Define.
1107
1108 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1109 53 bit (without extend i386 double precision).
1110
1111 * math/libm-test.inc (sincos_test): Add tests for large input.
1112 (sin): Likewise.
1113 (cos): Likewise.
1114
1115 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1116
9cad04ea
AS
11172012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1118
1119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1120
f7062b9a
DM
11212012-03-15 David S. Miller <davem@davemloft.net>
1122
1123 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1124 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1125 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1126 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1131 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1132 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1133 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1135 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1137 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1139 file.
f7062b9a 1140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1142 file.
f7062b9a 1143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1145 file.
f7062b9a 1146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1148 file.
f7062b9a
DM
1149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1150 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1151 fmin/fmax sysdep routines.
1152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1153
7bd951ff
DM
11542012-03-14 David S. Miller <davem@davemloft.net>
1155
559398ab
DM
1156 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1157 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1158 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1159 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1160 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1161 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1162 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1163 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1164 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1165 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1166 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1167 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1168 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1169 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1170 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1171 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1172 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1173 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1174 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1175 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1176 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1177 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1178 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1179 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1180 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1181 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1182 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1183 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1184 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1185 routines.
1186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1187 file.
559398ab 1188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
1189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1190 file.
559398ab 1191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
1192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1193 file.
559398ab 1194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
1195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1196 file.
559398ab 1197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
1198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1199 file.
559398ab 1200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
1201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1202 file.
1203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1204 file.
1205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1206 file.
1207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1208 file.
1209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1210 New file.
1211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1212 file.
1213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1214 file.
559398ab 1215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
1216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1217 file.
559398ab 1218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1220 file.
559398ab 1221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
1222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1223 file.
559398ab 1224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
1225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1226 VIS3 routines.
559398ab
DM
1227
1228 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1229 New file.
1230
5a1c1e32
DM
1231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1232
eae47a36
DM
1233 * sysdeps/sparc/configure.in: New file.
1234 * sysdeps/sparc/configure: Generate.
1235 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1236 * configure: Regenerate.
1237 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1238 * config.make.in (have-as-vis3): New.
1239 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1240 available use -Av9d instead of -Av9a.
1241 * sysdeps/sparc/sparc64/Makefile: Likewise.
1242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
1243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1244 New file.
1245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1246 file.
1247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1248 New file.
1249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1250 file.
eae47a36
DM
1251 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1252 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1253 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1254 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1255 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1256
c0c83bc8
DM
1257 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1258 fzeros/fnegs to load 0x80000000 into a float register instead of
1259 using the stack.
7bd951ff
DM
1260 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1261
bd951ccb
JM
12622012-03-14 Joseph Myers <joseph@codesourcery.com>
1263
1264 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1265 bits/syscall.h.
1266 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1267 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1268 ($(inst_includedir)/bits/syscall.h): Remove rule.
1269 ($(objpfx)bits/syscall.d): Include instead of
1270 $(objpfx)syscall-list.d.
1271 (generated): Change syscall-list.h and syscall-list.d to
1272 bits/syscall.h and bits/syscall.d.
1273
bb4e6db2
RM
12742012-03-14 Roland McGrath <roland@hack.frob.com>
1275
1276 [BZ #13846]
1277 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1278
aa4a2ae1
JM
12792012-03-14 Joseph Myers <joseph@codesourcery.com>
1280
e456826d
JM
1281 [BZ #13841]
1282 * math/s_csqrt.c: Include <float.h>.
1283 (__csqrt): Scale large or subnormal inputs.
1284 * math/s_csqrtf.c: Likewise.
1285 * math/s_csqrtl.c: Likewise.
1286 * math/libm-test.inc (csqrt_test): Add more tests.
1287 * sysdeps/i386/fpu/libm-test-ulps: Update.
1288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1289
aa4a2ae1
JM
1290 [BZ #13840]
1291 * math/libm-test.inc (hypot_test): Add more tests.
1292
7c10fd35
DM
12932012-03-13 David S. Miller <davem@davemloft.net>
1294
1295 [BZ #13840]
1296 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1297 double-precision for the calculation instead of scaling.
1298
f453b98b
JM
12992012-03-13 Joseph Myers <joseph@codesourcery.com>
1300
1301 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1302 manipulate bits before adding and subtracting TWO52[sx].
1303 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1304 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1305 Likewise.
1306 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1307
09a3453f
DM
13082012-03-13 David S. Miller <davem@davemloft.net>
1309
8e59da90
DM
1310 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1311 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1312 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1313 rtld-global-offsets.h
1314 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1315
2a8ab7f2
DM
1316 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1317 large parameters.
1318
10f62770
DM
1319 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1320
5f0bdb18
DM
1321 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1322 'err' in the ifdef scope in which it is actually used.
1323
09a3453f
DM
1324 * nss/nss_db/db-init.c: Include string.h
1325
b4b2eb5e
DM
13262012-03-12 David S. Miller <davem@davemloft.net>
1327
98bb2f1c
DM
1328 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1329 masking out of the most significant byte of random value used.
1330 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1331 Fix coding style in previous change.
1332
b4b2eb5e
DM
1333 * sysdeps/unix/sysv/linux/kernel-features.h
1334 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1335 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1336 expression.
1337 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1338 later.
1339
6e226b09
DM
13402012-03-11 David S. Miller <davem@davemloft.net>
1341
a1bcbd40
DM
1342 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1343 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1344 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1345 for 'resultvar' otherwise things get truncated on 64-bit.
1346
cb9d6174
DM
1347 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1348 Fix masking out of the most significant byte of random value used.
1349
6e226b09
DM
1350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1351
058c132d
AS
13522012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1353
1354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1355
2d2cd515
DM
13562012-03-09 David S. Miller <davem@davemloft.net>
1357
1358 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1359 variables with appropriate CPP guards.
1360 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1361 frame pointer, not the stack pointer. Correct layout comments. Fix test
1362 on resulting framesize and the management of the outregs buffer for pltexit.
1363 Preserve floating point return values across _dl_call_pltexit call.
1364 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1365 framesize and the management of the outregs buffer for pltexit.
1366 Preserve floating point return values across _dl_call_pltexit
1367 call.
1368 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1369 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1370 (print_exit): Fix format string for return register value.
1371
9a07f9d0
JM
13722012-03-10 Joseph Myers <joseph@codesourcery.com>
1373
1374 * sunrpc/Makefile (others): Add rpcgen.
1375 ($(objpfx)rpcgen): Remove special build rule and dependency on
1376 libc.
1377 * sunrpc/rpcgen.c: New file.
1378
547b5e30
PE
13792012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1380
c524201a
PE
1381 [BZ #13673]
1382 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1383 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1384 * sysdeps/i386/crti.S: Likewise.
1385 * sysdeps/i386/crtn.S: Likewise.
1386 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1387 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1388 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1389 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1390 * sysdeps/sh/crti.S: Likewise.
1391 * sysdeps/sh/crtn.S: Likewise.
1392 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1393
7b6235f2
PE
1394 [BZ #13673]
1395 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1396 with URL.
1397 * locale/programs/locfile-kw.gperf: Likewise.
1398 * locale/programs/charmap-kw.h: Regenerated.
1399 * locale/programs/locfile-kw.h: Likewise.
1400
547b5e30
PE
1401 [BZ #13673]
1402 * intl/plural.y: Replace FSF snail mail address with URL.
1403 * intl/plural.c: Regenerated.
1404
5f0a5dae
RH
14052012-03-09 Richard Henderson <rth@twiddle.net>
1406
1407 * include/math_private.h: Remove file.
1408 * math/math_private.h: Move file ...
1409 * sysdeps/generic/math_private.h: ... here.
1410
b8c03620
RH
1411 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1412 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1413 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1414
4e234f5d 1415 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
1416 and <math_private.h>.
1417 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1418 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1419 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1420 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1421 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1422 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1423 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1424 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1425 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1426 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1427 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1428 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1429 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1430 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1431 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1432 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1433 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1434 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1435 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1436 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1437 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1438 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1439 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1440 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1441 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1442 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1443 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1444 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1445 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1446 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1447 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1448 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1449 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1450 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1451 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1452 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1453 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1454 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1455 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1456 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1457 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1458 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1459 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1460 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1461 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1462 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1463 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1464 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1465 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1466 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1467 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1468 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1469 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1470 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1471 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1472 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1473 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1474 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1475 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1476 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1477 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1478 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1479 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1480 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1481 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1482 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1483 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1484 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1485 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1486 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1487 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1488 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1489 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1490 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1491 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1492 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1493 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1494 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1495 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1496 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1497 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1498 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1499 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1500 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1501 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1502 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1503 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1504 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1505 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1506 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1507 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1508 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1509 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1510 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1511 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1512 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1513 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1514 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1515 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1516 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1517 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1518 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1519 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1520 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1521 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1522 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1523 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1524 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1525 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1526 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1527 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1528 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1529 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1530 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1531 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1532 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1533 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1534 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1535 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1536 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1537 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1538 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1539 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1540 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1541 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1542 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1543 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1544 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1545 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1546 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1547 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1548 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1549 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1550 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1551 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1552 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1553 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1554 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1555 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1556 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1557 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1558 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1559 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1560 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1561 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1562 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1563 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1564 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1565 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1566 * sysdeps/ieee754/k_standard.c: Likewise.
1567 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1568 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1569 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1570 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1571 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1572 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1573 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1574 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1575 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1576 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1577 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1578 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1579 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1580 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1581 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1582 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1583 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1584 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1585 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1586 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1587 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1588 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1589 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1590 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1591 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1592 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1593 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1594 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1595 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1596 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1597 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1598 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1599 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1600 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1601 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1602 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1603 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1604 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1605 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1606 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1607 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1608 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1609 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1610 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1611 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1612 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1613 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1614 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1615 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1616 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1617 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1618 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1619 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1620 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1621 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1622 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1623 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1624 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1625 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1626 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1627 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1628 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1629 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1630 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1631 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1632 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1633 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1634 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1635 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1636 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1637 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1638 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1639 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1640 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1641 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1642 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1643 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1644 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1645 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1646 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1647 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1648 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1649 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1650 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1651 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1652 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1653 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1654 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1655 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1656 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1657 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1658 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1659 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1660 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1661 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1662 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1663 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1664 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1665 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1666 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1667 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1668 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1669 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1670 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1671 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1672 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1673 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1674 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1675 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1676 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1677 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1678 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1679 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1680 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1681 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1682 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1683 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1684 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1685 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1686 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1687 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1688 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1689 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1690 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1691 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1692 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1693 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1694 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1695 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1696 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1697 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1698 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1699 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1700 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1701 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1702 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1703 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1704 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1705 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1706 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1707 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1708 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1709 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1710 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1711 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1712 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1713 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1714 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1715 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1716 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1717 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1718 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1719 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1720 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1721 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1722 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1723 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1724 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1725 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1726 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1727 * sysdeps/ieee754/s_lib_version.c: Likewise.
1728 * sysdeps/ieee754/s_matherr.c: Likewise.
1729 * sysdeps/ieee754/s_signgam.c: Likewise.
1730 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1731 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1732 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1733 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1734 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1735 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1736 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1737 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1738 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1739 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1740 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1741 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1742 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1743 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1744 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1745 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1746 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1747 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1748 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1749 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1750 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 1751
1991fa03
JM
17522012-03-09 Joseph Myers <joseph@codesourcery.com>
1753
1754 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1755 * sunrpc/rpc_main.c: Likewise.
1756 * sunrpc/rpc_svcout.c: Likewise.
1757
60d6f5a6
DM
17582012-03-09 David S. Miller <davem@davemloft.net>
1759
1760 * include/math_private.h: New file.
1761
4962050e
JM
17622012-03-09 Joseph Myers <joseph@codesourcery.com>
1763
02a6f887
JM
1764 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1765 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1766 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1767 from <bits/socket_type.h>.
1768 (enum __socket_type): Don't define here.
1769 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1770 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1771 bits/socket_type.h.
1772
c6e013c1
JM
1773 [BZ #13566]
1774 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1775 checking __USE_GNU.
1776
4962050e
JM
1777 * Makerules ($(inst_includedir)/%.h): New rule.
1778 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1779 (install-others): Remove variable setting.
1780 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1781
38842f45
RH
17822012-03-08 Richard Henderson <rth@twiddle.net>
1783
67bb6da6
RH
1784 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1785 from macro to inline function; merge with the
1786 !__LIBC_INTERNAL_MATH_INLINES version.
1787 (__ieee754_sqrtf): Likewise.
1788
15194b4b
RH
1789 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1790 to inline function.
1791 (__rintf, __floor, __floorf): Likewise.
1792
64e21ede
RH
1793 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1794 macro to inline function.
1795 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1796
38842f45
RH
1797 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1798 not <math/math_private.h>.
1799
c64bf5fe
DM
18002012-03-08 David S. Miller <davem@davemloft.net>
1801
1802 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1803 copyright year.
1804 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1805
82d86f28
TS
18062012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1807
1808 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1809 normalization.
1810 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1811 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1812
aea5d727
UD
18132012-03-08 Ulrich Drepper <drepper@gmail.com>
1814
1815 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1816 be defined individually, they must be defined as a block. Define
1817 S for printing a string instead of hidint the different by using a
1818 macro for adding the 'l'.
1819 * stdio-common/tst-fphex-wide.c: Adjust.
1820
70bca0a3
MP
18212012-03-07 Marek Polacek <polacek@redhat.com>
1822
1823 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1824
65b81130
MP
18252012-03-08 Marek Polacek <polacek@redhat.com>
1826
1827 [BZ #13806]
1828 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1829 * stdio-common/tst-fphex.c: Define a few macros to make the
1830 test reusable. Use them.
1831 * stdio-common/tst-fphex-wide.c: New file.
1832
07037eeb
JM
18332012-03-08 Joseph Myers <joseph@codesourcery.com>
1834
a7a93d50
JM
1835 [BZ #6911]
1836 * manual/macros.texi (gnusystems): New macro.
1837 (nongnusystems): Likewise.
1838 (gnulinuxhurdsystems): Likewise.
1839 (gnuhurdsystems): Likewise..
1840 (gnulinuxsystems): Likewise.
1841 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1842 variants of the GNU system, not "GNU system".
1843 * manual/conf.texi: Likewise.
1844 * manual/errno.texi: Likewise. Update example of errno macro
1845 expansion.
1846 * manual/filesys.texi: Likewise.
1847 (getumask): Document as specific to GNU/Hurd.
1848 * manual/install.texi: Likewise. Reword some references to
1849 GNU/Linux.
1850 * manual/intro.texi: Likewise.
1851 * manual/io.texi: Likewise.
1852 (File Name Portability): Detail which constraints are inapplicable
1853 to all GNU systems and which are only inapplicable to GNU/Hurd.
1854 * manual/job.texi: Likewise.
1855 * manual/llio.texi: Likewise.
1856 (O_NOCTTY): Document as present on GNU/Linux.
1857 * manual/maint.texi: Likewise.
1858 * manual/memory.texi: Likewise.
1859 * manual/pattern.texi: Likewise.
1860 * manual/pipe.texi: Likewise.
1861 * manual/process.texi: Likewise.
1862 * manual/resource.texi: Likewise.
1863 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1864 child on GNU/Hurd.
1865 * manual/setjmp.texi: Likewise.
1866 * manual/signal.texi: Likewise.
1867 * manual/startup.texi: Likewise.
1868 * manual/stdio.texi: Likewise.
1869 * manual/terminal.texi: Likewise.
1870 (ONLCR): Document as POSIX.
1871 (OXTABS): Document availability on GNU/Linux as XTABS.
1872 (ONOEOT): Document availability separately from other bits.
1873 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1874 * manual/time.texi: Likewise.
1875 * manual/users.texi: Likewise.
1876 * INSTALL: Regenerated.
1877 * sysdeps/gnu/errlist.c: Regenerated.
1878
07037eeb
JM
1879 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1880 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1881 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1882 puts.
1883 * configure: Regenerated.
1884
d1d3431a
JM
18852012-03-07 Joseph Myers <joseph@codesourcery.com>
1886
af6a1e37
JM
1887 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1888 default includes instead of AC_HEADER_CHECK.
1889 * sysdeps/i386/configure: Regenerated.
1890
d1d3431a
JM
1891 [BZ #10716]
1892 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1893 * math/s_cacoshf.c (__cacoshf): Likewise.
1894 * math/s_cacoshl.c (__cacoshl): Likewise.
1895 * math/s_casinh.c (__casinh): Set signs of result from argument.
1896 * math/s_casinhf.c (__casinhf): Likewise.
1897 * math/s_casinhl.c (__casinhl): Likewise.
1898 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1899 (casinh_test): Add more tests.
1900 * sysdeps/i386/fpu/libm-test-ulps: Update.
1901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1902
482ff4da
UD
19032012-03-07 Ulrich Drepper <drepper@gmail.com>
1904
872fda05
UD
1905 * po/zh_TW.po: Update from translation team.
1906
a4300c7a
UD
1907 * login/Makefile (distribute): Remove variable.
1908 * catgets/Makefile: Likewise.
1909 * mach/Makefile: Likewise.
1910 * malloc/Makefile: Likewise.
1911 * misc/Makefile: Likewise.
1912 * iconv/Makefile: Likewise.
1913 * nscd/Makefile: Likewise.
1914 * hurd/Makefile: Likewise.
1915 * manual/Makefile: Likewise.
1916 * locale/Makefile: Likewise.
1917 * intl/Makefile: Likewise.
1918 * conform/Makefile: Likewise.
1919 * nss/Makefile: Likewise.
1920 * time/Makefile: Likewise.
1921 * soft-fp/Makefile: Likewise.
1922 * dirent/Makefile: Likewise.
1923 * gmon/Makefile: Likewise.
1924 * po/Makefile: Likewise.
1925 * rt/Makefile: Likewise.
1926 * socket/Makefile: Likewise.
1927 * math/Makefile: Likewise.
1928 * signal/Makefile: Likewise.
1929 * debug/Makefile: Likewise.
1930 * elf/Makefile: Likewise.
1931 * timezone/Makefile: Likewise.
1932 * stdlib/Makefile: Likewise.
1933 * iconvdata/Makefile: Likewise.
1934 * sunrpc/Makefile: Likewise.
1935 * io/Makefile: Likewise.
1936 * argp/Makefile: Likewise.
1937 * inet/Makefile: Likewise.
1938 * hesiod/Makefile: Likewise.
1939 * grp/Makefile: Likewise.
1940 * csu/Makefile: Likewise.
1941 * wctype/Makefile: Likewise.
1942 * crypt/Makefile: Likewise.
1943 * libio/Makefile: Likewise.
1944 * string/Makefile: Likewise.
1945 * nis/Makefile: Likewise.
1946 * resolv/Makefile: Likewise.
1947 * stdio-common/Makefile: Likewise.
1948 * wcsmbs/Makefile: Likewise.
1949 * dlfcn/Makefile: Likewise.
1950 * posix/Makefile: Likewise.
1951
482ff4da
UD
1952 * timezone/Makefile: Don't install timezone files, just the programs
1953 and scripts.
1954
f72ed77d
UD
19552012-03-06 Ulrich Drepper <drepper@gmail.com>
1956
a000466f
UD
1957 * nss/databases.def: Add missing gshadow entry.
1958
f72ed77d
UD
1959 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
1960
a53b7a4e
MP
19612012-03-06 Marek Polacek <polacek@redhat.com>
1962
1963 [BZ #13726]
1964 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1965 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1966 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1967 * stdio-common/tst-long-dbl-fphex.c: New file.
1968
e9258400
DM
19692012-03-06 David S. Miller <davem@davemloft.net>
1970
1971 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1972 (set_obp_int): New function.
1973 (get_obp_int): New function.
1974 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
1975 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
1976 Avoid unused variable warnings on 'val' and use builtin_expect.
1977 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1978 __builtin_expect.
e9258400
DM
1979 (INLINE_CLONE_SYSCALL): Likewise.
1980
3bd2c723
DM
19812012-03-05 David S. Miller <davem@davemloft.net>
1982
1983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1984
bbb78d03
AS
19852012-03-05 Andreas Schwab <schwab@linux-m68k.org>
1986
884c5db4
AS
1987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1988
bbb78d03
AS
1989 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
1990 only for |x| >= 40.
1991 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1992
1c9f702a 19932012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
1994
1995 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
1996 Replace gettimeofday with __vdso_gettimeofday.
1997
7be16f82
RM
1998 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1999 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2000 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
2001
2002 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2003 time with __vdso_time.
2004
ed58a00f
JM
20052012-03-05 Joseph Myers <joseph@codesourcery.com>
2006
2007 * manual/lang.texi (size_t): Note types to which size_t may be
2008 equivalent with the GNU C Library, but do not describe when
2009 differences between them are significant.
2010
30ee4ced
AJ
20112012-03-05 Andreas Jaeger <aj@suse.de>
2012
2013 * sysdeps/i386/fpu/libm-test-ulps: Update.
2014
b7cd39e8
JM
20152012-03-05 Joseph Myers <joseph@codesourcery.com>
2016
2017 [BZ #3976]
2018 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2019 (__ieee754_pow): Save and restore rounding mode and use
2020 round-to-nearest for main computations.
2021 * math/libm-test.inc (pow_test_tonearest): New function.
2022 (pow_test_towardzero): Likewise.
2023 (pow_test_downward): Likewise.
2024 (pow_test_upward): Likewise.
2025 (main): Call the new functions.
2026 * sysdeps/i386/fpu/libm-test-ulps: Update.
2027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
2028
2029 [BZ #3976]
2030 * math/libm-test.inc (cosh_test_tonearest): New function.
2031 (cosh_test_towardzero): Likewise.
2032 (cosh_test_downward): Likewise.
2033 (cosh_test_upward): Likewise.
2034 (sinh_test_tonearest): Likewise.
2035 (sinh_test_towardzero): Likewise.
2036 (sinh_test_downward): Likewise.
2037 (sinh_test_upward): Likewise.
2038 (main): Call the new functions.
2039 * sysdeps/i386/fpu/libm-test-ulps: Update.
2040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2041
6c6a98c9
TV
20422012-03-05 Tom de Vries <tom@codesourcery.com>
2043
2044 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2045 default stack guard is set in last bytes.
2046 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2047
21bb2d2e 20482012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2049
21bb2d2e 2050 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2051
21bb2d2e
AJ
2052 [BZ #13656]
2053 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2054 possibly allocate from heap instead of stack.
2055 * stdio-common/bug-vfprintf-nargs.c: New file.
2056 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2057
c6922934
AS
20582012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2059
2060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2061
bc957d53
MP
20622012-03-03 Marek Polacek <polacek@redhat.com>
2063
2064 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2065 * math/math_private.h: Likewise.
2066 * stdlib/tst-strtod.c: Likewise.
2067 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2068 * sysdeps/x86_64/bits/atomic.h: Likewise.
2069
6358490d
DM
20702012-03-02 David S. Miller <davem@davemloft.net>
2071
2072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2076 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2077 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2078 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2079 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2080
01ae168d
RM
20812012-03-02 Roland McGrath <roland@hack.frob.com>
2082
d9a17c07
RM
2083 [BZ #13792]
2084 * manual/examples/README: New file, says the example source files
2085 can be used under GPL>=2.
2086 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2087 line containing just "*/".
2088 * manual/examples/add.c: Add copyright header (GPL>=2).
2089 * manual/examples/argp-ex1.c: Likewise.
2090 * manual/examples/argp-ex2.c: Likewise.
2091 * manual/examples/argp-ex3.c: Likewise.
2092 * manual/examples/argp-ex4.c: Likewise.
2093 * manual/examples/atexit.c: Likewise.
2094 * manual/examples/db.c: Likewise.
2095 * manual/examples/dir.c: Likewise.
2096 * manual/examples/dir2.c: Likewise.
2097 * manual/examples/execinfo.c: Likewise.
2098 * manual/examples/filecli.c: Likewise.
2099 * manual/examples/filesrv.c: Likewise.
2100 * manual/examples/fmtmsgexpl.c: Likewise.
2101 * manual/examples/genpass.c: Likewise.
2102 * manual/examples/inetcli.c: Likewise.
2103 * manual/examples/inetsrv.c: Likewise.
2104 * manual/examples/isockad.c: Likewise.
2105 * manual/examples/longopt.c: Likewise.
2106 * manual/examples/memopen.c: Likewise.
2107 * manual/examples/memstrm.c: Likewise.
2108 * manual/examples/mkfsock.c: Likewise.
2109 * manual/examples/mkisock.c: Likewise.
2110 * manual/examples/mygetpass.c: Likewise.
2111 * manual/examples/pipe.c: Likewise.
2112 * manual/examples/popen.c: Likewise.
2113 * manual/examples/rprintf.c: Likewise.
2114 * manual/examples/search.c: Likewise.
2115 * manual/examples/select.c: Likewise.
2116 * manual/examples/setjmp.c: Likewise.
2117 * manual/examples/sigh1.c: Likewise.
2118 * manual/examples/sigusr.c: Likewise.
2119 * manual/examples/stpcpy.c: Likewise.
2120 * manual/examples/strdupa.c: Likewise.
2121 * manual/examples/strftim.c: Likewise.
2122 * manual/examples/strncat.c: Likewise.
2123 * manual/examples/subopt.c: Likewise.
2124 * manual/examples/swapcontext.c: Likewise.
2125 * manual/examples/termios.c: Likewise.
2126 * manual/examples/testopt.c: Likewise.
2127 * manual/examples/testpass.c: Likewise.
2128 * manual/examples/timeval_subtract.c: Likewise.
2129
01ae168d
RM
2130 [BZ #13792]
2131 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2132 function to ...
2133 * manual/timeval_subtract.c.texi: ... here, new file.
2134
49efa33d
DM
21352012-03-02 David S. Miller <davem@davemloft.net>
2136
2137 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2138
28afd92d
JM
21392012-03-02 Joseph Myers <joseph@codesourcery.com>
2140
804360ed
JM
2141 [BZ #3976]
2142 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2143 (__sin): Save and restore rounding mode and use round-to-nearest
2144 for all computations.
2145 (__cos): Save and restore rounding mode and use round-to-nearest
2146 for all computations.
2147 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2148 <fenv.h>.
2149 (tan): Save and restore rounding mode and use round-to-nearest for
2150 all computations.
2151 * math/libm-test.inc (cos_test_tonearest): New function.
2152 (cos_test_towardzero): Likewise.
2153 (cos_test_downward): Likewise.
2154 (cos_test_upward): Likewise.
2155 (sin_test_tonearest): Likewise.
2156 (sin_test_towardzero): Likewise.
2157 (sin_test_downward): Likewise.
2158 (sin_test_upward): Likewise.
2159 (tan_test_tonearest): Likewise.
2160 (tan_test_towardzero): Likewise.
2161 (tan_test_downward): Likewise.
2162 (tan_test_upward): Likewise.
2163 (main): Call the new functions.
2164 * sysdeps/i386/fpu/libm-test-ulps: Update.
2165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2166
a6d06d7b
JM
2167 [BZ #10135]
2168 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2169 small n, then large n, before computing and testing k+n.
2170 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2171 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2172 Likewise.
2173 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2174 Likewise.
2175 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2176 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2177 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2178 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2179 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2180 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2181 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2182 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2183 * math/libm-test.inc (scalbn_test): Add more tests.
2184 (scalbln_test): Likewise.
2185
07e12bb3
JM
2186 * manual/filesys.texi (mode_t): Describe constraints on size and
2187 signedness, not exact equivalence to a particular type.
2188 (ino_t): Likewise.
2189 (ino64_t): Likewise.
2190 (dev_t): Likewise.
2191 (nlink_t): Likewise.
2192 (blkcnt_t): Likewise.
2193 (blkcnt64_t): Likewise.
2194 * manual/llio.texi (off_t): Likewise.
2195
28afd92d
JM
2196 [BZ #3976]
2197 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2198 (__ieee754_exp): Save and restore rounding mode and use
2199 round-to-nearest for all computations.
2200 * math/libm-test.inc (exp_test_tonearest): New function.
2201 (exp_test_towardzero): Likewise.
2202 (exp_test_downward): Likewise.
2203 (exp_test_upward): Likewise.
2204 (main): Call the new functions.
2205 * sysdeps/i386/fpu/libm-test-ulps: Update.
2206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2207
b1eeb65d
CD
22082012-03-01 Chris Demetriou <cgd@google.com>
2209
2210 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2211 have predictable order.
2212
53362a4b
DM
22132012-03-01 David S. Miller <davem@davemloft.net>
2214
3c969083
DM
2215 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2216
759707de
DM
2217 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2218 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2219 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2220 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2221
dfdb8ff2
DM
2222 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2223 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2224 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2226 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2227 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2228 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2229 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2230 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2231
ead89f96
DM
2232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2233
7f66bd07
DM
2234 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2235 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2236 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2237
53362a4b
DM
2238 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2239 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2240 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2241 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2242 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2243 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2244 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2245 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2246 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2247 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2248 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2249 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2250 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2251 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2252 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2253 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2254 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2255 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2256 * sysdeps/sparc/elf/configure: Regenerated.
2257
7b1902cb
JM
22582012-03-01 Joseph Myers <joseph@codesourcery.com>
2259
bec039bc
JM
2260 * configure.in (AS, LD): Require binutils 2.20 or later.
2261 * configure: Regenerated.
2262 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2263 as required minimum version.
2264 * INSTALL: Regenerated.
2265
7b1902cb
JM
2266 [BZ #2541]
2267 [BZ #4108]
2268 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2269 before squaring exponent.
2270 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2271 bottom long double and 27 bits of top long double before squaring
2272 exponent.
2273 * math/libm-test.inc (erfc_test): Add more tests.
2274 * sysdeps/i386/fpu/libm-test-ulps: Update.
2275 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2277
f775c276
KT
22782012-03-01 Kai Tietz <ktietz@redhat.com>
2279
2280 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2281 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2282 containing bit-fields.
2283 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2284 * soft-fp/single.h (_FP_UNION_S): Likewise.
2285 * soft-fp/double.h (_FP_UNION_D): Likewise.
2286
5b8a4d4a
JM
22872012-02-29 Joseph Myers <joseph@codesourcery.com>
2288
0bab47b6
JM
2289 [BZ #13786]
2290 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2291 not include ../strcmp.S.
2292 [USE_AS_STRNCASECMP_L]: Likewise.
2293 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2294 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2295 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2296 (__strncasecmp_l_ia32): Define as alias to
2297 __strncasecmp_l_nonascii.
2298
0fcad3e2
JM
2299 [BZ #5794]
2300 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2301 * sysdeps/i386/fpu/libm-test-ulps: Update.
2302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2303
5b8a4d4a
JM
2304 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2306
8fdceb2e
JL
23072012-02-29 Jeff Law <law@redhat.com>
2308
2309 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2310 out of bounds read.
2311
1f393a11
MP
23122012-02-29 Marek Polacek <polacek@redhat.com>
2313
2314 [BZ #13706]
2315 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2316 * elf/Makefile: Add rules to run tst-unused-dep.out.
2317
8847f037
DM
23182012-02-28 David S. Miller <davem@davemloft.net>
2319
2320 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2321 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2322 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2323 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2324 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2325 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2326
169d7f11
JM
23272012-02-29 Joseph Myers <joseph@codesourcery.com>
2328
2329 * math/libm-test.inc (llround_test): Move one test from
2330 lround_test. Use TEST_f_L in moved test.
2331 (lround_test): Move misplaced test to llround_test. Add testcase
2332 from bug 2561.
2333
39adf059
UD
23342012-02-28 Ulrich Drepper <drepper@gmail.com>
2335
2336 * sysdeps/x86_64/fpu/e_expf.S: New file.
2337 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2338
71b5d1c5
SB
23392012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2340
2341 [BZ #13637]
2342 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2343 of remain_len that may cause incomplete multi-byte character and
2344 false match.
2345 * posix/bug-regex33.c: New file.
2346 * posix/Makefile (tests): Add bug-regex33.
2347
1f77f049
JM
23482012-02-28 Joseph Myers <joseph@codesourcery.com>
2349
2350 * manual/macros.texi: New file.
2351 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2352 * manual/libc.texinfo: Include macros.texi.
2353 * manual/creatute.texi: Likewise.
2354 * manual/install.texi: Likewise.
2355 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2356 @glibcadj{} in references to the GNU C Library.
2357 * manual/charset.texi: Likewise.
2358 * manual/conf.texi: Likewise.
2359 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2360 when not using those macros.
2361 * manual/creature.texi: Likewise.
2362 * manual/crypt.texi: Likewise.
2363 * manual/errno.texi: Likewise.
2364 * manual/filesys.texi: Likewise.
2365 * manual/header.texi: Likewise.
2366 * manual/install.texi: Likewise.
2367 * manual/intro.texi: Likewise.
2368 * manual/io.texi: Likewise.
2369 * manual/job.texi: Likewise.
2370 * manual/lang.texi: Likewise.
2371 * manual/libc.texiinfo: Likewise.
2372 * manual/llio.texi: Likewise.
2373 * manual/locale.texi: Likewise.
2374 * manual/maint.texi: Likewise.
2375 * manual/math.texi: Likewise.
2376 * manual/memory.texi: Likewise.
2377 * manual/message.texi: Likewise.
2378 * manual/nss.texi: Likewise.
2379 * manual/pattern.texi: Likewise.
2380 * manual/process.texi: Likewise.
2381 * manual/resource.texi: Likewise.
2382 * manual/search.texi: Likewise.
2383 * manual/setjmp.texi: Likewise.
2384 * manual/signal.texi: Likewise.
2385 * manual/socket.texi: Likewise.
2386 * manual/startup.texi: Likewise.
2387 * manual/stdio.texi: Likewise.
2388 * manual/string.texi: Likewise.
2389 * manual/sysinfo.texi: Likewise.
2390 * manual/syslog.texi: Likewise.
2391 * manual/terminal.texi: Likewise.
2392 * manual/time.texi: Likewise.
2393 * manual/users.texi: Likewise.
2394 * INSTALL: Regenerated.
2395 * NOTES: Regenerated.
d40c5d54 2396 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 2397
450bf206
AS
23982012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2399
2400 * include/dirent.h: Include <dirstream.h> before
2401 <dirent/dirent.h>.
2402
741a235b
DM
24032012-02-28 David S. Miller <davem@davemloft.net>
2404
2405 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2406 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2407 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2408 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2409
d6b5aa58
DM
24102012-02-27 David S. Miller <davem@davemloft.net>
2411
1aff59a3
DM
2412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2414 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2415 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2416
d6b5aa58
DM
2417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2418 frame pointer instead of stack pointer relative arg slot.
2419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2420 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2421 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2422
433f48bf
CD
24232012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2424
2425 [BZ #3992]
2426 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2427
d674b76d
DM
24282012-02-27 David S. Miller <davem@davemloft.net>
2429
2430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2434 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2435 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2436 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2437 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2438
0e7727f7
JM
24392012-02-27 Joseph Myers <joseph@codesourcery.com>
2440
2441 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2442 later. Allow versions 5-9.
43be4ca2 2443 * configure: Regenerated.
0e7727f7
JM
2444 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2445 required minimum version and 4.6 as recommended version. Do not
2446 mention bugs in GCC 2.7 and 2.8.
43be4ca2 2447 * INSTALL: Regenerated.
0e7727f7 2448
a78bc654
DM
24492012-02-27 David S. Miller <davem@davemloft.net>
2450
428d5830
DM
2451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2455 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2456 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2457 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2458 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2459
a78bc654
DM
2460 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2461 manipulate bits before adding and subtracting TWO112[sx].
2462 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2463
4579f81c
RM
24642012-02-27 Roland McGrath <roland@hack.frob.com>
2465
36c8acb4
RM
2466 [BZ #13775]
2467 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2468 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2469 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2470 being in POSIX, because they are in 1003.1-2008.
2471
84ad622b
RM
2472 * rt/tst-aio.c: Include <fcntl.h>.
2473 * rt/tst-aio7.c: Likewise.
2474 * rt/tst-aio64.c: Likewise.
2475
4579f81c
RM
2476 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2477
abd923db
JM
24782012-02-27 Joseph Myers <joseph@codesourcery.com>
2479
2480 * manual/install.texi (--with-headers): Describe headers as
2481 interface headers, not private headers.
2482 (Specific advice for GNU/Linux systems): Describe use of headers
2483 from "make headers_install", not private headers from older
2484 kernels.
43be4ca2 2485 * INSTALL: Regenerated.
abd923db
JM
2486 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2487 Change to 2.6.19.
2488 * sysdeps/unix/sysv/linux/configure: Regenerated.
2489
6664049b
JM
2490 * manual/llio.texi (fclean): Remove documentation.
2491
bb8b6697
JM
2492 * manual/Makefile (libc-texi-generated): New variable. Include
2493 version.texi.
2494 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2495 $(libc-texi-generated), not duplicated list of files.
2496 (version.texi, stamp-version): New rules.
2497 (realclean): Remove $(libc-texi-generated), not individual files
2498 from that list. Do not remove dir-add.texinfo.
2499 * manual/libc.texinfo: Comment out uses of edition numbers and
2500 references to printed manual. Remove last-updated dates.
2501 (EDITION): Comment out.
2502 (ISBN): Likewise.
2503 (VERSION, UPDATED): Remove.
2504 (version.texi): Include.
2505
12e5c3b9
AS
25062012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2507
2508 * sysdeps/posix/spawni.c: Include <signal.h>.
2509 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2510 * sysdeps/pthread/aio_fsync.c: Likewise.
2511
4efeffc1 25122012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 2513
ba63ba08
UD
2514 * conform/Makefile (tests): Run only when not cross-compiling and
2515 when fast-check is not defined.
2516
d94a4670
UD
2517 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2518 * conform/data/limits.h-data: Fixes for POSIX2008.
2519 * conform/run-conformtest.sh: Run all tests.
2520 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2521 headers.
2522 * include/bits/dlfcn.h: Likewise.
2523 * include/langinfo.h: Likewise.
2524 * include/monetary.h: Likewise.
2525 * include/sys/poll.h: Likewise.
2526
2527 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2528 for __USE_GNU.
2529 * posix/spawn.h: Define __need_sigset_t.
2530 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2531 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2532 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2533 to get sigevent_t only.
2534 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2535 only for __USE_GNU.
2536 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2537 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2538 process_vm_writev only for __USE_GNU.
2539 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
2540
2541 * conform/Makefile: For now ignore errors from run-conformtest.
2542 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2543 POSIX to avoid namespace pollution. Don't prepend headers.
2544 * conform/data/aio.h-data: Fixes for POSIX testing.
2545 * conform/data/fcntl.h-data: Likewise.
2546 * conform/data/glob.h-data: Likewise.
2547 * conform/data/grp.h-data: Likewise.
2548 * conform/data/pthread.h-data: Likewise.
2549 * conform/data/pwd.h-data: Likewise.
2550 * conform/data/signal.h-data: Likewise.
2551 * conform/data/spawn.h-data: Likewise.
2552 * conform/data/stdio.h-data: Likewise.
2553 * conform/data/stdlib.h-data: Likewise.
2554 * conform/data/stropts.h-data: Likewise.
2555 * conform/data/sys/mman.h-data: Likewise.
2556 * conform/data/sys/stat.h-data: Likewise.
2557 * conform/data/sys/types.h-data: Likewise.
2558 * conform/data/sys/wait.h-data: Likewise.
2559 * conform/data/time.h-data: Likewise.
2560 * conform/data/unistd.h-data: Likewise.
2561 * conform/data/utime.h-data: Likewise.
2562
2563 * io/sys/stat.h: fchmod was always in POSIX.
2564 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2565 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2566 * rt/aio.h: Define __need_timespec before including <time.h>.
2567 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2568 struct. Add forward declaration of pthread_attr_t and use it in
2569 sigevent.
2570 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2571 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2572 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2573 always remove CLK_TCK definition.
2574
c20105c3
AS
25752012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2576
2577 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2578
7a270350
UD
25792012-02-25 Ulrich Drepper <drepper@gmail.com>
2580
31341567
UD
2581 * conform/run-conformtest.sh: New file.
2582 * conform/Makefile: Run run-conformtest for tests.
2583 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2584 support.
2585
2586 * conform/data/uchar.h-data: New file.
2587 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2588 * conform/data/arpa/inet.h-data: Likewise.
2589 * conform/data/assert.h-data: Likewise.
2590 * conform/data/complex.h-data: Likewise.
2591 * conform/data/cpio.h-data: Likewise.
2592 * conform/data/ctype.h-data: Likewise.
2593 * conform/data/dirent.h-data: Likewise.
2594 * conform/data/dlfcn.h-data: Likewise.
2595 * conform/data/errno.h-data: Likewise.
2596 * conform/data/fcntl.h-data: Likewise.
2597 * conform/data/float.h-data: Likewise.
2598 * conform/data/fmtmsg.h-data: Likewise.
2599 * conform/data/fnmatch.h-data: Likewise.
2600 * conform/data/ftw.h-data: Likewise.
2601 * conform/data/glob.h-data: Likewise.
2602 * conform/data/grp.h-data: Likewise.
2603 * conform/data/iconv.h-data: Likewise.
2604 * conform/data/inttypes.h-data: Likewise.
2605 * conform/data/langinfo.h-data: Likewise.
2606 * conform/data/libgen.h-data: Likewise.
2607 * conform/data/limits.h-data: Likewise.
2608 * conform/data/locale.h-data: Likewise.
2609 * conform/data/math.h-data: Likewise.
2610 * conform/data/monetary.h-data: Likewise.
2611 * conform/data/mqueue.h-data: Likewise.
2612 * conform/data/ndbm.h-data: Likewise.
2613 * conform/data/net/if.h-data: Likewise.
2614 * conform/data/netdb.h-data: Likewise.
2615 * conform/data/netinet/in.h-data: Likewise.
2616 * conform/data/nl_types.h-data: Likewise.
2617 * conform/data/poll.h-data: Likewise.
2618 * conform/data/pthread.h-data: Likewise.
2619 * conform/data/pwd.h-data: Likewise.
2620 * conform/data/regex.h-data: Likewise.
2621 * conform/data/sched.h-data: Likewise.
2622 * conform/data/search.h-data: Likewise.
2623 * conform/data/semaphore.h-data: Likewise.
2624 * conform/data/setjmp.h-data: Likewise.
2625 * conform/data/signal.h-data: Likewise.
2626 * conform/data/spawn.h-data: Likewise.
2627 * conform/data/stdarg.h-data: Likewise.
2628 * conform/data/stdio.h-data: Likewise.
2629 * conform/data/stdlib.h-data: Likewise.
2630 * conform/data/string.h-data: Likewise.
2631 * conform/data/strings.h-data: Likewise.
2632 * conform/data/stropts.h-data: Likewise.
2633 * conform/data/sys/ipc.h-data: Likewise.
2634 * conform/data/sys/mman.h-data: Likewise.
2635 * conform/data/sys/msg.h-data: Likewise.
2636 * conform/data/sys/resource.h-data: Likewise.
2637 * conform/data/sys/select.h-data: Likewise.
2638 * conform/data/sys/sem.h-data: Likewise.
2639 * conform/data/sys/shm.h-data: Likewise.
2640 * conform/data/sys/socket.h-data: Likewise.
2641 * conform/data/sys/stat.h-data: Likewise.
2642 * conform/data/sys/statvfs.h-data: Likewise.
2643 * conform/data/sys/time.h-data: Likewise.
2644 * conform/data/sys/timeb.h-data: Likewise.
2645 * conform/data/sys/times.h-data: Likewise.
2646 * conform/data/sys/types.h-data: Likewise.
2647 * conform/data/sys/uio.h-data: Likewise.
2648 * conform/data/sys/un.h-data: Likewise.
2649 * conform/data/sys/utsname.h-data: Likewise.
2650 * conform/data/sys/wait.h-data: Likewise.
2651 * conform/data/syslog.h-data: Likewise.
2652 * conform/data/tar.h-data: Likewise.
2653 * conform/data/termios.h-data: Likewise.
2654 * conform/data/utime.h-data: Likewise.
2655 * conform/data/utmpx.h-data: Likewise.
2656 * conform/data/varargs.h-data: Likewise.
2657 * conform/data/wchar.h-data: Likewise.
2658 * conform/data/wctype.h-data: Likewise.
2659 * conform/data/wordexp.h-data: Likewise.
2660
2661 * include/stropts.h: New file.
2662 * include/uchar.h: New file.
2663 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2664 * include/assert.h: Likewise.
2665 * include/ctype.h: Likewise.
2666 * include/dirent.h: Likewise.
2667 * include/dlfcn.h: Likewise.
2668 * include/fcntl.h: Likewise.
2669 * include/fnmatch.h: Likewise.
2670 * include/glob.h: Likewise.
2671 * include/grp.h: Likewise.
2672 * include/libio.h: Likewise.
2673 * include/locale.h: Likewise.
2674 * include/math.h: Likewise.
2675 * include/net/if.h: Likewise.
2676 * include/netdb.h: Likewise.
2677 * include/netinet/in.h: Likewise.
2678 * include/pthread.h: Likewise.
2679 * include/pwd.h: Likewise.
2680 * include/regex.h: Likewise.
2681 * include/sched.h: Likewise.
2682 * include/search.h: Likewise.
2683 * include/setjmp.h: Likewise.
2684 * include/signal.h: Likewise.
2685 * include/stdio.h: Likewise.
2686 * include/stdlib.h: Likewise.
2687 * include/string.h: Likewise.
2688 * include/sys/cdefs.h: Likewise.
2689 * include/sys/mman.h: Likewise.
2690 * include/sys/msg.h: Likewise.
2691 * include/sys/resource.h: Likewise.
2692 * include/sys/select.h: Likewise.
2693 * include/sys/socket.h: Likewise.
2694 * include/sys/stat.h: Likewise.
2695 * include/sys/statvfs.h: Likewise.
2696 * include/sys/time.h: Likewise.
2697 * include/sys/times.h: Likewise.
2698 * include/sys/uio.h: Likewise.
2699 * include/sys/utsname.h: Likewise.
2700 * include/sys/wait.h: Likewise.
2701 * include/termios.h: Likewise.
2702 * include/time.h: Likewise.
2703 * include/ulimit.h: Likewise.
2704 * include/unistd.h: Likewise.
2705 * include/utime.h: Likewise.
2706 * include/wchar.h: Likewise.
2707 * include/wctype.h: Likewise.
2708 * include/wordexp.h: Likewise.
2709
2710 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2711
7a270350
UD
2712 * time/time.h: TIME_UTC must be a macro.
2713 Make timespec_get available for ISO C11 only as well.
2714
7724defc
UD
27152012-02-24 Ulrich Drepper <drepper@gmail.com>
2716
2717 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2718 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2719
6b1d1d46
JM
27202012-02-24 Joseph Myers <joseph@codesourcery.com>
2721
2722 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 2723
0f8bbd69
JM
27242012-02-24 Joseph Myers <joseph@codesourcery.com>
2725
2726 * manual/texinfo.tex: Update to version 2012-01-19.16.
2727
66ab80bc
JM
27282012-02-24 Joseph Myers <joseph@codesourcery.com>
2729
2730 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2731
74981cc5
RM
27322012-02-24 Roland McGrath <roland@hack.frob.com>
2733
ee968201
RM
2734 [BZ #13738]
2735 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2736 * manual/fdl-1.3.texi: New file.
2737 * manual/fdl-1.1.texi: File removed.
2738
74981cc5
RM
2739 [BZ #13738]
2740 * manual/libc.texinfo (FDL_VERSION): New @set.
2741 Use it for mention of FDL in cover text.
2742 (Documentation License): Use it in @include file name.
2743
7bb764bc
JM
27442012-02-22 Joseph Myers <joseph@codesourcery.com>
2745 Roland McGrath <roland@hack.frob.com>
2746
2747 [BZ #5461]
2748 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2749 not LONG_LONG_MAX and LONG_LONG_MIN.
2750 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2751 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2752 name.
2753 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2754
6cbeae47
JM
27552012-02-22 Joseph Myers <joseph@codesourcery.com>
2756
2757 [BZ #2547]
2758 [BZ #11365]
2759 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2760 manipulate bits before adding and subtracting TWO23[sx].
2761 * math/libm-test.inc (nearbyint_test): Add more tests.
2762
fe45ce09
JM
27632012-02-22 Joseph Myers <joseph@codesourcery.com>
2764
2765 [BZ #2548]
2766 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2767 bits before adding and subtracting TWO23[sx].
2768 * math/libm-test.inc (rint_test): Add more tests.
2769 (rint_test_tonearest): Likewise.
2770 (rint_test_towardzero): Likewise.
2771 (rint_test_downward): Likewise.
2772 (rint_test_upward: Likewise.
2773
ff3b3d82
JM
27742012-02-22 Joseph Myers <joseph@codesourcery.com>
2775
2776 [BZ #10110]
2777 * include/stdc-predef.h: New file. Extracted from features.h.
2778 * include/features.h: Include stdc-predef.h.
2779 * Makefile (headers): Add stdc-predef.h.
2780 * CONFORMANCE (Compiler limitations): Update.
2781
ef0aab35
JM
27822012-02-22 Joseph Myers <joseph@codesourcery.com>
2783
2784 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2785
58639409
DM
27862012-02-21 David S. Miller <davem@davemloft.net>
2787
2788 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2789 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2790
c0e70b25
DM
27912012-02-20 David S. Miller <davem@davemloft.net>
2792
2793 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2794 using a normal save/restore sequence, rather than allocating a
2795 dummy stack frame just to store a frame pointer and restore.
2796 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2797
fb06851d
JM
27982012-02-21 Joseph Myers <joseph@codesourcery.com>
2799
2800 * manual/install.texi: Fix stray word in line-wrapped comment.
2801
7a8b71c3
DM
28022012-02-20 David S. Miller <davem@davemloft.net>
2803
d510c123
DM
2804 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2805 both binutils and gcc support GOTDATA.
2806
0722d7c2
DM
2807 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2808 "rd %pc" in the PIC register setup sequences.
2809
3d2b3019
DM
2810 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2811 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2812 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2813 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2814 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2815 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2816 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2817 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2818 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2819 (SYSCALL_ERROR_HANDLER): Likewise.
2820 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2821 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2822 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2823 (SYSCALL_ERROR_HANDLER): Likewise.
2824
c80098a9
DM
2825 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2826 (HAVE_GCC_GOTDATA): New.
2827 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2828 relocation support in both binutils and gcc.
2829 * sysdeps/sparc/elf/configure: Regenerate.
2830
3a2545a0
DM
2831 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2832 * sysdeps/sparc/sparc32/elf/configure: Delete.
2833 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2834 * sysdeps/sparc/sparc64/elf/configure: Delete.
2835 * sysdeps/sparc/elf/configure.in: New file.
2836 * sysdeps/sparc/elf/configure: Generate.
2837
7a8b71c3
DM
2838 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2839 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2840 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2841 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2842 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2843
f1e86fca
JM
28442012-02-21 Joseph Myers <joseph@codesourcery.com>
2845
2846 * manual/install.texi: Do not mention specific glibc version
2847 numbers.
2848 * manual/libc.texinfo (VERSION, UPDATED): Update.
2849 (@copying): Use @copyright{} and range of years.
2850
0e7dfaef
JM
28512012-02-21 Joseph Myers <joseph@codesourcery.com>
2852
2853 [BZ #13695]
2854 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2855 [crti.S not in sysdirs] (generated): Do not append.
2856 [crti.S not in sysdirs] (omit-deps): Likewise.
2857 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2858 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2859 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2860 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2861 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2862 Likewise.
2863 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2864 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2865 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2866 * csu/defs.awk: Remove file.
2867 * sysdeps/generic/initfini.c: Likewise.
2868 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2869 variable.
2870 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2871 Likewise.
2872
599af3ca
JM
28732012-02-20 Joseph Myers <joseph@codesourcery.com>
2874
2875 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2876 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2877 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2878 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2879 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2880 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2881 <bits/epoll.h>.
2882 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2883 (__EPOLL_PACKED): Define to empty if not defined by
2884 <bits/epoll.h>.
2885 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2886 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2887 bits/epoll.h.
2888
0e499750
JM
28892012-02-20 Joseph Myers <joseph@codesourcery.com>
2890
2891 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2892 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2893 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2894 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2895 <bits/timerfd.h>.
2896 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2898 bits/timerfd.h.
2899
5ad91f6e
JM
29002012-02-20 Joseph Myers <joseph@codesourcery.com>
2901
2902 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2903 in C locale.
2904 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2905 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2906 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2908
06b99b02
AJ
29092012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2910
2911 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2912 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2913
7638c0fd
AS
29142012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2915
2916 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2917 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2918 defined.
2919 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2920 Likewise.
2921 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2922 entry for 2.16.
2923
92221550
AJ
29242012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2925
2926 * math/w_acos.c: Use non-signaling floating-point comparisons.
2927 * math/w_acosf.c: Likewise.
2928 * math/w_acosh.c: Likewise.
2929 * math/w_acoshf.c: Likewise.
2930 * math/w_acoshl.c: Likewise.
2931 * math/w_acosl.c: Likewise.
2932 * math/w_asin.c: Likewise.
2933 * math/w_asinf.c: Likewise.
2934 * math/w_asinl.c: Likewise.
2935 * math/w_atanh.c: Likewise.
2936 * math/w_atanhf.c: Likewise.
2937 * math/w_atanhl.c: Likewise.
2938 * math/w_exp2.c: Likewise.
2939 * math/w_exp2f.c: Likewise.
2940 * math/w_exp2l.c: Likewise.
2941 * math/w_j0.c: Likewise.
2942 * math/w_j0f.c: Likewise.
2943 * math/w_j0l.c: Likewise.
2944 * math/w_j1.c: Likewise.
2945 * math/w_j1f.c: Likewise.
2946 * math/w_j1l.c: Likewise.
2947 * math/w_jn.c: Likewise.
2948 * math/w_jnf.c: Likewise.
2949 * math/w_log.c: Likewise.
2950 * math/w_log10.c: Likewise.
2951 * math/w_log10f.c: Likewise.
2952 * math/w_log10l.c: Likewise.
2953 * math/w_log2.c: Likewise.
2954 * math/w_log2f.c: Likewise.
2955 * math/w_log2l.c: Likewise.
2956 * math/w_logf.c: Likewise.
2957 * math/w_logl.c: Likewise.
2958 * math/w_sqrt.c: Likewise.
2959 * math/w_sqrtf.c: Likewise.
2960 * math/w_sqrtl.c: Likewise.
2961 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2962 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2963 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2964 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2965 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2966
ebaf36eb
JM
29672012-02-19 Joseph Myers <joseph@codesourcery.com>
2968
2969 [BZ #9739]
2970 * manual/string.texi (strnlen): Use correct parameter name in
2971 equivalent expression.
2972
71c254a6
JM
29732012-02-19 Joseph Myers <joseph@codesourcery.com>
2974
2975 [BZ #11174]
2976 * manual/users.texi (seteuid): Consistently use neweuid for
2977 argument name.
2978
16d2c631
JM
29792012-02-19 Joseph Myers <joseph@codesourcery.com>
2980
2981 [BZ #13704]
2982 * manual/nss.texi (Services in the NSS configuration): Correct
2983 list of services in example configuration file.
2984
cd837b09
NB
29852012-02-19 Nick Bowler <nbowler@draconx.ca>
2986
2987 [BZ #11322]
2988 * manual/arith.texi: Remove statements about negative zero
2989 behaving identically to zero.
2990
02c4bbad
JM
29912012-02-18 Joseph Myers <joseph@codesourcery.com>
2992
2993 [BZ #5993]
2994 * manual/install.texi: Do not document upgrading from libc5.
2995
366842e7
JM
29962012-02-18 Joseph Myers <joseph@codesourcery.com>
2997
2998 [BZ #4596]
2999 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3000
dd54084d
DM
30012012-02-18 David S. Miller <davem@davemloft.net>
3002
3003 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3004 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3005 %o7 across the call.
3006 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3007 instead.
3008 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3009 SETUP_PIC_REG_LEAF.
3010 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3011 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3012 * sysdeps/sparc/crtn.S: Likewise.
3013
2bcc53a3
UD
30142012-02-17 Ulrich Drepper <drepper@gmail.com>
3015
3016 * aout/Makefile: Remove.
3017
09c093b5
RK
30182012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3019
3020 [BZ #13058]
3021 * manual/examples/argp-ex1.c (main): Format definition in GNU
3022 style.
3023 * manual/examples/argp-ex2.c (main): Likewise.
3024 * manual/examples/argp-ex3.c (main): Likewise.
3025 * manual/examples/argp-ex4.c (main): Likewise.
3026 * manual/examples/longopt.c (main): Use new-style prototype
3027 definition.
3028 * manual/examples/strncat.c (main): Specify return type and use
3029 (void) for arguments.
3030 * manual/examples/subopt.c (main): Use char **argv argument.
3031
2ee633a2
JM
30322012-02-17 Joseph Myers <joseph@codesourcery.com>
3033
3034 [BZ #5077]
3035 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3036 rounding modes.
3037
0520adde
FB
30382012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3039
3040 [BZ #6907]
3041 * manual/string.texi (strchr): Change when strchrnul is
3042 recommended.
3043
3f4081cd
DGM
30442012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3045
3046 [BZ #174]
3047 * manual/locale.texi (setlocale): Document LOCPATH.
3048
d1b10e78
JM
30492012-02-17 Joseph Myers <joseph@codesourcery.com>
3050
3051 [BZ #10210]
3052 * manual/process.texi (execle): Move @dots{} before last argument.
3053
79c6869c
PB
30542012-02-17 Paul Bolle <pebolle@tiscali.nl>
3055
3056 [BZ #12047]
3057 * manual/charset.texi (Generic Charset Conversion): Fix typo
3058 (LC_TYPE -> LC_CTYPE).
3059
cc6e48bc
NB
30602012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3061
3062 [BZ #5805]
3063 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3064 (scalbnf): Likewise.
3065 (scalbnl): Likewise.
3066 (scalbln): Likewise.
3067 (scalblnf): Likewise.
3068 (scalblnl): Likewise.
3069 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3070 (vwarnx): Likewise.
3071 (verr): Likewise.
3072 (verrx): Likewise.
3073 * manual/filesys.texi (telldir): Use braces around return type.
3074 * manual/llio.texi (mmap): Add space after comma.
3075 (mmap64): Likewise.
3076 * manual/math.texi (jn): Use @var{} on parameter names.
3077 (jnf): Likewise.
3078 (jnl): Likewise.
3079 (yn): Likewise.
3080 (ynf): Likewise.
3081 (ynl): Likewise.
3082 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3083 line.
3084 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3085 "...".
3086 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3087 (sched_get_priority_max): Likewise.
3088 * manual/signal.texi (sigvec): Add space after comma.
3089 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3090 names.
3091 (if_indextoname): Likewise.
3092 (if_freenameindex): Likewise.
3093 (sendto): Use ',' instead of '.' in prototype.
3094 * manual/startup.texi (syscall): Use @dots{} instead of literal
3095 "...".
3096 * manual/stdio.texi (__fpending): Separate initial words of
3097 paragraph from @deftypefun line.
3098 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3099 "...".
3100 (vsyslog): Use @var{} on parameter names.
3101 * manual/terminal.texi (stty): Use @var{} on parameter names.
3102 * manual/users.texi (getutmp): Use @var{} on parameter names.
3103 (getutmpx): Likewise.
3104
5b23062f
JM
31052012-02-17 Joseph Myers <joseph@codesourcery.com>
3106
3107 [BZ #6884]
3108 * manual/stdio.texi (fopen): Fix typos in description of
3109 ",ccs=STRING".
3110
8dee4833
AJ
31112012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3112
3113 [BZ #4026]
3114 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3115 get clock_id definition.
3116
9078ce93
TS
31172012-02-17 Thomas Schwinge <thomas@schwinge.name>
3118
3119 [BZ #4822]
3120 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3121 (madvise): Cast every argument to void on its own.
3122
3835c55f
JM
31232012-02-17 Joseph Myers <joseph@codesourcery.com>
3124
3125 [BZ #9902]
3126 * manual/startup.texi (Exit Status): Fix typo.
3127
35c47e37
JM
31282012-02-17 Joseph Myers <joseph@codesourcery.com>
3129
3130 [BZ #10140]
3131 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3132 * manual/examples/argp-ex2.c: Likewise.
3133 * manual/examples/argp-ex3.c: Likewise.
3134
e3b69ca7
RH
31352012-02-16 Richard Henderson <rth@redhat.com>
3136
3137 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3138 * sysdeps/s390/s390-32/initfini.c: Remove.
3139 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3140 * sysdeps/s390/s390-64/initfini.c: Remove.
3141
df83af67
KK
31422012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3143
3144 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3145 compiler output for sysdeps/generic/initfini.c.
3146 * sysdeps/sh/elf/initfini.c: Remove file.
3147
f63f3380
DM
31482012-02-16 David S. Miller <davem@davemloft.net>
3149
fb59b3a4
DM
3150 [BZ #11494]
3151 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3152
f63f3380
DM
3153 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3154 * sysdeps/sparc/crti.S: New file.
3155 * sysdeps/sparc/crtn.S: New file.
3156 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3157 * sysdeps/sparc/sparc64/Makefile: Likewise.
3158
df6a4a4a
MF
31592012-02-15 Mike Frysinger <vapier@gentoo.org>
3160
6dd8f3dc 3161 [BZ #3335]
df6a4a4a
MF
3162 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3163
1cac7236
RM
31642012-02-15 Roland McGrath <roland@hack.frob.com>
3165
d2c736f8
RM
3166 [BZ #4822]
3167 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3168
1cac7236
RM
3169 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3170 (write, read, close): Likewise.
3171 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3172
8e475601
JM
31732012-02-15 Joseph Myers <joseph@codesourcery.com>
3174
3175 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3176 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3177 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3178 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3179 <bits/signalfd.h>.
3180 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3181 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3182 bits/signalfd.h.
3183
ed656b40
MP
31842012-02-14 Marek Polacek <polacek@redhat.com>
3185
3186 * sysdeps/x86_64/crti.S: New file.
3187 * sysdeps/x86_64/crtn.S: New file.
3188 * sysdeps/x86_64/elf/initfini.c: Remove file.
3189
2a979d3a
JM
31902012-02-13 Joseph Myers <joseph@codesourcery.com>
3191
3192 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3193 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3194 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3195 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3196 <bits/inotify.h>.
3197 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3198 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3199 bits/inotify.h.
3200
2a418ac3
JM
32012012-02-13 Joseph Myers <joseph@codesourcery.com>
3202
3203 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3204 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3205 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3206 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3207 <bits/eventfd.h>.
3208 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3209 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3210 bits/eventfd.h.
3211
fb779be7
TS
32122012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3213
e19e83c5
RM
3214 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3215 __feraiseexcept instead of feraiseexcept.
7c35ffed 3216
fb779be7
TS
3217 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3218 nanosleep invocations.
3219 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3220 strings, and add error checking for a nanosleep invocations.
3221
59ba27a6
PE
32222012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3223
3224 Replace FSF snail mail address with URLs, as per GNU coding standards.
3225 Most of the snail mail addresses were wrong anyway, and omitting
3226 them makes the source code easier to maintain. Almost all of the
3227 changes are to license notices and to locale LC_IDENTIFICATION
3228 addresses, except for this one:
3229 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3230 not its snail mail address.
3231
57b957eb
RH
32322012-02-09 Richard Henderson <rth@twiddle.net>
3233
af850b1c
RH
3234 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3235 of kernel-features.h.
3236
57b957eb
RH
3237 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3238
6b73181a
MP
32392012-02-08 Marek Polacek <polacek@redhat.com>
3240
3241 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3242 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3243 * sysdeps/gnu/_G_config.h: Likewise.
3244 * sysdeps/generic/_G_config.h: Likewise.
3245
26ecc33a
AS
32462012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3247
6c6dbc63
AS
3248 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3249 tests.
3250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3251
e216c012
AS
3252 * sysdeps/powerpc/powerpc32/crti.S: New file.
3253 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3254 * sysdeps/powerpc/powerpc64/crti.S: New file.
3255 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3256
26ecc33a
AS
3257 * Makeconfig (have-initfini): Don't set.
3258 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3259 * configure.in (nopic_initfini): Don't substitute.
3260 * config.h.in (HAVE_INITFINI): Don't #undef.
3261 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3262 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3263
3add8e13
JM
32642012-02-08 Joseph Myers <joseph@codesourcery.com>
3265
3266 Support crti.S and crtn.S provided directly by architectures.
3267 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3268 [crti.S in sysdirs] (omit-deps): Likewise.
3269 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3270 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3271 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3272 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3273 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3274 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3275 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3276 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3277 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3278 compiler output for sysdeps/generic/initfini.c.
3279 * sysdeps/i386/elf/Makefile: Remove file.
3280 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3281
a22f12b4
MP
32822012-02-07 Marek Polacek <polacek@redhat.com>
3283
3284 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3285 * sysdeps/gnu/_G_config.h: Likewise.
3286 * sysdeps/mach/hurd/_G_config.h: Likewise.
3287
148cf100
MP
32882012-02-07 Marek Polacek <polacek@redhat.com>
3289
3290 * math/Makefile (tests): Add tst-CMPLX2.
3291 * math/tst-CMPLX2.c: New file.
3292
cfdc0dd7
AS
32932012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3294
84ba42c4
AS
3295 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3296
cfdc0dd7
AS
3297 * math/libm-test.inc (jn_test): Add missing L suffix.
3298
622c86f4
MP
32992012-02-06 Marek Polacek <polacek@redhat.com>
3300
3301 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3302 * sysdeps/i386/fpu/e_powf.S: Likewise.
3303 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3304 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3305 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3306 * sysdeps/i386/fpu/e_pow.S: Likewise.
3307 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3308 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3309 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3310 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3311 * sysdeps/i386/fpu/e_log2.S: Likewise.
3312 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3313 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3314 * sysdeps/i386/fpu/e_powl.S: Likewise.
3315 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3316 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3317 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3318 * sysdeps/i386/fpu/e_logl.S: Likewise.
3319 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3320 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3321 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3322 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3323 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3324 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3325 * sysdeps/i386/fpu/e_log.S: Likewise.
3326 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3327 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3328 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3329 * sysdeps/i386/fpu/e_logf.S: Likewise.
3330 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3331 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3332 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3333 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3334 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3335 * sysdeps/i386/fpu/e_log10.S: Likewise.
3336 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3337 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3338 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3339 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3340 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3341 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3342 * sysdeps/i386/asm-syntax.h: Likewise.
3343 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3344 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3345 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3346 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3347 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3348 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3349 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3350 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3351 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3352 * sysdeps/powerpc/sysdep.h: Likewise.
3353 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3354 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3355
d4a54ac6
JM
33562012-02-06 Joseph Myers <joseph@codesourcery.com>
3357
3358 [BZ #411]
3359 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3360
314054ea
JM
33612012-02-06 Joseph Myers <joseph@codesourcery.com>
3362
3363 * sysdeps/i386/sysdep.h: Include <features.h>.
3364 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3365 version.
3366
d8e0ca50
JM
33672012-02-05 Joseph Myers <joseph@codesourcery.com>
3368
3369 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3370 Define.
3371 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3372 LOAD_PIC_REG_STR.
3373
b1da7dd9
JM
33742012-02-03 Joseph Myers <joseph@codesourcery.com>
3375
3376 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3377 (SETUP_PIC_REG): Use GET_PC_THUNK.
3378 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3379 macro.
3380
9a1d9254
JM
33812012-02-03 Joseph Myers <joseph@codesourcery.com>
3382
3383 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3384 for non-PIC compilation.
3385 (SETUP_PIC_REG): Add .p2align directive.
3386 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3387 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3388 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3389 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3390 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3391 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3392 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3393 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3394 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3395 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3396 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3397 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3398 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3399 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3400 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3401 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3402 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3403 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3404 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3405 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3406 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3407 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3408 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3409 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3410 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3411 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3412 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3413 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3414 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3415 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3416 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3417 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3418 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3419 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3420 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3421 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3422 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3423 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3424 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3425 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3426 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3427
65dc3b75
JM
34282012-02-03 Joseph Myers <joseph@codesourcery.com>
3429
3430 * math/tst-CMPLX.c: Include <stdio.h>.
3431
d55bf177
JM
34322012-01-31 Joseph Myers <joseph@codesourcery.com>
3433
3434 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3435 float.
3436 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3437 * sysdeps/sparc/bits/mathdef.h: Likewise.
3438
69db4f8f
MP
34392012-01-31 Marek Polacek <polacek@redhat.com>
3440
3441 * libio/libio.h: Don't define _PARAMS.
3442 * locale/programs/config.h: Don't define PARAMS.
3443 * stdlib/strtol_l.c: Likewise.
3444 (__strtol_l): Remove PARAMS from the prototype.
3445
41b81892
UD
34462012-01-31 Ulrich Drepper <drepper@gmail.com>
3447
3b49edc0
UD
3448 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3449 names. Just use the correct names. Remove unnecessary wrapper
3450 functions.
3451 * malloc/arena.c: Likewise.
3452 * malloc/hooks.c: Likewise.
3453
41b81892
UD
3454 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3455 ARENA_TEST says not to. Simplify test for creation of a new arena.
3456 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3457
27a25b6e
UD
34582012-01-30 Ulrich Drepper <drepper@gmail.com>
3459
3460 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3461 into tail calls.
3462 (update_get_addr): New function.
3463 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3464 GET_ADDR_MODULE parameter.
3465
c8a89e7d
JM
34662012-01-30 Joseph Myers <joseph@codesourcery.com>
3467
3468 * crypt/cert.c: Remove __STDC__ conditionals.
3469 * crypt/crypt-entry.c: Likewise.
3470 * crypt/crypt_util.c: Likewise.
3471 * libio/filedoalloc.c: Likewise.
3472 * libio/fileops.c: Likewise.
3473 * libio/genops.c: Likewise.
3474 * libio/iofclose.c: Likewise.
3475 * libio/iofdopen.c: Likewise.
3476 * libio/iofopen.c: Likewise.
3477 * libio/iofopen64.c: Likewise.
3478 * libio/iogetdelim.c: Likewise.
3479 * libio/iopopen.c: Likewise.
3480 * libio/obprintf.c: Likewise.
3481 * libio/oldfileops.c: Likewise.
3482 * libio/oldiofclose.c: Likewise.
3483 * libio/oldiofdopen.c: Likewise.
3484 * libio/oldiofopen.c: Likewise.
3485 * libio/oldiopopen.c: Likewise.
3486 * libio/wfiledoalloc.c: Likewise.
3487 * libio/wgenops.c: Likewise.
3488 * locale/programs/xmalloc.c: Likewise.
3489 * misc/syslog.c: Likewise.
3490 * stdio-common/xbug.c: Likewise.
3491 * string/memchr.c: Likewise.
3492 * string/memcmp.c: Likewise.
3493 * string/memrchr.c: Likewise.
3494 * string/rawmemchr.c: Likewise.
3495 * sysdeps/posix/getcwd.c: Likewise.
3496 * time/strftime_l.c: Likewise.
3497
3b100462
JM
34982012-01-30 Joseph Myers <joseph@codesourcery.com>
3499
3500 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
3501 * config.make.in (config-cflags-sse2avx): Define.
3502 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3503 Fix typo.
3504
607998af
CM
35052012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3506
3507 * scripts/config.guess: Update from upstream config git repository.
3508 * scripts/config.sub: Likewise.
3509
3601428f
CM
35102012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3511
3ac8b282
CM
3512 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3513 (EM_NUM): Update.
3514 (R_TILEPRO_*, R_TILEGX_*): New macros.
3515
e034841e
CM
3516 * scripts/firstversions.awk: Fix bug in version range handling.
3517
540d7568
CM
3518 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3519
3601428f
CM
3520 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3521
463de862
CM
3522 * include/sys/epoll.h: New file.
3523 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3524 libc_hidden_def.
3525
73139a76
UD
35262012-01-28 Ulrich Drepper <drepper@gmail.com>
3527
96bc5b45
UD
3528 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3529 Avoid unnecessary __WORDSIZE == 64 test.
3530 (fmaxf): Use VEX format if possible.
3531 (fmax): Likewise.
3532 (fminf): Likewise.
3533 (fmin): Likewise.
3534
56f6f6a2
UD
3535 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3536 * math/math_private.h: Remove libc_fegetround* and
3537 libc_fesetround*.
3538 * sysdeps/i386/configure.in: Check for -msse2avx.
3539 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3540 also if SSE2AVX is defined.
3541 Remove libc_fegetround* and libc_fesetround*.
3542 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3543 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3544 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3545 of HAS_YMM_USABLE.
3546 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3547 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3548 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3549 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3550 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3551
73139a76
UD
3552 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3553
d73f93a4
AZ
35542012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3555
3556 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3557 size is not set.
3558 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3559
6ee65ed6
UD
35602012-01-27 Ulrich Drepper <drepper@gmail.com>
3561
3562 [BZ #13618]
3563 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3564 relocation.
3565 * Makeconfig (libm): Define.
3566 * elf/Makefile: Add rules to build and run tst-relsort1.
3567 * elf/tst-relsort1.c: New file.
3568 * elf/tst-relsort1mod1.c: New file.
3569 * elf/tst-relsort1mod2.c: New file.
3570
8db21882
JM
35712012-01-27 Joseph Myers <joseph@codesourcery.com>
3572
3573 * math/s_ldexp.c: Remove __STDC__ conditionals.
3574 * math/s_ldexpf.c: Likewise.
3575 * math/s_ldexpl.c: Likewise.
3576 * math/s_nextafter.c: Likewise.
3577 * math/s_nexttowardf.c: Likewise.
3578 * math/s_significand.c: Likewise.
3579 * math/s_significandf.c: Likewise.
3580 * math/s_significandl.c: Likewise.
3581 * math/w_jnl.c: Likewise.
3582 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3583 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3584 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3585 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3586 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3587 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3588 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3589 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3590 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3591 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3592 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3593 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3594 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3595 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3596 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3597 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3598 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3599 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3600 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3601 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3602 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3603 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3604 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3605 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3606 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3607 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3608 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3609 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3610 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3611 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3612 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3613 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3614 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3615 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3616 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3617 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3618 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3619 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3620 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3621 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3622 * sysdeps/ieee754/k_standard.c: Likewise.
3623 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3624 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3625 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3626 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3627 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3628 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3629 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3630 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3631 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3632 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3633 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3634 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3635 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3636 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3637 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3638 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3639 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3640 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3641 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3642 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3643 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3644 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3645 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3646 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3647 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3648 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3649 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3650 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3651 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3652 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3653 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3654 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3655 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3656 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3657 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3658 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3659 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3660 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3661 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3662 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3663 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3664 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3665 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3666 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3667 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3668 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3669 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3670 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3671 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3672 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3673 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3674 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3675 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3676 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3677 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3678 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3679 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3680 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3681 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3682 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3683 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3684 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3685 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3686 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3687 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3688 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3689 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3690 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3691 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3692 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3693 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3694 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3695 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3696 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3697 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3698 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3699 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3700 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3701 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3702 * sysdeps/ieee754/s_matherr.c: Likewise.
3703 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3704 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3705 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3706 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3707
965a54a4
JM
37082012-01-26 Joseph Myers <joseph@codesourcery.com>
3709
3710 * crypt/md5.h: Remove __STDC__ conditionals.
3711 * libio/libioP.h: Likewise.
3712 * locale/programs/config.h: Likewise.
3713 * sysdeps/generic/sysdep.h: Likewise.
3714 * sysdeps/i386/asm-syntax.h: Likewise.
3715 * sysdeps/s390/asm-syntax.h: Likewise.
3716 * sysdeps/unix/sysdep.h: Likewise.
3717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3719
7071ad79
JM
37202012-01-26 Joseph Myers <joseph@codesourcery.com>
3721
3722 * libio/libio.h: Remove __STDC__ conditionals.
3723 * malloc/obstack.h: Likewise.
3724 * math/complex.h: Likewise.
3725 * math/math.h: Likewise.
3726 * sysdeps/generic/_G_config.h: Likewise.
3727 * sysdeps/gnu/_G_config.h: Likewise.
3728 * sysdeps/mach/hurd/_G_config.h: Likewise.
3729 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3730 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3731 * sysdeps/sparc/bits/mathdef.h: Likewise.
3732
afc5ed09
UD
37332012-01-26 Ulrich Drepper <drepper@gmail.com>
3734
3735 [BZ #13583]
3736 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 3737 Clean up HAS_* macros.
afc5ed09 3738 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
3739 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3740 possible.
3741 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3742 HAS_AVX.
3743 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3744 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3745 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3746 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3747 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 3748
bdb6de1d
JM
37492012-01-25 Joseph Myers <joseph@codesourcery.com>
3750
3751 * elf/tst-unique3.cc (gets): Remove declaration.
3752 * elf/tst-unique3lib.cc (gets): Likewise.
3753 * elf/tst-unique3lib2.cc (gets): Likewise.
3754 * elf/tst-unique4.cc (gets): Likewise.
3755
b15549e6
UD
37562012-01-24 Ulrich Drepper <drepper@gmail.com>
3757
3758 * include/stdio.h: Add C++ protection. Add gets declarations and
3759 definitions.
3760 * debug/tst-chk1.c: Don't declare gets here.
3761 * stdio-common/tst-gets.c: Likewise.
3762
a037381f
JM
37632012-01-24 Joseph Myers <joseph@codesourcery.com>
3764
3765 * posix/glob: Remove directory.
3766
f1d4aa75
JM
37672012-01-24 Joseph Myers <joseph@codesourcery.com>
3768
3769 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3770
81c0c964
PT
37712012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3772
3773 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3774 of the non-standard EPFNOSUPPORT.
3775
0ea698ae
ST
37762011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3777
3778 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3779 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3780 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3781
d220b117
UD
37822012-01-21 Ulrich Drepper <drepper@gmail.com>
3783
3784 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3785
3e1aa84e
UD
37862012-01-20 Ulrich Drepper <drepper@gmail.com>
3787
3788 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3789 transient errors.
3790 * nscd/grpcache.c (cache_addgr): Likewise.
3791 * nscd/hstcache.c (cache_addhst): Likewise.
3792 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3793 * nscd/pwdcache.c (cache_addpw): Likewise.
3794 * nscd/servicescache.c (cache_addserv): Likewise.
3795
400aa020
UD
37962012-01-16 Ulrich Drepper <drepper@gmail.com>
3797
d77e7869
UD
3798 * malloc/malloc.c: Various cleanups.
3799 * malloc/hooks.c: Likewise.
3800
400aa020
UD
3801 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3802 * stdlib/bug-fmtmsg1.c: New file.
3803
3804 * stdlib/fmtmsg.c (init): Add missing unlock.
3805 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3806
e0a309cf
MP
38072012-01-12 Marek Polacek <polacek@redhat.com>
3808
3809 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3810 and _GNU_SOURCE.
3811
929d11c7
WS
38122012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3813
3814 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3815 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3816 macro to ensure uniqueness of label name.
3817 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3818 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3819
41d0e869
UD
38202012-01-11 Ulrich Drepper <drepper@gmail.com>
3821
0cc5ed3b
UD
3822 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3823
41d0e869
UD
3824 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3825 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3826 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3827 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3828
a47a831a
UD
38292012-01-10 Ulrich Drepper <drepper@gmail.com>
3830
daa891c0
UD
3831 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3832
3833 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3834 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3835 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3836
e58ef0f2
UD
3837 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3838
a47a831a 3839 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
3840 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3841 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 3842 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
3843
3844 * math/bits/math-finite.h: Add ldexp support.
3845
a0bfc9c7
MP
38462012-01-10 Marek Polacek <polacek@redhat.com>
3847
3848 * locale/programs/localedef.h (show_archive_content): Add noreturn
3849 attribute.
3850
d6e97a1d
UD
38512012-01-09 Ulrich Drepper <drepper@gmail.com>
3852
3853 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3854
d5835c26
UD
38552012-01-08 Ulrich Drepper <drepper@gmail.com>
3856
e5f484c6
UD
3857 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3858
d5835c26
UD
3859 * io/Makefile (headers): Add bits/poll2.h.
3860
d1f741e9
WS
38612011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3862
3863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3864 typo #include statement.
3865
ec09c1c4
UD
38662012-01-08 Ulrich Drepper <drepper@gmail.com>
3867
3868 * include/sys/cdefs.h: Define __attribute_alloc_size.
3869 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3870 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3871 * elf/pldd.c: Likewise.
3872 * iconv/iconv_charmap.c: Likewise.
3873 * iconv/iconvconfig.c: Likewise.
3874 * iconv/strtab.c: Likewise.
3875 * locale/programs/locale.c: Likewise.
3876 * locale/programs/localedef.h: Likewise.
3877 * locale/programs/simple-hash.c: Likewise.
3878 * nscd/nscd.h: Likewise.
3879 * nss/makedb.c: Likewise.
3880 * sysdeps/generic/ldconfig.h: Likewise.
3881 * locale/programs/localedef.c: Remove xmalloc prototype.
3882 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3883
20b38e03
PP
38842012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3885
3886 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3887 appropriate.
3888
a0da5fe1
UD
38892012-01-08 Ulrich Drepper <drepper@gmail.com>
3890
1d5a644a 3891 * math/Makefile (tests): Add tst-CMPLX.
669704fd 3892 * math/tst-CMPLX.c: New file.
1d5a644a 3893
8784a6db
UD
3894 * math/complex.h (CMPLXL): Fix typo.
3895
d9a216c0
UD
3896 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3897 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3898 GLIBC_2.16.
3899 * debug/tst-chk1.c: Add poll and ppoll tests.
3900 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3901 * include/sys/poll.h: Add hidden proto for ppoll.
3902 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3903 * sysdeps/mach/hurd/ppoll.c: Likewise.
3904 * io/ppoll.c: Likewise.
3905 * debug/poll_chk.c: New file.
3906 * debug/ppoll_chk.c: New file.
3907 * include/bits/poll2.h: New file.
3908 * io/bits/poll2.h: New file.
3909
ac097f5c
UD
3910 [BZ #1350]
3911 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3912
2119dcfa
UD
3913 * configure.in: static is always set to yes. Remove.
3914 * config.make.in: Don't set build-static.
3915 * Makeconfig: Remove use of build-static.
3916 * dlfcn/Makefile: Likewise.
3917 * elf/Makefile: Likewise.
3918 * math/Makefile: Likewise.
3919 * misc/Makefile: Likewise.
3920 * nptl/Makefile: Likewise.
3921 * sysdeps/mach/hurd/Makefile: Likewise.
3922
121766a9
UD
3923 * configure.in: PWD_P is not used anymore.
3924 * config.make.in: Remove PWD_P entry.
3925
51a1d39c 3926 * configure.in: Remove last remnants of RANLIB.
8720d066 3927 No need to check for signed size_t anymore.
215f4bdc
UD
3928 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3929 and IA-64.
3857022a 3930 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
3931 * aclocal.m4: Likewise.
3932
d3ed7225
UD
3933 * wcsmbs/mbrtoc16.c: Implement using towc function.
3934 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3935 * wcsmbs/wcsmbsload.c: Likewise.
3936 * iconv/gconv_simple.c: Likewise.
3937 * iconv/gconv_int.h: Likewise.
3938 * iconv/gconv_builtin.h: Likewise.
3939 * iconv/iconv_prog.c: Remove CHAR16 handling.
3940
3941 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3942
3943 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3944
a0da5fe1
UD
3945 * configure.in: Remove --with-elf and --enable-bounded options.
3946 Dont set base_machine for ia64. More non-ELF conditions removed.
3947 Remove testing and setting of leading underscore information.
3948 * config.make.in (build-bounded): Set to no.
3949 * config.h.in: Remove NO_UNDERSCORES entry.
3950 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
3951 them.
3952 * csu/start.c: Remove !NO_UNDERSCORE code.
3953 * locale/localeinfo.h: Likewise.
3954 * sysdeps/generic/machine-gmon.h: Likewise.
3955 * sysdeps/generic/sysdep.h: Likewise.
3956 * sysdeps/i386/sysdep.h: Likewise.
3957 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3958 * sysdeps/mach/sysdep.h: Likewise.
3959 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3960 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3961 * sysdeps/sh/sysdep.h: Likewise.
3962 * sysdeps/sparc/sparc32/alloca.S: Likewise.
3963 * sysdeps/unix/i386/sysdep.S: Likewise.
3964 * sysdeps/unix/sparc/start.c: Likewise.
3965 * sysdeps/unix/sparc/sysdep.S: Likewise.
3966 * sysdeps/unix/sparc/sysdep.h: Likewise.
3967 * sysdeps/unix/start.c: Likewise.
3968 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3969 * sysdeps/x86_64/sysdep.h: Likewise.
3970
df78418a
UD
39712012-01-07 Ulrich Drepper <drepper@gmail.com>
3972
a784e502
UD
3973 [BZ #13553]
3974 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3975 for non-gcc.
3976 * argp/argp-fmtstream.h: Use const instead __const.
3977 * argp/argp.h: Likewise.
3978 * assert/assert.h: Likewise.
3979 * bits/fenv.h: Likewise.
3980 * bits/sched.h: Likewise.
3981 * bits/sigset.h: Likewise.
3982 * bits/sigthread.h: Likewise.
3983 * catgets/nl_types.h: Likewise.
3984 * conform/data/pthread.h-data: Likewise.
3985 * crypt/crypt-private.h: Likewise.
3986 * crypt/crypt.h: Likewise.
3987 * crypt/crypt_util.c: Likewise.
3988 * ctype/ctype.h: Likewise.
3989 * debug/execinfo.h: Likewise.
3990 * debug/mbsnrtowcs_chk.c: Likewise.
3991 * debug/mbsrtowcs_chk.c: Likewise.
3992 * debug/wcsnrtombs_chk.c: Likewise.
3993 * debug/wcsrtombs_chk.c: Likewise.
3994 * debug/wcstombs_chk.c: Likewise.
3995 * dirent/dirent.h: Likewise.
3996 * dlfcn/dlfcn.h: Likewise.
3997 * elf/neededtest4.c: Likewise.
3998 * grp/grp.h: Likewise.
3999 * gshadow/gshadow.h: Likewise.
4000 * iconv/gconv.h: Likewise.
4001 * iconv/gconv_int.h: Likewise.
4002 * iconv/gconv_simple.c: Likewise.
4003 * iconv/iconv.h: Likewise.
4004 * iconv/loop.c: Likewise.
4005 * iconv/skeleton.c: Likewise.
4006 * include/aio.h: Likewise.
4007 * include/aliases.h: Likewise.
4008 * include/argz.h: Likewise.
4009 * include/arpa/inet.h: Likewise.
4010 * include/assert.h: Likewise.
4011 * include/dirent.h: Likewise.
4012 * include/dlfcn.h: Likewise.
4013 * include/execinfo.h: Likewise.
4014 * include/fcntl.h: Likewise.
4015 * include/fenv.h: Likewise.
4016 * include/glob.h: Likewise.
4017 * include/grp.h: Likewise.
4018 * include/libintl.h: Likewise.
4019 * include/mntent.h: Likewise.
4020 * include/netdb.h: Likewise.
4021 * include/pwd.h: Likewise.
4022 * include/rpc/netdb.h: Likewise.
4023 * include/sched.h: Likewise.
4024 * include/search.h: Likewise.
4025 * include/shadow.h: Likewise.
4026 * include/signal.h: Likewise.
4027 * include/stdio.h: Likewise.
4028 * include/stdlib.h: Likewise.
4029 * include/string.h: Likewise.
4030 * include/sys/socket.h: Likewise.
4031 * include/sys/stat.h: Likewise.
4032 * include/sys/statfs.h: Likewise.
4033 * include/sys/statvfs.h: Likewise.
4034 * include/sys/syslog.h: Likewise.
4035 * include/sys/time.h: Likewise.
4036 * include/sys/uio.h: Likewise.
4037 * include/time.h: Likewise.
4038 * include/unistd.h: Likewise.
4039 * include/utmp.h: Likewise.
4040 * include/wchar.h: Likewise.
4041 * include/wctype.h: Likewise.
4042 * inet/aliases.h: Likewise.
4043 * inet/arpa/inet.h: Likewise.
4044 * inet/netinet/ether.h: Likewise.
4045 * inet/netinet/in.h: Likewise.
4046 * intl/libintl.h: Likewise.
4047 * io/bits/fcntl2.h: Likewise.
4048 * io/fcntl.h: Likewise.
4049 * io/ftw.h: Likewise.
4050 * io/sys/poll.h: Likewise.
4051 * io/sys/stat.h: Likewise.
4052 * io/sys/statfs.h: Likewise.
4053 * io/sys/statvfs.h: Likewise.
4054 * io/utime.h: Likewise.
4055 * libio/bits/stdio.h: Likewise.
4056 * libio/bits/stdio2.h: Likewise.
4057 * libio/libio.h: Likewise.
4058 * libio/libioP.h: Likewise.
4059 * libio/stdio.h: Likewise.
4060 * locale/lc-ctype.c: Likewise.
4061 * locale/locale.h: Likewise.
4062 * login/utmp.h: Likewise.
4063 * malloc/arena.c: Likewise.
4064 * malloc/malloc.c: Likewise.
4065 * malloc/malloc.h: Likewise.
4066 * malloc/mcheck.c: Likewise.
4067 * malloc/mtrace.c: Likewise.
4068 * math/bits/mathcalls.h: Likewise.
4069 * math/fenv.h: Likewise.
4070 * math/math_private.h: Likewise.
4071 * misc/bits/error.h: Likewise.
4072 * misc/bits/syslog.h: Likewise.
4073 * misc/err.h: Likewise.
4074 * misc/error.h: Likewise.
4075 * misc/fstab.h: Likewise.
4076 * misc/mntent.h: Likewise.
4077 * misc/regexp.h: Likewise.
4078 * misc/search.h: Likewise.
4079 * misc/sgtty.h: Likewise.
4080 * misc/sys/mman.h: Likewise.
4081 * misc/sys/syslog.h: Likewise.
4082 * misc/sys/uio.h: Likewise.
4083 * misc/sys/xattr.h: Likewise.
4084 * misc/ttyent.h: Likewise.
4085 * nis/rpcsvc/ypclnt.h: Likewise.
4086 * nss/nss.h: Likewise.
4087 * posix/bits/unistd.h: Likewise.
4088 * posix/fnmatch.h: Likewise.
4089 * posix/glob.h: Likewise.
4090 * posix/sched.h: Likewise.
4091 * posix/spawn.h: Likewise.
4092 * posix/sys/wait.h: Likewise.
4093 * posix/unistd.h: Likewise.
4094 * posix/wordexp.h: Likewise.
4095 * pwd/pwd.h: Likewise.
4096 * resolv/netdb.h: Likewise.
4097 * resource/sys/resource.h: Likewise.
4098 * rt/aio.h: Likewise.
4099 * rt/bits/mqueue2.h: Likewise.
4100 * rt/mqueue.h: Likewise.
4101 * shadow/shadow.h: Likewise.
4102 * signal/signal.h: Likewise.
4103 * socket/send.c: Likewise.
4104 * socket/sendto.c: Likewise.
4105 * socket/sys/socket.h: Likewise.
4106 * stdio-common/printf.h: Likewise.
4107 * stdlib/bits/stdlib.h: Likewise.
4108 * stdlib/fmtmsg.h: Likewise.
4109 * stdlib/monetary.h: Likewise.
4110 * stdlib/stdlib.h: Likewise.
4111 * stdlib/ucontext.h: Likewise.
4112 * streams/stropts.h: Likewise.
4113 * string/argz.h: Likewise.
4114 * string/bits/string2.h: Likewise.
4115 * string/string.h: Likewise.
4116 * string/strings.h: Likewise.
4117 * sunrpc/rpc/auth.h: Likewise.
4118 * sunrpc/rpc/auth_des.h: Likewise.
4119 * sunrpc/rpc/clnt.h: Likewise.
4120 * sunrpc/rpc/netdb.h: Likewise.
4121 * sunrpc/rpc/pmap_clnt.h: Likewise.
4122 * sunrpc/rpc/xdr.h: Likewise.
4123 * sysdeps/generic/inttypes.h: Likewise.
4124 * sysdeps/generic/net/if.h: Likewise.
4125 * sysdeps/generic/sys/swap.h: Likewise.
4126 * sysdeps/gnu/net/if.h: Likewise.
4127 * sysdeps/gnu/utmpx.h: Likewise.
4128 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4129 * sysdeps/i386/i486/bits/string.h: Likewise.
4130 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4131 * sysdeps/s390/bits/string.h: Likewise.
4132 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4133 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4134 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4135 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4136 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4137 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4138 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4139 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4140 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4141 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4142 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4143 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4144 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4145 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4146 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4147 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4148 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4149 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4150 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4151 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4152 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4153 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4154 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4155 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4156 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4157 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4158 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4159 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4160 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4161 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4162 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4163 * sysvipc/sys/ipc.h: Likewise.
4164 * sysvipc/sys/msg.h: Likewise.
4165 * sysvipc/sys/sem.h: Likewise.
4166 * sysvipc/sys/shm.h: Likewise.
4167 * termios/termios.h: Likewise.
4168 * time/sys/time.h: Likewise.
4169 * time/time.h: Likewise.
4170 * wcsmbs/bits/wchar2.h: Likewise.
4171 * wcsmbs/uchar.h: Likewise.
4172 * wcsmbs/wchar.h: Likewise.
4173 * wctype/wctype.h: Likewise.
4174
0269750c
UD
4175 [BZ #13551]
4176 * Makeconfig: Remove all but ELF support including AIX support.
4177 * Makerules: Likewise.
4178 * config.h.in: Likewise.
4179 * config.make.in: Likewise.
4180 * configure: Likewise.
4181 * configure.in: Likewise.
4182 * csu/Makefile: Likewise.
4183 * csu/version.c: Likewise.
4184 * debug/Makefile: Likewise.
4185 * dlfcn/Makefile: Likewise.
4186 * elf/Makefile: Likewise.
4187 * extra-lib.mk: Likewise.
4188 * iconv/Makefile: Likewise.
4189 * include/libc-symbols.h: Likewise.
4190 * include/shlib-compat.h: Likewise.
4191 * resolv/Makefile: Likewise.
4192 * resolv/res_libc.c: Likewise.
4193 * rt/Makefile: Likewise.
4194 * sysdeps/i386/asm-syntax.h: Likewise.
4195 * sysdeps/i386/sysdep.h: Likewise.
4196 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4197 * sysdeps/mach/sysdep.h: Likewise.
4198 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4199 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4200 * sysdeps/s390/asm-syntax.h: Likewise.
4201 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4202 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4203 * sysdeps/sh/sysdep.h: Likewise.
4204 * sysdeps/unix/sparc/sysdep.h: Likewise.
4205 * sysdeps/wordsize-32/divdi3.c: Likewise.
4206 * sysdeps/x86_64/sysdep.h: Likewise.
4207
00bbd29b
UD
4208 * argp/Versions: Remove _argp_unlock_xxx.
4209
4210 [BZ #13559]
4211 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4212 * abilist/libBrokenLocale.abilist: Likewise.
4213 * abilist/libanl.abilist: Likewise.
4214 * abilist/libc.abilist: Likewise.
4215 * abilist/libcrypt.abilist: Likewise.
4216 * abilist/libdl.abilist: Likewise.
4217 * abilist/libm.abilist: Likewise.
4218 * abilist/libnsl.abilist: Likewise.
4219 * abilist/libpthread.abilist: Likewise.
4220 * abilist/libresolv.abilist: Likewise.
4221 * abilist/librt.abilist: Likewise.
4222 * abilist/libthread_db.abilist: Likewise.
4223 * abilist/libutil.abilist: Likewise.
4224 * abilist/libnss_db.abilist: New file.
4225
4226 * scripts/abilist.awk: Add support for indirect functions.
4227
a2693a0e
UD
4228 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4229
3f05895f
UD
4230 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4231
ecb6fb48
UD
4232 * shlib-versions: Remove entries for ports architectures.
4233
664f8cb9
UD
4234 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4235 files in ports.
4236 * elf/stackguard-macros.h: Remove support for IA-64.
4237 * elf/tst-auditmod1.c: Likewise.
4238 * sysdeps/generic/ldsodefs.h: Likewise.
4239
7ae81d88
UD
4240 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4241 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4242 configure files.
4243
bdeba135
UD
4244 [BZ #13552]
4245 * configure.in: Remove --enable-omitfp support.
4246 * FAQ.in: Adjust.
4247 * config.make.in: Likewise.
4248 * Makeconfig: Likewise.
4249 * manual/install.texi: Likewise.
4250
d75a0a62
UD
4251 In case anyone cares, the IA-64 architecture could move to ports.
4252 * sysdeps/ia64/*: Removed.
4253 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 4254 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 4255
dcc9756b
UD
4256 [BZ #13555]
4257 * configure.in: Remove entries for unsupported architectures.
4258
d3761ebc 4259 [BZ #13533]
9954432e
UD
4260 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4261 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4262 routines.
4263 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4264 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4265 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4266 fall back to using wcrtomb.
4267 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4268 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4269 renaming.
4270 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4271 * wcsmbs/tst-c16c32-1.c: New file.
4272
4273 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4274 local variable.
4275
c3a87236
UD
4276 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4277
28926a1b
UD
4278 * elf/tst-unique3.cc: Add explicit declaration of gets.
4279 * elf/tst-unique3lib.cc: Likewise.
4280 * elf/tst-unique3lib2.cc: Likewise.
4281 * elf/tst-unique4.cc: Likewise.
4282
df78418a
UD
4283 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4284
8ecd6b2a
JM
42852012-01-06 Joseph Myers <joseph@codesourcery.com>
4286
4287 [BZ #13566]
4288 * assert/assert.h (static_assert): Don't define for C++.
4289 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4290 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4291
9f115170
UD
42922012-01-03 Ulrich Drepper <drepper@gmail.com>
4293
5e0d0300
UD
4294 * iconv/loop.c (single loop): Fix assertion in storing of
4295 remaining bytes.
4296
9f115170
UD
4297 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4298
81fb02b0
UD
42992012-01-01 Ulrich Drepper <drepper@gmail.com>
4300
4301 * posix/getconf.c: Update copyright year.
4302 * nss/getent.c: Likewise.
a316c1f6 4303 * nss/makedb.c: Likewise.
81fb02b0
UD
4304 * iconv/iconvconfig.c: Likewise.
4305 * iconv/iconv_prog.c: Likewise.
4306 * elf/ldconfig.c: Likewise.
a316c1f6
UD
4307 * elf/pldd.c: Likewise.
4308 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
4309 * catgets/gencat.c: Likewise.
4310 * csu/version.c: Likewise.
4311 * elf/ldd.bash.in: Likewise.
4312 * elf/sprof.c (print_version): Likewise.
4313 * locale/programs/locale.c: Likewise.
4314 * locale/programs/localedef.c: Likewise.
a316c1f6 4315 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4316 * nscd/nscd.c (print_version): Likewise.
4317 * debug/xtrace.sh: Likewise.
4318 * malloc/memusage.sh: Likewise.
4319 * malloc/mtrace.pl: Likewise.
4320 * debug/catchsegv.sh: Likewise.
4321
2ba92745
JJ
43222011-12-30 Jakub Jelinek <jakub@redhat.com>
4323
4324 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4325 pure attribute.
4326
dadebdae
UD
43272011-12-24 Ulrich Drepper <drepper@gmail.com>
4328
d3761ebc 4329 [BZ #13533]
db6af3eb
UD
4330 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4331 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4332 transformations.
4333 * iconv/gconv_int.h: Likewise.
4334 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4335 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4336 from libc for GLIBC_2.16.
4337 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4338 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4339 * wcsmbs/uchar.h: Really define mbstate_t.
4340 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4341 * wcsmbs/c16rtomb.c: New file.
4342 * wcsmbs/mbrtoc16.c: New file.
4343 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4344 for C/POSIX locale.
4345 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4346 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4347
dadebdae
UD
4348 * wcsmbs/wchar.h: Add missing __restrict.
4349
67371b56
UD
43502011-12-23 Ulrich Drepper <drepper@gmail.com>
4351
74033a25
UD
4352 [BZ #13532]
4353 * time/Makefile (routines): Add timespec_get.
4354 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4355 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4356 timespec for ISO C11.
4357 * time/timespec_get.c: New file.
4358 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4359 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4360
380d7e87
UD
4361 [BZ #13531]
4362 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4363 * stdlib/stdlib.h: Declare aligned_alloc.
4364 * Versions.def: Add GLIBC_2.16 for libc.
4365 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4366
4e9e7a35
UD
4367 [BZ 13527]
4368 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4369 ISO C11.
4370
380d7e87 4371 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
4372 code.
4373
03a71829
UD
4374 [BZ #13528]
4375 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4376
839e283e
UD
4377 [BZ #13529]
4378 * assert/assert.h (static_assert): Define.
4379
ce5294e2 4380 * version.h: Update for 2.16 development version.
90fa7312 4381
8d44e150 4382 [BZ #13526]
d7809905
UD
4383 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4384 _ISOC11_SOURCE.
4385
c0da14cd
UD
4386 * version.h (RELEASE): Bump for 2.15 release.
4387 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4388
530a3249
MP
4389 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4390 Patch by Marek Polacek <mpolacek@redhat.com>.
4391
67371b56
UD
4392 * bits/byteswap.h: Protect long long constants with __extension__.
4393 * sysdeps/i386/bits/byteswap.h: Likewise.
4394 * sysdeps/ia64/bits/byteswap.h: Likewise.
4395 * sysdeps/s390/bits/byteswap.h: Likewise.
4396 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4397
15db4de1
LD
43982011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4399
4400 [BZ #13540]
bbe315ea
LD
4401 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4402 destination buffer.
15db4de1
LD
4403 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4404
2b2596b1
MP
44052011-12-23 Marek Polacek <polacek@redhat.com>
4406
4407 * elf/dl-addr.c (determine_info): Add inline keyword.
4408 * elf/tst-auditmod4b.c (check_avx): Likewise.
4409 * elf/tst-auditmod6b.c (check_avx): Likewise.
4410 * elf/tst-auditmod6c.c (check_avx): Likewise.
4411 * elf/tst-auditmod7b.c (check_avx): Likewise.
4412
70c6c246
UD
44132011-12-23 Ulrich Drepper <drepper@gmail.com>
4414
4415 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4416 !__SSE_MATH__.
4417
c044cf14
LD
44182011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4419
15db4de1 4420 [BZ #13540]
c044cf14
LD
4421 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4422 processing for last bytes.
4423
6b13d9d9
BH
44242011-08-06 Bruno Haible <bruno@clisp.org>
4425
d455f537
BH
4426 [BZ #13061]
4427 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4428 U+0385, not to U+1FEE.
4429
6b13d9d9
BH
4430 [BZ #13062]
4431 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4432 entry for U+00A5 U+0301.
4433
db910efd
UD
44342011-12-22 Ulrich Drepper <drepper@gmail.com>
4435
27deeafc
UD
4436 [BZ #13166]
4437 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4438 buffer for the output is too small.
4439
aed9d171
UD
4440 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4441 optimization.
4442
db910efd
UD
4443 [BZ #13185]
4444 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4445 SSE flags if possible.
4446
2bd779ae
LD
44472011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4448
e7f9dac3 4449 [BZ #13540]
2bd779ae
LD
4450 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4451 processing for last bytes.
4452
154bfc16
JM
44532011-12-22 Joseph Myers <joseph@codesourcery.com>
4454
4455 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4456 (syscall-list-default-options, syscall-list-default-condition)
4457 (syscall-list-includes): Define.
4458 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4459 list of ABIs and options and #if conditions for each ABI. Do not
4460 handle common syscalls between ABIs specially.
4461 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4462 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/s390/Makefile (64bit-predefine): Remove.
4467 (syscall-list-variants, syscall-list-32bit-options)
4468 (syscall-list-32bit-condition, syscall-list-64bit-options)
4469 (syscall-list-64bit-condition): Define.
4470 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4471 Remove.
4472 (syscall-list-variants, syscall-list-32bit-options)
4473 (syscall-list-32bit-condition, syscall-list-64bit-options)
4474 (syscall-list-64bit-condition): Define.
4475 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4476 Remove.
4477 (syscall-list-variants, syscall-list-32bit-options)
4478 (syscall-list-32bit-condition, syscall-list-64bit-options)
4479 (syscall-list-64bit-condition): Define.
4480
21eaf3a5
UD
44812011-12-22 Ulrich Drepper <drepper@gmail.com>
4482
16c6f992
UD
4483 * locale/iso-639.def: Add brx entry.
4484
41043168
UD
4485 [BZ #13328]
4486 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4487 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4488
21eaf3a5
UD
4489 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4490 __feraiseexcept_renamed.
4491
e3a851a2
UD
44922011-12-21 Ulrich Drepper <drepper@gmail.com>
4493
4920765e
UD
4494 [BZ #13538]
4495 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4496 EPOLLET with unsigned values.
4497 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4498 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4499
e3a851a2
UD
4500 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4501 to large cancellation.
4502 * math/s_cacoshf.c: Likewise.
4503 * math/s_cacoshl.c: Likewise.
4504
b27e24b8
RK
45052011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4506
4507 [BZ #13305]
aebefeee 4508 [BZ #12786]
b27e24b8
RK
4509 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4510 * math/s_cacoshf.c: Likewise.
4511 * math/s_cacoshl.c: Likewise.
4512
ee190f67
UD
45132011-12-21 Ulrich Drepper <drepper@gmail.com>
4514
4515 [BZ #13439]
4516 * iconv/gconv.h: Define __GCONV_SWAP.
4517 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4518 * iconvdata/utf-16.c: Likewise.
4519 * iconvdata/utf-32.c: Likewise.
4520
707f25df
AS
45212011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4522
4523 [BZ #13524]
4524 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4525 numerator after shifting it by one limb.
4526
d2daaa1e
RÁE
45272011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4528
4529 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4530 under [__USE_EXTERN_INLINES].
4531
a4647e72
UD
45322011-12-17 Ulrich Drepper <drepper@gmail.com>
4533
4534 [BZ #13446]
4535 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4536
f0b264f1
AZ
45372011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4538
4539 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4540 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4541 optimized code.
4542 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4543 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4544 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4545 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4546 for strncasecmp/strncasecmp_l compilation.
4547 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4548 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4549
8ef4f244
MP
45502011-12-08 Marek Polacek <mpolacek@redhat.com>
4551
4552 [BZ #13484]
4553 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4554 of __asm__.
4555
97ac2654
UD
45562011-12-17 Ulrich Drepper <drepper@gmail.com>
4557
4558 [BZ #13506]
4559 * time/tzfile.c (__tzfile_read): Check values from file header.
4560
91d2a845
WS
45612011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4562
4563 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4564 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4565 * powerpc/powerpc32/dl-start.S: Likewise.
4566 * powerpc/powerpc32/elf/start.S: Likewise.
4567 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4568 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4569 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4570 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4571 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4572 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4573 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4574 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4575 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4576 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4577 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4578 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4579 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4580 * powerpc/powerpc32/memset.S: Likewise.
4581 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4582 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4583 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4584 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4585 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4586 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4587 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4588 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4589 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4590 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4591 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4592 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4593 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4594
a1267ba1
AZ
45952011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4596
4597 * math/libm-test.inc: Added more nearbyint tests.
4598 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4599 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4600 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4601 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4602
ad8ac1bd
RL
46032011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4604
4605 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4606 FD_CLOEXEC.
4607
1d3e4b61
UD
46082011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4609
4610 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4611 Add wcscpy-ssse3 wcscpy-c.
4612 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4613 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4614 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4615 * sysdeps/x86_64/wcschr.S: New file.
4616 * sysdeps/x86_64/wcsrchr.S: New file.
4617 * string/test-strcmp.c: Remove checking of wcscmp function for
4618 wrong alignments.
4619 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4620 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4621 wcsrchr-sse2 wcsrchr-c.
4622 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4623 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4624 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4625 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4626 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4627 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4628 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4629 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4630 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4631 * wcsmbc/wcschr.c (WCSCHR): New macro.
4632
5b330a2d
UD
46332011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4634
4635 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4636 * wcsmbs/test-wcsrchr.c: New file.
4637 * string/test-strrchr.c: Add wcsrchr support.
4638 (WIDE): New macro.
4639 * wcsmbs/test-wcscpy.c: New file.
4640 * string/test-strcpy.c: Add wcscpy support.
4641 (WIDE): New macro.
26428b7c 4642
f039c043
UD
46432011-12-10 Ulrich Drepper <drepper@gmail.com>
4644
4645 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4646 the inner loop.
4647
850fb039
AS
46482011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4649
4650 [BZ #13472]
4651 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4652
4efbd5cb
UD
46532011-12-04 Ulrich Drepper <drepper@gmail.com>
4654
52ff5dd0 4655 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 4656 Minor optimizations.
52ff5dd0 4657
4efbd5cb
UD
4658 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4659 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4660 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4661
8a426e12
UD
46622011-12-03 Ulrich Drepper <drepper@gmail.com>
4663
aff2453d
UD
4664 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4665 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4666 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4667 for gcc to avoid warnings.
4668 * inet/Makefile (tests): Add tst-checks.
4669 * inet/tst-checks.c: New file.
4670
4671 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4672 warning.
4673
4674 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4675 __wmemcmp_sse2.
4676
4677 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4678 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4679
8a426e12
UD
4680 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4681
9bea3473
UD
46822011-12-02 Ulrich Drepper <drepper@gmail.com>
4683
3a965496
UD
4684 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4685 problem.
4686
9bea3473
UD
4687 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4688
f101631b
UD
46892011-11-29 Joseph Myers <joseph@codesourcery.com>
4690
4691 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4692 conditional on GCC version.
4693 (__arch_compare_and_exchange_val_8_acq)
4694 (__arch_compare_and_exchange_val_16_acq)
4695 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4696 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4697 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4698
a98275aa
UD
46992011-12-02 Joseph Myers <joseph@codesourcery.com>
4700
4701 * sysdeps/sh/backtrace.c: New file.
4702
d4cc29a2
AS
47032011-12-02 Andreas Schwab <schwab@redhat.com>
4704
4705 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4706 parenthesis.
4707
6257af2d
AS
47082011-12-01 Andreas Schwab <schwab@redhat.com>
4709
4710 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4711 falling back to utime.
4712
b5f44c1a
AS
47132011-11-30 Andreas Schwab <schwab@redhat.com>
4714
4715 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4716 expectations for float.
4717
f3a6cc0a
AS
47182011-11-29 Andreas Schwab <schwab@redhat.com>
4719
4720 * locale/weight.h (findidx): Add parameter len.
4721 * locale/weightwc.h (findidx): Likewise.
4722 * posix/fnmatch_loop.c (FCT): Adjust caller.
4723 * posix/regcomp.c (build_equiv_class): Likewise.
4724 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4725 * posix/regexec.c (check_node_accept_bytes): Likewise.
4726 * string/strcoll_l.c (STRCOLL): Likewise.
4727 * string/strxfrm_l.c (STRXFRM): Likewise.
4728
9d65ea3a
UD
47292011-11-17 Ulrich Drepper <drepper@gmail.com>
4730
4731 * Makefile.in: Remove CVSOPT handling.
4732 * configure.in: Remove use of AC_REVISION.
4733 * iconvdata/Makefile (distribute): No need to filter out CVS.
4734 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4735 handling.
4736
5583a086
AS
47372011-11-16 Andreas Schwab <schwab@redhat.com>
4738
4739 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4740 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4741 [USE_AS_STRNCASECMP_L]: Likewise.
4742 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4743 NO_TLS_DIRECT_SEG_REFS.
4744 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4745 Fix argument offsets for non-PIC.
4746 [USE_AS_STRNCASECMP_L]: Likewise.
4747 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4748 NO_TLS_DIRECT_SEG_REFS.
4749
d62a8200
UD
47502011-11-15 Ulrich Drepper <drepper@gmail.com>
4751
9d65ea3a 4752 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
4753 O_CLOEXEC.
4754 * locale/loadlocale.c (_nl_load_locale): Likewise.
4755
09f93bd3
AS
47562011-11-15 Andreas Schwab <schwab@redhat.com>
4757
446514f9
AS
4758 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4759 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4760 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4761 (SYSCALL_GETTIME): Set errno on error.
4762
09f93bd3
AS
4763 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4764 count references to noai6ai_cached.
4765
312be3f9
UD
47662011-11-15 Ulrich Drepper <drepper@gmail.com>
4767
4768 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4769
4770 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4771 FD_CLOEXEC for /proc/self/maps.
4772
4773 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4774 FD_CLOEXEC for /proc/meminfo.
4775
4776 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4777 gai.conf.
4778
4779 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4780 FD_CLOEXEC for given file.
4781
4782 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4783
4784 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4785 FD_CLOEXEC for /etc/hosts.
4786 (_gethtent): Likewise.
4787
4788 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4789
4790 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4791 cancellation and set FD_CLOEXEC for /etc/netgroup.
4792
4793 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4794 reading /etc/publickey.
4795
4796 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4797 allow cancellation when reading /etc/group.
4798
4799 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4800 cancellation.
4801 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4802
4803 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4804 when using data file.
4805
4806 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4807
4808 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4809 (write_nis_obj): Use "c" and "e" in fopen.
4810
4811 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4812
4813 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4814
4815 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4816
4817 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4818
4819 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4820 locale.alias.
4821
4822 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4823
4824 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4825
4826 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4827
4828 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4829 file parsing and set FD_CLOEXEC.
4830
82af0fa8
UD
48312011-11-14 Ulrich Drepper <drepper@gmail.com>
4832
4833 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4834
a5fb313c
AS
48352011-11-14 Andreas Schwab <schwab@redhat.com>
4836
4837 * malloc/arena.c (arena_get2): Don't call reused_arena when
4838 _int_new_arena failed.
4839
6abf3465
UD
48402011-11-14 Ulrich Drepper <drepper@gmail.com>
4841
4842 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4843 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4844 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4845 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4846 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4847 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4848 to compile strcasecmp and strncasecmp.
4849 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4850 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4851
4852 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4853
76e3966e
UD
48542011-11-13 Ulrich Drepper <drepper@gmail.com>
4855
4856 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4857 locale-defines.sym to gen-as-const-headers.
4858 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4859 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4860 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4861 to compile strcasecmp and strncasecmp.
4862 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4863 strcasecmp_l and strncasecmp_l.
4864 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4865 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4866 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4867 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4868 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4869 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4870 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4871 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4872 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4873 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4874 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4875
ab26144e
UD
48762011-11-12 Ulrich Drepper <drepper@gmail.com>
4877
7edb22ef
UD
4878 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4879 result of SYSDEP_GETTIME_CPU to retval.
4880 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4881 parameter list to macro. Remove trailing semicolon. Adjust users.
4882
9694fc44
UD
4883 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4884 variable.
4885
8ad89ef8
UD
4886 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4887 mantissa words.
4888 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4889
0c822ef9
UD
4890 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4891 from unused variable.
4892
874e0564
UD
4893 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4894 DWARF definitions.
4895 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4896 for assembling.
4897
3a2edc79
UD
4898 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4899 over namespaces.
4900
f3c2577f
UD
4901 * sunrpc/rpc_prot.c (rejected): Fix case value.
4902
294ce126
UD
4903 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4904 unsigned long long int to avoid warnings in shift.
4905
5e2b63c6
UD
4906 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4907 of use of trans.
4908 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4909 variable tmp.
4910
e7f4b08e
UD
4911 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4912 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4913 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4914
ab26144e
UD
4915 * nis/nis_table.c (nis_list): Use variable of correct type for
4916 result of __follow_path call.
4917
8a6d5255
AZ
49182011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4919
4920 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4921 of math functions ceil, trunc, floor, round, and sqrt, when
4922 avaliable on the platform.
4923 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4924 name clash.
4925 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4926 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4927 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4928
aaddc98c
MP
49292011-10-30 Marek Polacek <mpolacek@redhat.com>
4930
4931 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4932 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4933
95b7042b
RM
49342011-11-11 Roland McGrath <roland@hack.frob.com>
4935
4936 * include/unistd.h: Fix __readlink return type.
4937 Reported by Chris Metcalf <cmetcalf@tilera.com>.
4938
57769839
UD
49392011-11-11 Ulrich Drepper <drepper@gmail.com>
4940
4941 * stdlib/ucontext.h: Undo last change for makecontext.
4942
edc5984d
AS
49432011-11-11 Andreas Schwab <schwab@redhat.com>
4944
98591e58
AS
4945 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4946
edc5984d
AS
4947 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4948 * setjmp/setjmp.h: Mark functions as non-leaf.
4949 * setjmp/bits/setjmp2.h: Likewise.
4950 * stdlib/ucontext.h: Likewise.
4951
77cdc054
AS
49522011-11-10 Andreas Schwab <schwab@redhat.com>
4953
4954 * malloc/arena.c (_int_new_arena): Don't increment narenas.
4955 (reused_arena): Don't check arena limit.
4956 (arena_get2): Atomically check arena limit.
4957
fe72eebd
UD
49582011-11-08 Ulrich Drepper <drepper@gmail.com>
4959
5f078c32
UD
4960 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4961 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4962
fe72eebd
UD
4963 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4964 instructions.
4965
ae1bc2fa
AS
49662011-11-07 Andreas Schwab <schwab@redhat.com>
4967
7583a88d
AS
4968 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4969 handler when locking.
4970
ae1bc2fa
AS
4971 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4972 Fix size of allocated buffer.
4973
10fb0bfa
AS
49742011-11-04 Andreas Schwab <schwab@redhat.com>
4975
998832a4
AS
4976 [BZ #10103]
4977 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4978 declarations for long double functions.
4979 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
4980
10fb0bfa
AS
4981 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
4982
3d7ba52b
AS
49832011-11-03 Andreas Schwab <schwab@redhat.com>
4984
a9ae54a1
AS
4985 * nscd/nscd.c (main): Don't start AVC thread until credentials are
4986 installed.
4987
3d7ba52b
AS
4988 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
4989 is disabled.
4990
bc8db248
ST
49912011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4992
4993 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
4994
45b96dd6
AS
49952011-11-01 Andreas Schwab <schwab@linux-m68k.org>
4996
647776f6
AS
4997 * include/alloca.h (stackinfo_alloca_round): Define.
4998 (extend_alloca): Use it.
4999 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5000 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5001 here.
5002
d91a8b93
AS
5003 * scripts/check-local-headers.sh: Ignore libaudit.h.
5004
45b96dd6
AS
5005 * nscd/Makefile (extra-objs): Make recursively expanded.
5006
432d41ce
UD
50072011-11-01 Ulrich Drepper <drepper@gmail.com>
5008
34372fc6
UD
5009 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5010 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5011
fadb59f8
UD
5012 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5013 * posix/tst-rfc3484-2.c: Likewise.
5014 * posix/tst-rfc3484-3.c: Likewise.
5015
78239589
UD
5016 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5017 process_vm_writev.
5018 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5019 process_vm_writev.
5020 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5021 process_vm_writev from libc using GLIBC_2.15 version.
5022
432d41ce
UD
5023 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5024
02f9c6cf
PP
50252011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5026
5027 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5028 stack usage.
5029
3a2c0242
UD
50302011-10-31 Ulrich Drepper <drepper@gmail.com>
5031
f4ec4833
UD
5032 [BZ #13367]
5033 * nss/getent.c (initgroups_keys): Show error message in case no group
5034 names are given.
5035
3a2c0242
UD
5036 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5037 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5038 __bump_nl_timestamp.
5039 * nscd/connections (nscd_init): When host database is served open
5040 netlink socket and request notification about configuration changes.
5041 (main_loop_poll): Track netlink file descriptor and bump timestamp
5042 in case data becomes available.
5043 (main_loop_epoll): Likewise.
5044 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5045 (database_pers_head): Add extra_data fileds.
5046 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5047 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5048 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5049 Adjust caller.
5050 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5051 in6ai data, call __free_in6ai.
5052 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5053 Add -DHAVE_NETLINK.
5054 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5055 interface information. Reuse previous data if netlink timestamp
5056 is not changed.
5057 (__bump_nl_timestamp): New function.
5058 (__free_in6ai): New function.
5059
636064eb
UD
50602011-10-30 Ulrich Drepper <drepper@gmail.com>
5061
5062 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5063 close_not_cancel_no_status here.
5064 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5065
9beb2334
UD
50662011-10-29 Ulrich Drepper <drepper@gmail.com>
5067
6ef76f3b
UD
5068 [BZ #13276]
5069 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5070 return value.
5071
0ffc4f3e 5072 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5073 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5074 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5075
cb95113e
UD
50762011-07-03 Andreas Jaeger <aj@suse.de>
5077
5078 [BZ #10709]
5079 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5080 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5081 * math/libm-test.inc (sin_test): Add test case.
5082
a1b560ff
UD
50832011-10-29 Ulrich Drepper <drepper@gmail.com>
5084
c9aaface
UD
5085 [BZ #13337]
5086 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5087 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5088
d272e7f1
UD
5089 * elf/chroot_canon.c (chroot_canon): Cleanups.
5090
1bc33071
UD
5091 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5092
1760874d
TJ
5093 [BZ #13335]
5094 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5095 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5096
51d91b18
UD
5097 * string/test-strchr.c: Make usable for strchrnul testing.
5098 * string/test-strchrnul.c: New file.
5099 * string/Makefile (strop-tests): Add strchrnul.
5100
a1b560ff 5101 * po/it.po: Update from translation team.
b611fb81 5102 * po/es.po: Likewise.
a1b560ff 5103
a5b81e1f
UD
51042011-10-28 Ulrich Drepper <drepper@gmail.com>
5105
fd52bc6d
UD
5106 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5107 the three constants needed as parameters. Drop the others.
5108 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5109 __m128i_strloadu_tolower.
52e4b9eb
UD
5110 Create and initialize variable zero and use it in all the places
5111 where _mm_setzero_si128 was used.
fd52bc6d 5112
a5b81e1f
UD
5113 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5114 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5115 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5116 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5117 anymore.
5118 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5119 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5120 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5121 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5122 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5123 __mpranred, __mptan.
5124 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5125 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5126 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5127 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5128 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5129 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5130 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5131 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5132 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5133
b4343346
AS
51342011-10-28 Andreas Schwab <schwab@redhat.com>
5135
0c92d8a8
AS
5136 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5137 redefine if SHARED.
5138 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5139
b4343346
AS
5140 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5141 wide char related routines to wcsmbs subdir.
5142
3871f58f
AS
51432011-10-27 Andreas Schwab <schwab@redhat.com>
5144
5145 [BZ #13344]
5146 * misc/sys/cdefs.h (__THROWNL): Define.
5147 * posix/unistd.h: Use __THREADNL instead of __THREAD
5148 for memory synchronization functions.
5149
94d44d9f
RM
51502011-10-26 Roland McGrath <roland@hack.frob.com>
5151
21b64b15 5152 [BZ #13349]
94d44d9f
RM
5153 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5154 doesn't exist.
5155 * manual/stdio.texi (Obstack Streams): Node removed.
5156
f6ce9294
AS
51572011-10-26 Andreas Schwab <schwab@redhat.com>
5158
80479147
AS
5159 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5160 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5161 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5162
f6ce9294
AS
5163 * math/math_private.h (math_force_eval): Allow non-addressable
5164 arguments.
5165 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5166
618280a1
UD
51672011-10-25 Ulrich Drepper <drepper@gmail.com>
5168
e0016b11
UD
5169 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5170 file is not needed.
5171
5172 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5173 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5174 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5175 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5176 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5177 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5178 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5179 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5180 Add AVX variants.
5181 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5182 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5183 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5184 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5185 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5186 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5187 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5188 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5189 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5190 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5191 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5192 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5193 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5194 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5195 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5196 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5197 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5198 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5199 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5200
5201 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5202 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5203
618280a1
UD
5204 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5205 place. Use VEX encoding when compiling for AVX.
5206
37822576
AS
52072011-10-25 Andreas Schwab <schwab@redhat.com>
5208
1f1e1947
AS
5209 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5210 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5211
37822576
AS
5212 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5213
31ea014d
UD
52142011-10-25 Ulrich Drepper <drepper@gmail.com>
5215
d7826aa1 5216 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 5217 useless if() expression.
d7826aa1
UD
5218 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5219 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5220 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5221 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5222 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5223 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5224 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5225 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5226 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5227 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5228 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5229 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5230 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5231 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5232 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5233 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5234 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5235 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5236 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5237
31ea014d
UD
5238 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5239
16437fec
AS
52402011-10-25 Andreas Schwab <schwab@redhat.com>
5241
5242 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5243 condition.
5244 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5245
31d3cc00
UD
52462011-10-25 Ulrich Drepper <drepper@gmail.com>
5247
5248 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5249 .text section. Avoid duplicate constants.
5250 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5251 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5252 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5253 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5254 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5255 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5256 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5257 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5258 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5259 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5260 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5261 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5262 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5263 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5264 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5265 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5266 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5267 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5268 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5269 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5270 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5271 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5272 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5273 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5274 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5275 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5276 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5277 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5278 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5279 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5280 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5281 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5282 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5283 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5284 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5285 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5286 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5287 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5288 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5289 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5290 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5291 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5292 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5293 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5294 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5295
58985aa9
UD
52962011-10-24 Ulrich Drepper <drepper@gmail.com>
5297
202c9deb
UD
5298 * sysdeps/x86_64/dla.h: Move to ...
5299 * sysdeps/x86_64/fpu/dla.h: ...here.
5300 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5301 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 5302
af968f62
UD
5303 * config.make.in: Add have-mfma4 entry.
5304 * configure.in: Substitute libc_cv_cc_fma4.
5305 * math/Makefile (dbl-only-routines): Add sincostab.
5306 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5307 Use __sincostab not sincos.
5308 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5309 name is a macro.
5310 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5311 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5312 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5313 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5314 using __copysign.
5315 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5316 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5317 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5318 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5319 and __inv.
5320 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5321 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5322 __copysign.
5323 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5324 define aliases when function name is a macro.
5325 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5326 sysdeps/ieee754/dbl-64/sincos.tbl.
5327 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5328 fma4-enabled routines.
5329 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5330 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5331 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5332 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5333 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5334 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5335 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5336 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5337 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5338 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5339 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5340 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5341 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5342 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5343 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5344 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5345 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5346 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5347 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5348 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5349 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5350 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5351 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5352 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5353 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5354 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5355 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5356 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5357 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5358 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5359
58985aa9
UD
5360 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5361 rename.
5362 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5363 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5364 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5365 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5366 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5367 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5368 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5369 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5370
a201fbcf
AS
53712011-10-24 Andreas Schwab <schwab@redhat.com>
5372
5373 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5374
fc2ee42a
LD
53752011-10-23 Ulrich Drepper <drepper@gmail.com>
5376
bb3129bd
UD
5377 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5378
0275fff8
UD
5379 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5380 prediction.
5381 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5382
2fa2ae85
UD
5383 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5384 Remove unused variable magic_bits.
5385 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5386
fc2ee42a
LD
5387 * string/strnlen.c: Define and use STRNLEN macro.
5388 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5389 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5390 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5391 * wcsmbs/wcslen.c: Define and use WCSLEN.
5392 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5393 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5394 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5395 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5396 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5397 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5398 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5399
ce7dd29f
LD
54002011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5401
5402 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5403 strnlen-sse2-no-bsf.
5404 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5405 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5406 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5407 Add strnlen support.
5408 (USE_AS_STRNLEN): New macro.
5409 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5410 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5411 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5412 * sysdeps/x86_64/wcslen.S: New file.
5413
979c70a3
MZ
54142011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5415
5416 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5417 XMM-moves are used for copying on small sizes.
5418
2d09f82f
LD
54192011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5420
5421 * wcsmbs/Makefile (strop-tests): Add wcschr.
5422 * wcsmbs/test-wcschr.c: New file.
5423 * string/test-strchr.c: Update.
5424 Add wcschr support.
5425 (WIDE): New macro.
5426
619fccca
LD
54272011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5428
2d09f82f 5429 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
5430 * wcsmbs/test-wcslen.c: New file.
5431 * string/test-strlen.c: Update.
5432 Add wcslen support.
5433 (WIDE): New macro.
5434
09f699ea
UD
54352011-10-23 Ulrich Drepper <drepper@gmail.com>
5436
5437 * po/it.po: Update from translation team.
5438
95584d3b
LD
54392011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5440
5441 * sysdeps/x86_64/wcscmp.S: Update.
5442 Fix wrong comparison semantics.
5443 wcscmp shall use signed comparison not unsigned.
5444 Don't use substraction to avoid overflow bug.
5445 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5446 * wcsmbc/wcscmp.c: Likewise.
5447 * string/test-strcmp.c: Likewise.
5448 Add new tests to check cases with negative values.
5449
c8b3296b
UD
54502011-10-23 Ulrich Drepper <drepper@gmail.com>
5451
5452 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5453 * sysdeps/x86_64/dla.h: ...here. New file.
5454 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5455 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5456 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5457 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5458 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5459 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5460 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5461 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5462 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5463
246ad57a
AS
54642011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5465
5466 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5467 __ynl_finite aliases.
5468
a1a87169
UD
54692011-10-22 Ulrich Drepper <drepper@gmail.com>
5470
0d355eb7
UD
5471 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5472
a1a87169
UD
5473 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5474 define DLA_FMA.
5475 [DLA_FMA] (EMULV): Use DLA_FMA.
5476 [DLA_FMA] (MUL12): Use EMULV.
5477 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5478 that are not needed.
5479 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5480 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5481 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5482 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5483 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5484 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5485 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5486
ee2aafe0
AS
54872011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5488
5489 * math/s_nan.c: Undef __nan.
5490 * math/s_nanf.c: Undef __nanf.
5491 * math/s_nanl.c: Undef __nanl.
5492 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5493 "math_private.h".
5494
bc62c2fb
UD
54952011-10-22 Ulrich Drepper <drepper@gmail.com>
5496
77425c63
UD
5497 * math/s_catan.c: Add branch predictions.
5498 * math/s_catanf.c: Likewise.
5499 * math/s_catanh.c: Likewise.
5500 * math/s_catanhf.c: Likewise.
5501 * math/s_catanhl.c: Likewise.
5502 * math/s_catanl.c: Likewise.
5503 * math/s_cexp.c: Likewise.
5504 * math/s_cexpf.c: Likewise.
5505 * math/s_cexpl.c: Likewise.
5506 * math/s_clog.c: Likewise.
5507 * math/s_clog10.c: Likewise.
5508 * math/s_clog10f.c: Likewise.
5509 * math/s_clog10l.c: Likewise.
5510 * math/s_clogf.c: Likewise.
5511 * math/s_clogl.c: Likewise.
5512 * math/s_csqrt.c: Likewise.
5513 * math/s_csqrtf.c: Likewise.
5514 * math/s_csqrtl.c: Likewise.
5515 * math/s_ctanf.c: Likewise.
5516 * math/s_ctanh.c: Likewise.
5517 * math/s_ctanhf.c: Likewise.
5518 * math/s_ctanhl.c: Likewise.
5519 * math/s_ctanl.c: Likewise.
5520
bc62c2fb
UD
5521 * math/math_private.h: Define __nan, __nanf, __nanl.
5522 * math/s_cacosh.c: Include <math_private.h>.
5523 * math/s_cacoshl.c: Likewise.
5524 * math/s_casinh.c: Likewise.
5525 * math/s_casinhf.c: Likewise.
5526 * math/s_casinhl.c: Likewise.
5527 * math/s_ccos.c: Rely entire on ccosh.
5528 * math/s_ccosf.c: Rely entire on ccoshf.
5529 * math/s_ccosl.c: Rely entirely on ccoshl.
5530 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5531 Remove tests for FE_INVALID.
5532 * math/s_ccoshf.c: Likewise.
5533 * math/s_ccoshl.c: Likewise.
5534 * math/s_csin.c: Likewise.
5535 * math/s_csinf.c: Likewise.
5536 * math/s_csinh.c Likewise.
5537 * math/s_csinhf.c: Likewise.
5538 * math/s_csinhl.c: Likewise.
5539 * math/s_csinl.c: Likewise.
5540 * math/s_ctan.c: Likewise.
5541 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5542 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5543 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5544
8ec250a4
UD
55452011-10-21 Ulrich Drepper <drepper@gmail.com>
5546
c196fed8
UD
5547 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5548 compilation problems.
5549
8ec250a4
UD
5550 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5551 __builtin_expect.
5552
8d4f46c6
UD
55532011-10-20 Ulrich Drepper <drepper@gmail.com>
5554
ed72b654
UD
5555 * sysdeps/i386/configure.in: Test for -mfma4 option.
5556 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5557 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5558 COMMON_CPUID_INDEX_80000001.
5559 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5560 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5561 use it if FMA3 is not supported.
5562 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5563
8d4f46c6
UD
5564 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5565 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5566
d45c60c2
AS
55672011-10-20 Andreas Schwab <schwab@redhat.com>
5568
5569 [BZ #12892]
5570 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5571 it would create a cycle with a link time dependency.
5572
d9a4d2ab
UD
55732011-10-19 Ulrich Drepper <drepper@gmail.com>
5574
855d1560
UD
5575 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5576 instruction.
5577 * string/Makefile (strop-tests): Add rawmemchr.
5578 * string/test-rawmemchr.c: New file.
5579
d9a4d2ab
UD
5580 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5581 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5582 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5583 when compiling str{,n}casecmp and when AVX is available. Hook up
5584 new optimized code in initializers.
5585
8f3b1ffe
AS
55862011-10-19 Andreas Schwab <schwab@redhat.com>
5587
5588 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5589 __feraiseexcept instead of feraiseexcept.
5590
d38f1dba
UD
55912011-10-18 Ulrich Drepper <drepper@gmail.com>
5592
d9a8d0ab
UD
5593 * math/math_private.h: Define defaults for libc_fetestexcept and
5594 libc_feupdateenv.
5595 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5596 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5597 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5598 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5599 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5600 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5601 libc_fetestexcept and libc_feupdateenv.
5602
4855e3dd
UD
5603 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5604 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5605 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5606 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5607 libc_feholdexcept_setround.
5608
581d30e3
UD
5609 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5610 Add s_nearbyint-c and s_nearbyintf-c.
5611 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5612 nearbyintf inlines.
5613 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5614 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5615 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5616 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5617
d38f1dba
UD
5618 * math/math_private.h: Define defaults for libc_fegetround,
5619 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5620 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5621 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5622 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5623 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5624 standard functions.
5625 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5626 Remove comments and hacks for old compiler versions.
5627 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5628 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5629 libc_feholdexceptl.
5630
caa6c9d8
AS
56312011-10-18 Andreas Schwab <schwab@redhat.com>
5632
5633 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
5634 (__feraiseexcept_renamed): Add __NTH.
5635 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
5636 namespace violations.
5637
97c066e6
UD
56382011-10-17 Ulrich Drepper <drepper@gmail.com>
5639
99ce7b04
UD
5640 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5641
1004d182
UD
5642 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5643
228a984d
UD
5644 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5645 recently added interfaces.
5646 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5647
c8553a6a
UD
5648 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5649 about macro parameter expansion.
5650
ed22dcf6
UD
5651 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5652 __NO_MATH_INLINES is defined. Cleanups.
5653
5654 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5655 and __floorf is target has SSE4.1.
5656 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5657 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5658 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5659 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5660
b171c137
UD
5661 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5662 name.
5663 (floorf): Likewise.
5664
97c066e6
UD
5665 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5666
629f62ef
AS
56672011-10-17 Andreas Schwab <schwab@redhat.com>
5668
49a43d80
AS
5669 * misc/sys/cdefs.h: Fix last change.
5670
629f62ef
AS
5671 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5672 database lookup.
5673
e453f6cd
UD
56742011-10-16 Ulrich Drepper <drepper@gmail.com>
5675
aa78043a
UD
5676 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5677
ad0f5cad
UD
5678 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5679 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5680 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5681 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5682 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5683 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5684 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5685 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5686 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5687 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5688 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5689 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5690 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5691 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5692 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5693 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5694 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5695 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5696 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5697 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5698 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5699 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5700
5701 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5702 ceil, ceilf, floor, floorf.
5703
5704 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5705 Perform IRELATIVE relocations last.
5706
e453f6cd
UD
5707 * elf/do-rel.h: Add another parameter nrelative, replacing the
5708 local variable with the same name. Change name of the function
5709 to end in Rel or Rela (uppercase).
5710 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5711 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5712 elf_dynamic_do_##reloc function.
5713
fd5bdc09
UD
57142011-10-15 Ulrich Drepper <drepper@gmail.com>
5715
79b195b5
UD
5716 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5717 is sufficient, at least on modern CPUs.
5718
d4a28569
UD
5719 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5720
b61099b5
UD
5721 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5722 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5723
bcf01e6d
UD
5724 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5725 __expl_finite.
5726 * math/bits/math-finite.h: Add entries for exp.
5727 * math/e_expl.c: Add __*_finite alias.
5728 * sysdeps/i386/fpu/e_exp.S: Likewise.
5729 * sysdeps/i386/fpu/e_expf.S: Likewise.
5730 * sysdeps/i386/fpu/e_expl.c: Likewise.
5731 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5732 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5733 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5734 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5735 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5736 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5737 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5738
ba1a0d59
UD
5739 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5740 is sufficient, at least on modern CPUs.
5741
fd5bdc09
UD
5742 * ctype/ctype-info.c (__ctype_init): Define.
5743 * include/ctype.h (__ctype_init): Declare.
5744 (__ctype_b_loc): The variable is always initialized.
5745 (__ctype_toupper_loc): Likewise.
5746 (__ctype_tolower_loc): Likewise.
5747 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5748 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5749
7872cfb0
AS
57502011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5751
b468825a
AS
5752 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5753
7872cfb0
AS
5754 * configure.in: Also look in $cxxmachine/include for C++ system
5755 headers.
5756
be13f7bf
LD
57572011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5758
5759 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5760 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5761 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5762 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5763 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5764 (USE_AS_WMEMCMP): New macro.
5765 Fixing indents.
5766 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5767 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5768 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5769 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5770 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5771 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5772 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5773 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5774 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5775 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5776 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5777 (USE_AS_WMEMCMP): New macro.
5778 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5779 * sysdeps/string/test-memcmp.c: Update.
5780 Fix simple_wmemcmp.
5781 Add new tests.
5782 * wcsmbs/wmemcmp.c: Update.
5783 (WMEMCMP): New macro.
5784 Fix overflow bug.
5785
556a2007
AJ
57862011-10-12 Andreas Jaeger <aj@suse.de>
5787
5788 [BZ #13268]
5789 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5790
538faaa7
UD
57912011-10-15 Ulrich Drepper <drepper@gmail.com>
5792
ab6737ff
UD
5793 * libio/iofwide.c (do_length): Avoid warning.
5794
538faaa7
UD
5795 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5796
396a21b1
UD
57972011-10-14 Ulrich Drepper <drepper@gmail.com>
5798
cdf2901f
UD
5799 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5800
38ad40ce
UD
5801 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5802 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5803 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5804 * sysdeps/i386/i686/fpu/e_log.S: New file.
5805 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5806 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5807
396a21b1
UD
5808 * ctype/ctype.h: Add support for inlined isXXX functions when
5809 compiling C++ code.
5810
6b1f68c9
AS
58112011-10-14 Andreas Schwab <schwab@redhat.com>
5812
349290c0
AS
5813 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5814
6b1f68c9
AS
5815 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5816
f2282d42
RM
58172011-10-13 Roland McGrath <roland@hack.frob.com>
5818
5819 [BZ #13291]
5820 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5821
5298ffa8
AS
58222011-10-13 Andreas Schwab <schwab@redhat.com>
5823
714fad23
AS
5824 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5825 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5826 feraiseexcept.
5827
81dcc7fb
AS
5828 * sysdeps/x86_64/memrchr.S: Check for zero size.
5829
5298ffa8
AS
5830 * string/stratcliff.c: Add memrchr tests.
5831
951fbcec
LD
58322011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5833
5834 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5835 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5836 rawmemchr-sse2 rawmemchr-sse2-bsf.
5837 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5838 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5839 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5840 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5841 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5842 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5843 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5844 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5845 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5846 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5847 * string/memrchr.c (MEMRCHR): New macro.
5848
0ac5ae23
UD
58492011-10-12 Ulrich Drepper <drepper@gmail.com>
5850
5851 Add integration with gcc's -ffinite-math-only and optimize wrapper
5852 functions in libm.
5853 * Versions.def: Define GLIBC_2.15 version for libm.
5854 * math/Makefile (headers): Add bits/math-finite.h.
5855 * math/bits/math-finite.h: New file.
5856 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5857 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5858 * math/e_acoshl.c: Add __*_finite alias.
5859 * math/e_acosl.c: Likewise.
5860 * math/e_asinl.c: Likewise.
5861 * math/e_atan2l.c: Likewise.
5862 * math/e_atanhl.c: Likewise.
5863 * math/e_coshl.c: Likewise.
5864 * math/e_exp10.c: Likewise.
5865 * math/e_exp10f.c: Likewise.
5866 * math/e_exp10l.c: Likewise.
5867 * math/e_exp2l.c: Likewise.
5868 * math/e_fmodl.c: Likewise.
5869 * math/e_gammal_r.c: Likewise.
5870 * math/e_hypotl.c: Likewise.
5871 * math/e_j0l.c: Likewise.
5872 * math/e_j1l.c: Likewise.
5873 * math/e_jnl.c: Likewise.
5874 * math/e_lgammal_r.c: Likewise.
5875 * math/e_log10l.c: Likewise.
5876 * math/e_log2l.c: Likewise.
5877 * math/e_logl.c: Likewise.
5878 * math/e_powl.c: Likewise.
5879 * math/e_sinhl.c: Likewise.
5880 * math/e_sqrtl.c: Likewise.
5881 * math/e_scalb.c: Completely rewritten and optimized.
5882 * math/e_scalbf.c: Likewise.
5883 * math/e_scalbl.c: Likewise.
5884 * math/w_acos.c: Likewise.
5885 * math/w_acosf.c: Likewise.
5886 * math/w_acosl.c: Likewise.
5887 * math/w_acosh.c: Likewise.
5888 * math/w_acoshf.c: Likewise.
5889 * math/w_acoshl.c: Likewise.
5890 * math/w_asin.c: Likewise.
5891 * math/w_asinf.c: Likewise.
5892 * math/w_asinl.c: Likewise.
5893 * math/w_atan2.c: Likewise.
5894 * math/w_atan2f.c: Likewise.
5895 * math/w_atan2l.c: Likewise.
5896 * math/w_atanh.c: Likewise.
5897 * math/w_atanhf.c: Likewise.
5898 * math/w_atanhl.c: Likewise.
5899 * math/w_exp10.c: Likewise.
5900 * math/w_exp10f.c: Likewise.
5901 * math/w_exp10l.c: Likewise.
5902 * math/w_fmod.c: Likewise.
5903 * math/w_fmodf.c: Likewise.
5904 * math/w_fmodl.c: Likewise.
5905 * math/w_j0.c: Likewise.
5906 * math/w_j0f.c: Likewise.
5907 * math/w_j0l.c: Likewise.
5908 * math/w_j1.c: Likewise.
5909 * math/w_j1f.c: Likewise.
5910 * math/w_j1l.c: Likewise.
5911 * math/w_jn.c: Likewise.
5912 * math/w_jnf.c: Likewise.
5913 * math/w_log.c: Likewise.
5914 * math/w_logf.c: Likewise.
5915 * math/w_logl.c: Likewise.
5916 * math/w_log10.c: Likewise.
5917 * math/w_log10f.c: Likewise.
5918 * math/w_log10l.c: Likewise.
5919 * math/w_log2.c: Likewise.
5920 * math/w_log2f.c: Likewise.
5921 * math/w_log2l.c: Likewise.
5922 * math/w_pow.c: Likewise.
5923 * math/w_powf.c: Likewise.
5924 * math/w_powl.c: Likewise.
5925 * math/w_remainder.c: Likewise.
5926 * math/w_remainderf.c: Likewise.
5927 * math/w_remainderl.c: Likewise.
5928 * math/w_scalb.c: Likewise.
5929 * math/w_scalbf.c: Likewise.
5930 * math/w_scalbl.c: Likewise.
5931 * math/w_sqrt.c: Likewise.
5932 * math/w_sqrtf.c: Likewise.
5933 * math/w_sqrtl.c: Likewise.
5934 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5935 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5936 used.
5937 * math/math_private.h: Declare __kernel_standard_f.
5938 * math/w_cosh.c: Remove cruft and optimize a bit.
5939 * math/w_coshf.c: Likewise.
5940 * math/w_coshl.c: Likewise.
5941 * math/w_exp2.c: Likewise.
5942 * math/w_exp2f.c: Likewise.
5943 * math/w_exp2l.c: Likewise.
5944 * math/w_hypot.c: Likewise.
5945 * math/w_hypotf.c: Likewise.
5946 * math/w_hypotl.c: Likewise.
5947 * math/w_lgamma.c: Likewise.
5948 * math/w_lgamma_r.c: Likewise.
5949 * math/w_lgammaf.c: Likewise.
5950 * math/w_lgammaf_r.c: Likewise.
5951 * math/w_lgammal.c: Likewise.
5952 * math/w_lgammal_r.c: Likewise.
5953 * math/w_sinh.c: Likewise.
5954 * math/w_sinhf.c: Likewise.
5955 * math/w_sinhl.c: Likewise.
5956 * math/w_tgamma.c: Likewise.
5957 * math/w_tgammaf.c: Likewise.
5958 * math/w_tgammal.c: Likewise.
5959 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5960 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5961 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5962 Minor optimizations. Pretty printing. Remove cruft.
5963 * sysdeps/i386/fpu/e_acosf.S: Likewise.
5964 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5965 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5966 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5967 * sysdeps/i386/fpu/e_acosl.c: Likewise.
5968 * sysdeps/i386/fpu/e_asin.S: Likewise.
5969 * sysdeps/i386/fpu/e_asinf.S: Likewise.
5970 * sysdeps/i386/fpu/e_atan2.S: Likewise.
5971 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5972 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5973 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5974 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5975 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5976 * sysdeps/i386/fpu/e_exp10.S: Likewise.
5977 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5978 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5979 * sysdeps/i386/fpu/e_exp2.S: Likewise.
5980 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
5981 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
5982 * sysdeps/i386/fpu/e_fmod.S: Likewise.
5983 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
5984 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
5985 * sysdeps/i386/fpu/e_hypot.S: Likewise.
5986 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
5987 * sysdeps/i386/fpu/e_log.S: Likewise.
5988 * sysdeps/i386/fpu/e_log10.S: Likewise.
5989 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5990 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5991 * sysdeps/i386/fpu/e_log2.S: Likewise.
5992 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5993 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5994 * sysdeps/i386/fpu/e_logf.S: Likewise.
5995 * sysdeps/i386/fpu/e_logl.S: Likewise.
5996 * sysdeps/i386/fpu/e_pow.S: Likewise.
5997 * sysdeps/i386/fpu/e_powf.S: Likewise.
5998 * sysdeps/i386/fpu/e_powl.S: Likewise.
5999 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6000 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6001 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6002 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6003 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6004 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6005 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6006 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6007 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6008 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6009 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6010 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6011 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6012 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6013 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6014 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6015 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6016 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6017 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6018 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6019 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6020 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6021 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6022 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6023 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6024 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6025 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6026 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6027 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6028 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6029 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6030 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6031 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6032 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6033 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6034 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6035 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6036 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6037 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6038 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6039 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6040 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6041 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6042 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6043 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6044 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6045 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6046 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6047 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6048 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6049 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6050 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6051 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6052 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6053 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6054 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6055 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6056 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6057 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6058 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6059 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6060 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6061 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6062 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6063 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6064 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6065 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6066 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6067 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6068 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6069 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6070 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6071 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6072 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6073 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6074 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6075 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6076 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6077 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6078 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6079 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6080 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6081 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6082 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6083 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6084 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6085 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6086 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6087 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6088 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6089 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6090 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6091 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6092 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6093 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6094 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6095 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6096 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6097 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6098 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6099 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6100 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6101 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6102 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6103 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6104 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6105 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6106 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6107 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6108 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6109 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6110 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6111 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6112 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6113 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6114 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6115 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6116 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6117 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6118 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6119 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6120 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6121 (__isnanf): Likewise.
6122 (__isinf_ns): Likewise.
6123 (__isinf_nsf): Likewise.
6124 (__finite): Likewise.
6125 (__finitef): Likewise.
6126 (__ieee754_sqrt): Define as macro.
6127 (__ieee754_sqrtf): Define as macro.
6128 (__ieee754_sqrtl): Define as macro.
6129 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6130 inlined copy.
6131 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6132 __FINITE_MATH_ONLY__ consistent.
6133 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6134
12cc2fcd
AS
61352011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6136
a843a204
AS
6137 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6138 of rawmemchr.
6139
12cc2fcd
AS
6140 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6141
c853acd5
UD
61422011-10-09 Ulrich Drepper <drepper@gmail.com>
6143
6144 * po/ja.po: Update from translation team.
6145
c658d255
RM
61462011-10-08 Roland McGrath <roland@hack.frob.com>
6147
110946e4
RM
6148 * locale/programs/locarchive.c (prepare_address_space): New function.
6149 (create_archive, enlarge_archive, open_archive): Use it.
6150
50604220
RM
6151 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6152 inside [SHARED], where it is used.
6153
c658d255
RM
6154 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6155
6156 * nss/getent.c (netgroup_keys): Remove unused variable.
6157 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6158
6a621eb7
UD
61592011-10-08 Ulrich Drepper <drepper@gmail.com>
6160
7edb55ce
UD
6161 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6162 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6163 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6164 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6165 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6166 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6167 * math/Makefile (libm-calls): Add s_isinf_ns.
6168 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6169 * math/multc3.c: Likewise.
6170 * math/s_casin.c: Likewise.
6171 * math/s_casinf.c: Likewise.
6172 * math/s_casinl.c: Likewise.
6173 * math/s_ccos.c: Likewise.
6174 * math/s_ccosf.c: Likewise.
6175 * math/s_ccosl.c: Likewise.
6176 * math/s_ctan.c: Likewise.
6177 * math/s_ctanf.c: Likewise.
6178 * math/s_ctanh.c: Likewise.
6179 * math/s_ctanhf.c: Likewise.
6180 * math/s_ctanhl.c: Likewise.
6181 * math/s_ctanl.c: Likewise.
6182 * math/w_fmod.c: Likewise.
6183 * math/w_fmodf.c: Likewise.
6184 * math/w_fmodl.c: Likewise.
6185 * math/w_remainder.c: Likewise.
6186 * math/w_remainderf.c: Likewise.
6187 * math/w_remainderl.c: Likewise.
6188 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6189 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6190 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6191 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6192 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6193 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6194 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6195 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6196
187da0ae
UD
6197 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6198 of the number.
6199 * stdio-common/printf_fphex.c: Likewise.
6200 * stdio-common/printf_size.c: Likewise.
6201
9277c064
UD
6202 * math/e_exp10.c: Include math_private.h using <...> not "...".
6203 * math/e_exp10f.c: Likewise.
6204 * math/e_exp10l.c: Likewise.
6205 * math/e_exp2l.c: Likewise.
6206 * math/e_j0l.c: Likewise.
6207 * math/e_j1l.c: Likewise.
6208 * math/e_jnl.c: Likewise.
6209 * math/e_lgammal_r.c: Likewise.
6210 * math/e_rem_pio2l.c: Likewise.
6211 * math/e_scalb.c: Likewise.
6212 * math/e_scalbf.c: Likewise.
6213 * math/e_scalbl.c: Likewise.
6214 * math/k_cosl.c: Likewise.
6215 * math/k_sinl.c: Likewise.
6216 * math/k_tanl.c: Likewise.
6217 * math/s_cacoshf.c: Likewise.
6218 * math/s_catan.c: Likewise.
6219 * math/s_catanf.c: Likewise.
6220 * math/s_catanh.c: Likewise.
6221 * math/s_catanhf.c: Likewise.
6222 * math/s_catanhl.c: Likewise.
6223 * math/s_catanl.c: Likewise.
6224 * math/s_ccosh.c: Likewise.
6225 * math/s_ccoshf.c: Likewise.
6226 * math/s_ccoshl.c: Likewise.
6227 * math/s_cexp.c: Likewise.
6228 * math/s_cexpf.c: Likewise.
6229 * math/s_cexpl.c: Likewise.
6230 * math/s_clog.c: Likewise.
6231 * math/s_clog10.c: Likewise.
6232 * math/s_clog10f.c: Likewise.
6233 * math/s_clog10l.c: Likewise.
6234 * math/s_clogf.c: Likewise.
6235 * math/s_clogl.c: Likewise.
6236 * math/s_csin.c: Likewise.
6237 * math/s_csinf.c: Likewise.
6238 * math/s_csinh.c: Likewise.
6239 * math/s_csinhf.c: Likewise.
6240 * math/s_csinhl.c: Likewise.
6241 * math/s_csinl.c: Likewise.
6242 * math/s_csqrt.c: Likewise.
6243 * math/s_csqrtf.c: Likewise.
6244 * math/s_csqrtl.c: Likewise.
6245 * math/s_ctan.c: Likewise.
6246 * math/s_ctanf.c: Likewise.
6247 * math/s_ctanh.c: Likewise.
6248 * math/s_ctanhf.c: Likewise.
6249 * math/s_ctanhl.c: Likewise.
6250 * math/s_ctanl.c: Likewise.
6251 * math/s_ldexp.c: Likewise.
6252 * math/s_ldexpf.c: Likewise.
6253 * math/s_ldexpl.c: Likewise.
6254 * math/s_significand.c: Likewise.
6255 * math/s_significandf.c: Likewise.
6256 * math/s_significandl.c: Likewise.
6257 * math/w_acos.c: Likewise.
6258 * math/w_acosf.c: Likewise.
6259 * math/w_acosh.c: Likewise.
6260 * math/w_acoshf.c: Likewise.
6261 * math/w_acoshl.c: Likewise.
6262 * math/w_acosl.c: Likewise.
6263 * math/w_asin.c: Likewise.
6264 * math/w_asinf.c: Likewise.
6265 * math/w_asinl.c: Likewise.
6266 * math/w_atan2.c: Likewise.
6267 * math/w_atan2f.c: Likewise.
6268 * math/w_atan2l.c: Likewise.
6269 * math/w_atanh.c: Likewise.
6270 * math/w_atanhf.c: Likewise.
6271 * math/w_atanhl.c: Likewise.
6272 * math/w_cosh.c: Likewise.
6273 * math/w_coshf.c: Likewise.
6274 * math/w_coshl.c: Likewise.
6275 * math/w_dremf.c: Likewise.
6276 * math/w_exp10.c: Likewise.
6277 * math/w_exp10f.c: Likewise.
6278 * math/w_exp10l.c: Likewise.
6279 * math/w_exp2.c: Likewise.
6280 * math/w_exp2f.c: Likewise.
6281 * math/w_fmod.c: Likewise.
6282 * math/w_fmodf.c: Likewise.
6283 * math/w_fmodl.c: Likewise.
6284 * math/w_hypot.c: Likewise.
6285 * math/w_hypotf.c: Likewise.
6286 * math/w_hypotl.c: Likewise.
6287 * math/w_j0.c: Likewise.
6288 * math/w_j0f.c: Likewise.
6289 * math/w_j0l.c: Likewise.
6290 * math/w_j1.c: Likewise.
6291 * math/w_j1f.c: Likewise.
6292 * math/w_j1l.c: Likewise.
6293 * math/w_jn.c: Likewise.
6294 * math/w_jnf.c: Likewise.
6295 * math/w_jnl.c: Likewise.
6296 * math/w_lgamma.c: Likewise.
6297 * math/w_lgamma_r.c: Likewise.
6298 * math/w_lgammaf.c: Likewise.
6299 * math/w_lgammaf_r.c: Likewise.
6300 * math/w_lgammal.c: Likewise.
6301 * math/w_lgammal_r.c: Likewise.
6302 * math/w_log.c: Likewise.
6303 * math/w_log10.c: Likewise.
6304 * math/w_log10f.c: Likewise.
6305 * math/w_log10l.c: Likewise.
6306 * math/w_log2.c: Likewise.
6307 * math/w_log2f.c: Likewise.
6308 * math/w_log2l.c: Likewise.
6309 * math/w_logf.c: Likewise.
6310 * math/w_logl.c: Likewise.
6311 * math/w_pow.c: Likewise.
6312 * math/w_powf.c: Likewise.
6313 * math/w_powl.c: Likewise.
6314 * math/w_remainder.c: Likewise.
6315 * math/w_remainderf.c: Likewise.
6316 * math/w_remainderl.c: Likewise.
6317 * math/w_scalb.c: Likewise.
6318 * math/w_scalbf.c: Likewise.
6319 * math/w_scalbl.c: Likewise.
6320 * math/w_sinh.c: Likewise.
6321 * math/w_sinhf.c: Likewise.
6322 * math/w_sinhl.c: Likewise.
6323 * math/w_sqrt.c: Likewise.
6324 * math/w_sqrtf.c: Likewise.
6325 * math/w_sqrtl.c: Likewise.
6326 * math/w_tgamma.c: Likewise.
6327 * math/w_tgammaf.c: Likewise.
6328 * math/w_tgammal.c: Likewise.
6329
6a621eb7
UD
6330 * po/ja.po: Update from translation team.
6331
bf582445
AJ
63322011-09-29 Andreas Jaeger <aj@suse.de>
6333
f9efbf3a
AJ
6334 [BZ #13179]
6335 * sunrpc/netname.c (netname2host): Fix logic.
6336
bf582445
AJ
6337 [BZ #6779]
6338 [BZ #6783]
6339 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6340 correctly.
6341 * math/w_remainder.c (__remainder): Likewise.
6342 * math/w_remainderf.c (__remainderf): Likewise.
6343 * math/libm-test.inc (remainder_test): Add test cases.
6344
48693bea
AK
63452011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6346
6347 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6348 sdiv_qrnnd.
6349
42622229
LD
63502011-10-07 Ulrich Drepper <drepper@gmail.com>
6351
6352 * string/test-memcmp.c: Avoid unncessary #defines.
6353 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6354
093ecf92
LD
63552011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6356
6357 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6358 Use new sse2 version for core i3 - i7 as it's faster
6359 than sse42 version.
6360 (bit_Prefer_PMINUB_for_stringop): New.
6361 * sysdeps/x86_64/rawmemchr.S: Update.
6362 Replace with faster SSE2 version.
6363 * sysdeps/x86_64/memrchr.S: New file.
6364 * sysdeps/x86_64/memchr.S: Update.
6365 Replace with faster SSE2 version.
6366
fde56e5c
MP
63672011-09-12 Marek Polacek <mpolacek@redhat.com>
6368
6369 * elf/dl-load.c (lose): Add cast to avoid warning.
6370
21fd49a9
UD
63712011-10-07 Ulrich Drepper <drepper@gmail.com>
6372
5a06e643
UD
6373 * po/ca.po: Update from translation team.
6374
684ae515
UD
6375 * inet/getnetgrent_r.c: Hook up nscd.
6376 * nscd/Makefile (routines): Add nscd_netgroup.
6377 (nscd-modules): Add netgroupcache.
6378 (CFLAGS-netgroupcache.c): Define.
6379 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6380 (cache_search): Add const to second parameter.
6381 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6382 INNETGR.
6383 (dbs): Add netgrdb entry.
6384 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6385 (verify_persistent_db): Handle netgrdb.
6386 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6387 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6388 GETFDNETGR.
6389 (netgroup_response_header): Define.
6390 (innetgroup_response_header): Define.
6391 (datahead): Add netgroup_response_header and innetgroup_response_header
6392 elements.
6393 * nscd/nscd.conf: Add entries for netgroup cache.
6394 * nscd/nscd.h (dbtype): Add netgrdb.
6395 (_PATH_NSCD_NETGROUP_DB): Define.
6396 (netgroup_iov_disabled): Declare.
6397 (xmalloc, xcalloc, xrealloc): Move declarations here.
6398 (cache_search): Adjust prototype.
6399 Add netgroup-related prototypes.
6400 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6401 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6402 (__nscd_innetgr): Declare.
6403 * nscd/selinux.c (perms): Use access_vector_t as element type and
6404 add netgroup-related initializers.
6405 * nscd/netgroupcache.c: New file.
6406 * nscd/nscd_netgroup.c: New file.
6407 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6408 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6409 For four parameters use innetgr.
6410 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6411 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6412 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6413 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6414
21fd49a9
UD
6415 * nscd/connections.c (register_traced_file): Don't register file
6416 for disabled databases.
6417
054c0457
UD
64182011-10-06 Ulrich Drepper <drepper@gmail.com>
6419
32b63198
UD
6420 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6421
054c0457
UD
6422 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6423 from tree and freeing node.
6424
64031225
JO
64252011-09-25 Jiri Olsa <jolsa@redhat.com>
6426
6427 * nss/nsswitch.c (__nss_database_lookup): Handle
6428 nss_parse_service_list out of memory case.
6429
0490345c
JO
64302011-09-15 Jiri Olsa <jolsa@redhat.com>
6431
6432 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6433 out of memory case.
6434
3a62d00d
AS
64352011-10-04 Andreas Schwab <schwab@redhat.com>
6436
6437 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6438 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6439 pass it down.
6440 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6441 elf_machine_rela, elf_machine_lazy_rel.
6442 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6443 (ELF_DYNAMIC_DO_REL): Likewise.
6444 (ELF_DYNAMIC_DO_RELA): Likewise.
6445 (ELF_DYNAMIC_RELOCATE): Likewise.
6446 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6447 to ELF_DYNAMIC_DO_REL.
6448 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6449 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6450 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6451 elf_machine_rela.
6452 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6453 skip_ifunc, don't call ifunc function if non-zero.
6454 (elf_machine_rela): Likewise.
6455 (elf_machine_lazy_rel): Likewise.
6456 (elf_machine_lazy_rela): Likewise.
6457 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6458 (elf_machine_lazy_rel): Likewise.
6459 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6460 Likewise.
6461 (elf_machine_lazy_rel): Likewise.
6462 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6463 Likewise.
6464 (elf_machine_lazy_rel): Likewise.
6465 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6466 (elf_machine_lazy_rel): Likewise.
6467 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6468 (elf_machine_lazy_rel): Likewise.
6469 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6470 (elf_machine_lazy_rel): Likewise.
6471 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6472 (elf_machine_lazy_rel): Likewise.
6473 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6474 (elf_machine_lazy_rel): Likewise.
6475 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6476 (elf_machine_lazy_rel): Likewise.
6477
68577918
UD
64782011-09-28 Ulrich Drepper <drepper@gmail.com>
6479
6480 * nss/nss_files/files-init.c (_nss_files_init): Use static
6481 initialization for all the *_traced_file variables.
6482
68822d74
AS
64832011-09-28 Andreas Schwab <schwab@redhat.com>
6484
6485 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6486
2056100b
RM
64872011-09-27 Roland McGrath <roland@hack.frob.com>
6488
6489 [BZ #13226]
6490 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6491
32c76b63
AS
64922011-09-27 Andreas Schwab <schwab@redhat.com>
6493
6494 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6495 Reread the line before reparsing it.
6496
bf972c9d
AS
64972011-09-26 Andreas Schwab <schwab@redhat.com>
6498
6499 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6500
e057a1b5
JM
65012011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6502 Maxim Kuvyrkov <maxim@codesourcery.com>
6503 Joseph Myers <joseph@codesourcery.com>
6504
6505 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6506 if needed for __stack_chk_guard.
6507
bc7e1c36
RM
65082011-09-19 Roland McGrath <roland@hack.frob.com>
6509
ecb1482f
RM
6510 * sysdeps/posix/spawni.c (script_execute): Always define it.
6511 It will be optimized away if unused.
6512 (maybe_script_execute): New function.
6513 (__spawni): Call it.
6514
bc7e1c36
RM
6515 * Makerules: Don't include tls.make.
6516 (config-tls): Always set to thread.
6517 * tls.make.c: File removed.
6518
1c3b002b
MF
65192011-09-19 Mike Frysinger <vapier@gentoo.org>
6520
6521 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6522 * config.make.in (CPPFLAGS-config): New substituted variable.
6523
2840865d
UD
65242011-09-15 Ulrich Drepper <drepper@gmail.com>
6525
88738eb6
UD
6526 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6527
cbf645a6 6528 [BZ #13192]
2840865d
UD
6529 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6530 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6531
b402e91a
RM
65322011-09-15 Roland McGrath <roland@hack.frob.com>
6533
6534 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6535 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6536 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6537 (CALL_FAIL): Likewise.
6538 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6539 (CALL_FAIL): Macro removed.
6540 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6541
4c1a1f71
UD
65422011-09-15 Ulrich Drepper <drepper@gmail.com>
6543
6544 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6545 for __FINITE_MATH_ONLY__ == 1.
6546
edc121be
AS
65472011-09-15 Andreas Schwab <schwab@redhat.com>
6548
6549 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6550 __ieee754_sqrt instead of sqrt.
6551 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6552 __ieee754_sqrtf instead of sqrtf.
6553 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6554 __floorf instead of floorf.
6555 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6556 __floorf, __truncf instead of floorf, truncf.
6557
cd205654
UD
65582011-09-14 Ulrich Drepper <drepper@gmail.com>
6559
ee4d0315
UD
6560 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6561
cd205654
UD
6562 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6563 __extern_always_inline.
6564 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6565 32-bit.
6566
48b67d71
AS
65672011-09-14 Andreas Schwab <schwab@redhat.com>
6568
6569 * elf/rtld.c (dl_main): Also relocate in dependency order when
6570 doing symbol dependency testing.
6571
1ae12c75
AS
65722011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6573
6574 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6575 Always define `refsym'.
6576
995a80df
AS
65772011-09-13 Andreas Schwab <schwab@redhat.com>
6578
e529793b
AS
6579 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6580 (__FD_ELT): Renamed from __FDELT.
6581 * misc/bits/select2.h (__FD_ELT): Likewise.
6582 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6583 __FD_MASK instead of __FDELT, __FDMASK.
6584 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6585 Likewise.
6586 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6587 Likewise.
6588
52d4fef8
AS
6589 * elf/Makefile (gen-ldd): Fix pattern.
6590
995a80df
AS
6591 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6592 (init_tls): Likewise.
6593
8682f8b0
UD
65942011-09-12 Ulrich Drepper <drepper@gmail.com>
6595
6596 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6597
de82006d
AS
65982011-09-12 Andreas Schwab <schwab@redhat.com>
6599
a7c8e6a1
AS
6600 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6601 `struct cmsghdr *' instead of `void *'.
6602 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6603 Likewise.
6604
0f31fe77
AS
66052011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6606
6607 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6608 if non-absolute.
6609 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6610 ldd_rewrite_script.
0f31fe77 6611
32b4c839
UD
66122011-09-11 Ulrich Drepper <drepper@gmail.com>
6613
83cd1420
UD
6614 * configure.in: Remove --with-tls option.
6615 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6616 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6617 out in case it is missing.
6618 * sysdeps/ia64/elf/configure.in: Likewise.
6619 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6620 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6621 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6622 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6623 * sysdeps/sh/elf/configure.in: Likewise.
6624 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6625 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6626 * sysdeps/x86_64/elf/configure.in: Likewise.
6627 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6628 * sysdeps/mach/hurd/tls.h: Likewise.
6629
633f745d
UD
6630 [BZ #13067]
6631 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6632
f318beb8
UD
6633 [BZ #13090]
6634 * configure.in: Fix use of AC_INIT.
6635
32b4c839
UD
6636 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6637
3ce1f295
UD
66382011-09-10 Ulrich Drepper <drepper@gmail.com>
6639
bb016596
UD
6640 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6641 __set_errno.
8e58439c
UD
6642 * malloc/hooks.c: Likewise.
6643
aebae053 6644 [BZ #11929]
02d46fc4
UD
6645 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6646 variables statically.
6647 (narenas): Initialize.
6648 (list_lock): Initialize.
bb016596
UD
6649 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6650 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
6651 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6652 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6653 Add initializers to main_arena and mp_.
6654 (malloc_state): Remove pagesize member. Change all users to use
6655 GLRO(dl_pagesize).
6656
6657 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6658 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6659 is always initialized.
6660
22a89187
UD
6661 * malloc/malloc.c: Removed unused configurations and dead code.
6662 * malloc/arena.c: Likewise.
6663 * malloc/hooks.c: Likewise.
02d46fc4 6664 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 6665
d063d164
UD
6666 * include/tls.h: Removed. USE___THREAD must always be defined.
6667 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6668 * elf/dl-libc.c: Likewise.
6669 * elf/dl-tsd.c: Likewise.
6670 * include/errno.h: Likewise.
6671 * include/netdb.h: Likewise.
6672 * include/resolv.h: Likewise.
6673 * inet/herrno-loc.c: Likewise.
6674 * inet/herrno.c: Likewise.
6675 * malloc/arena.c: Likewise.
6676 * malloc/hooks.c: Likewise.
6677 * malloc/malloc.c: Likewise.
6678 * resolv/res-state.c: Likewise.
6679 * resolv/res_libc.c: Likewise.
6680 * sysdeps/i386/dl-machine.h: Likewise.
6681 * sysdeps/ia64/dl-machine.h: Likewise.
6682 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6683 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6684 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6685 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6686 * sysdeps/sh/dl-machine.h: Likewise.
6687 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6688 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6689 * sysdeps/unix/i386/sysdep.S: Likewise.
6690 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6691 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6692 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6693 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6694 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6695 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6696 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6697 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6698 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6699 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6700 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6701 * sysdeps/x86_64/dl-machine.h: Likewise.
6702 * tls.make.c: Likewise.
6703
3ce1f295
UD
6704 * configure.in: Remove --with-__thread option. Make tests for
6705 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6706 tls_model attribute fail if no support is available. Remove
6707 USE_IN_LIBIO.
6708 * Makeconfig: Adjust for dropped configure option. All features are
6709 now mandatory.
6710 * Makerules: Likewise.
6711 * Versions.def: Likewise.
6712 * argp/argp-fmtstream.c: Likewise.
6713 * argp/argp-fmtstream.h: Likewise.
6714 * argp/argp-help.c: Likewise.
6715 * assert/assert.c: Likewise.
6716 * config.h.in: Likewise.
6717 * config.make.in: Likewise.
6718 * configure: Likewise.
6719 * configure.in: Likewise.
6720 * csu/Versions: Likewise.
6721 * csu/init.c: Likewise.
6722 * elf/tst-audit2.c: Likewise.
6723 * elf/tst-tls10.c: Likewise.
6724 * elf/tst-tls10.h: Likewise.
6725 * elf/tst-tls11.c: Likewise.
6726 * elf/tst-tls12.c: Likewise.
6727 * elf/tst-tls14.c: Likewise.
6728 * elf/tst-tlsmod11.c: Likewise.
6729 * elf/tst-tlsmod12.c: Likewise.
6730 * elf/tst-tlsmod13.c: Likewise.
6731 * elf/tst-tlsmod13a.c: Likewise.
6732 * elf/tst-tlsmod14a.c: Likewise.
6733 * elf/tst-tlsmod15b.c: Likewise.
6734 * elf/tst-tlsmod16a.c: Likewise.
6735 * elf/tst-tlsmod16b.c: Likewise.
6736 * elf/tst-tlsmod7.c: Likewise.
6737 * elf/tst-tlsmod8.c: Likewise.
6738 * elf/tst-tlsmod9.c: Likewise.
6739 * gmon/gmon.c: Likewise.
6740 * grp/fgetgrent_r.c: Likewise.
6741 * grp/putgrent.c: Likewise.
6742 * hurd/fopenport.c: Likewise.
6743 * include/libc-symbols.h: Likewise.
6744 * include/tls.h: Likewise.
6745 * intl/gettextP.h: Likewise.
6746 * intl/loadinfo.h: Likewise.
6747 * locale/global-locale.c: Likewise.
6748 * locale/localeinfo.h: Likewise.
6749 * mach/devstream.c: Likewise.
6750 * malloc/arena.c: Likewise.
6751 * malloc/set-freeres.c: Likewise.
6752 * misc/err.c: Likewise.
6753 * misc/getttyent.c: Likewise.
6754 * misc/mntent_r.c: Likewise.
6755 * posix/getopt.c: Likewise.
6756 * posix/wordexp.c: Likewise.
6757 * pwd/fgetpwent_r.c: Likewise.
6758 * resolv/Versions: Likewise.
6759 * resolv/res_hconf.c: Likewise.
6760 * shadow/fgetspent_r.c: Likewise.
6761 * shadow/putspent.c: Likewise.
6762 * stdio-common/printf_fphex.c: Likewise.
6763 * stdio-common/tmpfile.c: Likewise.
6764 * stdlib/abort.c: Likewise.
6765 * stdlib/fmtmsg.c: Likewise.
6766 * sunrpc/auth_unix.c: Likewise.
6767 * sunrpc/clnt_perr.c: Likewise.
6768 * sunrpc/clnt_tcp.c: Likewise.
6769 * sunrpc/clnt_udp.c: Likewise.
6770 * sunrpc/clnt_unix.c: Likewise.
6771 * sunrpc/openchild.c: Likewise.
6772 * sunrpc/svc_simple.c: Likewise.
6773 * sunrpc/svc_tcp.c: Likewise.
6774 * sunrpc/svc_udp.c: Likewise.
6775 * sunrpc/svc_unix.c: Likewise.
6776 * sunrpc/xdr.c: Likewise.
6777 * sunrpc/xdr_array.c: Likewise.
6778 * sunrpc/xdr_rec.c: Likewise.
6779 * sunrpc/xdr_ref.c: Likewise.
6780 * sunrpc/xdr_stdio.c: Likewise.
6781
1248c1c4
PB
67822011-09-09 Ulrich Drepper <drepper@gmail.com>
6783
6784 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6785
67862011-07-03 Andreas Jaeger <aj@suse.de>
6787
6788 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6789 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6790 regenerate with gen-libm-tests.pl.
6791
67922010-05-12 Petr Baudis <pasky@suse.cz>
6793
6794 [BZ #11589]
6795 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6796 around j0() zero points by switching to j1().
6797 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6798 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6799 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6800 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6801
f22e1074
UD
68022011-09-09 Ulrich Drepper <drepper@gmail.com>
6803
f19009c1
UD
6804 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6805 instead of 0.
6806 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6807 instead of 0. .
6808 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6809 Patch in part by Pavel Roskin <proski@gnu.org>.
6810
3f8cc204
UD
6811 [BZ #13138]
6812 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6813 realloc.
6814 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6815 Free memory block if necessary.
6816
f22e1074
UD
6817 [BZ #12847]
6818 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6819 be NULL. Don't lock in this case.
6820
0a2349f9
RM
68212011-09-09 Roland McGrath <roland@hack.frob.com>
6822
6823 * elf/elf.h (ELFOSABI_GNU): New macro.
6824 (ELFOSABI_LINUX): Define to that.
6825
f3cdd467
DZ
68262011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6827
6828 * string/strncat.c (strncat): Undef the symbol in case it has been
6829 defined in bits/string.h.
6830
74718d13
UD
68312011-09-09 Ulrich Drepper <drepper@gmail.com>
6832
633e9e0f
UD
6833 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6834
0a2349f9 6835 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
6836 link map.
6837
f9924780
AJ
68382011-08-17 Andreas Jaeger <aj@suse.de>
6839
6840 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6841
7f5517aa
PP
68422011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6843 Ian Lance Taylor <iant@google.com>
6844
6845 * math/libm-test.inc (lround_test): New testcase.
6846 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6847
762011fe
UD
68482011-09-08 Ulrich Drepper <drepper@gmail.com>
6849
92963737
UD
6850 * Makefile: Remove support for automatic cvs check-ins.
6851 * Makerules: Likewise.
6852 * config.make.in: Likewise.
6853 * configure.in: Likewise.
6854 * intl/Makefile: Likewise.
6855 * locale/Makefile: Likewise.
6856 * po/Makefile: Likewise.
6857 * posix/Makefile: Likewise.
6858 * sysdeps/gnu/Makefile: Likewise.
6859 * sysdeps/mach/hurd/Makefile: Likewise.
6860 * sysdeps/sparc/sparc32/Makefile: Likewise.
6861
b0727fd8
JS
6862 [BZ #13118]
6863 * posix/Makefile (bug-regex32-ENV): Define.
6864 Patch by John Stanley <jpsinthemix@verizon.net>.
6865
a0f33f99
UD
6866 * misc/Makefile (headers): Add bits/select2.h.
6867 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6868 * misc/bits/select2.h: New file.
6869 * include/bits/select2.h: New file.
6870 * debug/Makefile (routines): Add fdelt_chk.
6871 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6872 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6873 FD_ISSET.
6874 * debug/fdelt_chk.c: New file.
6875
762011fe
UD
6876 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6877 * wcsmbs/test-wmemcmp.c: Likewise.
6878 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 6879 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
6880
68812011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6882
6883 * string/Makefile (strop-tests): Add memcmp.
6884 * string/test-wmemcmp.c: New file.
6885 * string/test-memcmp.c: Add wmemcmp support.
6886
7f513ec8
RM
68872011-09-08 Roland McGrath <roland@hack.frob.com>
6888
0442afb4
RM
6889 [BZ #13153]
6890 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6891 2011-07-19 change.
6892
7f513ec8
RM
6893 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6894 garbage value in a __mach_port_mod_refs call in the cases of the
6895 task-self and thread-self ports.
6896
a12b2239
ST
68972011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6898
6899 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6900
610f9ab4
AS
69012011-09-08 Andreas Schwab <schwab@redhat.com>
6902
7f513ec8 6903 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 6904
48882a1a
LD
69052011-09-07 Ulrich Drepper <drepper@gmail.com>
6906
b49865be
UD
6907 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6908
fdc86bc9
UD
6909 * elf/dl-libc.c (dlerror_run): Pass back error code from
6910 dl_catch_error.
6911
c966526a
UD
6912 [BZ #13123]
6913 * elf/dl-load.c (lose): Free l_origin if it is valid.
6914
48882a1a
LD
6915 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6916 names.
6917 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6918 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6919 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6920 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6921 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6922 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6923
77a2a8b4
AZ
69242011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6925
6926 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6927 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6928 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6929 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6930 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6931 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6932 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6933 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6934 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6935 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6936
24f579d8
AM
69372011-08-15 Alan Modra <amodra@gmail.com>
6938
6939 [BZ #13092]
6940 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6941 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6942 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
6943 ppc_mcount to static-only-routines.
6944 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6945 __mcount_internal.
6946 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6947 __mcount_internal with usual JUMPTARGET. Remove useless nop.
6948
3d4837df
UD
69492011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
6950
6951 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6952 for finite and infinity parameters.
6953
22700377
WS
69542011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6955
6956 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6957 and add nop instructions for throughput optimization.
6958 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6959
5025581e
WS
69602011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
6961
6962 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6963 aligned copy for power7 with vector-scalar instructions.
6964 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6965
08a300c9
L
69662011-07-24 H.J. Lu <hongjiu.lu@intel.com>
6967
6968 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6969 AVX check.
6970
59178ef9
AS
69712011-09-07 Andreas Schwab <schwab@redhat.com>
6972
6973 [BZ #13144]
6974 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6975 last change.
6976
e38ba7ab
UD
69772011-09-07 Ulrich Drepper <drepper@gmail.com>
6978
6979 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6980 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
6981 syscall wrapper around clock_gettime in __vdso_clock_gettime.
6982 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
6983 clock_gettime.
6984
d53a73ac
UD
69852011-09-06 Ulrich Drepper <drepper@gmail.com>
6986
fc8bffcc
UD
6987 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
6988 Forgot to demangle the pointer.
6989
ceaa0c5d
UD
6990 * sysdeps/i386/sysdep.h: Define atom_text_section.
6991 * sysdeps/x86_64/sysdep.h: Likewise.
6992 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
6993 section with atom_text_section.
6994 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6995 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6996 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6997 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6998 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
6999
a77d3c17
UD
7000 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7001 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7002 already be defined. Change to take two parameters and don't assign
7003 result to variable. Adjust all users.
7004 Define INTERNAL_GETTIME if not already defined.
7005 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7006 call.
7007 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7008 HAVE_CLOCK_GETTIME_VSYSCALL.
7009 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7010
d53a73ac
UD
7011 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7012 gettimeofday vsyscall, just use time.
7013
a8f84144
AS
70142011-09-06 Andreas Schwab <schwab@redhat.com>
7015
7016 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7017 <errno.h>.
7018
ef606249
UD
70192011-09-06 Ulrich Drepper <drepper@gmail.com>
7020
7021 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7022 syscall on x86-64.
7023 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7024 syscall.
7025 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7026 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7027 syscall if possible.
7028
6585cb60
UD
70292011-09-05 Ulrich Drepper <drepper@gmail.com>
7030
7031 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7032 e_ident. Don't pass to find_mapsXX.
7033 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7034
a5f524e4
LD
70352011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7036
7037 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7038 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7039 * sysdeps/x86_64/multiarch/strchr.S: Update.
7040 Check bit_slow_BSF bit.
7041 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7042 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7043 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7044
554881ef
UD
70452011-09-05 Ulrich Drepper <drepper@gmail.com>
7046
d96de963
UD
7047 [BZ #13134]
7048 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7049 before glibc 2.15.
7050 (tryshell): Define.
7051 (__spawni): Change last parameter to be flag. Test
7052 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7053 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7054 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7055 * posix/spawni.c: Likewise.
7056 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7057 * posix/spawnp.c: Likewise. Change normal version to use
7058 SPAWN_XFLAGS_USE_PATH.
7059 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7060 SPAWN_XFLAGS_TRY_SHELL.
7061
d48e5868
UD
7062 [BZ #13150]
7063 * posix/glob.h: Remove gcc 1.x support.
7064
554881ef
UD
7065 [BZ #13068]
7066 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7067
693fb948
LD
70682011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7069
7070 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7071 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7072 strrchr-sse2-bsf
7073 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7074 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7075 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7076 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7077 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7078 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7079
1b48c537
UD
70802011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7081
49d42c37
UD
7082 * sysdeps/x86_64/wcscmp.S: New file.
7083
1b48c537
UD
7084 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7085 wcscmp-c wcscmp-sse2
7086 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7087 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7088 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7089 * wcsmbs/wcscmp.c: Allow renaming.
7090
15c95c5d
DM
70912011-09-05 David S. Miller <davem@davemloft.net>
7092
7093 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7094 stack slot, rather than the struct return pointer slot.
7095 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7096 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7098 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7099
2f0ad8f3
UD
71002011-09-05 Ulrich Drepper <drepper@gmail.com>
7101
d88ae418
UD
7102 * po/ja.po: Update from translation team.
7103
2f0ad8f3
UD
7104 [BZ #13144]
7105 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7106 kernel in 64-bit binaries.
7107
5f4318d1
DM
71082011-09-01 David S. Miller <davem@davemloft.net>
7109
7110 * elf/elf.h (HWCAP_SPARC_*): Move to..
7111 * sysdeps/sparc/sysdep.h: this new file and add new values.
7112 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7113 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7114 _DL_HWCAP_COUNT to 24.
7115 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7116 entries.
7117 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7118 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7119 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7120 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7121 instead of magic constants.
7122 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7123
3ba57516
DM
71242011-08-31 David S. Miller <davem@davemloft.net>
7125
7126 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7127 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7128 Reimplement to do errno handling inline.
7129 (SYSCALL_ERROR_HANDLER): New macro.
7130 (__SYSCALL_STRING): Do not do errno handling in asm.
7131 (__CLONE_SYSCALL_STRING): Delete.
7132 (__INTERNAL_SYSCALL_STRING): Delete.
7133 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7134 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7135 (PSEUDO): Reimplement to do errno handling inline.
7136 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7137 (SYSCALL_ERROR_HANDLER): New macro.
7138 (__SYSCALL_STRING): Do not do errno handling in asm.
7139 (__CLONE_SYSCALL_STRING): Delete.
7140 (__INTERNAL_SYSCALL_STRING): Delete.
7141 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7142 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7143 i386.
7144 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7145 (inline_syscall*): Add 'err' argument.
7146 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7147 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7148 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7149 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7150
7151 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7152 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7153
2bc17433
AS
71542011-08-30 Andreas Schwab <schwab@redhat.com>
7155
7156 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7157
fbeb5f4d
JO
71582011-08-29 Jiri Olsa <jolsa@redhat.com>
7159
7160 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7161 directive.
7162
ad69cc26
DM
71632011-08-24 David S. Miller <davem@davemloft.net>
7164
7165 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7166
39dd69df
AS
71672011-08-24 Andreas Schwab <schwab@redhat.com>
7168
7169 * elf/Makefile: Add rules to build and run unload8 test.
7170 * elf/unload8.c: New file.
7171 * elf/unload8mod1.c: New file.
7172 * elf/unload8mod1x.c: New file.
7173 * elf/unload8mod2.c: New file.
7174 * elf/unload8mod3.c: New file.
7175
7176 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7177 it wasn't used.
7178
2c0b250a
DM
71792011-08-23 David S. Miller <davem@davemloft.net>
7180
7181 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7182 subtract stack bias.
7183 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7184 %sp not %fp in calculations.
7185 (_JMPBUF_UNWINDS_ADJ): Likewise.
7186
22044b48
DM
7187 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7188 (aio_suspend): Call it to force an exception region around the
7189 AIO_MISC_WAIT() invocation.
7190
2cae4995
AS
71912011-08-23 Andreas Schwab <schwab@redhat.com>
7192
7193 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7194 backslash.
7195
873a772e
AJ
71962011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7197
7198 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7199 protection macro.
7200 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7201 and <dl-machine.h>.
7202 (Elf64_FuncDesc): Remove.
7203
25ad0df1
DM
72042011-08-22 David S. Miller <davem@davemloft.net>
7205
7206 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7207 sigaltstack check, add missing cfi directives.
7208 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7209 missing cfi directives, and sigaltstack handling.
7210
e888bcbe
AS
72112011-08-16 Andreas Schwab <schwab@redhat.com>
7212
7213 [BZ #11724]
7214 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7215 object is seen twice.
7216 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7217
7218 * elf/Makefile (distribute): Add tst-initorder2.c.
7219 (tests): Add tst-initorder2.
7220 (modules-names): Add tst-initorder2a tst-initorder2b
7221 tst-initorder2c tst-initorder2d. Add rules to build them.
7222 ($(objpfx)tst-initorder2.out): New rule.
7223 * elf/tst-initorder2.c: New file.
7224 * elf/tst-initorder2.exp: New file.
7225
87162f46
AS
72262011-08-22 Andreas Schwab <schwab@redhat.com>
7227
70538b7f
AS
7228 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7229
f55ffe58
AS
7230 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7231 dependencies back to end of function.
7232
87162f46
AS
7233 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7234 $(elfobjdir)/ld.so.
7235
91b392a4
UD
72362011-08-21 Ulrich Drepper <drepper@gmail.com>
7237
7238 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7239 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7240 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7241 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7242 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7243 of __vdso_gettimeofday.
7244 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7245 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7246 attribute_hidden.
7247 (_libc_vdso_platform_setup): Remove initialization of
7248 __vdso_gettimeofday and __vdso_time.
7249
5c43483f
UD
72502011-08-20 Ulrich Drepper <drepper@gmail.com>
7251
775a77e7
UD
7252 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7253 and fgetc_unlocked.
7254 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7255 getc_unlocked.
89f447ed 7256
49c74ba9
UD
7257 * elf/dl-open.c (add_to_global): Report additions to the global scope
7258 for LD_DEBUG=scopes.
7259 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 7260 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 7261
5c43483f
UD
7262 [BZ #13114]
7263 * stdio-common/Makefile (tests): Add bug24.
7264 * stdio-common/bug24.c: New file.
7265
a101b025
AJ
72662011-08-19 Andreas Jaeger <aj@suse.de>
7267
7268 [BZ #13114]
7269 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7270 non-existant file when using close-on-exec mode.
7271
c88f1766
UD
72722011-08-20 Ulrich Drepper <drepper@gmail.com>
7273
0276a718
UD
7274 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7275 the very first instruction.
7276
c88f1766
UD
7277 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7278 the CFI state in the end.
7279 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7280 inclusion of dl-trampoline.h.
7281 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7282
51ccffa0
AS
72832011-08-19 Andreas Schwab <schwab@redhat.com>
7284
94d7165f
AS
7285 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7286 expectations for long double.
7287
51ccffa0
AS
7288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7289 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7290
fd708658 72912011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
7292
7293 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7294 artificual limit depends upon the system page size.
7295
44f0a71e
UD
72962011-08-17 Ulrich Drepper <drepper@gmail.com>
7297
7298 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7299 * resolv/Makefile: Define CFLAGS-libresolv.
7300
8de79a24
AS
73012011-08-17 Andreas Schwab <schwab@redhat.com>
7302
7303 * nss/makedb.c (compute_tables): Make variables used in nested
7304 function static.
7305
27724598
UD
73062011-08-17 Ulrich Drepper <drepper@gmail.com>
7307
c5305d88
UD
7308 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7309 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7310 if buffer was too small.
7311
27724598
UD
7312 * elf/pldd.c (main): Attach to all threads in the process.
7313 Rewrite /proc handling to use *at functions.
7314
076fe015
UD
73152011-08-16 Ulrich Drepper <drepper@gmail.com>
7316
174baab3
UD
7317 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7318 specifies first scope to show.
7319 (dl_open_worker): Update callers. Move printing scope of new
7320 object to before the relocation.
44f0a71e 7321 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7322 * sysdeps/generic/ldsodefs.h: Update declaration.
7323
076fe015
UD
7324 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7325 string for the scope number.
7326
a60df2c3
UD
73272011-08-14 Ulrich Drepper <drepper@gmail.com>
7328
7329 * nscd/servicescache.c (cache_addserv): Make sure written is always
7330 initialized.
7331
5e4287d1
RM
73322011-08-14 Roland McGrath <roland@hack.frob.com>
7333
85ae0589
RM
7334 * sysdeps/i386/i486/bits/atomic.h
7335 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7336 statement expression, so as to suppress "set but not used" warning.
7337 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7338
69f63097
RM
7339 * string/strncat.c (STRNCAT): Use prototype definition.
7340
675456ef
RM
7341 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7342 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7343 -Iprograms here.
7344 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7345 (localedef-modules): Add localedef.
7346 (locale-modules): Add locale.
7347
5e4287d1
RM
7348 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7349 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7350 to avoid a warning.
7351
9c96ff23
DM
73522011-08-14 David S. Miller <davem@davemloft.net>
7353
7354 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7355 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7356
f9ddf089
UD
73572011-08-13 Ulrich Drepper <drepper@gmail.com>
7358
44f0a71e 7359 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
7360 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7361 * elf/rtld.c (dl_main): Set l_name of vDSO.
7362 Call _dl_show_scope when DL_DEBUG_SCOPES.
7363 (process_dl_debug): Recognize scopes flag and also set it for all.
7364 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7365 Declare _dl_show_scope.
7366
1dc27704
UD
7367 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7368 (do_dlopen): Pass caller_dlopen to dl_open.
7369 (__libc_dlopen_mode): Initialize caller_dlopen.
7370
f9ddf089
UD
7371 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7372 of libc. Make tolower call locale-independent. Optimize a bit by
7373 using isdigit instead of isalnum.
7374 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7375
9ac533d3
UD
73762011-08-12 Ulrich Drepper <drepper@gmail.com>
7377
7378 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7379 was a dependency or dynamically loaded.
7380
89edf2e9
UD
73812011-08-11 Ulrich Drepper <drepper@gmail.com>
7382
8e999d29
UD
7383 * intl/l10nflist.c: Allow architecture-specific pop function.
7384 * sysdeps/x86_64/l10nflist.c: New file.
7385
89edf2e9
UD
7386 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7387 classification.
7388
14d96785
AS
73892011-08-10 Andreas Schwab <schwab@redhat.com>
7390
7391 * include/dirent.h: Add libc_hidden_proto for scandirat and
7392 scandirat64. Don't declare __scandirat64.
7393 * dirent/scandirat.c: Add libc_hidden_def.
7394 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7395 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7396
6761ac04
DM
73972011-08-10 David S. Miller <davem@davemloft.net>
7398
7399 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7400 enum.
7401 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7402 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7403 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7404
c55fbd1e
UD
74052011-08-09 Ulrich Drepper <drepper@gmail.com>
7406
7407 * Versions.def [libc]: Add GLIBC_2.15.
7408 * dirent/Makefile (routines): Add scandirat and scandirat64.
7409 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7410 GLIBC_2.15.
7411 * dirent/dirent.h: Declare scandirat and scandirat64.
7412 * dirent/scandirat.c: New file.
7413 * dirent/scandirat64.c: New file.
7414 * sysdeps/wordsize-64/scandirat.c: New file.
7415 * sysdeps/wordsize-64/scandirat64.c: New file.
7416 * dirent/opendir.c: Define opendirat.
7417 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7418 using scandirat.
7419 * dirent/scandir64.c: Adjust for scandir.c change.
7420 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7421 __scandirat64, and __scandir_cancel_handler.
7422 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7423 additional parameter and use openat instead of open (outside of ld.so).
7424 Add new __opendir as wrapper around __opendirat.
7425 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7426 here without requiring old scandirat implementation.
7427
879165f2
UD
74282011-08-08 Ulrich Drepper <drepper@gmail.com>
7429
7430 * dirent/scandir.c (cancel_handler): Renamed to
7431 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7432 defined. Adjust users.
7433 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7434 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7435
cb7e923b
UD
74362011-08-04 Ulrich Drepper <drepper@gmail.com>
7437
16292edd
UD
7438 * string/test-string.h (IMPL): Use __STRING to expand name and then
7439 stringify it.
7440
cb7e923b
UD
7441 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7442 of cleanups.
7443
cff82933
LD
74442011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7445
7446 * string/Makefile: Update.
7447 (strop-tests): Append strncat.
7448 * string/test-wcscmp.c: New file.
7449 New comprehensive test for wcscmp.
7450 * string/test-strcmp.c: Update.
7451 (WIDE): New define.
7452
9be9bfcc
AS
74532011-07-22 Andreas Schwab <schwab@redhat.com>
7454
7455 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7456 line.
7457
2e96f1c7
AS
74582011-07-26 Andreas Schwab <schwab@redhat.com>
7459
7460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7461 encoding to ACE if AI_IDN.
7462
85188888
JJ
74632011-08-01 Jakub Jelinek <jakub@redhat.com>
7464
7465 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7466 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7467
5fa16e9b
LD
74682011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7469
7470 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7471 Fix overflow bug in strncat.
7472 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7473
7474 * string/test-strncat.c: Update.
7475 Add new tests for checking overflow bugs.
7476
74772011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7478
7479 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7480 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7481 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7482 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7483 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7484 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7485 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7486 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7487 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7488
7489 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7490 (USE_AS_STRCAT): Define.
7491 Add strcat and strncat support.
7492 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7493
8c1a459f
AS
74942011-07-25 Andreas Schwab <schwab@redhat.com>
7495
7496 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7497 __n bigger than INT_MAX+1.
7498 (__strncmp_g): Likewise.
7499
bba33c28
UD
75002011-07-23 Ulrich Drepper <drepper@gmail.com>
7501
798be72d
UD
7502 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7503 * libio/stido.h: Likewise.
7504
8accd4dc
UD
7505 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7506 (AF_NFC): Define.
7507 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7508 (AF_NFC): Define.
7509
cbff0d96
UD
7510 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7511 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7512 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7513 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7514 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7515
9191c04a
UD
7516 [BZ #13021]
7517 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7518 installed.
7519
bba33c28
UD
7520 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7521 typo.
7522 (_dl_x86_64_save_sse): Likewise.
7523
90f139dd
UD
75242011-07-22 Ulrich Drepper <drepper@gmail.com>
7525
1aae088a
UD
7526 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7527 OSXSAVE.
7528 (_dl_x86_64_save_sse): Likewise.
7529
8e2045f5
UD
7530 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7531
90f139dd
UD
7532 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7533
1d002f25
AS
75342011-07-21 Andreas Schwab <schwab@redhat.com>
7535
7536 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7537 change.
7538 (_dl_x86_64_save_sse): Use correct AVX check.
7539
21137f89
UD
75402011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7541
7542 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7543 bug in strncpy/strncat.
7544 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7545
a65c0b7a
UD
75462011-07-21 Ulrich Drepper <drepper@gmail.com>
7547
7548 * string/tester.c (test_strcat): Add tests for different alignments
7549 of source and destination.
7550 (test_strncat): Likewise.
7551
6986b98a
UD
75522011-07-20 Ulrich Drepper <drepper@gmail.com>
7553
90bb2039
UD
7554 [BZ #12852]
7555 * posix/glob.c (glob): Check passed in values before using them in
7556 expressions to avoid some overflows.
7557 (glob_in_dir): Likewise.
7558
5644ef54
UD
7559 [BZ #13007]
7560 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7561 check for AVX enablement so that we don't crash with old kernels and
7562 new hardware.
7563 * elf/tst-audit4.c: Add same checks here.
7564 * elf/tst-audit6.c: Likewise.
7565
7566 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 7567
bfc9dc9b
AS
75682011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7569
7570 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7571
702e64bb
UD
75722011-07-20 Ulrich Drepper <drepper@gmail.com>
7573
7574 * po/cs.po: Update from translation team.
7575 * po/bg.po: Likewise.
7576
295e904f
MP
75772011-07-12 Marek Polacek <mpolacek@redhat.com>
7578
7579 * misc/sys/cdefs.h: Add support for const attribute.
7580 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7581 to gnu_dev_{major,minor,makedev} functions.
7582
3ff94596
MP
75832011-07-20 Marek Polacek <mpolacek@redhat.com>
7584
7585 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7586
28b59fca
AS
75872011-07-20 Andreas Schwab <schwab@redhat.com>
7588
7589 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7590 strlen results.
7591
19df733e
AK
75922011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7593
7594 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7595 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7596 register in order to avoid conflicts with the soft frame pointer
7597 being held in r11 when necessary.
7598 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7599 (INTERNAL_VSYSCALL_NCS): Likewise.
7600
c8835729
MP
76012011-07-14 Marek Polacek <mpolacek@redhat.com>
7602
7603 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7604 * elf/dl-fini.c (_dl_fini): Adjust caller.
7605 * elf/dl-close.c (_dl_close_worker): Likewise.
7606 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7607
b902330c
MP
76082011-07-15 Marek Polacek <mpolacek@redhat.com>
7609
8991e135
MP
7610 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7611 "aux_cache->nlibs < 0".
7612
b902330c
MP
7613 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7614 in the reload-count case.
7615
99710781
LD
76162011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7617
7618 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7619 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7620 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7621 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7622 * sysdeps/x86_64/multiarch/strcat.S: New file.
7623 * sysdeps/x86_64/multiarch/strncat.S: New file.
7624 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7625 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7626 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7627 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7628 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7629 (USE_AS_STRCAT): Define.
7630 Add strcat and strncat support.
7631 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7632 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7633 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7634 * string/strncat.c: Update.
7635 (USE_AS_STRNCAT): Define.
7636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7637 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7638 and i7.
7639 * sysdeps/x86_64/multiarch/init-arch.h
7640 (bit_Prefer_PMINUB_for_stringop): New.
7641 (index_Prefer_PMINUB_for_stringop): Likewise.
7642 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7643 bit_Prefer_PMINUB_for_stringop.
7644
7dc6bd90
UD
76452011-07-19 Ulrich Drepper <drepper@gmail.com>
7646
7647 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7648 buffer64.
7649 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7650 of casting of buffer.
7651 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7652 buffer32 and buffer64.
7653 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7654 writes instead of casting of buffer.
7655 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7656 buffer32.
7657 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7658 casting of buffer.
7659
e0e72284
AS
76602011-07-19 Andreas Schwab <schwab@redhat.com>
7661
7662 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7663
feb1eb0b
UD
76642011-07-19 Ulrich Drepper <drepper@gmail.com>
7665
7666 * nscd/nscd.c (termination_handler): Don't do anything for a database
7667 if it has not yet been initialized.
7668
298711ff
UD
76692011-07-18 Ulrich Drepper <drepper@gmail.com>
7670
7671 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7672
76732011-07-15 Marek Polacek <mpolacek@redhat.com>
7674
7675 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7676
f9d68389
UD
76772011-07-18 Ulrich Drepper <drepper@gmail.com>
7678
7679 * po/nl.po: Update from translation team.
7680 * po/sv.po: Likewise.
7681
db290cf5
RM
76822011-07-16 Roland McGrath <roland@hack.frob.com>
7683
7684 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7685 now disallowed by GCC.
5c550700 7686
fd5e21c7
RM
7687 * configure.in (use-default-link): Default to yes if a test -shared
7688 link meets our qualifications.
7689 * configure: Regenerated.
7690
5c550700
RM
7691 * config.make.in (output-format): New variable.
7692 * configure.in: Check for ld --print-output-format support.
7693 * configure: Regenerated.
7694 * Makerules ($(common-objpfx)format.lds)
7695 [$(output-format) != unknown]: Just use $(output-format),
7696 instead of the linker-script munging.
7697
9fa2c032
RM
76982011-07-14 Roland McGrath <roland@hack.frob.com>
7699
a6928d51
RM
7700 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7701 of $(common-objpfx)shlib.lds.
7702 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7703
661607b3
RM
7704 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7705 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7706
9fa2c032
RM
7707 * configure.in (-z relro check): Adjust test code to add a large
7708 writable data section after it.
7709 * configure: Regenerated.
7710
defe9061
RM
77112011-07-11 Roland McGrath <roland@hack.frob.com>
7712
7713 * configure.in (-z relro check): Fix test code to make the variable
7714 truly const.
7715 * configure: Regenerated.
7716
319b9ad4
UD
77172011-07-11 Ulrich Drepper <drepper@gmail.com>
7718
7719 * nscd/nscd.h (struct traced_file): Define.
7720 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7721 elements. Add traced_files.
7722 (inotify_fd): Declare.
7723 (register_traced_file): Declare.
7724 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7725 (inotify_fd): Export.
7726 (resolv_conf_descr): Remove.
7727 (nscd_init): Move inotify descriptor creation to main.
7728 Don't register files for notification here.
7729 (register_traced_file): New function.
7730 (invalidate_cache): Don't use reset_res to determine whether to call
7731 res_init, go through the list of registered files.
7732 (main_loop_poll): The inotify descriptors are now stored in the
7733 structures for the traced files.
7734 (main_loop_epoll): Likewise
7735 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7736 to __nss_disable_nscd.
7737 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7738 for a database anymore. Check the records for all the registered
7739 files instead.
7740 * nss/Makefile (libnss_files-routines): Add files-init.
7741 (libnss_db-routines): Add db-init.
7742 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7743 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7744 * nss/nss_db/db-init.c: New file.
7745 * nss/nss_files/files-init.c: New file.
7746 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7747 __nss_lookup_function.
7748 (__nss_lookup_function): Call nss_load_library.
7749 (nss_load_all_libraries): New function.
7750 (__nss_disable_nscd): Take parameter with callback function for files
7751 to register. Set is_nscd. Load all the DSOs for the NSS modules
7752 used for the cached services.
7753 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7754 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7755 options for features to all the files in nscd.
7756
7757 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7758
23bee3e8
RM
77592011-07-10 Roland McGrath <roland@hack.frob.com>
7760
7761 * csu/elf-init.c (__libc_csu_init): Comment typo.
7762
46a5b7f0
UD
77632011-07-09 Ulrich Drepper <drepper@gmail.com>
7764
7765 * po/pl.po: Update from translation team.
7766 * po/ja.po: Likewise.
7767 * po/ru.po: Likewise.
7768 * po/ko.po: Likewise.
7769 * po/fr.po: Likewise.
7770
d30cf5bb
RM
77712011-07-09 Roland McGrath <roland@hack.frob.com>
7772
113ddea4
RM
7773 * configure.in (.ctors/.dtors header and trailer check):
7774 Use an empirical test on a built program.
7775 * configure: Regenerated.
7776
574920b4
RM
7777 * configure.in (-z relro check): Use an empirical test on a built DSO.
7778 Detect, but do not require, on ia64.
7779 * configure: Regenerated.
7780
d30cf5bb
RM
7781 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7782 Update tests that use readelf to use $READELF instead.
7783 * configure: Regenerated.
7784
8538fdb3
UD
77852011-07-08 Ulrich Drepper <drepper@gmail.com>
7786
7787 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7788 if the result is not used.
7789
04d08991
AJ
77902011-07-05 Andreas Jaeger <aj@suse.de>
7791
7792 [BZ#9696]
7793 * stdlib/tst-strtod.c: Add testcase.
7794
de283087
AD
77952011-07-07 Ulrich Drepper <drepper@gmail.com>
7796
4e5f31c8 7797 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 7798 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
7799 The latter has a higher limit. Take additional parameter to pass to
7800 the new function.
7801 (__pathconf): Pass file to __statfs_link_max.
7802 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7803 __statfs_link_max.
7804 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7805 __statfs_link_max.
7806
de283087
AD
7807 [BZ #12868]
7808 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7809 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7810 Handle Lustre.
7811 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7812 (__statfs_filesize_max): Likewise.
7813 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7814
c75fa153
AJ
78152011-07-05 Andreas Jaeger <aj@suse.de>
7816
7817 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7818
1a544854
UD
78192011-07-06 Marek Polacek <mpolacek@redhat.com>
7820
7821 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7822 `status' variable.
7823 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7824 Likewise.
7825
6f0eec67
UD
78262011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7827
7828 * Makefile (strop-tests): Add strncat.
7829 * string/test-strncat.c: New file.
7830
aae30307
UD
78312011-06-30 Marek Polacek <mpolacek@redhat.com>
7832
7833 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7834
c0cfb5eb
UD
78352011-06-21 Andreas Jaeger <aj@suse.de>
7836
7837 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7838 Copy rule from iconvdata/Makefile.
7839
01636b21
UD
78402011-07-06 Ulrich Drepper <drepper@gmail.com>
7841
7842 [BZ #12922]
7843 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7844 but no long options are defined, just return 'W'.
7845
9895c8bc
UD
78462011-06-22 Marek Polacek <mpolacek@redhat.com>
7847
7848 [BZ #9696]
7849 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7850
5d4cf042
UD
78512011-07-06 Ulrich Drepper <drepper@gmail.com>
7852
7853 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7854 netgroups to read.
960e5535 7855 (innetgr): Likewise.
5d4cf042 7856
751eb97e
RM
78572011-07-05 Roland McGrath <roland@hack.frob.com>
7858
7859 * config.make.in (install_root): Default to $(DESTDIR).
7860
f15f1e45
UD
78612011-07-05 Ulrich Drepper <drepper@gmail.com>
7862
7863 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7864
4e34ac6a
RM
78652011-07-02 Roland McGrath <roland@hack.frob.com>
7866
5e9b6af4
RM
7867 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7868
84f9ea0f
RM
7869 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7870 containing directory rather than embedding absolute directory names.
7871
ea5ee9f7
RM
7872 * scripts/check-local-headers.sh: Rewritten using awk.
7873 Match by word, not by line. Print error messages for matches.
7874 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7875
1b74661a
RM
7876 * Makerules [shlib-lds-flags empty]:
7877 ($(common-objpfx)libc_pic.opts): New target.
7878 ($(common-objpfx)libc_pic.os.clean): New target.
7879 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7880
7881 * config.make.in (OBJCOPY): New variable.
7882 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7883 * configure: Regenerated.
7884
f781ef40
RM
7885 * config.make.in (use-default-link): New variable.
7886 * configure.in (use_default_link): Grok --with-default-link to set it.
7887 * configure: Regenerated.
7888 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7889 (shlib-lds, shlib-lds-flags): Define to empty.
7890
2d4fa81e
RM
7891 * Makerules (shlib-lds): New variable.
7892 (shlib-lds-flags): New variable.
7893 (build-shlib, build-moduile, build-module-asneeded): Use it.
7894 ($(common-objpfx)libc.so): Use $(shlib-lds).
7895 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7896 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7897
31fffa6b
RM
7898 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7899 DT_FLAGS/DT_FLAGS_1 with zero flags.
7900
4e34ac6a
RM
7901 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7902 linker script munging.
7903
fcfc776b
UD
79042011-07-02 Ulrich Drepper <drepper@gmail.com>
7905
7906 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7907 as 128-bit value.
7908 * crypt/sha512.c (sha512_process_block): Perform total addition using
7909 128-bit if possible.
7910 (__sha512_finish_ctx): Likewise.
7911 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7912 as 64-bit value.
7913 * crypt/sha256.c (SWAP64): Define.
7914 (sha256_process_block): Perform total addition using 64-bit if
7915 possible.
7916 (__sha256_finish_ctx): Likewise.
7917
99231d9a
UD
79182011-07-01 Ulrich Drepper <drepper@gmail.com>
7919
7920 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7921 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7922 * nscd/hstcache.c (cache_addhst): Likewise.
7923 * nscd/grpcache.c (cache_addgr): Likewise.
7924 * nscd/aicache.c (addhstaiX): Likewise
7925 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7926
445b4a53
TK
79272011-07-01 Thorsten Kukuk <kukuk@suse.de>
7928
7929 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7930 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7931 * nscd/hstcache.c (cache_addhst): Likewise.
7932 * nscd/grpcache.c (cache_addgr): Likewise.
7933 * nscd/aicache.c (addhstaiX): Likewise
7934
6d4d8e8e
AS
79352011-07-01 Andreas Schwab <schwab@redhat.com>
7936
7937 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7938 domain only when needed.
7939
89f654c5
AS
79402011-06-30 Andreas Schwab <schwab@redhat.com>
7941
7942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7943 is always restored.
7944
cf3b23ff
UD
79452011-06-29 Ulrich Drepper <drepper@gmail.com>
7946
7947 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7948 are re-adding the entry.
7949 * nscd/servicescache.c (cache_addserv): Likewise.
7950
751626f9
AJ
79512011-06-30 Aurelien Jarno <aurelien@aurel32.net>
7952
7953 * sysdeps/generic/dl-irel.h: fix protection against multiple
7954 inclusions.
7955 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7956
9113ea1f
UD
79572011-06-28 Ulrich Drepper <drepper@gmail.com>
7958
5c0b8d90
UD
7959 [BZ #12935]
7960 * malloc/memusage.sh: Fix quoting in message.
7961 * debug/xtrace.sh: Likewise.
7962
9113ea1f
UD
7963 * configure.in: Remove support for --experimental-malloc option, make
7964 it the default.
7965 * config.make.in: Likewise.
7966 * malloc/Makefile: Likewise.
7967
a4172181
AS
79682011-06-27 Andreas Schwab <schwab@redhat.com>
7969
7970 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7971 two-byte characters.
7972
78a7eee7
RM
79732011-06-27 Roland McGrath <roland@hack.frob.com>
7974
62bede13
RM
7975 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
7976 AC_CACHE_CHECK invocation.
7977 * configure: Regenerated.
7978
78a7eee7
RM
7979 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
7980
5ce33a62
UD
79812011-06-27 Ulrich Drepper <drepper@gmail.com>
7982
034807a9
UD
7983 [BZ #12350]
7984 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
7985 bit from old_res_options.
7986
4902da17
UD
7987 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
7988
5ce33a62
UD
7989 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
7990 value type for setfct.
7991
c2344f56
L
79922011-06-23 H.J. Lu <hongjiu.lu@intel.com>
7993
7994 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7995 __gettimeofday instead of gettimeofday.
7996
68468076
UD
79972011-06-26 Ulrich Drepper <drepper@gmail.com>
7998
7999 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8000
acb0d739
L
80012011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8002
8003 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8004
8005 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8006 info.
8007
8912479f
L
80082011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8009
8010 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8011 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8012 strcpy-sse2-unaligned strncpy-sse2-unaligned
8013 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8014 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8015 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8016 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8017 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8018 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8019 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8020 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8021 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8022 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8023 (STRCPY): Support SSE2 and SSSE3 versions.
8024
d5495a11
UD
80252011-06-24 Ulrich Drepper <drepper@gmail.com>
8026
8027 [BZ #12874]
8028 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8029 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8030 kernels which artificially limit size of requests.
8031
0b1cbaae
L
80322011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8033
8034 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8035 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8036 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8037 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8038 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8039 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8040 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8041 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8042 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8043 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8044 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8045 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8046 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8047 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8048 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8049 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8050 Enable unaligned load optimization for Intel Core i3, i5 and i7
8051 processors.
8052 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8053 Define.
8054 (index_Fast_Unaligned_Load): Define.
8055 (HAS_FAST_UNALIGNED_LOAD): Define.
8056
07f494a0
MP
80572011-06-23 Marek Polacek <mpolacek@redhat.com>
8058
8059 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8060
fa3fc0fe
UD
80612011-06-22 Ulrich Drepper <drepper@gmail.com>
8062
8063 [BZ #12907]
8064 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8065 until it is clear that the information is realy needed.
8066 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8067
e12df166
AS
80682011-06-22 Andreas Schwab <schwab@redhat.com>
8069
8070 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8071
852eb34d
UD
80722011-06-22 Ulrich Drepper <drepper@gmail.com>
8073
84e2a551
UD
8074 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8075 /sys/devices/system/cpu/online if it is usable.
8076
852eb34d
UD
8077 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8078 reading the information from the /proc filesystem to once a second.
8079
6e502e19
UD
80802011-06-21 Andreas Jaeger <aj@suse.de>
8081
8082 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8083 NULL after inclusion of kernel headers.
8084
75d39ff2
UD
80852011-06-21 Ulrich Drepper <drepper@gmail.com>
8086
51f9aa6a
UD
8087 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8088 calls to internal_setent.
8089
c0244a9d
UD
8090 [BZ #12885]
8091 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8092 addresses using gethostbyname4_r ignore IPv4 addresses.
8093
c5e3c2ae
UD
8094 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8095 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8096
75d39ff2
UD
8097 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8098
42675c6f
DM
80992011-06-20 David S. Miller <davem@davemloft.net>
8100
8101 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8102 inclusions.
8103 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8104
8105 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8106 (elf_irel): Use it.
8107 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8108 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8109 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8110 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8111 * sysdeps/x86_64/dl-irel.h: Likewise.
8112
8113 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8114 * elf/dl-sym.c: Likewise.
8115
57912a71
UD
81162011-06-15 Ulrich Drepper <drepper@gmail.com>
8117
8118 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8119 need to dereference resplen2.
8120
ee22793d
AS
81212011-06-14 Andreas Schwab <schwab@redhat.com>
8122
8123 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8124
a9e836b0
UD
81252011-06-15 Ulrich Drepper <drepper@gmail.com>
8126
77fb9117
UD
8127 * Makeconfig: Define vardbdir and inst_vardbdir.
8128 * nss/Makefile: Add rules to install db-Makefile.
8129
40c1b22c
UD
8130 * nss/nss_db/db-XXX.c: Cleanup.
8131
9f2da732
UD
8132 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8133 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8134 GLIBC_PRIVATE.
8135 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8136 * nss/makedb.c: Implement -g option to specify that value strings
8137 are generated and should not be added to table iterated over for
8138 get*ent calls.
8139 * nss/nss_db/db-initgroups.c: New file.
8140
82e9a1f7
UD
8141 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8142 interface.
8143
c41af17e
UD
8144 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8145 (internal_getgrouplist): Adjust to name change.
8146 Update use_initgroups_entry if this is not the first call.
8147 * nss/databases.def: Add initgroups entry.
8148
a9e836b0
UD
8149 * nss/makedb.c (compute_tables): Check result of multiple hash table
8150 sizes to minimize maximum chain length.
8151
2666d441
UD
81522011-06-14 Ulrich Drepper <drepper@gmail.com>
8153
8154 * Versions.def: Add entry for libnss_db.
8155 * shlib-versions: Likewise.
8156 * nss/Makefile: Add rules to build libnss_db.
8157 * nss/Versions: Add libnss_db information. Organize libnss_files
8158 entries better.
8159 * nss/db-Makefile: Add gshadow support. Change rules for the new
8160 makedb progra. Some minor improvements to generate smaller files.
8161 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8162 here from...
8163 * nss/makedb.c: ...here.
8164 Improve database format to be smaller and require less memory at
8165 runtime.
8166 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8167 db anymore.
8168 * nss/nss_db/db-netgrp.c: Likewise.
8169 * nss/nss_db/db-open.c: Likewise.
8170 * nss/nss_files/flies-XXX.x: Adjust comments.
8171 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8172 * nss/nss_files/files-grp.c: Likewise.
8173 * nss/nss_files/files-hosts.c: Likewise.
8174 * nss/nss_files/files-network.c: Likewise.
8175 * nss/nss_files/files-proto.c: Likewise.
8176 * nss/nss_files/files-pwd.c: Likewise.
8177 * nss/nss_files/files-rpc.c: Likewise.
8178 * nss/nss_files/files-service.c: Likewise.
8179 * nss/nss_files/files-sgrp.c: Likewise.
8180 * nss/nss_files/files-spwd.c: Likewise.
8181 * nss/nss_db/db-alias.c: Removed.
8182 * nss/nss_db/dummy-db.h: Removed.
8183
9ee76b5a
UD
81842011-06-02 Ulrich Drepper <drepper@gmail.com>
8185
8186 * nss/makedb.c: Rewritten to not use database library.
8187 * nss/Makefile: Update to build new makedb program.
8188
c71ca1f8
AJ
81892011-06-14 Andreas Jaeger <aj@suse.de>
8190
8191 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8192 memset declaration.
8193
3154bfb8
UD
81942011-06-10 Andreas Schwab <schwab@redhat.com>
8195
8196 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8197 tmpbuf.
8198
b350afab
RM
81992011-06-10 Roland McGrath <roland@hack.frob.com>
8200
decd4e50
RM
8201 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8202 * elf/Makefile ($(objpfx)ld.so): Likewise.
8203
5615eaf2
RM
8204 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8205 Don't list ld.so twice in dependencies.
8206
8207 * posix/bug-regex31.c: Include <stdlib.h>.
8208
8209 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8210
8211 * nis/nss_compat/compat-spwd.c
8212 (getspent_next_nss_netgr): Remove unused variable.
8213 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8214
8215 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8216 nonmembers" output to use the right array.
8217
8218 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8219
8220 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8221
8222 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8223 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8224 * catgets/gencat.c (read_input_file): Likewise.
8225 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8226
8227 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8228 variable definition inside #if's controlling its use.
8229
8230 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8231
8232 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8233
8234 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8235
8236 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8237 unreachable code.
8238
8239 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8240
b68e08db
RM
8241 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8242 * configure: Regenerated.
8243
b350afab
RM
8244 * Makerules: Revert last change.
8245 * elf/Makefile: Likewise.
8246
28368601
RM
82472011-06-09 Roland McGrath <roland@hack.frob.com>
8248
8249 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8250 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8251 (reloc-link): Likewise.
8252
11988f8f
UD
82532011-06-09 Ulrich Drepper <drepper@gmail.com>
8254
8255 * elf/Makefile: Add rules to build pldd.
8256 * elf/pldd.c: New file.
8257 * elf/pldd-xx.c: New file.
8258
e80fab37
UD
82592011-06-07 Ulrich Drepper <drepper@gmail.com>
8260
8261 * version.h: Update for 2.15 development version.
8262
9b849836
DM
82632011-06-07 David S. Miller <davem@davemloft.net>
8264
8265 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8266 ifuncs.
8267 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8268 elf_machine_lazy_rel): Likewise.
8269 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8270 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8271 elf_machine_lazy_rel): Likewise.
8272 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8273 dl_hwcap via passed in argument.
8274 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8275 Likewise.
8276
5a31b283
AK
82772011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8278
8279 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8280
069e52f8
RM
82812011-06-06 Roland McGrath <roland@hack.frob.com>
8282
8283 [BZ #12849]
8284 * manual/fdl-1.1.texi: New file, verbatim from:
8285 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8286 * manual/lgpl-2.1.texi: New file, verbatim from:
8287 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8288 * manual/Makefile (licenses): New variable, list those new file names.
8289 (texis): Use it.
8290 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8291
8292 * manual/fdl.texi: File removed.
8293 * manual/lesser.texi: File removed.
8294 * manual/libc.texinfo (Copying, Documentation License):
8295 Use new @include file names, put @appendix directive before @include.
8296
f16846a5
JJ
82972011-06-04 Jakub Jelinek <jakub@redhat.com>
8298
8299 [BZ #12841]
8300 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8301 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8302 (mq_open): Add __NTH.
8303
3d29045b
L
83042011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8305
8306 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8307 Assume Intel Core i3/i5/i7 processor if AVX is available.
8308
8c297311
UD
83092011-05-31 Ulrich Drepper <drepper@gmail.com>
8310
8311 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8312 typo.
8313
c8fc0c91
UD
83142011-05-31 Andreas Schwab <schwab@redhat.com>
8315
8316 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8317 memory. Use alloca_account. Fix memory leak when retrying.
8318
5b27a807
UD
83192011-05-31 Ulrich Drepper <drepper@gmail.com>
8320
356f8bc6
UD
8321 * version.h (RELEASE): Bump for 2.14 release.
8322 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8323
5b27a807
UD
8324 * config.make.in (RANLIB): Remove entry.
8325
01f16ab0
UD
83262011-05-30 Ulrich Drepper <drepper@gmail.com>
8327
41fce8bd
UD
8328 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8329 (libc.pot): Work around missing support for .ksh extension in xgettext.
8330
4769ae77
UD
8331 [BZ #12684]
8332 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8333 if both request failed.
8334 (send_dg): In case of server errors clear resplen or *resplen2.
8335
6b1e7d19
UD
8336 [BZ #12454]
8337 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8338 when there are multiple maps.
8339 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8340 (_dl_fini): Remove test here.
8341
01f16ab0
UD
8342 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8343
b1ebd700
UD
83442011-05-29 Ulrich Drepper <drepper@gmail.com>
8345
7ae22829
UD
8346 [BZ #12350]
8347 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8348 bit from old_res_options.
8349 (gaih_inet): Likewise.
8350
553149f6 8351 [BZ #11099]
18a84741 8352 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8353 as signed.
8354
652ffab1
UD
8355 * resolv/res_init.c (res_setoptions): Make the code more compact.
8356
16985fd0
UD
8357 [BZ #11558]
8358 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8359 set RES_USEVC.
8360
0464f746
UD
8361 [BZ #11634]
8362 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8363
7d17596c
UD
8364 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8365
cf6bbbd7
UD
8366 [BZ #11781]
8367 * malloc/malloc.h: Declare malloc hook variables as volatile.
8368
13f1ab36
UD
8369 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8370 in last patch.
8371
b1ebd700
UD
8372 [BZ #11799]
8373 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 8374 raise in the comment.
80e2212d
UD
8375 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8376 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8377 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 8378
ce67228d
UD
83792011-05-28 Ulrich Drepper <drepper@gmail.com>
8380
8887a920
UD
8381 [BZ #12811]
8382 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8383 grow the buffers more if it already has to be sufficient.
8384 (build_wcs_upper_buffer): Likewise.
8385 * posix/regexec.c (check_matching): Likewise.
8386 (clean_state_log_if_needed): Likewise.
8387 (extend_buffers): Don't enlarge buffers beyond size of the input
8388 buffer.
8389 Patches mostly by Emil Wojak <emil@wojak.eu>.
8390 * posix/bug-regex32.c: New file.
8391 * posix/Makefile (tests): Add bug-regex32.
8392
4f031072
UD
8393 * locale/findlocale.c (_nl_find_locale): Return right away if
8394 _nl_explode_name failed.
8395 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8396
d0478f0c
UD
8397 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8398
de81b246
UD
8399 * debug/xtrace.sh: Unify messages.
8400 * malloc/memusage.sh: Likewise.
8401
c738465a
UD
8402 [BZ #12813]
8403 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8404 time symbol from vDSO. Substitute with vsyscall if not available.
8405 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8406 __vdso_time.
8407
f1f929d7
UD
8408 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8409 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8410 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8411 Add sendmmsg and internal_sendmmsg.
8412 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8413 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8414 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8415
ce67228d
UD
8416 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8417 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8418 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8419
e57420c6
UD
84202011-05-27 Ulrich Drepper <drepper@gmail.com>
8421
a8509ca5
UD
8422 [BZ #12813]
8423 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8424 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8425 available.
8426 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8427 __vdso_getcpu.
8428
e57420c6
UD
8429 [BZ #12814]
8430 * iconvdata/Makefile (tests): Add bug-iconv9.
8431 * iconvdata/bug-iconv9.c: New file.
8432
4d07db15
AS
84332011-05-27 Andreas Schwab <schwab@redhat.com>
8434
8435 [BZ #12814]
8436 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8437
ea486f69
JJ
84382011-05-25 Jakub Jelinek <jakub@redhat.com>
8439
8440 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8441 (struct user_regs_struct): Change intcs field back to cs.
8442
6f038433
UD
84432011-05-25 Ulrich Drepper <drepper@gmail.com>
8444
8445 * po/ja.po: Update from translation team.
8446
67f86a25
UD
84472011-05-23 Ulrich Drepper <drepper@gmail.com>
8448
8449 [BZ #12795]
8450 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8451 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8452
def7fbd6
AS
84532011-05-20 Andreas Schwab <schwab@redhat.com>
8454
8455 * stdlib/longlong.h: Update from GCC.
8456
f50ef8f1
AS
84572011-05-23 Andreas Schwab <schwab@redhat.com>
8458
8459 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8460 parameter name.
8461 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8462 Add parameter name.
8463 (__sysconf): Pass it down.
8464
de7ce8f1
UD
84652011-05-22 Ulrich Drepper <drepper@gmail.com>
8466
f2962a71
UD
8467 [BZ #12671]
8468 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8469 some situations.
8470 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8471 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8472 add in in __libc_use_alloca calls. Adjust callers.
8473 (glob): Use malloc in some situations.
8474
de7ce8f1
UD
8475 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8476 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8477 pltexit.
8478
aec84f53
UD
84792011-05-21 Ulrich Drepper <drepper@gmail.com>
8480
05bb4a68
UD
8481 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8482 and CLOCK_BOOTTIME_ALARM.
8483
7ea72f99
UD
8484 [BZ #12782]
8485 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8486 is returned.
8487
7e4afad5
UD
8488 * string/_strerror.c (__strerror_r): Print negative errors as signed
8489 numbers.
8490
8e211fec
UD
8491 [BZ #12777]
8492 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8493 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8494 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8495
f7d82dc9
UD
8496 * configure.in: Fix typo in redirection and correct removal of test
8497 files in two cases.
8498
cc9e536d
UD
8499 [BZ #12788]
8500 * locale/setlocale.c (new_composite_name): Fix test to check for
8501 identical name of all categories.
8502
aec84f53
UD
8503 [BZ #12792]
8504 * libio/filedoalloc.c (local_isatty): New function.
8505 (_IO_file_doallocate): Use local_isatty.
8506 * stdio-common/perror.c (perror): In case a new stream is used
8507 forward the stream error.
8508 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8509 error flag.
8510
78e64fdc
RT
85112011-05-20 Ulrich Drepper <drepper@gmail.com>
8512
34a9094f
UD
8513 [BZ #11869]
8514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8515 alloca.
8516 * include/alloca.h (extend_alloca_account): Define.
8517
78e64fdc
RT
8518 [BZ #11857]
8519 * posix/regex.h: Fix comments with documentation of user-accessible
8520 fields after compilation and describe correct free'ing of pattern
8521 after re_compile_pattern.
8522 Patch by Reuben Thomas <rrt@sc3d.org>.
8523
457bddfc
RA
85242011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8525
8526 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8527 and -mno-altivec to prevent the compiler from using Altivec and/or
8528 VSX instructions when the corresponding registers are not available.
8529
a4527b51
AS
85302011-05-19 Andreas Schwab <schwab@redhat.com>
8531
8532 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8533
ed690b2f
UD
85342011-05-19 Ulrich Drepper <drepper@gmail.com>
8535
8536 * libio/freopen.c (freopen): Use __dup2, not dup2.
8537 * libio/freopen64.c (freopen64): Likewise.
8538
8db73634
L
85392011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8540
8541 [BZ #12775]
8542 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8543 * math/Makefile (tests): Add test-powl.
8544 (CFLAGS-test-powl.c): Define.
8545 * math/test-powl.c: New file.
8546
0a197a9d
L
85472011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8548
8549 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8550
ee30c380
UD
85512011-05-17 Ulrich Drepper <drepper@gmail.com>
8552
8553 [BZ #11837]
8554 * iconvdata/gb18030.c: Update to GB18020-2005.
8555
6ce75379
UD
85562011-05-16 Ulrich Drepper <drepper@gmail.com>
8557
a4b89fd8
AR
8558 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8559 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8560 Patch by Aharon Robbins <arnold@skeeve.com>.
8561
ea389b12
UD
8562 [BZ #11892]
8563 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8564 on the stack.
8565
68a3f91f
UD
8566 [BZ #11895]
8567 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8568 through underflows.
8569
15cc7dd1
UD
8570 [BZ #12766]
8571 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8572 point to strings before performing equality test for error_one_per_line
8573 mode.
8574
f3799213
UD
8575 [BZ #11697]
8576 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8577
d79a9c94
UD
8578 [BZ #11820]
8579 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8580 (struct user_fpregs_struct): Avoid __uint*_t types.
8581
56e5eb46
UD
8582 [BZ #6420]
8583 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8584 symbol info. Use it instead of calling _dl_addr locally.
8585 (lock_and_info): New function.
8586 (tr_freehook): Call lock_and_info and pass symbol info as additional
8587 parameter to tr_where.
8588 (tr_mallochook): Likewise.
8589 (tr_reallochook): Likewise.
8590 (tr_memalignhook): Likewise.
8591
6ce75379
UD
8592 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8593 used and couldn't be at all thread-safe.
8594
f8a3b5bf
UD
85952011-05-15 Ulrich Drepper <drepper@gmail.com>
8596
94b7cc37
UD
8597 * libio/freopen.c (freopen): Don't close old file descriptor
8598 before the new one is opened. Instead dup the new file descriptor
8599 to the old one after the new stream is created.
8600 * libio/freopen64.c (freopen64): Likewise.
8601 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8602 * libio/fileops.c (_IO_new_file_close_it): Handle new
8603 _IO_FLAGS2_NOCLOSE flag.
8604 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8605 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8606 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8607 _IO_FLAGS2_NOCLOSE flag.
8608 * include/unistd.h: Add hidden_proto for dup3.
8609 Define __have_dup3.
8610 * io/dup3.c: Define hidden symbol.
8611 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8612
bd25564e
UD
8613 [BZ #7101]
8614 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8615 when an incomplete long option is used.
8616 * posix/tst-getopt_long1.c: New file.
8617 * posix/Makefile (tests): Add tst-getopt_long1.
8618
c84cfef4
UD
8619 [BZ #10138]
8620 * scripts/config.guess: Update from autoconf-2.68.
8621 * scripts/config.sub: Likewise.
8622
3b85df27
UD
8623 [BZ #10157]
8624 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8625 tests into ...
8626 (has_cpuclock): ...this. New function.
8627 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8628 macro here based on has_cpuclock code.
8629
15a856b1
UD
8630 [BZ #10149]
8631 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8632 First byte (not low byte) is now always NUL.
8633 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8634
05f399e6
UD
8635 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8636 Use non-cancelable interfaces.
8637
10a52685 8638 [BZ #9809]
94ecc67d
UD
8639 * locale/iso-639.def: Add entry for Sorani.
8640
f8a3b5bf
UD
8641 [BZ #11901]
8642 * include/stdlib.h: Move include protection to the right place.
8643 Define abort_msg_s. Declare __abort_msg with it.
8644 * stdlib/abort.c (__abort_msg): Adjust type.
8645 * assert/assert.c (__assert_fail_base): New function. Majority
8646 of code from __assert_fail. Allocate memory for __abort_msg with
8647 mmap.
8648 (__assert_fail): Now call __assert_fail_base.
8649 * assert/assert-perr.c: Remove bulk of implementation. Use
8650 __assert_fail_base.
8651 * include/assert.hL Declare __assert_fail_base.
8652 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8653 mmap.
8654 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8655
1af4e298
UD
86562011-05-14 Ulrich Drepper <drepper@gmail.com>
8657
f8a3b5bf 8658 [BZ #11952]
d26dfc60
MG
8659 [BZ #12453]
8660 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8661 until all modules are registered in the DTV.
8662 * elf/Makefile: Add rules to build and run tst-tls19.
8663 * elf/tst-tls19.c: New file.
8664 * elf/tst-tls19mod1.c: New file.
8665 * elf/tst-tls19mod2.c: New file.
8666 * elf/tst-tls19mod3.c: New file.
8667 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8668
2fc54d6f
UD
8669 [BZ #12083]
8670 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8671 correctly.
8672
98d76b46
UD
8673 [BZ #12601]
8674 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8675 two-byte sequence errors.
8676 * iconvdata/Makefile (tests): Add bug-iconv8.
8677 * iconvdata/bug-iconv8.c: New file.
8678
da3c19ef
UD
8679 [BZ #12626]
8680 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8681 buf2 definition.
8682
ca408c15
UD
8683 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8684
d6f67f7d
UD
8685 [BZ #12432]
8686 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8687 (dummy_getcfa): New function.
8688 (init): Get _Unwind_GetCFA address, use dummy if not found.
8689 (backtrace_helper): In recursion check, also check whether CFA changes.
8690 (__backtrace): Completely initialize arg.
8691
1af4e298 8692 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
8693 storing incomplete byte sequence in state object. Avoid testing for
8694 guaranteed too small input if we know there is enough data available.
1af4e298 8695
da62f81b
AS
86962011-05-11 Andreas Schwab <schwab@redhat.com>
8697
8698 * Makeconfig (+link-pie): Indent.
8699 * Rules (binaries-pie): Define if $(have-fpie) and
8700 $(build-shared).
8701 (binaries-shared): Also filter out $(binaries-pie).
8702 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8703 * nscd/Makefile (others-pie): Add nscd.
8704 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8705 ($(objpfx)nscd): Remove command override.
8706 * login/Makefile (others-pie): Add pt_chown.
8707 ($(objpfx)pt_chown): Remove command override.
8708 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8709 remove command overrides.
8710
fcabc0f8
UD
87112011-05-13 Ulrich Drepper <drepper@gmail.com>
8712
20030ae6
UD
8713 * libio/tst_putwc.c: Fix error messages.
8714
fcabc0f8
UD
8715 [BZ #12724]
8716 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8717 currently writing and seek to current position when not.
8718 * libio/Makefile (tests): Add bug-fclose1.
8719 * libio/bug-fclose1.c: New file.
8720
320a5dc0
PB
87212011-05-12 Ulrich Drepper <drepper@gmail.com>
8722
8723 [BZ #12511]
8724 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8725 don't set DF_1_NODELETE here.
8726 (do_lookup_x): When entering new entry test for copy relocation
8727 and if necessary set DF_1_NODELETE flag.
8728 * elf/tst-unique4.cc: New file.
8729 * elf/tst-unique4.h: New file.
8730 * elf/tst-unique4lib.cc: New file.
8731 * elf/Makefile: Add rules to build and run tst-unique4.
8732 Patch by Piotr Bury <pbury@goahead.com>.
8733
22836f52
UD
87342011-05-11 Ulrich Drepper <drepper@gmail.com>
8735
f574184a
UD
8736 [BZ #12052]
8737 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8738
e1fb097f
UD
8739 [BZ #12625]
8740 * misc/mntent_r.c (addmntent): Flush the stream after the output
8741
22836f52
UD
8742 [BZ #12393]
8743 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8744 (is_trusted_path_normalize): Skip initial colon. Append slash
8745 to empty buffer. Duplicate is_trusted_path code but allow
8746 constructed patch to be prefix.
8747 (is_dst): Allow $ORIGIN followed by /.
8748 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8749 Correct testing of result of is_trusted_path_normalize
8750 (decompose_rpath): Fix warning.
8751
7b3b0b2a
UD
87522011-05-10 Ulrich Drepper <drepper@gmail.com>
8753
8754 [BZ #11257]
8755 * grp/initgroups.c (internal_getgrouplist): When we found the service
8756 list through the initgroups entry in nsswitch.conf do not always
8757 continue on a successful lookup. Don't always use the
eac80ce2 8758 __nss_group_database value if it is set.
7b3b0b2a
UD
8759 * nss/nsswitch.conf (initgroups): Change action for successful db
8760 lookup to continue for compatibility.
8761
2a81eaa5
UD
87622011-05-09 Ulrich Drepper <drepper@gmail.com>
8763
be97a69e
UD
8764 [BZ #11532]
8765 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8766 and CP774 modules.
8767 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8768 and CP774 modules.
8769 * iconvdata/tst-tables.sh: Likewise.
8770 * iconvdata/cp770.c: New file.
8771 * iconvdata/cp771.c: New file.
8772 * iconvdata/cp772.c: New file.
8773 * iconvdata/cp773.c: New file.
8774 * iconvdata/cp774.c: New file.
8775 * iconvdata/testdata/CP770: New file.
8776 * iconvdata/testdata/CP770..UTF8: New file.
8777 * iconvdata/testdata/CP771: New file.
8778 * iconvdata/testdata/CP771..UTF8: New file.
8779 * iconvdata/testdata/CP772: New file.
8780 * iconvdata/testdata/CP772..UTF8: New file.
8781 * iconvdata/testdata/CP773: New file.
8782 * iconvdata/testdata/CP773..UTF8: New file.
8783 * iconvdata/testdata/CP774: New file.
8784 * iconvdata/testdata/CP774..UTF8: New file.
8785
8786 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8787 END CHARMAP line.
8788 * iconvdata/gen-8bit-gap.sh: Likewise.
8789 * iconvdata/gen-8bit.sh: Likewise.
8790
c1e9e399
UD
8791 * locale/iso-639.def: Add ary entry.
8792
24c55fb3 8793 [BZ #11258]
96b4b1b0
UD
8794 * locale/C-translit.h.in: Add U20A1 transliteration.
8795
bdc2f971
KB
8796 [BZ #12178]
8797 * locale/iso-639.def: Add wae entry.
8798 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8799
2952b117
UD
8800 [BZ #12545]
8801 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8802 for n.
8803
2a81eaa5
UD
8804 [BZ #12711]
8805 * locale/C-translit.h.in: Add entry for U20B9.
8806 Patch by pravin.d.s@gmail.com.
8807
28377d1b
UD
88082011-05-08 Ulrich Drepper <drepper@gmail.com>
8809
7fb90fb8
UD
8810 [BZ #12713]
8811 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8812 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
8813 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8814 in rtld. Use *stat64.
7fb90fb8 8815 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 8816 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 8817 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
8818 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8819 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8820 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8821 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8822 __fstatat64 macros.
7fb90fb8
UD
8823 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8824 * dirent/rewinddir.c: Add libc_hidden_def.
8825 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 8826 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 8827
28377d1b
UD
8828 * include/dirent.h (__alloc_dir): Add flags parameter.
8829 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8830 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8831 __alloc_dir.
8832 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8833 from fdopendir if O_CLOEXEC is already set.
8834
66bdbaa4
AM
88352011-03-15 Alan Modra <amodra@gmail.com>
8836
8837 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8838 l_tls_firstbyte_offset non-zero. Save padding offset in
8839 l_tls_firstbyte_offset for later use.
8840 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8841 freeing static tls block.
8842
95721191
JN
88432011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8844
8845 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8846 where #ifdef was intended. The intent is to prevent ARG_MAX from
8847 being defined by the kernel headers.
8848
f87dfb1f
UD
88492011-05-07 Ulrich Drepper <drepper@gmail.com>
8850
8851 [BZ #12734]
8852 * resolv/resolv.h: Define RES_NOTLDQUERY.
8853 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8854 no-tld-query and set RES_NOTLDQUERY.
8855 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8856 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8857 modern BIND to search name as TLD unless forbidden.
8858
47c3cd7a
UD
88592011-05-07 Petr Baudis <pasky@suse.cz>
8860 Ulrich Drepper <drepper@gmail.com>
8861
8862 [BZ #12393]
8863 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8864 (is_trusted_path): ...to here.
c1e9ea35 8865 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 8866 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 8867 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 8868
8a35c912
PP
88692011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8870
8871 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8872 __BEGIN/__END_DECLS.
8873
acd41f47
UD
88742011-05-06 Ulrich Drepper <drepper@gmail.com>
8875
8876 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8877 NSS_STATUS_NOTFOUND if no record was found.
8878
597df647
AS
88792011-05-05 Andreas Schwab <schwab@redhat.com>
8880
8881 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8882 (headers-not-in-tirpc): Remove rpc/netdb.h
8883 * resolv/netdb.h: Revert last change.
8884
b9af1301
PP
88852011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8886
8887 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8888 circular dependency between libgcc.a and libc.a.
8889
4e34d5f5
AS
88902011-05-05 Andreas Schwab <schwab@redhat.com>
8891
8892 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8893 * nis/Makefile: Don't install rpcsvc/*.
8894 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8895 instead of <rpc/types.h>.
8896 (MAXHOSTNAMELEN): Define.
8897
00ee369c
AS
88982011-05-03 Andreas Schwab <schwab@redhat.com>
8899
8900 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8901
0b592a30
MB
89022011-04-28 Maciej Babinski <mbabinski@google.com>
8903
8904 [BZ #12714]
8905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8906 gethostbyname4_r when IPv6 results are possible.
8907
6e04cbbe
UD
89082011-05-02 Ulrich Drepper <drepper@gmail.com>
8909
8910 [BZ #12723]
8911 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8912 _PC_PIPE_BUF handling.
8913
e4ecafe0
BH
89142011-04-30 Bruno Haible <bruno@clisp.org>
8915
8916 [BZ #12717]
8917 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8918 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8919 to 'int'.
8920 * inet/getnameinfo.c (getnameinfo): Likewise.
8921
125ee683
UD
89222011-04-29 Ulrich Drepper <drepper@gmail.com>
8923
8924 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8925 to groups setting in database lookup.
8926 * nss/nsswitch.conf: Add initgroups entry.
8927
b722481a
EB
89282011-04-22 Ulrich Drepper <drepper@gmail.com>
8929
8930 [BZ #12685]
8931 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8932 mode string.
8933 Patch by Eric Blake <eblake@redhat.com>.
8934
4df46dbd
L
89352011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8936
8937 * sunrpc/Makefile (need-export-routines): Add svc_run.
8938 (routines): Remove svc_run.
8939 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8940 * sunrpc/clnt_perr.c (clnt_perrno): Export.
8941 * sunrpc/svc_run.c (svc_run): Likewise.
8942 * sunrpc/svc_udp.c (svcudp_create): Likewise.
8943
e84142d2
UD
89442011-04-21 Ulrich Drepper <drepper@gmail.com>
8945
8946 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8947 problem in reallocation in last patch.
8948
877175d8
UD
89492011-04-20 Ulrich Drepper <drepper@gmail.com>
8950
8951 * sunrpc/Makefile: Move inclusion of Rules.
8952
ab8eed78
UD
89532011-04-19 Ulrich Drepper <drepper@gmail.com>
8954
8955 * nss/nss_files/files-initgroups.c: New file.
8956 * nss/Makefile (libnss_files-routines): Add files-initgroups.
8957 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8958 _nss_files_initgroups_dyn.
8959
e3d8f584
RS
89602011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
8961
8962 * elf/elf.h (R_ARM_IRELATIVE): Define.
8963
af190f45
UD
89642011-04-19 Ulrich Drepper <drepper@gmail.com>
8965
8966 * po/ru.po: Update from translation team.
8967
53cf59ef
UD
89682011-04-17 Ulrich Drepper <drepper@gmail.com>
8969
8970 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8971 dependencies.
8972
4c559bcd
MF
89732011-02-06 Mike Frysinger <vapier@gentoo.org>
8974
8975 [BZ #12653]
8976 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8977 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8978 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8979 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8980 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8981
4420675c
AS
89822011-03-28 Andreas Schwab <schwab@linux-m68k.org>
8983
8984 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
8985 differing bytes.
8986 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8987 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8988 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8989
75ea32ab
UD
89902011-04-17 Ulrich Drepper <drepper@gmail.com>
8991
8992 [BZ #12420]
8993 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
8994 storing it.
8995 * stdlib/bug-getcontext.c: New file.
8996 * stdlib/Makefile: Add rules to build and run bug-getcontext.
8997
27390476
AK
89982011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8999
9000 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9001 instructions into .machine "z9-109".
9002 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9003 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9004
10442705
AK
90052011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9006
9007 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9008 between environment variables and auxiliary vector.
9009
7b57bfe5
UD
90102011-04-16 Ulrich Drepper <drepper@gmail.com>
9011
9012 * Makefile: Add rules to build linkobj/libc.so.
9013 * include/libc-symbols.h: Define libc_hidden_nolink.
9014 * include/rpc/auth.h: Mark functions which are to be hidden.
9015 * include/rpc/auth_des.h: Likewise.
9016 * include/rpc/auth_unix.h: Likewise.
9017 * include/rpc/clnt.h: Likewise.
9018 * include/rpc/des_crypt.h: Likewise.
9019 * include/rpc/key_prot.h: Likewise.
9020 * include/rpc/pmap_clnt.h: Likewise.
9021 * include/rpc/pmap_prot.h: Likewise.
9022 * include/rpc/pmap_rmt.h: Likewise.
9023 * include/rpc/rpc_msg.h: Likewise.
9024 * include/rpc/svc.h: Likewise.
9025 * include/rpc/svc_auth.h: Likewise.
9026 * include/rpc/xdr.h: Likewise.
9027 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9028 * nss/Makefile: Likewise.
9029 * sunrpc/Makefile: Don't install headers. Build library with normal
9030 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9031 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9032 for the compat linking library. Remove use of INTDEF/INTUSE.
9033 * sunrpc/auth_none.c: Likewise.
9034 * sunrpc/auth_unix.c: Likewise.
9035 * sunrpc/authdes_prot.c: Likewise.
9036 * sunrpc/authuxprot.c: Likewise.
9037 * sunrpc/clnt_gen.c: Likewise.
9038 * sunrpc/clnt_perr.c: Likewise.
9039 * sunrpc/clnt_raw.c: Likewise.
9040 * sunrpc/clnt_simp.c: Likewise.
9041 * sunrpc/clnt_tcp.c: Likewise.
9042 * sunrpc/clnt_udp.c: Likewise.
9043 * sunrpc/clnt_unix.c: Likewise.
9044 * sunrpc/des_crypt.c: Likewise.
9045 * sunrpc/des_soft.c: Likewise.
9046 * sunrpc/get_myaddr.c: Likewise.
9047 * sunrpc/key_call.c: Likewise.
9048 * sunrpc/key_prot.c: Likewise.
9049 * sunrpc/netname.c: Likewise.
9050 * sunrpc/pm_getmaps.c: Likewise.
9051 * sunrpc/pm_getport.c: Likewise.
9052 * sunrpc/pmap_clnt.c: Likewise.
9053 * sunrpc/pmap_prot.c: Likewise.
9054 * sunrpc/pmap_prot2.c: Likewise.
9055 * sunrpc/pmap_rmt.c: Likewise.
9056 * sunrpc/publickey.c: Likewise.
9057 * sunrpc/rpc_cmsg.c: Likewise.
9058 * sunrpc/rpc_common.c: Likewise.
9059 * sunrpc/rpc_dtable.c: Likewise.
9060 * sunrpc/rpc_prot.c: Likewise.
9061 * sunrpc/rpc_thread.c: Likewise.
9062 * sunrpc/rtime.c: Likewise.
9063 * sunrpc/svc.c: Likewise.
9064 * sunrpc/svc_auth.c: Likewise.
9065 * sunrpc/svc_authux.c: Likewise.
9066 * sunrpc/svc_raw.c: Likewise.
9067 * sunrpc/svc_run.c: Likewise.
9068 * sunrpc/svc_simple.c: Likewise.
9069 * sunrpc/svc_tcp.c: Likewise.
9070 * sunrpc/svc_udp.c: Likewise.
9071 * sunrpc/svc_unix.c: Likewise.
9072 * sunrpc/svcauth_des.c: Likewise.
9073 * sunrpc/xcrypt.c: Likewise.
9074 * sunrpc/xdr.c: Likewise.
9075 * sunrpc/xdr_array.c: Likewise.
9076 * sunrpc/xdr_float.c: Likewise.
9077 * sunrpc/xdr_intXX_t.c: Likewise.
9078 * sunrpc/xdr_mem.c: Likewise.
9079 * sunrpc/xdr_rec.c: Likewise.
9080 * sunrpc/xdr_ref.c: Likewise.
9081 * sunrpc/xdr_sizeof.c: Likewise.
9082 * sunrpc/xdr_stdio.c: Likewise.
9083
e6c61494
UD
90842011-04-10 Ulrich Drepper <drepper@gmail.com>
9085
9086 [BZ #12650]
9087 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9088 * sysdeps/ia64/dl-tls.h: Likewise.
9089 * sysdeps/powerpc/dl-tls.h: Likewise.
9090 * sysdeps/s390/dl-tls.h: Likewise.
9091 * sysdeps/sh/dl-tls.h: Likewise.
9092 * sysdeps/sparc/dl-tls.h: Likewise.
9093 * sysdeps/x86_64/dl-tls.h: Likewise.
9094 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9095
34fe483e
AS
90962011-03-14 Andreas Schwab <schwab@redhat.com>
9097
9098 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9099 rpath element also skip the following colon.
9100 (expand_dynamic_string_token): Add is_path parameter and pass
9101 down to DL_DST_REQUIRED and _dl_dst_substitute.
9102 (decompose_rpath): Call expand_dynamic_string_token with
9103 non-zero is_path. Ignore empty rpaths.
9104 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9105 with zero is_path.
9106
f12a32e6
AS
91072011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9108
9109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9110 Make cancelable.
9111
38a7d692
UD
91122011-04-09 Ulrich Drepper <drepper@gmail.com>
9113
9114 [BZ #12655]
9115 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9116 Patch by Filipe David Manana <fdmanana@apache.org>.
9117
e451d22b
AS
91182011-04-07 Andreas Schwab <schwab@redhat.com>
9119
9120 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9121 Maintain aligned stack.
9122 (CHECK_RSP): Remove unused macro.
9123
dedc7c7b
UD
91242011-04-03 Ulrich Drepper <drepper@gmail.com>
9125
9126 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9127 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9128
94521213
UD
91292011-04-02 Ulrich Drepper <drepper@gmail.com>
9130
9131 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9132
8cb700c0 9133 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9134
0354e355
L
91352011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9136
9137 [BZ #12518]
9138 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9139 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9140 * sysdeps/x86_64/memmove.c: New file.
9141 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9142 (memcpy): Renamed to ...
9143 (__new_memcpy): This.
9144 (memcpy): Provide GLIBC_2_14 memcpy.
9145 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9146 (memcpy): Provide GLIBC_2_2_5 memcpy.
9147
8593482f
UD
91482011-04-01 Ulrich Drepper <drepper@gmail.com>
9149
9150 [BZ #12631]
9151 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9152
81a5726b
AS
91532011-03-30 Andreas Schwab <schwab@redhat.com>
9154
9155 * misc/syncfs.c: New file.
9156 * misc/Makefile (routines): Add syncfs.
9157 * posix/unistd.h: Declare syncfs.
9158 * sysdeps/unix/syscalls.list: Add syncfs.
9159
00e5419f
AS
91602011-04-01 Andreas Schwab <schwab@redhat.com>
9161
9162 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9163 open_by_handle_at.
9164 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9165 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9166 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9167 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9168 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9169 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9170 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9171
748876bf
UD
91722011-04-01 Ulrich Drepper <drepper@gmail.com>
9173
658e451d
UD
9174 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9175 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9176 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9177 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9178 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9179 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9180 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9181
748876bf
UD
9182 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9183 sync_file_range.c with -fexceptions.
9184 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9185 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9186 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9187 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9188 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9189 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9190 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
9191 sync_file_range as cancellation point
9192 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9193 now a wrapper around __call_sync_file_range with cancellation handling.
9194 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9195 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9196 function name to __call_sync_file_range.
9197 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9198 Add call_sync_file_range.
748876bf 9199
6e63d5e1
AS
92002011-04-01 Andreas Schwab <schwab@redhat.com>
9201
9202 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 9203 bits/timex.h.
6e63d5e1 9204
46998f74
UD
92052011-04-01 Ulrich Drepper <drepper@gmail.com>
9206
4c1423ed
UD
9207 * iconv/iconv.h: Fix typo in comment.
9208 * io/fcntl.h: Likewise.
9209 * libio/stdio.h: Likewise.
9210 * posix/spawn.h: Likewise.
9211 * posix/unistd.h: Likewise.
9212 * stdlib/stdlib.h: Likewise.
9213 * time/time.h: Likewise.
9214 * wcsmbs/wchar.h: Likewise.
9215
158648c0
UD
9216 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9217 open_by_handle): Add.
9218 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9219 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9220 Augment a few comments.
9221 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9222 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9223 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9224 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9225 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9226 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9227 open_by_handle.
9228
46998f74
UD
9229 * io/fcntl.h (AT_EMPTY_PATH): Define.
9230
83fe108b
UD
92312011-03-30 Ulrich Drepper <drepper@gmail.com>
9232
9233 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9234 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9235 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9236 to...
9237 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
9238 * Versions.def: Add GLIBC_2.14.
9239 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9240 Export.
83fe108b 9241
bb242059
UD
92422011-03-22 Ulrich Drepper <drepper@gmail.com>
9243
9244 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9245 round counter.
9246 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9247
c97a1282
L
92482011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9249
9250 [BZ #12597]
9251 * string/test-strncmp.c (do_page_test): New function.
9252 (check2): Likewise.
9253 (test_main): Call check2.
9254 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9255
2a115601
UD
92562011-03-20 Ulrich Drepper <drepper@gmail.com>
9257
9258 [BZ #12587]
9259 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9260 Handle cache information in CPU leaf 4.
9261 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9262
8126d904
UD
92632011-03-18 Ulrich Drepper <drepper@gmail.com>
9264
042c49c6 9265 [BZ #12583]
8126d904
UD
9266 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9267 character representation.
9268 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9269
ccfe366e
RA
92702011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9271
9272 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9273 END(__isnan) to END(__isnanf) to match function entry point/label
9274 EALIGN(__isnanf,...).
9275
c6e13027
JJ
92762011-03-10 Jakub Jelinek <jakub@redhat.com>
9277
9278 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9279
33f85a3f
UD
92802011-03-10 Ulrich Drepper <drepper@gmail.com>
9281
028478fa
UD
9282 [BZ #12510]
9283 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9284 copy from the symbol referenced in the relocation to initialize the
9285 used variable.
9286 Patch by Piotr Bury <pbury@goahead.com>.
9287 * elf/Makefile: Add rules to build and tst-unique3.
9288 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9289 * elf/tst-unique3.cc: New file.
9290 * elf/tst-unique3.h: New file.
9291 * elf/tst-unique3lib.cc: New file.
9292 * elf/tst-unique3lib2.cc: New file.
9293
33f85a3f
UD
9294 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9295
03592fc7
MF
92962011-03-10 Mike Frysinger <vapier@gentoo.org>
9297
9298 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9299 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9300 to _start.
03592fc7 9301
6a5ee102
UD
93022011-03-06 Ulrich Drepper <drepper@gmail.com>
9303
9304 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9305 to-be-loaded object along a path to loader is ld.so.
9306
7e4ba49c
HJ
93072011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9308 Ulrich Drepper <drepper@gmail.com>
9309
9310 * sysdeps/x86_64/memset.S: After aligning destination, code
9311 branches to different locations depending on the value of
9312 misalignment, when multiarch is enabled. Fix this.
9313
93142011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9315
9316 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9317 Set _x86_64_preferred_memory_instruction for AMD processsors.
9318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9319 Set bit_Prefer_SSE_for_memop for AMD processors.
9320
13a804de
UD
93212011-03-04 Ulrich Drepper <drepper@gmail.com>
9322
9323 * libio/fmemopen.c (fmemopen): Optimize a bit.
9324
9d25c392
AS
93252011-03-03 Andreas Schwab <schwab@redhat.com>
9326
9327 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9328
a5543c6a
RM
93292011-03-03 Roland McGrath <roland@redhat.com>
9330
9331 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9332
012d35f7
DM
93332011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9334
7e4ba49c 9335 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9336 __bzero_ultra1 instead of __memset_ultra1.
9337
4bff6e01
AS
93382011-02-23 Andreas Schwab <schwab@redhat.com>
9339 Ulrich Drepper <drepper@gmail.com>
9340
9341 [BZ #12509]
9342 * include/link.h (struct link_map): Add l_orig_initfini.
9343 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9344 returning unsuccessfully.
9345 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9346 close of a file loaded at startup, restore the original l_initfini
9347 list.
9348 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9349 list, store the pointer.
9350 * elf/Makefile ($(objpfx)noload-mem): New rule.
9351 (noload-ENV): Define.
9352 (tests): Add $(objpfx)noload-mem.
9353 * elf/noload.c: Include <memcheck.h>.
9354 (main): Call mtrace. Close all opened handles.
9355
f2092faf
AS
93562011-02-17 Andreas Schwab <schwab@redhat.com>
9357
9358 [BZ #12454]
9359 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9360 dependencies are missing.
9361
6c8a2e88
ST
93622011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9363
f2092faf 9364 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
9365 Hurd needs munmap.
9366 * sysdeps/mach/hurd/ifreq.h: New file.
9367
84a42118
PB
93682011-01-27 Petr Baudis <pasky@suse.cz>
9369 Ulrich Drepper <drepper@gmail.com>
9370
071f805e 9371 [BZ 12445]#
84a42118
PB
9372 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9373 to extend_alloca().
9374 * stdio-common/bug23.c: New file.
9375 * stdio-common/Makefile (tests): Add bug23.
9376
e23fe25b
AS
93772010-09-28 Andreas Schwab <schwab@redhat.com>
9378 Ulrich Drepper <drepper@gmail.com>
9379
9380 [BZ #12489]
9381 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9382 before performing relro protection. At old place add assertion
9383 to make sure nothing changed.
9384
d3f02e10
NS
93852011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9386 Glauber de Oliveira Costa <glommer@gmail.com>
9387
9388 * elf/elf.h: Add new ARM TLS relocs.
9389
d55fd7a5
RA
93902011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9391
9392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9393 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9394 cast from r3.
9395 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9396 'tests' variable.
9397 * sysdeps/wordsize-64/tst-writev.c: New file.
9398
2206397e
RA
93992011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9400
9401 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9402 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9403 insns in _dl_start to prevent a TOC reference before relocs are
9404 resolved.
9405
e9433893
UD
94062011-02-15 Ulrich Drepper <drepper@gmail.com>
9407
9408 [BZ #12469]
9409 * Makeconfig: Remove RANLIB definition.
9410 * Makerules: Don't use RANLIB.
9411 * aclocal.m4: Remove ranlib test.
9412 * configure.in: No need to check for ranlib.
9413 * elf/rtld-Rules: Don't use RANLIB.
9414
f75286c6
ST
94152011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9416
8e31c82d
ST
9417 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9418 protection macro.
9419 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9420 inclusion protection macro.
9421
f75286c6
ST
9422 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9423 SIGRTMIN and SIGRTMAX and print information in that case only when
9424 SIGRTMIN is defined.
9425
c1d0e639
JJ
94262011-02-11 Jakub Jelinek <jakub@redhat.com>
9427
9428 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9429 arginfo fn returning -1.
9430
9431 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9432 and thousands string is zero terminated.
9433
edf9294e
AS
94342011-02-03 Andreas Schwab <schwab@redhat.com>
9435
9436 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9437 sysdeps/unix/sysv/linux/bits/socket.h.
9438
2b7e92df
ST
94392011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9440
edf9294e
AS
9441 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9442 (__CPU_COUNT): Remove old macros.
9443 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9444 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9445 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
9446 (__sched_cpualloc, __sched_cpufree): Add declarations.
9447
a4c7ea7b
UD
94482011-02-05 Ulrich Drepper <drepper@gmail.com>
9449
9450 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9451 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9452 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9453 (readdhstai): Return value of addhstaiX call.
9454 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9455 (addgrbyX): Return value returned by cache_addgr.
9456 (readdgrbyname): Return value returned by addgrbyX.
9457 (readdgrbygid): Likewise.
9458 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9459 (addpwbyX): Return value returned by cache_addpw.
9460 (readdpwbyname): Return value returned by addhstbyX.
9461 (readdpwbyuid): Likewise.
9462 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9463 (addservbyX): Return value returned by cache_addserv.
9464 (readdservbyname): Return value returned by addservbyX:
9465 (readdservbyport): Likewise.
9466 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9467 (addhstbyX): Return value returned by cache_addhst.
9468 (readdhstbyname): Return value returned by addhstbyX.
9469 (readdhstbyaddr): Likewise.
9470 (readdhstbynamev6): Likewise.
9471 (readdhstbyaddrv6): Likewise.
9472 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9473 (readdinitgroups): Return value returned by addinitgroupsX.
9474 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9475 (prune_cache): Keep track of timeout value of re-added entries.
9476 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9477 * nscd/nscd.h: Adjust prototypes of readd* functions.
9478
a0bf67cc
RM
94792011-02-04 Roland McGrath <roland@redhat.com>
9480
9481 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9482 (nis_stats): Likewise.
9483 * nis/nis_modify.c (nis_modify): Likewise.
9484 * nis/nis_remove.c (nis_remove): Likewise.
9485 * nis/nis_add.c (nis_add): Likewise.
9486
9487 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9488
9489 * posix/fnmatch_loop.c: Add some consts.
9490
9491 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9492
435b95eb
L
94932011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9494
9495 [BZ #12460]
9496 * config.make.in (config-cflags-novzeroupper): Define.
9497 * configure.in: Substitute libc_cv_cc_novzeroupper.
9498 * elf/Makefile (AVX-CFLAGS): Define.
9499 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9500 (CFLAGS-tst-auditmod4a.c): Likewise.
9501 (CFLAGS-tst-auditmod4b.c): Likewise.
9502 (CFLAGS-tst-auditmod6b.c): Likewise.
9503 (CFLAGS-tst-auditmod6c.c): Likewise.
9504 (CFLAGS-tst-auditmod7b.c): Likewise.
9505 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9506
8517b15e
UD
95072011-02-02 Ulrich Drepper <drepper@gmail.com>
9508
9509 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9510 function to the callback.
9511 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9512
10a656fe
AS
95132011-02-02 Andreas Schwab <schwab@redhat.com>
9514
9515 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9516 of errno.
9517
968dad0a
UD
95182011-01-19 Ulrich Drepper <drepper@gmail.com>
9519
9f94d2ea 9520 [BZ #11724]
968dad0a
UD
9521 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9522 of constructors.
9523 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9524 of destructors.
9525 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9526
9527 [BZ #11724]
9528 * elf/Makefile: Add rules to build and run new test.
9529 * elf/tst-initorder.c: New file.
9530 * elf/tst-initorder.exp: New file.
9531 * elf/tst-initordera1.c: New file.
9532 * elf/tst-initordera2.c: New file.
9533 * elf/tst-initordera3.c: New file.
9534 * elf/tst-initordera4.c: New file.
9535 * elf/tst-initorderb1.c: New file.
9536 * elf/tst-initorderb2.c: New file.
9537 * elf/tst-order-a1.c: New file.
9538 * elf/tst-order-a2.c: New file.
9539 * elf/tst-order-a3.c: New file.
9540 * elf/tst-order-a4.c: New file.
9541 * elf/tst-order-b1.c: New file.
9542 * elf/tst-order-b2.c: New file.
9543 * elf/tst-order-main.c: New file.
9544 New test case by George Gensure <werkt0@gmail.com>.
9545
86e92359
UD
95462010-10-01 Andreas Schwab <schwab@redhat.com>
9547
9548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9549 decoding ACE if AI_CANONIDN.
9550
5d5732b0
UD
95512011-01-18 Ulrich Drepper <drepper@gmail.com>
9552
9553 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9554
a77e8cbc
UD
95552011-01-17 Ulrich Drepper <drepper@gmail.com>
9556
6392473f
UD
9557 * version.h (RELEASE): Bump for 2.13 release.
9558 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9559
620a0529
UD
9560 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9561
18ba70a5
UD
9562 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9563 MADV_NOHUGEPAGE.
32465c3e
UD
9564 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9565 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9566 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9567 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9568 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9569 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9570
c0dafcf1
UD
9571 * posix/getconf.c: Update copyright year.
9572 * catgets/gencat.c: Likewise.
9573 * csu/version.c: Likewise.
9574 * debug/catchsegv.sh: Likewise.
9575 * debug/xtrace.sh: Likewise.
9576 * elf/ldconfig.c: Likewise.
9577 * elf/ldd.bash.in: Likewise.
9578 * elf/sprof.c (print_version): Likewise.
9579 * iconv/iconv_prog.c: Likewise.
9580 * iconv/iconvconfig.c: Likewise.
9581 * locale/programs/locale.c: Likewise.
9582 * locale/programs/localedef.c: Likewise.
9583 * malloc/memusage.sh: Likewise.
9584 * malloc/mtrace.pl: Likewise.
9585 * nscd/nscd.c (print_version): Likewise.
9586 * nss/getent.c: Likewise.
9587
a77e8cbc
UD
9588 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9589 PF_CAIF, and PF_ALG.
9590 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9591
77e8bddf
AS
95922011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9593
1f20b93a
AS
9594 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9595 (modules-names): Use them.
9596 (ifunc-test-modules, ifunc-pie-tests): Define.
9597 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9598 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9599 (test-extras): Likewise.
9600 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9601 $(compile-command.c).
9602 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9603 (all-built-dso): Define.
9604 (check-textrel.out, check-execstack.out): Depend on it.
9605
77e8bddf
AS
9606 * configure.in: Don't override --enable-multi-arch.
9607
bc425b33
UD
96082011-01-15 Ulrich Drepper <drepper@gmail.com>
9609
9610 [BZ #6812]
9611 * nscd/hstcache.c (tryagain): Define.
9612 (cache_addhst): Return tryagain not notfound for temporary errors.
9613 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9614 failed.
9615
794c3ad3
UD
96162011-01-14 Ulrich Drepper <drepper@gmail.com>
9617
70181fdd
UD
9618 [BZ #10563]
9619 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9620 to make the syscall.
9621 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9622
794c3ad3
UD
9623 [BZ #12378]
9624 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9625 and fall back to matching as normal character if the string ends before
9626 the matching ']' is found. This is what POSIX requires.
9627 * posix/testfnm.c: Adjust test result.
9628 * posix/globtest.sh: Adjust test result. Add new test.
9629 * posix/tst-fnmatch.input: Likewise.
9630 * posix/tst-fnmatch2.c: Add new test.
9631
68dc9497
AS
96322010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9633
9634 * elf/Makefile (check-execstack): Revert last change. Depend on
9635 check-execstack.h.
9636 (check-execstack.h): New target.
9637 (generated): Add check-execstack.h.
9638 * elf/check-execstack.c: Include "check-execstack.h".
9639 (main): Revert last change.
9640 (handle_file): Return zero if GNU_STACK is absent and
9641 DEFAULT_STACK_PERMS doesn't include PF_X.
9642
451f001b
UD
96432011-01-13 Ulrich Drepper <drepper@gmail.com>
9644
cfa28e56
UD
9645 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9646 in child fails because the descriptor is already closed.
8cf8ce17
UD
9647 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9648 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9649 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 9650
1086d70d
UD
9651 [BZ #12397]
9652 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9653 syscall.
9654
451f001b
UD
9655 [BZ #10484]
9656 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9657 temporary buffer used to handle multi lookups locally.
a85b5cb4 9658 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 9659
08769175
UD
96602011-01-12 Ulrich Drepper <drepper@gmail.com>
9661
9662 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9663 loader is ld.so.
9664
5e49c52e
UD
96652011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9666
9667 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9668 alignment for SSE2.
9669
60522a5f
UD
96702011-01-12 Ulrich Drepper <drepper@gmail.com>
9671
9672 [BZ #12394]
9673 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9674 characters. When rounding increased number of integer digits recompute
9675 number of groups.
9676 * stdio-common/tst-grouping.c: New file.
9677 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9678
f257bbd7
UD
96792011-01-09 Ulrich Drepper <drepper@gmail.com>
9680
9681 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9682 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9683
9684 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9685 void.
9686 * bits/select.h: Likewise.
9687
fa9c15cb
UD
96882011-01-08 Ulrich Drepper <drepper@gmail.com>
9689
9690 * po/ja.po: Update from translation team.
9691
16c2895f
DM
96922011-01-04 David S. Miller <davem@sunset.davemloft.net>
9693
9694 [BZ #11155]
9695 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9696 implementation just like for lxstat, fxstatat, et al.
9697
2543fef2
JM
96982010-12-27 Jim Meyering <meyering@redhat.com>
9699
9700 [BZ #12348]
9701 * posix/regexec.c (build_trtable): Return failure indication upon
9702 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9703
98727dbe
UD
97042010-12-25 Ulrich Drepper <drepper@gmail.com>
9705
5bd6dc5c
UD
9706 [BZ #12201]
9707 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9708 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9709 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9710 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9711
97983464
UD
9712 [BZ #12207]
9713 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9714
98727dbe
UD
9715 [BZ #12204]
9716 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9717 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9718
4a531bb0
L
97192010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9720
9721 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9722 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9723 script has SORT_BY_INIT_PRIORITY.
9724 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9725 NO_CTORS_DTORS_SECTIONS is defined.
9726 * elf/soinit.c: Likewise.
9727 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9728 NO_CTORS_DTORS_SECTIONS is defined.
9729 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9730 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9731 * sysdeps/sh/init-first.c: Likewise.
9732 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9733
07eb4b71
UD
97342010-12-24 Ulrich Drepper <drepper@gmail.com>
9735
9736 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9737 always use the slow path.
9738
30950a5f
RA
97392010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9740
9741 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9742 similar rule which adds the sysdep directories to the header search in
9743 order to pick up the correct platform stackinfo.h.
9744 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9745 perform test if it is, otherwise return successfully without testing.
9746 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9747 DEFAULT_STACK_PERMS define in stackinfo.h.
9748 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9749 defined in stackinfo.h.
9750 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9751 DEFAULT_STACK_PERMS defined in stackinfo.h.
9752 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9753 * sysdeps/ia64/stackinfo.h: Likewise.
9754 * sysdeps/s390/stackinfo.h: Likewise.
9755 * sysdeps/sh/stackinfo.h: Likewise.
9756 * sysdeps/sparc/stackinfo.h: Likewise.
9757 * sysdeps/x86_64/stackinfo.h: Likewise.
9758 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9759 PF_X for powerpc64. Retain PF_X for powerpc32.
9760
db753e2c
UD
97612010-12-19 Ulrich Drepper <drepper@gmail.com>
9762
14b697f7
UD
9763 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9764 accurately.
db753e2c
UD
9765 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9766 GETDENTS_64BIT_ALIGNED.
9767
28300719
UD
97682010-12-14 Ulrich Drepper <dreper@gmail.com>
9769
14b697f7 9770 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 9771
4f197237
AS
97722010-12-10 Andreas Schwab <schwab@redhat.com>
9773
dbb0472f
AS
9774 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9775 _GNU_SOURCE.
9776
4f197237
AS
9777 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9778 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9779 Remove __restrict.
9780 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9781 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9782
fb88ac72
UD
97832010-12-09 Ulrich Drepper <drepper@gmail.com>
9784
9785 [BZ #11655]
9786 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9787 are initialized.
9788
42acbb92
JJ
97892010-12-09 Jakub Jelinek <jakub@redhat.com>
9790
9791 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9792
c038d98d
UD
97932010-12-03 Ulrich Drepper <drepper@gmail.com>
9794
9795 * po/it.po: Update from translation team.
9796
3a4a2499
L
97972010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9798
9799 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9800 unused codes.
9801
1e24cf6e
UD
98022010-11-30 Ulrich Drepper <drepper@gmail.com>
9803
9804 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9805
a7690819
AS
98062010-11-24 Andreas Schwab <schwab@redhat.com>
9807
9808 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9809 specially.
9810 (gaih_getanswer_slice): Likewise.
9811
3bf8d1b1
JJ
98122010-10-20 Jakub Jelinek <jakub@redhat.com>
9813
9814 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9815
6db52fbb
PB
98162010-05-31 Petr Baudis <pasky@suse.cz>
9817
9818 [BZ #11149]
9819 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9820 silently even in the chroot mode.
9821
eaca7569
UD
98222010-11-22 Ulrich Drepper <drepper@gmail.com>
9823
9824 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9825 last patch a bit. Pretty printing
9826
3056dcdb
UD
98272010-05-31 Petr Baudis <pasky@suse.cz>
9828
9829 [BZ #10085]
9830 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9831 initialization of skip_initgroups_dyn.
9832
cf7c9078
UD
98332010-11-19 Ulrich Drepper <drepper@gmail.com>
9834
9835 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9836 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9837
a1fb5e3e
UD
98382010-11-16 Ulrich Drepper <drepper@gmail.com>
9839
9840 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9841
3540d66b
AS
98422010-11-11 Andreas Schwab <schwab@redhat.com>
9843
9844 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9845 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9846 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9847 ($(objpfx)tst-fnmatch-mem): New rule.
9848 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9849 * posix/tst-fnmatch.c (main): Call mtrace.
9850
13b69574
L
98512010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9852
9853 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9854 Support Intel processor model 6 and model 0x2c.
9855
da93d214
LM
98562010-11-10 Luis Machado <luisgpm@br.ibm.com>
9857
9858 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9859 signed comparison.
9860
8ca52c6e
L
98612010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9862
9863 [BZ #12205]
9864 * string/test-strncasecmp.c (check_result): New function.
9865 (do_one_test): Use it.
9866 (check1): New function.
9867 (test_main): Use it.
9868 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9869 Support strcasecmp and strncasecmp.
9870
69da074d
UD
98712010-11-08 Ulrich Drepper <drepper@gmail.com>
9872
9873 [BZ #12194]
9874 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9875 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9876
ff02d528
L
98772010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9878
9879 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9880 IFUNC support.
9881 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9882 memset-x86-64.
9883 * sysdeps/x86_64/multiarch/bzero.S: New file.
9884 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9885 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9886 * sysdeps/x86_64/multiarch/memset.S: New file.
9887 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9888 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9889 Set bit_Prefer_SSE_for_memop for Intel processors.
9890 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9891 Define.
9892 (index_Prefer_SSE_for_memop): Define.
9893 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9894
344d0b54
LM
98952010-11-04 Luis Machado <luisgpm@br.ibm.com>
9896
9897 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9898 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9899
c0dde15b
UD
99002010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9901
9902 [BZ #12191]
9903 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9904 (__x86_64_raw_data_cache_size_half): Likewise.
9905 (__x86_64_raw_shared_cache_size): Likewise.
9906 (__x86_64_raw_shared_cache_size_half): Likewise.
9907
9908 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9909 (__x86_64_raw_data_cache_size_half): Likewise.
9910 (__x86_64_raw_shared_cache_size): Likewise.
9911 (__x86_64_raw_shared_cache_size_half): Likewise.
9912 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9913 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9914 and __x86_64_raw_shared_cache_size_half. Round
9915 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9916 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9917 to multiple of 256 bytes.
9918
0e516e0e
MS
99192010-11-03 Ulrich Drepper <drepper@gmail.com>
9920
9921 [BZ #12167]
9922 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9923 of inacessible symlinks. Verify result of symlink before returning it.
9924 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9925 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9926
0e012e87
ER
99272010-10-28 Erich Ritz <erichritz@gmail.com>
9928
9929 * math/math.h (isinf): Fix typo in comment.
9930
de0ff7bc
UD
99312010-11-01 Ulrich Drepper <drepper@gmail.com>
9932
9933 * po/da.po: Update from translation team.
9934
fa41c84d
UD
99352010-10-26 Ulrich Drepper <drepper@gmail.com>
9936
9937 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9938 is added to the list.
9939
f0967738
AK
99402010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9941 Ulrich Drepper <drepper@gmail.com>
9942
9943 * elf/dl-object.c (_dl_new_object): Don't append the new object to
9944 the global list here. Move code to...
9945 (_dl_add_to_namespace_list): ...here. New function.
9946 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9947 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9948 * elf/dl-load.c (lose): Don't remove the element from the list.
9949 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9950 (_dl_map_object): Likewise.
9951
99522010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
9953
9954 [BZ #12159]
9955 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9956 into all bytes of SSE register.
9957 Patch by Richard Li <richardpku@gmail.com>.
9958
f0967738 99592010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
9960
9961 [BZ #12140]
9962 * malloc/malloc.c (_int_free): Fill correct number of bytes when
9963 perturbing.
9964
d0b9e94f
MB
99652010-10-20 Michael B. Brutman <brutman@us.ibm.com>
9966
9967 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9968 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9969 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9970 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9972 submachine.
9973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9974
8e9f92e9
AS
99752010-10-22 Andreas Schwab <schwab@redhat.com>
9976
9977 * include/dlfcn.h (__RTLD_SECURE): Define.
9978 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
9979 mode & __RTLD_SECURE instead.
9980 (open_path): Rename preloaded parameter to secure.
9981 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
9982 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9983 * elf/dl-deps.c (openaux): Likewise.
9984 * elf/rtld.c (struct map_args): Remove is_preloaded.
9985 (map_doit): Don't use it.
9986 (dl_main): Likewise.
9987 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
9988 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
9989
bc96fbda
AS
99902010-09-09 Andreas Schwab <schwab@redhat.com>
9991
9992 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
9993 (sysd-rules-targets): Remove duplicates.
9994 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
9995 rtld-%.$o dependency.
9996
22cd1c9b
AS
99972010-10-18 Andreas Schwab <schwab@redhat.com>
9998
9999 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10000 _dl_map_object do it.
10001
18edac48
UD
100022010-10-19 Ulrich Drepper <drepper@gmail.com>
10003
10004 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10005 fast fma builtins, define the macros in the C99 standard.
10006 (FP_FAST_FMAF): Likewise.
10007 (FP_FAST_FMAL): Likewise.
10008 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10009
10010 * bits/mathdef.h: Update copyright year.
10011 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10012
d2050124
MM
100132010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10014
10015 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10016 builtins, define the macros in the C99 standard.
10017 (FP_FAST_FMAF): Likewise.
10018 (FP_FAST_FMAL): Likewise.
10019 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10020 multiply/add.
10021 (FP_FAST_FMAF): Likewise.
10022
475facd1
JJ
100232010-10-15 Jakub Jelinek <jakub@redhat.com>
10024
10025 [BZ #3268]
10026 * math/libm-test.inc (fma_test): Some new testcases.
10027 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10028 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10029 y and infinite z. Do multiplication by C already in long double.
10030 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10031 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10032 y and infinite z. Do bitwise or of inexact bit into u.d.
10033 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10034 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10035 * sysdeps/i386/fpu/s_fma.S: Removed.
10036 * sysdeps/i386/fpu/s_fmal.S: Removed.
10037
7c08a05c
JJ
100382010-10-16 Jakub Jelinek <jakub@redhat.com>
10039
10040 [BZ #3268]
10041 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10042 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10043 computation is not scheduled after fetestexcept. Fix value
10044 of minimum denormal long double.
10045
f3f7372d
JJ
100462010-10-14 Jakub Jelinek <jakub@redhat.com>
10047
10048 [BZ #3268]
10049 * math/libm-test.inc (fma_test): Add some more tests.
10050 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10051 correctly.
10052
14d43591
AS
100532010-10-15 Andreas Schwab <schwab@redhat.com>
10054
10055 * scripts/data/localplt-s390-linux-gnu.data: New file.
10056 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10057
5e908464
JJ
100582010-10-13 Jakub Jelinek <jakub@redhat.com>
10059
10060 [BZ #3268]
10061 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10062 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10063 instead of dbl-64.
10064 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10065 inlines.
10066 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10067 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10068 if one of x and y is very large and the other is subnormal.
10069 * sysdeps/s390/fpu/s_fmaf.c: New file.
10070 * sysdeps/s390/fpu/s_fma.c: New file.
10071 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10072 * sysdeps/powerpc/fpu/s_fma.S: New file.
10073 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10074 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10075 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10076
100772010-10-12 Jakub Jelinek <jakub@redhat.com>
10078
10079 [BZ #3268]
10080 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10081 fma tests.
10082 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10083 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10084 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10085 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10086 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10087 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10088 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10089
b833d51f
UD
100902010-10-12 Ulrich Drepper <drepper@redhat.com>
10091
10092 [BZ #12078]
10093 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10094 * posix/bug-regex31.input: Add test case.
10095
1751705d
UD
100962010-10-11 Ulrich Drepper <drepper@gmail.com>
10097
e9b9cbf5
UD
10098 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10099 * posix/bug-regex31.input: New file.
10100
10101 [BZ #12078]
10102 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10103 (parse_sub_exp): Fix last change, use postorder.
10104
ef06edbe
UD
10105 * posix/bug-regex31.c: New file.
10106 * posix/Makefile: Add rules to build and run bug-regex31.
10107
a129c80d
UD
10108 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10109
10110 [BZ #12078]
10111 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10112
b76b818e
UD
10113 [BZ #12108]
10114 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10115 to have entries in sys_siglist.
10116
1751705d
UD
10117 [BZ #12093]
10118 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10119 be NULL.
10120
9ff8d36f
JJ
101212010-10-07 Jakub Jelinek <jakub@redhat.com>
10122
10123 [BZ #3268]
10124 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10125 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10126 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10127 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10128 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10129 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10130 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10131 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10132 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10133 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10134 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10135 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10136 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10137 * math/ftestexcept.c (fetestexcept): Likewise.
10138 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10139 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10140 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10141 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10142 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10143 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10144 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10145
af325969
UD
101462010-10-11 Ulrich Drepper <drepper@gmail.com>
10147
c579b202 10148 [BZ #12107]
af325969
UD
10149 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10150 newline.
10151
67a67b95
UD
101522010-10-06 Ulrich Drepper <drepper@gmail.com>
10153
10154 * string/bug-strstr1.c: New file.
10155 * string/Makefile: Add rules to build and run bug-strstr1.
10156
5fb308bc
EB
101572010-10-05 Eric Blake <eblake@redhat.com>
10158
10159 [BZ #12092]
10160 * string/str-two-way.h (two_way_long_needle): Always clear memory
10161 when skipping input due to the shift table.
10162
45db99c7
UD
101632010-10-03 Ulrich Drepper <drepper@gmail.com>
10164
3b111893
UD
10165 [BZ #12005]
10166 * malloc/mcheck.c: Handle large requests.
10167
45db99c7
UD
10168 [BZ #12077]
10169 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10170 for strncmp and strncasecmp.
10171 * string/stratcliff.c: Add tests for strcmp and strncmp.
10172 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10173
cf7a1eb8
NI
101742010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10175
10176 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10177 __set_fpscr.
10178
6484ba5e
AJ
101792010-09-30 Andreas Jaeger <aj@suse.de>
10180
10181 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10182 (CGROUP_SUPER_MAGIC): Define.
10183 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10184 Handle btrfs and cgroup file systems.
10185 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10186 Likewise.
10187
91c42559
LM
101882010-09-27 Luis Machado <luisgpm@br.ibm.com>
10189
10190 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10191 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10192
87a97932
AK
101932010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10194
10195 [BZ #12067]
10196 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10197 trying to locate the ELF header.
10198
c21cc9bc
AS
101992010-09-27 Andreas Schwab <schwab@redhat.com>
10200
10201 [BZ #11611]
10202 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10203 Mask out sign-bit copies when constructing f_fsid.
10204
315970f6
PB
102052010-09-24 Petr Baudis <pasky@suse.cz>
10206
10207 * debug/stack_chk_fail_local.c: Add missing licence exception.
10208 * debug/warning-nop.c: Likewise.
10209
1ac7a2c7
JM
102102010-09-15 Joseph Myers <joseph@codesourcery.com>
10211
10212 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10213 implementing getdents64 using getdents syscall, set d_type if
10214 __ASSUME_GETDENTS32_D_TYPE.
10215
56801c50
AS
102162010-09-16 Andreas Schwab <schwab@redhat.com>
10217
10218 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10219 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10220
dda51327
UD
102212010-09-21 Ulrich Drepper <drepper@redhat.com>
10222
10223 [BZ #12037]
10224 * posix/unistd.h: Undo change of feature selection for ftruncate from
10225 2010-01-11.
10226
8ffcee4a
UD
102272010-09-20 Ulrich Drepper <drepper@redhat.com>
10228
a545ecd9 10229 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
10230 detection.
10231
e24f0a8b
AS
102322010-09-20 Andreas Schwab <schwab@redhat.com>
10233
10234 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10235 fanotify_mark.
10236 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10237
7291c56f
AS
102382010-09-14 Andreas Schwab <schwab@redhat.com>
10239
10240 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10241 variables after CHECK_SP call.
10242 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10243
bc5fb037
AS
102442010-09-13 Andreas Schwab <schwab@redhat.com>
10245 Ulrich Drepper <drepper@redhat.com>
10246
10247 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10248 re-relocationg ld.so.
10249 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10250 _dl_init_paths call.
10251 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10252 here anymore.
10253
e66e7419
UD
102542010-09-14 Ulrich Drepper <drepper@redhat.com>
10255
10256 * resolv/res_init.c (__res_vinit): Count the default server we added.
10257
c044aa75
CLT
102582010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10259 Ulrich Drepper <drepper@redhat.com>
10260
10261 [BZ #11968]
10262 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10263 (____longjmp_chk): Use %ebx for saving value across system call.
10264 Add unwind info.
10265
32cf4069
AS
102662010-09-06 Andreas Schwab <schwab@redhat.com>
10267
10268 * manual/Makefile: Don't mix pattern rules with normal rules.
10269
817328ee
AS
102702010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10271
10272 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10273 operation.
10274 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10275 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10276 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10277 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10278 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10279 Likewise.
10280
29fddf61
UD
102812010-09-04 Ulrich Drepper <drepper@redhat.com>
10282
10283 [BZ #11979]
10284 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10285 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10286
0959ffc9
UD
102872010-09-02 Ulrich Drepper <drepper@redhat.com>
10288
10289 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10290 * sysdeps/x86_64/addmul_1.S: Likewise.
10291 * sysdeps/x86_64/lshift.S: Likewise.
10292 * sysdeps/x86_64/mul_1.S: Likewise.
10293 * sysdeps/x86_64/rshift.S: Likewise.
10294 * sysdeps/x86_64/sub_n.S: Likewise.
10295 * sysdeps/x86_64/submul_1.S: Likewise.
10296
ece29840
ST
102972010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10298
0959ffc9
UD
10299 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10300 Define __sched_param instead of SCHED_* and sched_param when
ece29840 10301 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 10302 * bits/sched.h [__need_schedparam]
ece29840 10303 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
10304 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10305 (__defined_schedparam): Define to 1.
ece29840
ST
10306 (__sched_param): New structure, identical to sched_param.
10307 (__need_schedparam): Undefine.
10308
e53a31fe
MF
103092010-08-31 Mike Frysinger <vapier@gentoo.org>
10310
fdc0c10d
MF
10311 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10312 (epoll_create1): Declare.
10313
e53a31fe
MF
10314 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10315
a726d796
AS
103162010-08-31 Andreas Schwab <schwab@redhat.com>
10317
10318 [BZ #7066]
10319 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10320 shifting retval into place.
10321
2f3e3dc7
UD
103222010-09-01 Ulrich Drepper <drepper@redhat.com>
10323
f2933da9
UD
10324 * nis/rpcsvc/nis.h: Update copyright notice.
10325 * nis/rpcsvc/nis.x: Likewise.
10326 * nis/rpcsvc/nis_callback.h: Likewise.
10327 * nis/rpcsvc/nis_callback.x: Likewise.
10328 * nis/rpcsvc/nis_object.x: Likewise.
10329 * nis/rpcsvc/nis_tags.h: Likewise.
10330 * nis/rpcsvc/yp.h: Likewise.
10331 * nis/rpcsvc/yp.x: Likewise.
10332 * nis/rpcsvc/ypupd.h: Likewise.
10333 * nis/yp_xdr.c: Likewise.
10334 * nis/ypupdate_xdr.c: Likewise.
10335
2f3e3dc7
UD
10336 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10337 mainly the body of pmap_getport. Add parameters to specify timeouts.
10338 (pmap_getport): Use __libc_rpc_getport.
10339 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10340 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10341 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10342
f3dcc2f9
AS
103432010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10344
10345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10346 fanotify_mark.
10347
6d34eb5b
RM
103482010-08-27 Roland McGrath <roland@redhat.com>
10349
10350 * sysdeps/i386/i686/multiarch/Makefile
10351 (CFLAGS-varshift.c): New variable.
10352
9ea3de11
UD
103532010-08-27 Ulrich Drepper <drepper@redhat.com>
10354
c96d23fc
UD
10355 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10356 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10357
9ea3de11
UD
10358 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10359
10360 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10361
623aac7f
L
103622010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10363
10364 * sysdeps/x86_64/strlen.S: Unroll the loop.
10365 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10366 strlen-sse2 strlen-sse2-bsf.
10367 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10368 __strlen_no_bsf if bit_Slow_BSF is set.
10369 (__strlen_sse42): Removed.
10370 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10371 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10372
8b2b7715
RM
103732010-08-25 Roland McGrath <roland@redhat.com>
10374
10375 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10376 * sysdeps/x86_64/multiarch/varshift.c: New file.
10377 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10378 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10379 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10380 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10381
e73015f2
L
103822010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10383
10384 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10385 strlen-sse2 strlen-sse2-bsf.
10386 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10387 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10388 (__strlen_sse2): Removed.
10389 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10390 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10391 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10392 bit_Slow_BSF for Atom.
10393 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10394 (index_Slow_BSF): Define.
10395 (HAS_SLOW_BSF): Define.
10396
df24a73e
UD
103972010-08-25 Ulrich Drepper <drepper@redhat.com>
10398
10399 [BZ #10851]
10400 * resolv/res_init.c (__res_vinit): When no server address at all
10401 is given default to loopback.
10402
f2ac4868
RM
104032010-08-24 Roland McGrath <roland@redhat.com>
10404
09055553
RM
10405 * configure.in: Remove config-name.h generation.
10406 * configure: Regenerated.
10407 * config-name.in: File removed.
10408 * scripts/config-uname.sh: New file.
10409 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10410 ($(objdir)config-name.h): New target.
10411
f2ac4868
RM
10412 * sunrpc/rpc_parse.h: Avoid nested comment.
10413
73f27d5e
RH
104142010-08-24 Richard Henderson <rth@redhat.com>
10415 Ulrich Drepper <drepper@redhat.com>
10416 H.J. Lu <hongjiu.lu@intel.com>
10417
10418 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10419 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10420 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10421 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10422 _mm_alignr_epi8 with _mm_loadu_si128.
10423 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10424 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10425 (__m128i_shift_right): Removed.
10426 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10427 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10428 * sysdeps/x86_64/multiarch/varshift.h: New file.
10429 * sysdeps/x86_64/multiarch/varshift.S: New file.
10430
84b9230c
MF
104312010-08-21 Mike Frysinger <vapier@gentoo.org>
10432
10433 * configure.in: Move assembler checks to before sysdep dir checking.
10434
9bbd0ddc
PB
104352010-08-20 Petr Baudis <pasky@suse.cz>
10436
10437 * LICENSES: Sync the sunrpc license.
10438
9da4bb31
UD
104392010-08-19 Ulrich Drepper <drepper@redhat.com>
10440
a7ab6ec8
UD
10441 * sunrpc/auth_des.c: Update copyright notice once again.
10442 * sunrpc/auth_none.c: Likewise.
10443 * sunrpc/auth_unix.c: Likewise.
10444 * sunrpc/authdes_prot.c: Likewise.
10445 * sunrpc/authuxprot.c: Likewise.
10446 * sunrpc/bindrsvprt.c: Likewise.
10447 * sunrpc/clnt_gen.c: Likewise.
10448 * sunrpc/clnt_perr.c: Likewise.
10449 * sunrpc/clnt_raw.c: Likewise.
10450 * sunrpc/clnt_simp.c: Likewise.
10451 * sunrpc/clnt_tcp.c: Likewise.
10452 * sunrpc/clnt_udp.c: Likewise.
10453 * sunrpc/clnt_unix.c: Likewise.
10454 * sunrpc/des_crypt.c: Likewise.
10455 * sunrpc/des_soft.c: Likewise.
10456 * sunrpc/get_myaddr.c: Likewise.
10457 * sunrpc/getrpcport.c: Likewise.
10458 * sunrpc/key_call.c: Likewise.
10459 * sunrpc/key_prot.c: Likewise.
10460 * sunrpc/openchild.c: Likewise.
10461 * sunrpc/pm_getmaps.c: Likewise.
10462 * sunrpc/pm_getport.c: Likewise.
10463 * sunrpc/pmap_clnt.c: Likewise.
10464 * sunrpc/pmap_prot.c: Likewise.
10465 * sunrpc/pmap_prot2.c: Likewise.
10466 * sunrpc/pmap_rmt.c: Likewise.
10467 * sunrpc/rpc/auth.h: Likewise.
10468 * sunrpc/rpc/auth_unix.h: Likewise.
10469 * sunrpc/rpc/clnt.h: Likewise.
10470 * sunrpc/rpc/des_crypt.h: Likewise.
10471 * sunrpc/rpc/key_prot.h: Likewise.
10472 * sunrpc/rpc/netdb.h: Likewise.
10473 * sunrpc/rpc/pmap_clnt.h: Likewise.
10474 * sunrpc/rpc/pmap_prot.h: Likewise.
10475 * sunrpc/rpc/pmap_rmt.h: Likewise.
10476 * sunrpc/rpc/rpc.h: Likewise.
10477 * sunrpc/rpc/rpc_des.h: Likewise.
10478 * sunrpc/rpc/rpc_msg.h: Likewise.
10479 * sunrpc/rpc/svc.h: Likewise.
10480 * sunrpc/rpc/svc_auth.h: Likewise.
10481 * sunrpc/rpc/types.h: Likewise.
10482 * sunrpc/rpc/xdr.h: Likewise.
10483 * sunrpc/rpc_clntout.c: Likewise.
10484 * sunrpc/rpc_cmsg.c: Likewise.
10485 * sunrpc/rpc_common.c: Likewise.
10486 * sunrpc/rpc_cout.c: Likewise.
10487 * sunrpc/rpc_dtable.c: Likewise.
10488 * sunrpc/rpc_hout.c: Likewise.
10489 * sunrpc/rpc_main.c: Likewise.
10490 * sunrpc/rpc_parse.c: Likewise.
10491 * sunrpc/rpc_parse.h: Likewise.
10492 * sunrpc/rpc_prot.c: Likewise.
10493 * sunrpc/rpc_sample.c: Likewise.
10494 * sunrpc/rpc_scan.c: Likewise.
10495 * sunrpc/rpc_scan.h: Likewise.
10496 * sunrpc/rpc_svcout.c: Likewise.
10497 * sunrpc/rpc_tblout.c: Likewise.
10498 * sunrpc/rpc_util.c: Likewise.
10499 * sunrpc/rpc_util.h: Likewise.
10500 * sunrpc/rpcinfo.c: Likewise.
10501 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10502 * sunrpc/rpcsvc/key_prot.x: Likewise.
10503 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10504 * sunrpc/rpcsvc/mount.x: Likewise.
10505 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10506 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10507 * sunrpc/rpcsvc/rex.x: Likewise.
10508 * sunrpc/rpcsvc/rstat.x: Likewise.
10509 * sunrpc/rpcsvc/rusers.x: Likewise.
10510 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10511 * sunrpc/rpcsvc/spray.x: Likewise.
10512 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10513 * sunrpc/rtime.c: Likewise.
10514 * sunrpc/svc.c: Likewise.
10515 * sunrpc/svc_auth.c: Likewise.
10516 * sunrpc/svc_authux.c: Likewise.
10517 * sunrpc/svc_raw.c: Likewise.
10518 * sunrpc/svc_run.c: Likewise.
10519 * sunrpc/svc_simple.c: Likewise.
10520 * sunrpc/svc_tcp.c: Likewise.
10521 * sunrpc/svc_udp.c: Likewise.
10522 * sunrpc/svc_unix.c: Likewise.
10523 * sunrpc/svcauth_des.c: Likewise.
10524 * sunrpc/xcrypt.c: Likewise.
10525 * sunrpc/xdr.c: Likewise.
10526 * sunrpc/xdr_array.c: Likewise.
10527 * sunrpc/xdr_float.c: Likewise.
10528 * sunrpc/xdr_mem.c: Likewise.
10529 * sunrpc/xdr_rec.c: Likewise.
10530 * sunrpc/xdr_ref.c: Likewise.
10531 * sunrpc/xdr_sizeof.c: Likewise.
10532 * sunrpc/xdr_stdio.c: Likewise.
10533
9da4bb31
UD
10534 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10535 handling.
10536
bdaa77bc
AS
105372010-08-19 Andreas Schwab <schwab@redhat.com>
10538
10539 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10540
fe2f79db
LM
105412010-08-19 Luis Machado <luisgpm@br.ibm.com>
10542
10543 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10544 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10545 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10546 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10547 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10548 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10549 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10550 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10551 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10552 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10553 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10554 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10555 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10556 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10557
b9b42ee0
AB
105582010-07-26 Anton Blanchard <anton@samba.org>
10559
10560 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10561 * malloc/arena.c (heap_trim): Likewise.
10562
1c06ba31
UD
105632010-08-16 Ulrich Drepper <drepper@redhat.com>
10564
10565 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10566 here. Not...
10567 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10568 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10569
f8392f40
L
105702010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10571
10572 * sysdeps/i386/elf/Makefile: New file.
10573
3162f12e
AS
105742010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10575
10576 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10577 from fanotify_init.
10578 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10579 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10580
28c90b2c
UD
105812010-08-15 Ulrich Drepper <drepper@redhat.com>
10582
10583 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10584 of strncasecmp_l.
1feccb6c 10585 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 10586
ca6bb004
UD
105872010-08-14 Ulrich Drepper <drepper@redhat.com>
10588
e9f82e0d
UD
10589 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10590 strncase_l-nonascii.
10591 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10592 Add strncase_l-ssse3.
10593 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10594 * sysdeps/x86_64/strcmp.S: Likewise.
10595 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10596 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10597 * sysdeps/x86_64/strncase.S: New file.
10598 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10599 * sysdeps/x86_64/strncase_l.S: New file.
10600 * string/Makefile (strop-tests): Add strncasecmp.
10601 * string/test-strncasecmp.c: New file.
10602
10603 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10604 warning.
10605
ca6bb004
UD
10606 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10607 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10608
052fa7b3
AS
106092010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10610
10611 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10612
962dba78
UD
106132010-08-12 Ulrich Drepper <drepper@redhat.com>
10614
10615 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10616 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10617 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10618
bebff237
AM
106192010-05-01 Alan Modra <amodra@gmail.com>
10620
10621 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10622 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10623 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10624 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10625 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10626 tidying. Don't tail-call __sigjmp_save for static lib.
10627 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10628 save location.
10629 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10630 (CALL_MCOUNT): Add eh info, and nop after bl.
10631 (TAIL_CALL_SYSCALL_ERROR): New macro.
10632 (PSEUDO_RET): Use it.
10633 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10634 Correct save location of integer regs and cr.
10635 (_dl_profile_resolve): Correct cr save location. Delete nops
10636 after bl when SHARED. Reduce cfi size a little by better
10637 placement of cfi directives.
10638 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10639 make a stack frame. Instead use parm save area as a temp.
10640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10641 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10643 Don't make a stack frame for parent, use parm save area.
10644 Increase child stack frame to 112 bytes. Don't save unused reg,
10645 and adjust reg usage. Set up cfi on error recovery and
10646 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10648 (__makecontext): Add dummy nop after jump to exit.
10649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10650 Use correct parm save area and cr save, reduce stack frame.
10651 Correct cfi for possible PSEUDO_RET frame setup.
10652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10653 Branch to local label emitted by PSEUDO_RET rather than
10654 __syscall_error.
10655
02637374
AS
106562010-08-12 Andreas Schwab <schwab@redhat.com>
10657
10658 [BZ #11904]
10659 * locale/programs/locale.c (print_assignment): New function.
10660 (show_locale_vars): Use it.
10661
c3e2f19b
UD
106622010-08-11 Ulrich Drepper <drepper@redhat.com>
10663
3cdaa6ad
UD
10664 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10665 field.
10666 (struct statfs64): Likewise.
10667 (_STATFS_F_FLAGS): Define.
10668 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10669 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10670 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10671 (ST_VALID): Define locally.
10672 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10673 __statvfs_getflags, use the provided value.
10674 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10675 __ASSUME_STATFS_F_FLAGS.
10676
754f7da3
UD
10677 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10678
10b3bedc
UD
10679 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10680 Add sys/fanotify.h.
10681 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10682 fanotify_mask for GLIBC_2.13.
10683 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10684 fanotify_init and fanotify_mark.
10685 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10686 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10687
c08fb0d7
UD
10688 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10689 Add prlimit.
10690 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10691 prlimit64 for GLIBC_2.13.
10692 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10693 prlimit64.
10694 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10695 syscall.
10696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10697 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10698 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10699 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10700 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10701 add prlimit alias.
10702 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10703
15bac72b
UD
10704 [BZ #11903]
10705 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10706 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10707
c3e2f19b
UD
10708 * nss/Makefile: Add rules to build and run tst-nss-test1.
10709 * shlib-versions: Add entry for libnss_test1.
10710 * nss/nss_test1.c: New file.
10711 * nss/tst-nss-test1.c: New file.
10712
10713 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10714 (__nss_configure_lookup): Set appropriate entry in
10715 __nss_configure_lookup to true.
10716 * nss/nsswitch.h: Define enum with indeces of databases in
10717 databases and __nss_database_custom arrays. Declare
10718 __nss_database_custom.
10719 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10720 to avoid using nscd when custom rules are installed.
10721 * nss/getXXbyYY_r.c: Likewise.
10722 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10723
10724 * nss/nss_files/files-parse.c: Whitespace fixes.
10725
f15ce4d8
UD
107262010-08-09 Ulrich Drepper <drepper@redhat.com>
10727
10728 [BZ #11883]
10729 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10730 * posix/fnmatch_loop.c: Likewise.
10731
d22e4cc9
AK
107322010-07-17 Andi Kleen <ak@linux.intel.com>
10733
10734 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10735 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10736 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10737 * Versions.def [GLIBC_2.13]: Add.
10738
805bc17d
UD
107392010-08-06 Ulrich Drepper <drepper@redhat.com>
10740
10741 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10742 Also fail if tpwd after pwuid call is NULL.
10743
5a42321d
ST
107442010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10745
10746 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10747 when converting to ms.
10748
fd3ebeda
ST
107492010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10750
10751 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10752 EOPNOTSUPP errors with ENOTTY.
10753 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10754 EOPNOTSUPP errors with ENOTTY.
10755
73507d3a
UD
107562010-07-31 Ulrich Drepper <drepper@redhat.com>
10757
10758 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10759 Add strcasecmp_l-ssse3.
10760 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10761 strcasecmp.
10762 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10763 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10764 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10765
fe36dd02
UD
107662010-07-30 Ulrich Drepper <drepper@redhat.com>
10767
66f6765a
UD
10768 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10769
42e08a54
UD
10770 * string/Makefile (strop-tests): Add strcasecmp.
10771 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10772 strcasecmp_l-nonascii.
10773 (gen-as-const-headers): Add locale-defines.sym.
10774 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10775 * sysdeps/x86_64/strcasecmp.S: New file.
10776 * sysdeps/x86_64/strcasecmp_l.S: New file.
10777 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10778 * sysdeps/x86_64/locale-defines.sym: New file.
10779 * string/test-strcasecmp.c: New file.
10780
fe36dd02
UD
10781 * string/test-strcasestr.c: Test both ends of the range of characters.
10782 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10783
48cbc0d6
RM
107842010-07-29 Roland McGrath <roland@redhat.com>
10785
76e6d6bc 10786 [BZ #11856]
48cbc0d6
RM
10787 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10788
880113d9
UD
107892010-07-27 Ulrich Drepper <drepper@redhat.com>
10790
10791 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10792 for ld.so.
10793
deb9cabb
AS
107942010-07-27 Andreas Schwab <schwab@redhat.com>
10795
10796 * manual/memory.texi (Malloc Tunable Parameters): Document
10797 M_PERTURB.
10798
1c7570ff
RM
107992010-07-26 Roland McGrath <roland@redhat.com>
10800
10801 [BZ #11840]
10802 * configure.in (-fgnu89-inline check): Set and substitute
10803 gnu89_inline, not libc_cv_gnu89_inline.
10804 * configure: Regenerated.
10805 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10806
24fb0f88
UD
108072010-07-26 Ulrich Drepper <drepper@redhat.com>
10808
10809 * string/test-strnlen.c: New file.
10810 * string/Makefile (strop-tests): Add strnlen.
10811 * string/tester.c (test_strnlen): Add a few more test cases.
10812 * string/tst-strlen.c: Better error reporting.
10813
10814 * sysdeps/x86_64/strnlen.S: New file.
10815
8e96b93a
UD
108162010-07-24 Ulrich Drepper <drepper@redhat.com>
10817
10818 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10819 lower-latency instructions.
10820
dbc676d4
UD
108212010-07-23 Ulrich Drepper <drepper@redhat.com>
10822
10823 * string/test-strcasestr.c: New file.
10824 * string/test-strstr.c: New file.
10825 * string/Makefile (strop-tests): Add strstr and strcasestr.
10826 * string/str-two-way.h: Don't undefine MAX.
10827 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10828
f6a31e0e
AS
108292010-07-21 Andreas Schwab <schwab@redhat.com>
10830
10831 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10832 strcasestr-nonascii.
10833 (CFLAGS-strcasestr-nonascii.c): Define.
10834 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10835 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10836 Remove unused attribute.
10837
5dbc3b6c
RM
108382010-07-20 Roland McGrath <roland@redhat.com>
10839
10840 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10841 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10842 ld.so.cache was broken. With it, there is no way to disable dsocaps
10843 like LD_HWCAP_MASK can disable hwcaps.
10844
23d101d8
EPM
108452010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10846
10847 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10848
cc9f2e47
UD
108492010-07-16 Ulrich Drepper <drepper@redhat.com>
10850
10851 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10852 call in strcasestr.
10853 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10854 __strcasestr_sse42_nonascii.
10855 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10856 strcasestr-nonascii.c.
10857 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10858
77c1b069
LM
108592010-06-15 Luis Machado <luisgpm@br.ibm.com>
10860
10861 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10862 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10863 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10864 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10865
440566c3
UD
108662010-07-09 Ulrich Drepper <drepper@redhat.com>
10867
10868 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10869 fcntl.
10870
5be9d05d
AS
108712010-07-06 Andreas Schwab <schwab@redhat.com>
10872
c30b7ee2 10873 [BZ #11577]
5be9d05d
AS
10874 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10875 dl_signal_cerror.
10876
8a492a67
UD
108772010-07-06 Ulrich Drepper <drepper@redhat.com>
10878
10879 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10880 _PC_PIPE_BUF using F_GETPIPE_SZ.
10881
713df3d5
RM
108822010-07-05 Roland McGrath <roland@redhat.com>
10883
10884 * manual/arith.texi (Rounding Functions): Fix rint description
10885 implicit in round description.
10886
702e8f14
UD
108872010-07-02 Ulrich Drepper <drepper@redhat.com>
10888
10889 * elf/Makefile: Fix linking for a few tests to make recent linker
10890 happy.
10891
52ed8be9
AS
108922010-06-30 Andreas Schwab <schwab@redhat.com>
10893
10894 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10895 $(common-objpfx)libc_nonshared.a.
10896
f47c9a11
LM
108972010-06-21 Luis Machado <luisgpm@br.ibm.com>
10898
10899 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10900 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10901 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10902 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10903 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10904 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10905 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10906 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10921 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10922 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10923 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10924 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10925 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10926 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10927 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10928 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10929 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10930 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10931 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10932 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10947
6fb8cbcb
L
109482010-06-25 H.J. Lu <hongjiu.lu@intel.com>
10949
10950 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10951 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
10952 * string/memmove.c (memmove): Renamed to ...
10953 (MEMMOVE): ...this. Default to memmove.
10954 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10955 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10956 (END_CHK): Define.
10957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10958 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10959 mempcpy-ssse3-back memmove-ssse3-back.
10960 * sysdeps/x86_64/multiarch/bcopy.S: New file .
10961 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10962 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10963 * sysdeps/x86_64/multiarch/memcpy.S: New file.
10964 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10965 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10966 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10967 * sysdeps/x86_64/multiarch/memmove.c: New file.
10968 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10969 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10970 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10971 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10972 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10973 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10974 Define.
10975 (index_Fast_Copy_Backward): Define.
10976 (HAS_ARCH_FEATURE): Define.
10977 (HAS_FAST_REP_STRING): Define.
10978 (HAS_FAST_COPY_BACKWARD): Define.
10979
4e733bac 109802010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
10981
10982 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10983 Restore proper fallback handling.
10984
63c4ed22
UD
109852010-06-19 Ulrich Drepper <drepper@redhat.com>
10986
ac2b484c
UD
10987 [BZ #11701]
10988 * posix/group_member.c (__group_member): Correct checking loop.
10989
63c4ed22
UD
10990 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
10991 OOM in getpwuid_r correctly. Return error number when the caller
10992 should return, otherwise -1.
10993 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
10994 call returning > 0 value.
10995 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
10996
765ade4b
AS
109972010-06-07 Andreas Schwab <schwab@redhat.com>
10998
10999 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11000 libc_nonshared.a from targets in modules-names.
11001
80da2e09
KS
110022010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11003
11004 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11005 requires it.
11006
158db122
LM
110072010-06-10 Luis Machado <luisgpm@br.ibm.com>
11008
11009 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11010 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11011 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11012 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11013
caa78cf8
AS
110142010-06-02 Andreas Schwab <schwab@redhat.com>
11015
11016 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11017
b2ef2c01
UD
110182010-06-14 Ulrich Drepper <drepper@redhat.com>
11019
11020 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11021 and F_GETPIPE_SZ.
11022 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11023 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11024 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11025 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11026 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11027 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11028
fbd643b6
RM
110292010-06-14 Roland McGrath <roland@redhat.com>
11030
11031 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11032
f32f2869
JJ
110332010-06-07 Jakub Jelinek <jakub@redhat.com>
11034
11035 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11036 __REDIRECT followed by __THROW.
11037 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11038 * posix/getopt.h (getopt): Likewise.
11039
2a50c078
EPM
110402010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11041
11042 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11043 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11044 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11045 in AT_FLAGS.
11046 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11047 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11048
eb5ad2eb
LM
110492010-05-28 Luis Machado <luisgpm@br.ibm.com>
11050
11051 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11052
3c88fe1e
L
110532010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11054
11055 [BZ #11640]
11056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11057 Properly check family and model.
11058
d2f73151
TY
110592010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11060
11061 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11062
ebd2e13d
LM
110632010-05-24 Luis Machado <luisgpm@br.ibm.com>
11064
11065 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11066
b32b8b45
UD
110672010-05-21 Ulrich Drepper <drepper@redhat.com>
11068
11069 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11070 symbol reference.
11071
9acbe24d
AS
110722010-05-19 Andreas Schwab <schwab@redhat.com>
11073
11074 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11075 symbol reference.
11076
f0ccf6ea
AS
110772010-05-21 Andreas Schwab <schwab@redhat.com>
11078
3d04ff3a
AS
11079 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11080 and internal_recvmmsg.
11081 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11082 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11083 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11084 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11085
f0ccf6ea
AS
11086 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11087 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11088 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11089
5b08ac57
AS
110902010-05-20 Andreas Schwab <schwab@redhat.com>
11091
11092 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11093
4828935d
LM
110942010-05-17 Luis Machado <luisgpm@br.ibm.com>
11095
11096 POWER7 optimizations.
11097 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11098 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11099
373d545e
UD
111002010-05-19 Ulrich Drepper <drepper@redhat.com>
11101
11102 * version.h: Update for 2.13 development version.
11103
21a2b1ae
AS
111042010-05-12 Andrew Stubbs <ams@codesourcery.com>
11105
11106 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11107 exceptions. Return 0.
11108
3f7dcb2b
RM
111092010-05-07 Roland McGrath <roland@redhat.com>
11110
11111 * elf/ldconfig.c (main): Add a const.
11112
5f24d53a 111132010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11114
a160f8d8
UD
11115 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11116 (args_options): Add no-idn option.
11117 (ahosts_keys_int): Add idn_flags to ai_flags.
11118 (parse_option): Handle 'i' option to clear idn_flags.
11119
5f24d53a
UD
11120 * malloc/malloc.c (_int_free): Possible race in the most recently
11121 added check. Only act on the data if no current modification
11122 happened.
265bb1ce
UD
11123
11124See ChangeLog.17 for earlier changes.