]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
2012-03-29 Jeff Law <law@redhat.com>
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b8dc394d
JL
12012-03-30 Jeff Law <law@redhat.com>
2
3 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4 due to long keys.
5 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7
1d39e359
UD
82012-03-30 Ulrich Drepper <drepper@gmail.com>
9
c030f70c 10 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 11 requests to save a system call. Fix check that all bytes are sent.
c030f70c 12
1d39e359
UD
13 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
14 comments for sendmmsg.
15
162012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
17
18 [BZ #13691]
19 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20 with only 1 character between 0x0041 and 0x01b0.
21 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22 * wcsmbs/tst-mbsnrtowcs.c: New file.
23
20fde227
DM
242012-03-29 David S. Miller <davem@davemloft.net>
25
26 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27 small copies by hand.
28
984a4237
JL
292012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30
31 [BZ #13761]
32 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
33 _nss_compat_initgroups_dyn): Fall back to malloc/free
34 for large group memberships.
35
18c9d62b
DM
362012-03-28 David S. Miller <davem@davemloft.net>
37
88d85d4f
DM
38 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39 that branches into memcpy.
40 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45 bits.
46 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
47 implementation too.
48 * sysdeps/sparc/mempcpy.S: New file.
49
e5aa83e1
DM
50 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
51 the IFUNC routine in the libc case.
52 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53
88570753
DM
54 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
55 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
56 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
57 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
58 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
59 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
60 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
61 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
62
249d7567
DM
63 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
64 loop to 256 bytes instead of 64 bytes and fix test signedness.
65
18c9d62b
DM
66 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
67 * sysdeps/sparc/sparc32/Makefile: rather than here...
68 * sysdeps/sparc/sparc64/Makefile: and here.
69
05f3d1f6
UD
702012-03-28 Ulrich Drepper <drepper@gmail.com>
71
72 * malloc/mallocbug.c: Avoid warnings about unused variables.
73
86ae07a8
JL
742012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
75
76 [BZ #13760]
77 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
78 in the right place. Discard and retry query if response is
79 larger than input buffer size.
80
41bf21a1
JM
812012-03-28 Joseph Myers <joseph@codesourcery.com>
82
d6270972
JM
83 [BZ #369]
84 [BZ #2678]
85 [BZ #3866]
86 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
87 x for large integer exponent.
88 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
89 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
90 sign of result as needed afterwards.
91 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
92 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
93 result for underflowing pow the same as for overflow.
94 (__kernel_standard_l): Handle powl overflow and underflow here
95 rather than calling __kernel_standard.
96 * math/libm-test.inc (pow_test): Add more tests.
97
414fca03 98 [BZ #3868]
41bf21a1
JM
99 [BZ #13879]
100 [BZ #13910]
101 [BZ #13911]
102 [BZ #13912]
103 [BZ #13913]
104 [BZ #13915]
105 [BZ #13916]
106 [BZ #13917]
107 [BZ #13918]
108 [BZ #13919]
109 [BZ #13920]
110 [BZ #13921]
111 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
112 * sysdeps/ieee754/k_standard.c: Include <float.h>.
113 (__kernel_standard_l): New function.
114 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
115 __kernel_standard.
116 * math/w_acosl.c (__acosl): Likewise.
117 * math/w_asinl.c (__asinl): Likewise.
118 * math/w_atan2l.c (__atan2l): Likewise.
119 * math/w_atanhl.c (__atanhl): Likewise.
120 * math/w_coshl.c (__coshl): Likewise.
121 * math/w_exp10l.c (__exp10l): Likewise.
122 * math/w_exp2l.c (__exp2l): Likewise.
123 * math/w_fmodl.c (__fmodl): Likewise.
124 * math/w_hypotl.c (__hypotl): Likewise.
125 * math/w_j0l.c (__j0l, __y0l): Likewise.
126 * math/w_j1l.c (__j1l, __y1l): Likewise.
127 * math/w_jnl.c (__jnl, __ynl): Likewise.
128 * math/w_lgammal.c (__lgammal): Likewise.
129 * math/w_log10l.c (__log10l): Likewise.
130 * math/w_log2l.c (__log2l): Likewise.
131 * math/w_logl.c (__logl): Likewise.
132 * math/w_powl.c (__powl): Likewise.
133 * math/w_remainderl.c (__remainderl): Likewise.
134 * math/w_scalbl.c (sysv_scalbl): Likewise.
135 * math/w_sinhl.c (__sinhl): Likewise.
136 * math/w_sqrtl.c (__sqrtl): Likewise.
137 * math/w_tgammal.c (__tgammal): Likewise.
138 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
139 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
140 * math/libm-test.inc (acos_test): Add more tests.
141 (acosh_test): Likewise.
142 (asin_test): Likewise.
143 (atanh_test): Likewise.
144 (exp_test): Likewise.
145 (exp10_test): Likewise.
146 (exp2_test): Likewise.
147 (expm1_test): Likewise.
148 (lgamma_test): Likewise.
149 (log_test): Likewise.
150 (log10_test): Likewise.
151 (log1p_test): Likewise.
152 (log2_test): Likewise.
153 (pow_test): Do not allow some spurious overflow exceptions.
154 (sqrt_test): Add more tests.
155 (tgamma_test): Likewise.
156 (y0_test): Likewise.
157 (y1_test): Likewise.
158 (yn_test): Likewise.
159
dd62fda6
AB
1602012-03-27 Anton Blanchard <anton@samba.org>
161
162 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
163 MAP_HUGETLB.
164 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
165 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
166 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
167
1e3cdfda
AJ
1682012-03-27 David S. Miller <davem@davemloft.net>
169
b855ab85
DM
170 * conform/Makefile: Run run-conformtest.sh using $(BASH).
171
1e3cdfda
AJ
172 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
173 have-as-vis3 check.
174
1752012-03-27 Andreas Jaeger <aj@suse.de>
176
177 * sysdeps/x86_64/elf/configure.in: Moved to ...
178 * sysdeps/x86_64/configure.in: ... here.
179 * sysdeps/x86_64/elf/start.S: Moved to ...
180 * sysdeps/x86_64/start.S: ... here.
181 * sysdeps/x86_64/elf/configure: Delete.
182
183 * sysdeps/x86_64/configure.in: Merge contents from
184 sysdeps/i386/configure.in (without i686 check).
185
186 * sysdeps/i386/elf/Versions: Merge into ...
187 * sysdeps/i386/Versions: ... this.
188 * sysdeps/i386/elf/Versions: Delete file.
189 * sysdeps/i386/elf/start.S: Moved to ...
190 * sysdeps/i386/start.S: ...here.
191 * sysdeps/i386/elf/configure.in: Merge into...
192 * sysdeps/i386/configure.in: ...here.
193 * sysdeps/i386/elf/configure.in: Delete file.
194 * sysdeps/i386/elf/configure: Delete file.
195
196 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
197 * debug/backtracesyms.c: ... here.
198 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
199 * debug/backtracesymsfd.c: ... here.
200 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
201 * sysdeps/generic/ifunc-sel.h: ... here.
202
203 * sysdeps/unix/i386/start.c: Delete file.
204 * sysdeps/unix/sparc/start.c: Delete file.
205 * sysdeps/unix/start.c: Delete file.
206
207 * sysdeps/sh/elf/configure.in: Moved to ...
208 * sysdeps/sh/configure.in: ... here.
209 * sysdeps/sh/elf/start.S: Moved to ...
210 * sysdeps/sh/start.S: ... here.
211 * sysdeps/sh/elf/configure: Delete file.
212
213 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
214 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
215 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
216 * sysdeps/powerpc/powerpc64/entry.h: ... here.
217 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
218 * sysdeps/powerpc/powerpc64/start.S: here.
219 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
220 * sysdeps/powerpc/powerpc64/Makefile: ... this.
221 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
222 * sysdeps/powerpc/powerpc64/configure.in: ... this.
223 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
224
225 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
226 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
227 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
228 * sysdeps/powerpc/powerpc32/start.S: ... here.
229 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
230 * sysdeps/powerpc/powerpc32/configure.in: ... this.
231 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
232
233 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
234 * sysdeps/powerpc/ifunc-sel.h: ... here.
235 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
236 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
237
238 * sysdeps/sparc/elf/configure.in: Moved to ...
239 * sysdeps/sparc/configure.in: ... here.
240 * sysdeps/sparc/elf/configure: Delete file.
241 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
242 * sysdeps/sparc/sparc32/start.S: ... here.
243 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
244 * sysdeps/sparc/sparc64/start.S: ... here.
245 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
246 * sysdeps/sparc/sparc32/Makefile: ... this.
247 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
248 * sysdeps/sparc/sparc64/Makefile: ... this.
249
250 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
251 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
252 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
253 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
254 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
255 * sysdeps/s390/s390-32/setjmp.S: ... here.
256 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
257 * sysdeps/s390/s390-32/configure.in: ... here.
258 * sysdeps/s390/s390-32/elf/configure: Delete file.
259 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
260 * sysdeps/s390/s390-32/start.S: ... here.
261
262 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
263 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
264 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
265 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
266 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
267 * sysdeps/s390/s390-64/setjmp.S: ... here.
268 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
269 * sysdeps/s390/s390-64/configure.in: ... here
270 * sysdeps/s390/s390-64/elf/configure: Delete file.
271 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
272 * sysdeps/s390/s390-64/start.S: ... here.
273 * sysdeps/s390/s390-64/elf/configure: Delete.
274
275 * configure.in: Remove support for elf directories in sysdeps.
276
277 * configure: Regenerated.
278 * sysdeps/i386/configure: Regenerated.
279 * sysdeps/powerpc/powerpc32/configure: Regenerated.
280 * sysdeps/powerpc/powerpc64/configure: Regenerated.
281 * sysdeps/s390/s390-32/configure: Regenerated.
282 * sysdeps/s390/s390-64/configure: Regenerated.
283 * sysdeps/sh/configure: Regenerated.
284 * sysdeps/sparc/configure: Regenerated.
285 * sysdeps/x86_64/configure: Regenerated.
286
a3f61311
AS
2872012-03-26 Andreas Schwab <schwab@linux-m68k.org>
288
c876e002
AS
289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
290
a3f61311
AS
291 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
292 denormal result into account.
293
ac4c54f0
RM
2942012-03-25 Roland McGrath <roland@hack.frob.com>
295
296 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
297 Reported by Allan McRae <allan@archlinux.org>.
298
6a9b9c02
JL
2992012-03-23 Jeff Law <law@redhat.com>
300
301 * nss/getnssent.c (__nss_getent): Fix typo.
302
4c42a0c1
DM
3032012-03-23 David S. Miller <davem@davemloft.net>
304
305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
306
1532c7ac
L
3072012-03-23 H.J. Lu <hongjiu.lu@intel.com>
308
309 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
310 to pad to uint64_t for each field.
311 (dl_tls_index): Replace unsigned long with uint64_t.
312
3ff42526
PP
3132012-03-23 Daniel Jacobowitz <dmj@google.com>
314 Paul Pluzhnikov <ppluzhnikov@google.com>
315
316 [BZ #6528]
317 * grp/Makefile (otherlibs): Don't set it.
318 * inet/Makefile (otherlibs): Likewise.
319 * login/Makefile (otherlibs): Likewise.
320 * nscd/Makefile (otherlibs): Likewise.
321 * posix/Makefile (otherlibs): Likewise.
322 * pwd/Makefile (otherlibs): Likewise.
323 * rt/Makefile (otherlibs): Likewise.
324 * sunrpc/Makefile (otherlibs): Likewise.
325 * nss/Makefile (otherlibs): Likewise.
326 Add libnss_files to routines and static-only-routines.
327 ($(objpfx)getent): Remove rule.
328 * resolv/Makefile: Add libnss_dns and libresolv to routines and
329 static-only-routines.
330
7c69cd14
JM
3312012-03-22 Joseph Myers <joseph@codesourcery.com>
332
333 [BZ #13892]
334 * math/s_cexp.c: Include <float.h>.
335 (__cexp): Handle exp result overflowing not necessarily
336 overflowing both real and imaginary parts of result.
337 * math/s_cexpf.c: Likewise.
338 * math/s_cexpl.c: Likewise.
339 * math/libm-test.inc (cexp_test): Add more tests.
340 * sysdeps/i386/fpu/libm-test-ulps: Update.
341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
342
81b035fe
L
3432012-03-22 H.J. Lu <hongjiu.lu@intel.com>
344
345 * include/link.h (ELFW): New macro.
346 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
347 Replace ELF64_R_TYPE with ELFW(R_TYPE).
348
1da7940c
L
3492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
350
351 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
352 with uint64_t.
353
b749dbb9
L
3542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
355
356 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
357 declaration.
358 (struct La_x32_retval): Likewise.
359
2ff87f3f
L
3602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
361
362 * sysdeps/x86_64/preconfigure.in: New file.
363 * sysdeps/x86_64/preconfigure: New generated file.
364
c0df8e69
JM
3652012-03-22 Joseph Myers <joseph@codesourcery.com>
366
48e44791
JM
367 [BZ #13824]
368 * math/e_exp2l.c: Include <float.h>.
369 (__ieee754_exp2l): Handle overflow and underflow cases
370 separately. Only pass fractional part of argument to
371 __ieee754_expl.
372 * math/libm-test.inc (exp2_test): Add more tests.
373
c0df8e69
JM
374 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
375 negating x to take absolute value.
376 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
377 Likewise.
378 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
379 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
380 Likewise.
381 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
382 computing low part if x was negated.
383 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
384
c8e43ba7
L
3852012-03-21 H.J. Lu <hongjiu.lu@intel.com>
386
387 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
388 la_x32_gnu_pltexit.
389 (pltexit): Cast int_retval to ptrdiff_t.
390 * elf/tst-auditmod3b.c: Likewise.
391 * elf/tst-auditmod4b.c: Likewise.
392 * elf/tst-auditmod5b.c: Likewise.
393 * elf/tst-auditmod6b.c: Likewise.
394 * elf/tst-auditmod6c.c: Likewise.
395 * elf/tst-auditmod7b.c: Likewise.
396
397 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
398 and x32_gnu_pltexit.
399
400 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
401 __ELF_NATIVE_CLASS.
402 (La_x32_regs): New macro.
403 (La_x32_retval): Likewise.
404 (la_x32_gnu_pltenter): New function prototype.
405 (la_x32_gnu_pltexit): Likewise.
406
7998fa78
AS
4072012-03-21 Andreas Schwab <schwab@linux-m68k.org>
408
dcb33988
AS
409 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
410 exponent.
411
233fc563
AS
412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
413
7998fa78
AS
414 * configure.in (libc_cv_cc_nofma): Check for option to disable
415 generation of FMA instructions.
416 * configure: Regenerate.
417 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
418 * sysdeps/ieee754/dbl-64/Makefile: New file.
419 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
420 Remove brandred-fma4.
421 (CFLAGS-brandred-fma4.c): Remove.
422 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
423 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
424 define.
425 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
426 define.
427
8e95c99a
L
4282012-03-21 H.J. Lu <hongjiu.lu@intel.com>
429
430 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
431 LLONG_MAX != LONG_MAX.
432 (_itoa_word): Use _ITOA_WORD_TYPE on value.
433 (_fitoa_word): Likewise.
434 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
435 LLONG_MAX != LONG_MAX.
436 * stdio-common/_itowa.h: Include <_itoa.h>.
437 (_itowa_word): Use _ITOA_WORD_TYPE on value.
438 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
439 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
440 only if not defined.
441 (_ITOA_WORD_TYPE): Likewise.
442 (_itoa_word): Use _ITOA_WORD_TYPE on value.
443 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
444
6f4db457
DM
4452012-03-21 David S. Miller <davem@davemloft.net>
446
447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
448
7785fe5a
L
4492012-03-21 H.J. Lu <hongjiu.lu@intel.com>
450
451 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
452 of x86_64 when setting libc_cv_slibdir, libdir and
453 libc_cv_localedir.
454 * sysdeps/unix/sysv/linux/configure: Regenerated.
455
4535cd55
JM
4562012-03-21 Joseph Myers <joseph@codesourcery.com>
457
458 * manual/lang.texi (Old Varargs): Remove section.
459 (How Variadic): Update menu.
460 (va_start): Do not mention varargs.h.
461
17228132
TS
4622012-03-21 Thomas Schwinge <thomas@codesourcery.com>
463 Joseph Myers <joseph@codesourcery.com>
464
465 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
466 link test.
467 * configure: Regenerated.
468
8149f976
TS
4692012-03-21 Thomas Schwinge <thomas@codesourcery.com>
470
05f3d1f6
UD
471 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
472 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
473 conformtest.pl
8149f976 474
1a4ac776
JM
4752012-03-21 Joseph Myers <joseph@codesourcery.com>
476
be22ce65
JM
477 * NOTES: Remove.
478 * Makefile (files-for-dist): Remove NOTES.
479 (NOTES): Remove rule.
480 * README: Don't refer to NOTES.
481 * manual/creature.texi: Don't include macros.texi.
482 * manual/intro.texi (creature.texi): Remove comment referring to
483 NOTES.
484
40b601fb
JM
485 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
486 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
487 * configure: Regenerated.
488 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
489 LIBC_TRY_CC_OPTION.
490 (libc_cv_as_i686): Likewise.
491 (libc_cv_cc_avx): Likewise.
492 (libc_cv_cc_sse2avx): Likewise.
493 (libc_cv_cc_fma4): Likewise.
494 (libc_cv_cc_novzeroupper): Likewise.
495 * sysdeps/i386/configure: Regenerated.
496
1a4ac776
JM
497 [BZ #13883]
498 * sysdeps/i386/fpu/s_cexp.S: Remove.
499 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
500 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
501 * math/libm-test.inc (cexp_test): Add more tests.
502 * sysdeps/i386/fpu/libm-test-ulps: Update.
503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
504
a458e7fe
AM
5052012-03-21 Allan McRae <allan@archlinux.org>
506
507 * timezone/Makefile: Do not install iso3166.tab and zone.tab
508
0cb7efc5
JM
5092012-03-21 Joseph Myers <joseph@codesourcery.com>
510
511 [BZ #13871]
512 * math/w_exp2.c: Do not include <float.h>.
513 (o_threshold, u_threshold): Remove.
514 (__exp2): Calculate result before checking finiteness and calling
515 __kernel_standard.
516 * math/w_exp2f.c: Likewise.
517 * math/w_exp2l.c: Likewise.
518 * math/libm-test.inc (exp2_test): Require overflow exception for
519 1e6 input.
2460d3aa
JM
520
521 [BZ #3866]
522 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
523 range of signed 64-bit integers before using fistpll. Remove
524 checks for whether integers fit in mantissa bits.
525 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
526 the range of signed 32-bit integers before using fistpl. Remove
527 checks for whether integers fit in mantissa bits.
528 * sysdeps/i386/fpu/e_powl.S (p64): New object.
529 (__ieee754_powl): Test for y outside the range of signed 64-bit
530 integers before using fistpll. Reduce 64-bit values to 63-bit
531 ones as needed.
532 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
533 divide-by-zero is raised for zero to large negative powers.
534 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
535 (__ieee754_powl): Test for y outside the range of signed 64-bit
536 integers before using fistpll. Reduce 64-bit values to 63-bit
537 ones as needed.
538 * math/libm-test.inc (pow_test): Add more tests.
539
eb96ffb0
L
5402012-03-20 H.J. Lu <hongjiu.lu@intel.com>
541
542 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
543 <stdio-common/_itoa.h>.
544 * debug/segfault.c: Likewise.
545 * elf/dl-cache.c: Likewise.
546 * elf/dl-minimal.c: Likewise.
547 * elf/dl-misc.c: Likewise.
548 * elf/dl-sysdep.c: Likewise.
549 * elf/dl-version.c: Likewise.
550 * elf/rtld.c: Likewise.
551 * hurd/hurdsock.c: Likewise.
552 * hurd/lookup-retry.c: Likewise.
553 * malloc/malloc.c: Likewise.
554 * malloc/mtrace.c: Likewise.
555 * nscd/nscd_getgr_r.c: Likewise.
556 * nscd/nscd_getpw_r.c: Likewise.
557 * nscd/nscd_getserv_r.c: Likewise.
558 * posix/getopt_init.c: Likewise.
559 * posix/wordexp.c: Likewise.
560 * stdio-common/_itoa.c: Likewise.
561 * stdio-common/printf_fphex.c: Likewise.
562 * stdio-common/vfprintf.c: Likewise.
563 * string/_strerror.c: Likewise.
564 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
565 * sysdeps/i386/i686/hp-timing.h: Likewise.
566 * sysdeps/mach/_strerror.c: Likewise.
567 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
568 * sysdeps/mach/hurd/sethostid.c: Likewise.
569 * sysdeps/mach/hurd/xmknodat.c: Likewise.
570 * sysdeps/mach/xpg-strerror.c: Likewise.
571 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
572 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
573 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
574 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
575 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
576 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
577 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
578 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
579 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
580 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
581 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
582 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
583 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
584 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
585 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
586 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
587 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
588 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
589 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
590 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
591 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
592
593 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
594
595 * stdio-common/_itoa.h: Moved to ...
596 * sysdeps/generic/_itoa.h: Here.
597
598 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
599
600 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
601 instead of "_itoa.h" and "_itowa.h".
602 * stdio-common/vfprintf.: Likewise.
603
d1af992d
L
6042012-03-20 H.J. Lu <hongjiu.lu@intel.com>
605
606 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
607 <bits/wordsize.h>.
608 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
609 (__signbit): Likwise.
610 (llrintf): Likwise.
611 (llrint): Likwise.
612
114883e0
L
6132012-03-20 H.J. Lu <hongjiu.lu@intel.com>
614
615 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
616 __WORDSIZE != 64.
617
c135cc1b
JM
6182012-03-20 Joseph Myers <joseph@codesourcery.com>
619
620 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
621 OVERFLOW_EXCEPTION_OK.
622 * math/libm-test.inc ("Philosophy"): Update comment about
623 exception testing.
624 (OVERFLOW_EXCEPTION): Define.
625 (OVERFLOW_EXCEPTION_OK): Likewise.
626 (INVALID_EXCEPTION_OK): Renumber.
627 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
628 (IGNORE_ZERO_INF_SIGN): Likewise.
629 (test_exceptions): Handle FE_OVERFLOW.
630 (exp10_test): Expect overflow exceptions.
631 (exp2_test): Likewise.
632 (expm1_test): Likewise.
633 (nextafter_test): Likewise.
634 (pow_test): Likewise.
635 (scalbn_test): Likewise.
636 (scalbln_test): Likewise.
637
95443d88
L
6382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
639
640 * sysdeps/x86_64/bits/atomic.h
641 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
642 64bit integer.
643 (atomic_exchange_acq): Likewise.
644 (__arch_exchange_and_add_body): Likewise.
645 (__arch_add_body): Likewise.
646 (atomic_add_negative): Likewise.
647 (atomic_add_zero): Likewise.
648
490df6c4
L
6492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
650
c2722551 651 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
652 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
653
5e52b189
L
6542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
655
656 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
657 Check __x86_64__ instead of __WORDSIZE.
658
a9879d4c
L
6592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
660
661 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
662
5df98260
DM
6632012-03-19 David S. Miller <davem@davemloft.net>
664
e1497744
DM
665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
666
5df98260
DM
667 * sysdeps/sparc/fpu/fenv_private.h: New file.
668 * sysdeps/sparc/fpu/math_private.h: Use it.
669 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
670 Remove.
671 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
672 (libc_feholdexcept_setroundl): Remove.
673 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
674 Remove.
675 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
676 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
677
b4c35121
L
6782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
679
680 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
681 int64_t instead of long int.
682 (INSERT_WORDS64): Likwise.
683
56965fd7
L
6842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
685
686 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
687 _Unwind_GetCFA return to _Unwind_Ptr first.
688
83d1aec8
JM
6892012-03-19 Joseph Myers <joseph@codesourcery.com>
690
1897ad44
JM
691 [BZ #13629]
692 * math/s_clog.c: Include <float.h>.
693 (__clog): Scale large or subnormal inputs.
694 * math/s_clogf.c: Likewise.
695 * math/s_clogl.c: Likewise.
696 * math/s_clog10.c: Include <float.h>.
697 (M_LOG10_2): Define.
698 (__clog10): Scale large or subnormal inputs.
699 * math/s_clog10f.c: Likewise.
700 * math/s_clog10l.c: Likewise.
701 * math/libm-test.inc (clog_test): Add more tests.
702 (clog10_test): Likewise.
703 * sysdeps/i386/fpu/libm-test-ulps: Update.
704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
705
7726d6a9
JM
706 [BZ #11451]
707 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
708 x and y.
709 * math/libm-test.inc (atan2_test): Add another test.
710
83d1aec8
JM
711 * Makerules (common-objdir-compile): Remove.
712 * sysdeps/unix/Makefile (config-generated): Do not add
713 $(unix-generated) to variable.
714 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
715 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
716 Remove rule.
717 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
718 Likewise.
719 [generic bits/local_lim.h] (before-compile): Do not append to
720 variable.
721 [generic bits/local_lim.h] (common-generated): Likewise.
722 [generic sys/param.h] (before-compile): Do not append to variable.
723 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
724 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
725 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
726 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
727 include.
728 [generic sys/param.h] (sys/param.h-includes): Remove variable.
729 [generic sys/param.h] (sys/param.h-includes): Remove rule.
730 [generic sys/param.h] ($(addprefix
731 $(common-objpfx),$(sys/param.h-includes))): Likewise.
732 [generic sys/param.h] (common-generated): Do not append to
733 variable.
734 [generic sys/param.h] (sysdep_headers): Likewise.
735 [generic bits/errno.h] (before-compile): Do not append to
736 variable.
737 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
738 rule.
739 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
740 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
741 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
742 [generic bits/errno.h] (common-generated): Do not append to
743 variable.
744 [generic bits/ioctls.h] (before-compile): Do not append to
745 variable.
746 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
747 rule.
748 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
749 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
750 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
751 rule.
752 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
753 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
754 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
755 [generic bits/ioctls.h] (common-generated): Do not append to
756 variable.
757 [generic sys/syscall.h] (syscall.h): Remove variable.
758 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
759 rule.
760 [generic sys/syscall.h] (before-compile): Do not append to
761 variable.
762 [generic sys/syscall.h] (common-generated): Likewise.
763 * sysdeps/unix/errnos-tmpl.c: Remove file.
764 * sysdeps/unix/errnos.awk: Likewise.
765 * sysdeps/unix/ioctls-tmpl.c: Likewise.
766 * sysdeps/unix/ioctls.awk: Likewise.
767 * sysdeps/unix/mk-local_lim.c: Likewise.
768 * sysdeps/unix/snarf-ioctls: Likewise.
769
4851a949
RH
7702012-03-19 Richard Henderson <rth@twiddle.net>
771
bd37f2ee
RH
772 * sysdeps/i386/fpu/fenv_private.h: New file.
773 * sysdeps/i386/fpu/math_private.h: Use it.
774 (math_opt_barrier, math_force_eval): Remove.
775 (libc_feholdexcept_setround_53bit): Remove.
776 (libc_feupdateenv_53bit): Remove.
777 * sysdeps/x86_64/fpu/math_private.h: Likewise.
778 (math_opt_barrier, math_force_eval): Remove.
779 (libc_feholdexcept): Remove.
780 (libc_feholdexcept_setround): Remove.
781 (libc_fetestexcept, libc_fesetenv): Remove.
782 (libc_feupdateenv_test): Remove.
783 (libc_feupdateenv, libc_feholdsetround): Remove.
784 (libc_feresetround): Remove.
785
d0adc922
RH
786 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
787 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
788
0fe0f1f8
RH
789 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
790 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
791 (libc_feupdateenv_testl): New.
792 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
793 (libc_feupdateenv_testf): New.
794 (libc_feupdateenv): Use libc_feupdateenv_test.
795 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
796 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
797
eb92c487
RH
798 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
799 (libc_feholdsetroundf, libc_feholdsetroundl): New.
800 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
801 (libc_feresetround_noex): New.
802 (libc_feresetround_noexf): New.
803 (libc_feresetround_noexl): New.
804 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
805 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
806 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
807 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
808 SET_RESTORE_ROUND.
809 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
810 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
811 (__cos): Likewise.
812 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
813 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
814 SET_RESTORE_ROUND_NOEX.
815 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
816 SET_RESTORE_ROUND_NOEXF.
817 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
818 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
819 (libc_feholdsetroundf): New.
820 (libc_feresetround, libc_feresetroundf): New.
821
7d2e8012
RH
822 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
823 (libc_feholdexcept_setround_53bit): Convert from macro to function.
824 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
825
b4dabbb4
RH
826 * sysdeps/generic/math_private.h: Include <fenv.h>.
827 (default_libc_feholdexcept): New.
828 (default_libc_feholdexcept_setround): New.
829 (default_libc_fesetenv, default_libc_feupdateenv): New.
830 (libc_feholdexcept): Only define if undefined.
831 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
832 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
833 (libc_feholdexcept_setroundl): Likewise.
834 (libc_feholdexcept_setround_53bit): Likewise.
835 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
836 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
837 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
838 (libc_feupdateenv_53bit): Likewise.
839 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
840 (libc_feholdexcept): Convert from macro to inline function.
841 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
842 (libc_fesetenv, libc_feupdateenv): Likewise.
843
4851a949
RH
844 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
845 not previously defined.
846 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
847 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
848 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
849 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
850 * sysdeps/ieee754/flt-32/math_private.h: New file.
851 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
852 math_private.h below SET_FLOAT_WORD.
853 (__isnan, __isinf_ns, __finite): Remove.
854 (__isnanf, __isinf_nsf, __finitef): Remove.
855
e79d442e
AS
8562012-03-18 Andreas Schwab <schwab@linux-m68k.org>
857
858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
859
90b80344
DM
8602012-03-17 David S. Miller <davem@davemloft.net>
861
862 [BZ #6471]
863 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
864 for 2.16.
865
edc21804
DM
8662012-03-16 David S. Miller <davem@davemloft.net>
867
77e927af
DM
868 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
869 warnings.
870
374976dd
DM
871 [BZ #6471]
872 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
873 properly.
874 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
875 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
876 sysdep_routines when subdir is sysvipc.
877 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
878 __getshmlba helper.
879
edc21804
DM
880 * sysdeps/sparc/fpu/libm-test/ulps: Update.
881
473c3ef3
L
8822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
883
884 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
885 [__LP64__].
886
eb0f39b6
L
8872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
888
889 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
890 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
891 (__lround): Renamed to ...
892 (__llround): This. Replace long int with long long int.
893 Define lround functions as aliases of llround functions.
894 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
895
6b6cd74b
L
8962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
897
898 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
899 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
900 adresses to uintptr_t. Replace "long int" and "unsigned long
901 int" with "greg_t" on va_arg.
902
f1a77b01
L
9032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
904
905 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
906 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
907
908 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
909 Move e_machine check before EI_CLASS check. Handle x32
910 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
911 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
912 SKIP_EM_IA_64 and include
913 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
914
915 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
916 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
917 (add_system_dir): New macro.
918
919 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
920 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
921
11b90b9f
JM
9222012-03-16 Joseph Myers <joseph@codesourcery.com>
923
c36e1d23
JM
924 [BZ #2551]
925 [BZ #2552]
926 [BZ #2553]
927 [BZ #2554]
928 [BZ #2562]
929 [BZ #2563]
930 [BZ #2565]
931 [BZ #2566]
932 [BZ #2576]
933 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
934 (y0): Likewise.
935 * math/w_j0f.c (j0f): Likewise.
936 (y0f): Likewise.
937 * math/w_j0l.c (__j0l): Likewise.
938 (__y0l): Likewise.
939 * math/w_j1.c (j1): Likewise.
940 (y1): Likewise.
941 * math/w_j1f.c (j1f): Likewise.
942 (y1f): Likewise.
943 * math/w_j1l.c (__j1l): Likewise.
944 (__y1l): Likewise.
945 * math/w_jn.c (jn): Likewise.
946 (yn): Likewise.
947 * math/w_jnf.c (jnf): Likewise.
948 (ynf): Likewise.
949 * math/w_jnl.c (__jnl): Likewise.
950 (__ynl): Likewise.
951 * math/libm-test.inc (j0_test): Add more tests.
952 (j1_test): Likewise.
953 (jn_test): Likewise. Add trailing semicolon to existing test.
954 (y0_test): Likewise.
955 (y1_test): Likewise.
956 * sysdeps/i386/fpu/libm-test-ulps: Update.
957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
958
11b90b9f
JM
959 [BZ #13851]
960 [BZ #13854]
961 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
962 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
963 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
964 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
965 (__tanl): Set errno for infinite argument.
966 * sysdeps/i386/fpu/mptan.c: Remove.
967 * sysdeps/i386/fpu/s_tan.S: Likewise.
968 * sysdeps/i386/fpu/s_tanl.S: Likewise.
969 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
970 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
971 * math/libm-test.inc (tan_test): Add more tests and enable more
972 tests for double and long double.
973 * sysdeps/i386/fpu/libm-test-ulps: Update.
974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
975
6a1bd2a1
JK
9762012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
977
978 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
979 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
980
10a803e0
RM
9812012-03-16 Roland McGrath <roland@hack.frob.com>
982
983 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
984 * configure.in: Use it for both main tree and add-ons.
985 * configure: Regenerated.
986
f196c7f7
L
9872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
988
989 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
990
8848d99d
JM
9912012-03-16 Joseph Myers <joseph@codesourcery.com>
992
96cbe7f4
JM
993 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
994 in comment.
995
8848d99d
JM
996 [BZ #13851]
997 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
998 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
999 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1000 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1001 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1002 infinite argument.
1003 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1004 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1005 != 0 for prec == 2.
1006 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1007 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1008 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1009 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1010 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1011 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1012 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1013 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1014 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1015 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1016 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1017 * math/libm-test.inc (cos_test): Add more tests and enable more
1018 tests for long double.
1019 (sin_test): Likewise.
1020 (sincos_test): Likewise.
1021 * sysdeps/i386/fpu/libm-test-ulps: Update.
1022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1023
dd7f4703
DM
10242012-03-16 David S. Miller <davem@davemloft.net>
1025
1026 * sysdeps/sparc/fpu/math_private.h: New file.
1027
006f1daa
DM
10282012-03-15 David S. Miller <davem@davemloft.net>
1029
c0c83bc8
DM
1030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1031 file.
e6a62e18 1032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
1033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1034 file.
e6a62e18
DM
1035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1040 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1041 sysdep routines.
1042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1043
88cb87d9
DM
1044 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1045 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1046
006f1daa 1047 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
1048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1049 sparc-ifunc.h
006f1daa 1050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
1051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1052 Likewise.
1053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1054 Likewise.
006f1daa
DM
1055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
1058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1059 Likewise.
006f1daa
DM
1060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
1064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1065 Likewise.
1066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1067 Likewise.
006f1daa
DM
1068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1072 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1073 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1074 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1075 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1076 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1077 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1078 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1079 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1080 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1081 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1082 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1083 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1084 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1085 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1086 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1087 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1088 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1089 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1090 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1091 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1092
11e0098e
AS
10932012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1094
1095 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1096 scaling.
1097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1098
e85b09d0
AJ
10992012-03-15 Andreas Jaeger <aj@suse.de>
1100
1101 [BZ #13852]
1102 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1103 ieee754/flt-32 implementation for sin, cos and sincos.
1104 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1105 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1106 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1107 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1108 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1109 ieee754/flt-32 implementation for tan.
1110
1111 * math/libm-test.inc (cos_test): Enable some large input tests for
1112 float as well
1113 (sin_test): Likewise.
1114 (sincos_test): Likewise.
1115 (tan_test): Add tests for large input.
1116
1117 * sysdeps/i386/fpu/libm-test-ulps: Update.
1118
81c64153
AJ
11192012-03-15 Andreas Jaeger <aj@suse.de>
1120
1121 [BZ #13658]
1122 * math/libm-test.inc (cos_test): Add more test cases.
1123 (sin_test): Likewise.
1124 (sincos_test): Likewise.
1125
7bbfa5c6
AJ
11262012-03-15 Andreas Jaeger <aj@suse.de>
1127
1128 [BZ #13837]
1129 * math/libm-test.inc (cos_test): Add a test case for large input
1130 value.
1131 (sin_test): Likewise.
1132 (sincos_test): Likewise.
1133
11342012-03-15 Andreas Jaeger <aj@suse.de>,
1135 Joseph Myers <joseph@codesourcery.com>
1136
1137 [BZ #13658]
0671f479 1138 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1139 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1140 * sysdeps/i386/fpu/branred.c: Likewise.
1141 * sysdeps/i386/fpu/dosincos.c: Likewise.
1142 * sysdeps/i386/fpu/mpa.c: Likewise.
1143 * sysdeps/i386/fpu/s_cos.S: Likewise.
1144 * sysdeps/i386/fpu/s_sin.S: Likewise.
1145 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1146 * sysdeps/i386/fpu/sincos32.c: Likewise.
1147
1148 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1149 Define.
1150 (libc_feupdateenv_53bit): Define.
1151 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1152 Define.
1153 (libc_feupdateenv_53bit): Define.
1154
1155 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1156 53 bit (without extend i386 double precision).
1157
1158 * math/libm-test.inc (sincos_test): Add tests for large input.
1159 (sin): Likewise.
1160 (cos): Likewise.
1161
1162 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1163
9cad04ea
AS
11642012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1165
1166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1167
f7062b9a
DM
11682012-03-15 David S. Miller <davem@davemloft.net>
1169
1170 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1171 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1172 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1173 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1186 file.
f7062b9a 1187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1189 file.
f7062b9a 1190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1192 file.
f7062b9a 1193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1195 file.
f7062b9a
DM
1196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1197 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1198 fmin/fmax sysdep routines.
1199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1200
7bd951ff
DM
12012012-03-14 David S. Miller <davem@davemloft.net>
1202
559398ab
DM
1203 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1204 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1205 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1206 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1207 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1208 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1209 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1210 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1211 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1212 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1213 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1214 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1215 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1216 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1217 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1218 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1219 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1220 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1221 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1222 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1223 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1224 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1225 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1226 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1227 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1228 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1229 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1230 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1231 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1232 routines.
1233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1234 file.
559398ab 1235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
1236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1237 file.
559398ab 1238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
1239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1240 file.
559398ab 1241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
1242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1243 file.
559398ab 1244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
1245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1246 file.
559398ab 1247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
1248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1249 file.
1250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1251 file.
1252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1253 file.
1254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1255 file.
1256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1257 New file.
1258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1259 file.
1260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1261 file.
559398ab 1262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
1263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1264 file.
559398ab 1265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1267 file.
559398ab 1268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
1269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1270 file.
559398ab 1271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
1272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1273 VIS3 routines.
559398ab
DM
1274
1275 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1276 New file.
1277
5a1c1e32
DM
1278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1279
eae47a36
DM
1280 * sysdeps/sparc/configure.in: New file.
1281 * sysdeps/sparc/configure: Generate.
1282 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1283 * configure: Regenerate.
1284 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1285 * config.make.in (have-as-vis3): New.
1286 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1287 available use -Av9d instead of -Av9a.
1288 * sysdeps/sparc/sparc64/Makefile: Likewise.
1289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
1290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1291 New file.
1292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1293 file.
1294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1295 New file.
1296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1297 file.
eae47a36
DM
1298 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1299 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1300 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1301 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1302 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1303
c0c83bc8
DM
1304 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1305 fzeros/fnegs to load 0x80000000 into a float register instead of
1306 using the stack.
7bd951ff
DM
1307 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1308
bd951ccb
JM
13092012-03-14 Joseph Myers <joseph@codesourcery.com>
1310
1311 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1312 bits/syscall.h.
1313 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1314 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1315 ($(inst_includedir)/bits/syscall.h): Remove rule.
1316 ($(objpfx)bits/syscall.d): Include instead of
1317 $(objpfx)syscall-list.d.
1318 (generated): Change syscall-list.h and syscall-list.d to
1319 bits/syscall.h and bits/syscall.d.
1320
bb4e6db2
RM
13212012-03-14 Roland McGrath <roland@hack.frob.com>
1322
1323 [BZ #13846]
1324 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1325
aa4a2ae1
JM
13262012-03-14 Joseph Myers <joseph@codesourcery.com>
1327
e456826d
JM
1328 [BZ #13841]
1329 * math/s_csqrt.c: Include <float.h>.
1330 (__csqrt): Scale large or subnormal inputs.
1331 * math/s_csqrtf.c: Likewise.
1332 * math/s_csqrtl.c: Likewise.
1333 * math/libm-test.inc (csqrt_test): Add more tests.
1334 * sysdeps/i386/fpu/libm-test-ulps: Update.
1335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1336
aa4a2ae1
JM
1337 [BZ #13840]
1338 * math/libm-test.inc (hypot_test): Add more tests.
1339
7c10fd35
DM
13402012-03-13 David S. Miller <davem@davemloft.net>
1341
1342 [BZ #13840]
1343 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1344 double-precision for the calculation instead of scaling.
1345
f453b98b
JM
13462012-03-13 Joseph Myers <joseph@codesourcery.com>
1347
1348 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1349 manipulate bits before adding and subtracting TWO52[sx].
1350 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1351 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1352 Likewise.
1353 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1354
09a3453f
DM
13552012-03-13 David S. Miller <davem@davemloft.net>
1356
8e59da90
DM
1357 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1358 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1359 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1360 rtld-global-offsets.h
1361 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1362
2a8ab7f2
DM
1363 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1364 large parameters.
1365
10f62770
DM
1366 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1367
5f0bdb18
DM
1368 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1369 'err' in the ifdef scope in which it is actually used.
1370
09a3453f
DM
1371 * nss/nss_db/db-init.c: Include string.h
1372
b4b2eb5e
DM
13732012-03-12 David S. Miller <davem@davemloft.net>
1374
98bb2f1c
DM
1375 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1376 masking out of the most significant byte of random value used.
1377 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1378 Fix coding style in previous change.
1379
b4b2eb5e
DM
1380 * sysdeps/unix/sysv/linux/kernel-features.h
1381 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1382 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1383 expression.
1384 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1385 later.
1386
6e226b09
DM
13872012-03-11 David S. Miller <davem@davemloft.net>
1388
a1bcbd40
DM
1389 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1390 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1391 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1392 for 'resultvar' otherwise things get truncated on 64-bit.
1393
cb9d6174
DM
1394 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1395 Fix masking out of the most significant byte of random value used.
1396
6e226b09
DM
1397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1398
058c132d
AS
13992012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1400
1401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1402
2d2cd515
DM
14032012-03-09 David S. Miller <davem@davemloft.net>
1404
1405 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1406 variables with appropriate CPP guards.
1407 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1408 frame pointer, not the stack pointer. Correct layout comments. Fix test
1409 on resulting framesize and the management of the outregs buffer for pltexit.
1410 Preserve floating point return values across _dl_call_pltexit call.
1411 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1412 framesize and the management of the outregs buffer for pltexit.
1413 Preserve floating point return values across _dl_call_pltexit
1414 call.
1415 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1416 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1417 (print_exit): Fix format string for return register value.
1418
9a07f9d0
JM
14192012-03-10 Joseph Myers <joseph@codesourcery.com>
1420
1421 * sunrpc/Makefile (others): Add rpcgen.
1422 ($(objpfx)rpcgen): Remove special build rule and dependency on
1423 libc.
1424 * sunrpc/rpcgen.c: New file.
1425
547b5e30
PE
14262012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1427
c524201a
PE
1428 [BZ #13673]
1429 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1430 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1431 * sysdeps/i386/crti.S: Likewise.
1432 * sysdeps/i386/crtn.S: Likewise.
1433 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1434 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1435 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1436 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1437 * sysdeps/sh/crti.S: Likewise.
1438 * sysdeps/sh/crtn.S: Likewise.
1439 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1440
7b6235f2
PE
1441 [BZ #13673]
1442 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1443 with URL.
1444 * locale/programs/locfile-kw.gperf: Likewise.
1445 * locale/programs/charmap-kw.h: Regenerated.
1446 * locale/programs/locfile-kw.h: Likewise.
1447
547b5e30
PE
1448 [BZ #13673]
1449 * intl/plural.y: Replace FSF snail mail address with URL.
1450 * intl/plural.c: Regenerated.
1451
5f0a5dae
RH
14522012-03-09 Richard Henderson <rth@twiddle.net>
1453
1454 * include/math_private.h: Remove file.
1455 * math/math_private.h: Move file ...
1456 * sysdeps/generic/math_private.h: ... here.
1457
b8c03620
RH
1458 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1459 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1460 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1461
4e234f5d 1462 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
1463 and <math_private.h>.
1464 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1465 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1466 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1467 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1468 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1469 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1470 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1471 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1472 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1473 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1474 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1475 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1476 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1477 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1478 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1479 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1480 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1481 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1482 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1483 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1484 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1485 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1486 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1487 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1488 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1489 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1490 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1491 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1492 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1493 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1494 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1495 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1496 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1497 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1498 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1499 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1500 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1501 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1502 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1503 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1504 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1505 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1506 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1507 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1508 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1509 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1510 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1511 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1512 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1513 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1514 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1515 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1516 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1517 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1518 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1519 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1520 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1521 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1522 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1523 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1524 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1525 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1526 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1527 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1528 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1529 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1530 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1531 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1532 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1533 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1534 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1535 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1536 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1537 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1538 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1539 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1540 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1541 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1542 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1543 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1544 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1545 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1546 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1547 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1548 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1549 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1550 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1551 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1552 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1553 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1554 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1555 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1556 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1557 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1558 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1559 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1560 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1561 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1562 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1563 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1564 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1565 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1566 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1567 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1568 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1569 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1570 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1571 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1572 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1573 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1574 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1575 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1576 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1577 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1578 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1579 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1580 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1581 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1582 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1583 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1584 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1585 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1586 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1587 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1588 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1589 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1590 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1591 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1592 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1593 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1594 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1595 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1596 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1597 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1598 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1599 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1600 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1601 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1602 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1603 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1604 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1605 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1606 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1607 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1608 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1609 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1610 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1611 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1612 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1613 * sysdeps/ieee754/k_standard.c: Likewise.
1614 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1615 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1616 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1617 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1618 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1619 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1620 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1621 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1622 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1623 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1624 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1625 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1626 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1627 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1628 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1629 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1630 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1631 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1632 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1633 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1634 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1635 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1636 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1637 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1638 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1639 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1640 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1641 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1642 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1643 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1644 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1645 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1646 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1647 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1648 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1649 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1650 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1651 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1652 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1653 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1654 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1655 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1656 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1657 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1658 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1659 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1660 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1661 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1662 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1663 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1664 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1665 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1666 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1667 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1668 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1669 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1670 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1671 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1672 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1673 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1674 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1675 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1676 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1677 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1678 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1679 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1680 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1681 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1682 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1683 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1684 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1685 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1686 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1687 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1688 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1689 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1690 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1691 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1692 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1693 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1694 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1695 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1696 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1697 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1698 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1699 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1700 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1701 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1702 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1703 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1704 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1705 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1706 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1707 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1708 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1709 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1710 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1711 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1712 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1713 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1714 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1715 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1716 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1717 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1718 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1719 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1720 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1721 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1722 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1723 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1724 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1725 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1726 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1727 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1728 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1729 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1730 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1731 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1732 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1733 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1734 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1735 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1736 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1737 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1738 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1739 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1740 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1741 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1742 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1743 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1744 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1745 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1746 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1747 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1748 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1749 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1750 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1751 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1752 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1753 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1754 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1755 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1756 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1757 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1758 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1759 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1760 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1761 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1762 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1763 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1764 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1765 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1766 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1767 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1768 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1769 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1770 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1771 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1772 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1773 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1774 * sysdeps/ieee754/s_lib_version.c: Likewise.
1775 * sysdeps/ieee754/s_matherr.c: Likewise.
1776 * sysdeps/ieee754/s_signgam.c: Likewise.
1777 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1778 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1779 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1780 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1781 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1782 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1783 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1784 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1785 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1786 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1787 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1788 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1789 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1790 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1791 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1792 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1793 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1794 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1795 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1796 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1797 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 1798
1991fa03
JM
17992012-03-09 Joseph Myers <joseph@codesourcery.com>
1800
1801 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1802 * sunrpc/rpc_main.c: Likewise.
1803 * sunrpc/rpc_svcout.c: Likewise.
1804
60d6f5a6
DM
18052012-03-09 David S. Miller <davem@davemloft.net>
1806
1807 * include/math_private.h: New file.
1808
4962050e
JM
18092012-03-09 Joseph Myers <joseph@codesourcery.com>
1810
02a6f887
JM
1811 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1812 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1813 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1814 from <bits/socket_type.h>.
1815 (enum __socket_type): Don't define here.
1816 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1817 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1818 bits/socket_type.h.
1819
c6e013c1
JM
1820 [BZ #13566]
1821 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1822 checking __USE_GNU.
1823
4962050e
JM
1824 * Makerules ($(inst_includedir)/%.h): New rule.
1825 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1826 (install-others): Remove variable setting.
1827 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1828
38842f45
RH
18292012-03-08 Richard Henderson <rth@twiddle.net>
1830
67bb6da6
RH
1831 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1832 from macro to inline function; merge with the
1833 !__LIBC_INTERNAL_MATH_INLINES version.
1834 (__ieee754_sqrtf): Likewise.
1835
15194b4b
RH
1836 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1837 to inline function.
1838 (__rintf, __floor, __floorf): Likewise.
1839
64e21ede
RH
1840 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1841 macro to inline function.
1842 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1843
38842f45
RH
1844 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1845 not <math/math_private.h>.
1846
c64bf5fe
DM
18472012-03-08 David S. Miller <davem@davemloft.net>
1848
1849 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1850 copyright year.
1851 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1852
82d86f28
TS
18532012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1854
1855 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1856 normalization.
1857 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1858 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1859
aea5d727
UD
18602012-03-08 Ulrich Drepper <drepper@gmail.com>
1861
1862 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1863 be defined individually, they must be defined as a block. Define
1864 S for printing a string instead of hidint the different by using a
1865 macro for adding the 'l'.
1866 * stdio-common/tst-fphex-wide.c: Adjust.
1867
70bca0a3
MP
18682012-03-07 Marek Polacek <polacek@redhat.com>
1869
1870 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1871
65b81130
MP
18722012-03-08 Marek Polacek <polacek@redhat.com>
1873
1874 [BZ #13806]
1875 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1876 * stdio-common/tst-fphex.c: Define a few macros to make the
1877 test reusable. Use them.
1878 * stdio-common/tst-fphex-wide.c: New file.
1879
07037eeb
JM
18802012-03-08 Joseph Myers <joseph@codesourcery.com>
1881
a7a93d50
JM
1882 [BZ #6911]
1883 * manual/macros.texi (gnusystems): New macro.
1884 (nongnusystems): Likewise.
1885 (gnulinuxhurdsystems): Likewise.
1886 (gnuhurdsystems): Likewise..
1887 (gnulinuxsystems): Likewise.
1888 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1889 variants of the GNU system, not "GNU system".
1890 * manual/conf.texi: Likewise.
1891 * manual/errno.texi: Likewise. Update example of errno macro
1892 expansion.
1893 * manual/filesys.texi: Likewise.
1894 (getumask): Document as specific to GNU/Hurd.
1895 * manual/install.texi: Likewise. Reword some references to
1896 GNU/Linux.
1897 * manual/intro.texi: Likewise.
1898 * manual/io.texi: Likewise.
1899 (File Name Portability): Detail which constraints are inapplicable
1900 to all GNU systems and which are only inapplicable to GNU/Hurd.
1901 * manual/job.texi: Likewise.
1902 * manual/llio.texi: Likewise.
1903 (O_NOCTTY): Document as present on GNU/Linux.
1904 * manual/maint.texi: Likewise.
1905 * manual/memory.texi: Likewise.
1906 * manual/pattern.texi: Likewise.
1907 * manual/pipe.texi: Likewise.
1908 * manual/process.texi: Likewise.
1909 * manual/resource.texi: Likewise.
1910 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1911 child on GNU/Hurd.
1912 * manual/setjmp.texi: Likewise.
1913 * manual/signal.texi: Likewise.
1914 * manual/startup.texi: Likewise.
1915 * manual/stdio.texi: Likewise.
1916 * manual/terminal.texi: Likewise.
1917 (ONLCR): Document as POSIX.
1918 (OXTABS): Document availability on GNU/Linux as XTABS.
1919 (ONOEOT): Document availability separately from other bits.
1920 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1921 * manual/time.texi: Likewise.
1922 * manual/users.texi: Likewise.
1923 * INSTALL: Regenerated.
1924 * sysdeps/gnu/errlist.c: Regenerated.
1925
07037eeb
JM
1926 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1927 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1928 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1929 puts.
1930 * configure: Regenerated.
1931
d1d3431a
JM
19322012-03-07 Joseph Myers <joseph@codesourcery.com>
1933
af6a1e37
JM
1934 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1935 default includes instead of AC_HEADER_CHECK.
1936 * sysdeps/i386/configure: Regenerated.
1937
d1d3431a
JM
1938 [BZ #10716]
1939 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1940 * math/s_cacoshf.c (__cacoshf): Likewise.
1941 * math/s_cacoshl.c (__cacoshl): Likewise.
1942 * math/s_casinh.c (__casinh): Set signs of result from argument.
1943 * math/s_casinhf.c (__casinhf): Likewise.
1944 * math/s_casinhl.c (__casinhl): Likewise.
1945 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1946 (casinh_test): Add more tests.
1947 * sysdeps/i386/fpu/libm-test-ulps: Update.
1948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1949
482ff4da
UD
19502012-03-07 Ulrich Drepper <drepper@gmail.com>
1951
872fda05
UD
1952 * po/zh_TW.po: Update from translation team.
1953
a4300c7a
UD
1954 * login/Makefile (distribute): Remove variable.
1955 * catgets/Makefile: Likewise.
1956 * mach/Makefile: Likewise.
1957 * malloc/Makefile: Likewise.
1958 * misc/Makefile: Likewise.
1959 * iconv/Makefile: Likewise.
1960 * nscd/Makefile: Likewise.
1961 * hurd/Makefile: Likewise.
1962 * manual/Makefile: Likewise.
1963 * locale/Makefile: Likewise.
1964 * intl/Makefile: Likewise.
1965 * conform/Makefile: Likewise.
1966 * nss/Makefile: Likewise.
1967 * time/Makefile: Likewise.
1968 * soft-fp/Makefile: Likewise.
1969 * dirent/Makefile: Likewise.
1970 * gmon/Makefile: Likewise.
1971 * po/Makefile: Likewise.
1972 * rt/Makefile: Likewise.
1973 * socket/Makefile: Likewise.
1974 * math/Makefile: Likewise.
1975 * signal/Makefile: Likewise.
1976 * debug/Makefile: Likewise.
1977 * elf/Makefile: Likewise.
1978 * timezone/Makefile: Likewise.
1979 * stdlib/Makefile: Likewise.
1980 * iconvdata/Makefile: Likewise.
1981 * sunrpc/Makefile: Likewise.
1982 * io/Makefile: Likewise.
1983 * argp/Makefile: Likewise.
1984 * inet/Makefile: Likewise.
1985 * hesiod/Makefile: Likewise.
1986 * grp/Makefile: Likewise.
1987 * csu/Makefile: Likewise.
1988 * wctype/Makefile: Likewise.
1989 * crypt/Makefile: Likewise.
1990 * libio/Makefile: Likewise.
1991 * string/Makefile: Likewise.
1992 * nis/Makefile: Likewise.
1993 * resolv/Makefile: Likewise.
1994 * stdio-common/Makefile: Likewise.
1995 * wcsmbs/Makefile: Likewise.
1996 * dlfcn/Makefile: Likewise.
1997 * posix/Makefile: Likewise.
1998
482ff4da
UD
1999 * timezone/Makefile: Don't install timezone files, just the programs
2000 and scripts.
2001
f72ed77d
UD
20022012-03-06 Ulrich Drepper <drepper@gmail.com>
2003
a000466f
UD
2004 * nss/databases.def: Add missing gshadow entry.
2005
f72ed77d
UD
2006 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2007
a53b7a4e
MP
20082012-03-06 Marek Polacek <polacek@redhat.com>
2009
2010 [BZ #13726]
2011 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2012 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2013 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2014 * stdio-common/tst-long-dbl-fphex.c: New file.
2015
e9258400
DM
20162012-03-06 David S. Miller <davem@davemloft.net>
2017
2018 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2019 (set_obp_int): New function.
2020 (get_obp_int): New function.
2021 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
2022 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2023 Avoid unused variable warnings on 'val' and use builtin_expect.
2024 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2025 __builtin_expect.
e9258400
DM
2026 (INLINE_CLONE_SYSCALL): Likewise.
2027
3bd2c723
DM
20282012-03-05 David S. Miller <davem@davemloft.net>
2029
2030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2031
bbb78d03
AS
20322012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2033
884c5db4
AS
2034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2035
bbb78d03
AS
2036 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2037 only for |x| >= 40.
2038 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2039
1c9f702a 20402012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
2041
2042 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2043 Replace gettimeofday with __vdso_gettimeofday.
2044
7be16f82
RM
2045 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2046 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2047 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
2048
2049 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2050 time with __vdso_time.
2051
ed58a00f
JM
20522012-03-05 Joseph Myers <joseph@codesourcery.com>
2053
2054 * manual/lang.texi (size_t): Note types to which size_t may be
2055 equivalent with the GNU C Library, but do not describe when
2056 differences between them are significant.
2057
30ee4ced
AJ
20582012-03-05 Andreas Jaeger <aj@suse.de>
2059
2060 * sysdeps/i386/fpu/libm-test-ulps: Update.
2061
b7cd39e8
JM
20622012-03-05 Joseph Myers <joseph@codesourcery.com>
2063
2064 [BZ #3976]
2065 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2066 (__ieee754_pow): Save and restore rounding mode and use
2067 round-to-nearest for main computations.
2068 * math/libm-test.inc (pow_test_tonearest): New function.
2069 (pow_test_towardzero): Likewise.
2070 (pow_test_downward): Likewise.
2071 (pow_test_upward): Likewise.
2072 (main): Call the new functions.
2073 * sysdeps/i386/fpu/libm-test-ulps: Update.
2074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
2075
2076 [BZ #3976]
2077 * math/libm-test.inc (cosh_test_tonearest): New function.
2078 (cosh_test_towardzero): Likewise.
2079 (cosh_test_downward): Likewise.
2080 (cosh_test_upward): Likewise.
2081 (sinh_test_tonearest): Likewise.
2082 (sinh_test_towardzero): Likewise.
2083 (sinh_test_downward): Likewise.
2084 (sinh_test_upward): Likewise.
2085 (main): Call the new functions.
2086 * sysdeps/i386/fpu/libm-test-ulps: Update.
2087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2088
6c6a98c9
TV
20892012-03-05 Tom de Vries <tom@codesourcery.com>
2090
2091 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2092 default stack guard is set in last bytes.
2093 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2094
21bb2d2e 20952012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2096
21bb2d2e 2097 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2098
21bb2d2e
AJ
2099 [BZ #13656]
2100 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2101 possibly allocate from heap instead of stack.
2102 * stdio-common/bug-vfprintf-nargs.c: New file.
2103 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2104
c6922934
AS
21052012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2106
2107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2108
bc957d53
MP
21092012-03-03 Marek Polacek <polacek@redhat.com>
2110
2111 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2112 * math/math_private.h: Likewise.
2113 * stdlib/tst-strtod.c: Likewise.
2114 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2115 * sysdeps/x86_64/bits/atomic.h: Likewise.
2116
6358490d
DM
21172012-03-02 David S. Miller <davem@davemloft.net>
2118
2119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2123 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2124 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2125 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2126 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2127
01ae168d
RM
21282012-03-02 Roland McGrath <roland@hack.frob.com>
2129
d9a17c07
RM
2130 [BZ #13792]
2131 * manual/examples/README: New file, says the example source files
2132 can be used under GPL>=2.
2133 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2134 line containing just "*/".
2135 * manual/examples/add.c: Add copyright header (GPL>=2).
2136 * manual/examples/argp-ex1.c: Likewise.
2137 * manual/examples/argp-ex2.c: Likewise.
2138 * manual/examples/argp-ex3.c: Likewise.
2139 * manual/examples/argp-ex4.c: Likewise.
2140 * manual/examples/atexit.c: Likewise.
2141 * manual/examples/db.c: Likewise.
2142 * manual/examples/dir.c: Likewise.
2143 * manual/examples/dir2.c: Likewise.
2144 * manual/examples/execinfo.c: Likewise.
2145 * manual/examples/filecli.c: Likewise.
2146 * manual/examples/filesrv.c: Likewise.
2147 * manual/examples/fmtmsgexpl.c: Likewise.
2148 * manual/examples/genpass.c: Likewise.
2149 * manual/examples/inetcli.c: Likewise.
2150 * manual/examples/inetsrv.c: Likewise.
2151 * manual/examples/isockad.c: Likewise.
2152 * manual/examples/longopt.c: Likewise.
2153 * manual/examples/memopen.c: Likewise.
2154 * manual/examples/memstrm.c: Likewise.
2155 * manual/examples/mkfsock.c: Likewise.
2156 * manual/examples/mkisock.c: Likewise.
2157 * manual/examples/mygetpass.c: Likewise.
2158 * manual/examples/pipe.c: Likewise.
2159 * manual/examples/popen.c: Likewise.
2160 * manual/examples/rprintf.c: Likewise.
2161 * manual/examples/search.c: Likewise.
2162 * manual/examples/select.c: Likewise.
2163 * manual/examples/setjmp.c: Likewise.
2164 * manual/examples/sigh1.c: Likewise.
2165 * manual/examples/sigusr.c: Likewise.
2166 * manual/examples/stpcpy.c: Likewise.
2167 * manual/examples/strdupa.c: Likewise.
2168 * manual/examples/strftim.c: Likewise.
2169 * manual/examples/strncat.c: Likewise.
2170 * manual/examples/subopt.c: Likewise.
2171 * manual/examples/swapcontext.c: Likewise.
2172 * manual/examples/termios.c: Likewise.
2173 * manual/examples/testopt.c: Likewise.
2174 * manual/examples/testpass.c: Likewise.
2175 * manual/examples/timeval_subtract.c: Likewise.
2176
01ae168d
RM
2177 [BZ #13792]
2178 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2179 function to ...
2180 * manual/timeval_subtract.c.texi: ... here, new file.
2181
49efa33d
DM
21822012-03-02 David S. Miller <davem@davemloft.net>
2183
2184 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2185
28afd92d
JM
21862012-03-02 Joseph Myers <joseph@codesourcery.com>
2187
804360ed
JM
2188 [BZ #3976]
2189 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2190 (__sin): Save and restore rounding mode and use round-to-nearest
2191 for all computations.
2192 (__cos): Save and restore rounding mode and use round-to-nearest
2193 for all computations.
2194 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2195 <fenv.h>.
2196 (tan): Save and restore rounding mode and use round-to-nearest for
2197 all computations.
2198 * math/libm-test.inc (cos_test_tonearest): New function.
2199 (cos_test_towardzero): Likewise.
2200 (cos_test_downward): Likewise.
2201 (cos_test_upward): Likewise.
2202 (sin_test_tonearest): Likewise.
2203 (sin_test_towardzero): Likewise.
2204 (sin_test_downward): Likewise.
2205 (sin_test_upward): Likewise.
2206 (tan_test_tonearest): Likewise.
2207 (tan_test_towardzero): Likewise.
2208 (tan_test_downward): Likewise.
2209 (tan_test_upward): Likewise.
2210 (main): Call the new functions.
2211 * sysdeps/i386/fpu/libm-test-ulps: Update.
2212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2213
a6d06d7b
JM
2214 [BZ #10135]
2215 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2216 small n, then large n, before computing and testing k+n.
2217 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2218 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2219 Likewise.
2220 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2221 Likewise.
2222 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2223 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2224 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2225 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2226 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2227 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2228 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2229 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2230 * math/libm-test.inc (scalbn_test): Add more tests.
2231 (scalbln_test): Likewise.
2232
07e12bb3
JM
2233 * manual/filesys.texi (mode_t): Describe constraints on size and
2234 signedness, not exact equivalence to a particular type.
2235 (ino_t): Likewise.
2236 (ino64_t): Likewise.
2237 (dev_t): Likewise.
2238 (nlink_t): Likewise.
2239 (blkcnt_t): Likewise.
2240 (blkcnt64_t): Likewise.
2241 * manual/llio.texi (off_t): Likewise.
2242
28afd92d
JM
2243 [BZ #3976]
2244 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2245 (__ieee754_exp): Save and restore rounding mode and use
2246 round-to-nearest for all computations.
2247 * math/libm-test.inc (exp_test_tonearest): New function.
2248 (exp_test_towardzero): Likewise.
2249 (exp_test_downward): Likewise.
2250 (exp_test_upward): Likewise.
2251 (main): Call the new functions.
2252 * sysdeps/i386/fpu/libm-test-ulps: Update.
2253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2254
b1eeb65d
CD
22552012-03-01 Chris Demetriou <cgd@google.com>
2256
2257 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2258 have predictable order.
2259
53362a4b
DM
22602012-03-01 David S. Miller <davem@davemloft.net>
2261
3c969083
DM
2262 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2263
759707de
DM
2264 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2265 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2266 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2267 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2268
dfdb8ff2
DM
2269 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2270 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2271 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2273 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2274 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2275 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2276 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2277 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2278
ead89f96
DM
2279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2280
7f66bd07
DM
2281 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2282 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2283 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2284
53362a4b
DM
2285 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2286 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2287 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2288 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2289 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2290 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2291 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2292 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2293 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2294 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2295 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2296 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2297 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2298 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2299 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2300 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2301 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2302 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2303 * sysdeps/sparc/elf/configure: Regenerated.
2304
7b1902cb
JM
23052012-03-01 Joseph Myers <joseph@codesourcery.com>
2306
bec039bc
JM
2307 * configure.in (AS, LD): Require binutils 2.20 or later.
2308 * configure: Regenerated.
2309 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2310 as required minimum version.
2311 * INSTALL: Regenerated.
2312
7b1902cb
JM
2313 [BZ #2541]
2314 [BZ #4108]
2315 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2316 before squaring exponent.
2317 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2318 bottom long double and 27 bits of top long double before squaring
2319 exponent.
2320 * math/libm-test.inc (erfc_test): Add more tests.
2321 * sysdeps/i386/fpu/libm-test-ulps: Update.
2322 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2324
f775c276
KT
23252012-03-01 Kai Tietz <ktietz@redhat.com>
2326
2327 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2328 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2329 containing bit-fields.
2330 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2331 * soft-fp/single.h (_FP_UNION_S): Likewise.
2332 * soft-fp/double.h (_FP_UNION_D): Likewise.
2333
5b8a4d4a
JM
23342012-02-29 Joseph Myers <joseph@codesourcery.com>
2335
0bab47b6
JM
2336 [BZ #13786]
2337 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2338 not include ../strcmp.S.
2339 [USE_AS_STRNCASECMP_L]: Likewise.
2340 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2341 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2342 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2343 (__strncasecmp_l_ia32): Define as alias to
2344 __strncasecmp_l_nonascii.
2345
0fcad3e2
JM
2346 [BZ #5794]
2347 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2348 * sysdeps/i386/fpu/libm-test-ulps: Update.
2349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2350
5b8a4d4a
JM
2351 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2353
8fdceb2e
JL
23542012-02-29 Jeff Law <law@redhat.com>
2355
2356 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2357 out of bounds read.
2358
1f393a11
MP
23592012-02-29 Marek Polacek <polacek@redhat.com>
2360
2361 [BZ #13706]
2362 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2363 * elf/Makefile: Add rules to run tst-unused-dep.out.
2364
8847f037
DM
23652012-02-28 David S. Miller <davem@davemloft.net>
2366
2367 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2368 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2369 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2370 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2371 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2372 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2373
169d7f11
JM
23742012-02-29 Joseph Myers <joseph@codesourcery.com>
2375
2376 * math/libm-test.inc (llround_test): Move one test from
2377 lround_test. Use TEST_f_L in moved test.
2378 (lround_test): Move misplaced test to llround_test. Add testcase
2379 from bug 2561.
2380
39adf059
UD
23812012-02-28 Ulrich Drepper <drepper@gmail.com>
2382
2383 * sysdeps/x86_64/fpu/e_expf.S: New file.
2384 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2385
71b5d1c5
SB
23862012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2387
2388 [BZ #13637]
2389 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2390 of remain_len that may cause incomplete multi-byte character and
2391 false match.
2392 * posix/bug-regex33.c: New file.
2393 * posix/Makefile (tests): Add bug-regex33.
2394
1f77f049
JM
23952012-02-28 Joseph Myers <joseph@codesourcery.com>
2396
2397 * manual/macros.texi: New file.
2398 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2399 * manual/libc.texinfo: Include macros.texi.
2400 * manual/creatute.texi: Likewise.
2401 * manual/install.texi: Likewise.
2402 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2403 @glibcadj{} in references to the GNU C Library.
2404 * manual/charset.texi: Likewise.
2405 * manual/conf.texi: Likewise.
2406 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2407 when not using those macros.
2408 * manual/creature.texi: Likewise.
2409 * manual/crypt.texi: Likewise.
2410 * manual/errno.texi: Likewise.
2411 * manual/filesys.texi: Likewise.
2412 * manual/header.texi: Likewise.
2413 * manual/install.texi: Likewise.
2414 * manual/intro.texi: Likewise.
2415 * manual/io.texi: Likewise.
2416 * manual/job.texi: Likewise.
2417 * manual/lang.texi: Likewise.
2418 * manual/libc.texiinfo: Likewise.
2419 * manual/llio.texi: Likewise.
2420 * manual/locale.texi: Likewise.
2421 * manual/maint.texi: Likewise.
2422 * manual/math.texi: Likewise.
2423 * manual/memory.texi: Likewise.
2424 * manual/message.texi: Likewise.
2425 * manual/nss.texi: Likewise.
2426 * manual/pattern.texi: Likewise.
2427 * manual/process.texi: Likewise.
2428 * manual/resource.texi: Likewise.
2429 * manual/search.texi: Likewise.
2430 * manual/setjmp.texi: Likewise.
2431 * manual/signal.texi: Likewise.
2432 * manual/socket.texi: Likewise.
2433 * manual/startup.texi: Likewise.
2434 * manual/stdio.texi: Likewise.
2435 * manual/string.texi: Likewise.
2436 * manual/sysinfo.texi: Likewise.
2437 * manual/syslog.texi: Likewise.
2438 * manual/terminal.texi: Likewise.
2439 * manual/time.texi: Likewise.
2440 * manual/users.texi: Likewise.
2441 * INSTALL: Regenerated.
2442 * NOTES: Regenerated.
d40c5d54 2443 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 2444
450bf206
AS
24452012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2446
2447 * include/dirent.h: Include <dirstream.h> before
2448 <dirent/dirent.h>.
2449
741a235b
DM
24502012-02-28 David S. Miller <davem@davemloft.net>
2451
2452 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2453 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2454 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2455 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2456
d6b5aa58
DM
24572012-02-27 David S. Miller <davem@davemloft.net>
2458
1aff59a3
DM
2459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2461 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2462 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2463
d6b5aa58
DM
2464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2465 frame pointer instead of stack pointer relative arg slot.
2466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2467 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2468 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2469
433f48bf
CD
24702012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2471
2472 [BZ #3992]
2473 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2474
d674b76d
DM
24752012-02-27 David S. Miller <davem@davemloft.net>
2476
2477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2481 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2482 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2483 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2484 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2485
0e7727f7
JM
24862012-02-27 Joseph Myers <joseph@codesourcery.com>
2487
2488 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2489 later. Allow versions 5-9.
43be4ca2 2490 * configure: Regenerated.
0e7727f7
JM
2491 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2492 required minimum version and 4.6 as recommended version. Do not
2493 mention bugs in GCC 2.7 and 2.8.
43be4ca2 2494 * INSTALL: Regenerated.
0e7727f7 2495
a78bc654
DM
24962012-02-27 David S. Miller <davem@davemloft.net>
2497
428d5830
DM
2498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2502 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2503 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2504 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2505 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2506
a78bc654
DM
2507 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2508 manipulate bits before adding and subtracting TWO112[sx].
2509 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2510
4579f81c
RM
25112012-02-27 Roland McGrath <roland@hack.frob.com>
2512
36c8acb4
RM
2513 [BZ #13775]
2514 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2515 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2516 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2517 being in POSIX, because they are in 1003.1-2008.
2518
84ad622b
RM
2519 * rt/tst-aio.c: Include <fcntl.h>.
2520 * rt/tst-aio7.c: Likewise.
2521 * rt/tst-aio64.c: Likewise.
2522
4579f81c
RM
2523 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2524
abd923db
JM
25252012-02-27 Joseph Myers <joseph@codesourcery.com>
2526
2527 * manual/install.texi (--with-headers): Describe headers as
2528 interface headers, not private headers.
2529 (Specific advice for GNU/Linux systems): Describe use of headers
2530 from "make headers_install", not private headers from older
2531 kernels.
43be4ca2 2532 * INSTALL: Regenerated.
abd923db
JM
2533 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2534 Change to 2.6.19.
2535 * sysdeps/unix/sysv/linux/configure: Regenerated.
2536
6664049b
JM
2537 * manual/llio.texi (fclean): Remove documentation.
2538
bb8b6697
JM
2539 * manual/Makefile (libc-texi-generated): New variable. Include
2540 version.texi.
2541 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2542 $(libc-texi-generated), not duplicated list of files.
2543 (version.texi, stamp-version): New rules.
2544 (realclean): Remove $(libc-texi-generated), not individual files
2545 from that list. Do not remove dir-add.texinfo.
2546 * manual/libc.texinfo: Comment out uses of edition numbers and
2547 references to printed manual. Remove last-updated dates.
2548 (EDITION): Comment out.
2549 (ISBN): Likewise.
2550 (VERSION, UPDATED): Remove.
2551 (version.texi): Include.
2552
12e5c3b9
AS
25532012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2554
2555 * sysdeps/posix/spawni.c: Include <signal.h>.
2556 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2557 * sysdeps/pthread/aio_fsync.c: Likewise.
2558
4efeffc1 25592012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 2560
ba63ba08
UD
2561 * conform/Makefile (tests): Run only when not cross-compiling and
2562 when fast-check is not defined.
2563
d94a4670
UD
2564 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2565 * conform/data/limits.h-data: Fixes for POSIX2008.
2566 * conform/run-conformtest.sh: Run all tests.
2567 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2568 headers.
2569 * include/bits/dlfcn.h: Likewise.
2570 * include/langinfo.h: Likewise.
2571 * include/monetary.h: Likewise.
2572 * include/sys/poll.h: Likewise.
2573
2574 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2575 for __USE_GNU.
2576 * posix/spawn.h: Define __need_sigset_t.
2577 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2578 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2579 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2580 to get sigevent_t only.
2581 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2582 only for __USE_GNU.
2583 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2584 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2585 process_vm_writev only for __USE_GNU.
2586 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
2587
2588 * conform/Makefile: For now ignore errors from run-conformtest.
2589 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2590 POSIX to avoid namespace pollution. Don't prepend headers.
2591 * conform/data/aio.h-data: Fixes for POSIX testing.
2592 * conform/data/fcntl.h-data: Likewise.
2593 * conform/data/glob.h-data: Likewise.
2594 * conform/data/grp.h-data: Likewise.
2595 * conform/data/pthread.h-data: Likewise.
2596 * conform/data/pwd.h-data: Likewise.
2597 * conform/data/signal.h-data: Likewise.
2598 * conform/data/spawn.h-data: Likewise.
2599 * conform/data/stdio.h-data: Likewise.
2600 * conform/data/stdlib.h-data: Likewise.
2601 * conform/data/stropts.h-data: Likewise.
2602 * conform/data/sys/mman.h-data: Likewise.
2603 * conform/data/sys/stat.h-data: Likewise.
2604 * conform/data/sys/types.h-data: Likewise.
2605 * conform/data/sys/wait.h-data: Likewise.
2606 * conform/data/time.h-data: Likewise.
2607 * conform/data/unistd.h-data: Likewise.
2608 * conform/data/utime.h-data: Likewise.
2609
2610 * io/sys/stat.h: fchmod was always in POSIX.
2611 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2612 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2613 * rt/aio.h: Define __need_timespec before including <time.h>.
2614 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2615 struct. Add forward declaration of pthread_attr_t and use it in
2616 sigevent.
2617 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2618 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2619 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2620 always remove CLK_TCK definition.
2621
c20105c3
AS
26222012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2623
2624 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2625
7a270350
UD
26262012-02-25 Ulrich Drepper <drepper@gmail.com>
2627
31341567
UD
2628 * conform/run-conformtest.sh: New file.
2629 * conform/Makefile: Run run-conformtest for tests.
2630 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2631 support.
2632
2633 * conform/data/uchar.h-data: New file.
2634 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2635 * conform/data/arpa/inet.h-data: Likewise.
2636 * conform/data/assert.h-data: Likewise.
2637 * conform/data/complex.h-data: Likewise.
2638 * conform/data/cpio.h-data: Likewise.
2639 * conform/data/ctype.h-data: Likewise.
2640 * conform/data/dirent.h-data: Likewise.
2641 * conform/data/dlfcn.h-data: Likewise.
2642 * conform/data/errno.h-data: Likewise.
2643 * conform/data/fcntl.h-data: Likewise.
2644 * conform/data/float.h-data: Likewise.
2645 * conform/data/fmtmsg.h-data: Likewise.
2646 * conform/data/fnmatch.h-data: Likewise.
2647 * conform/data/ftw.h-data: Likewise.
2648 * conform/data/glob.h-data: Likewise.
2649 * conform/data/grp.h-data: Likewise.
2650 * conform/data/iconv.h-data: Likewise.
2651 * conform/data/inttypes.h-data: Likewise.
2652 * conform/data/langinfo.h-data: Likewise.
2653 * conform/data/libgen.h-data: Likewise.
2654 * conform/data/limits.h-data: Likewise.
2655 * conform/data/locale.h-data: Likewise.
2656 * conform/data/math.h-data: Likewise.
2657 * conform/data/monetary.h-data: Likewise.
2658 * conform/data/mqueue.h-data: Likewise.
2659 * conform/data/ndbm.h-data: Likewise.
2660 * conform/data/net/if.h-data: Likewise.
2661 * conform/data/netdb.h-data: Likewise.
2662 * conform/data/netinet/in.h-data: Likewise.
2663 * conform/data/nl_types.h-data: Likewise.
2664 * conform/data/poll.h-data: Likewise.
2665 * conform/data/pthread.h-data: Likewise.
2666 * conform/data/pwd.h-data: Likewise.
2667 * conform/data/regex.h-data: Likewise.
2668 * conform/data/sched.h-data: Likewise.
2669 * conform/data/search.h-data: Likewise.
2670 * conform/data/semaphore.h-data: Likewise.
2671 * conform/data/setjmp.h-data: Likewise.
2672 * conform/data/signal.h-data: Likewise.
2673 * conform/data/spawn.h-data: Likewise.
2674 * conform/data/stdarg.h-data: Likewise.
2675 * conform/data/stdio.h-data: Likewise.
2676 * conform/data/stdlib.h-data: Likewise.
2677 * conform/data/string.h-data: Likewise.
2678 * conform/data/strings.h-data: Likewise.
2679 * conform/data/stropts.h-data: Likewise.
2680 * conform/data/sys/ipc.h-data: Likewise.
2681 * conform/data/sys/mman.h-data: Likewise.
2682 * conform/data/sys/msg.h-data: Likewise.
2683 * conform/data/sys/resource.h-data: Likewise.
2684 * conform/data/sys/select.h-data: Likewise.
2685 * conform/data/sys/sem.h-data: Likewise.
2686 * conform/data/sys/shm.h-data: Likewise.
2687 * conform/data/sys/socket.h-data: Likewise.
2688 * conform/data/sys/stat.h-data: Likewise.
2689 * conform/data/sys/statvfs.h-data: Likewise.
2690 * conform/data/sys/time.h-data: Likewise.
2691 * conform/data/sys/timeb.h-data: Likewise.
2692 * conform/data/sys/times.h-data: Likewise.
2693 * conform/data/sys/types.h-data: Likewise.
2694 * conform/data/sys/uio.h-data: Likewise.
2695 * conform/data/sys/un.h-data: Likewise.
2696 * conform/data/sys/utsname.h-data: Likewise.
2697 * conform/data/sys/wait.h-data: Likewise.
2698 * conform/data/syslog.h-data: Likewise.
2699 * conform/data/tar.h-data: Likewise.
2700 * conform/data/termios.h-data: Likewise.
2701 * conform/data/utime.h-data: Likewise.
2702 * conform/data/utmpx.h-data: Likewise.
2703 * conform/data/varargs.h-data: Likewise.
2704 * conform/data/wchar.h-data: Likewise.
2705 * conform/data/wctype.h-data: Likewise.
2706 * conform/data/wordexp.h-data: Likewise.
2707
2708 * include/stropts.h: New file.
2709 * include/uchar.h: New file.
2710 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2711 * include/assert.h: Likewise.
2712 * include/ctype.h: Likewise.
2713 * include/dirent.h: Likewise.
2714 * include/dlfcn.h: Likewise.
2715 * include/fcntl.h: Likewise.
2716 * include/fnmatch.h: Likewise.
2717 * include/glob.h: Likewise.
2718 * include/grp.h: Likewise.
2719 * include/libio.h: Likewise.
2720 * include/locale.h: Likewise.
2721 * include/math.h: Likewise.
2722 * include/net/if.h: Likewise.
2723 * include/netdb.h: Likewise.
2724 * include/netinet/in.h: Likewise.
2725 * include/pthread.h: Likewise.
2726 * include/pwd.h: Likewise.
2727 * include/regex.h: Likewise.
2728 * include/sched.h: Likewise.
2729 * include/search.h: Likewise.
2730 * include/setjmp.h: Likewise.
2731 * include/signal.h: Likewise.
2732 * include/stdio.h: Likewise.
2733 * include/stdlib.h: Likewise.
2734 * include/string.h: Likewise.
2735 * include/sys/cdefs.h: Likewise.
2736 * include/sys/mman.h: Likewise.
2737 * include/sys/msg.h: Likewise.
2738 * include/sys/resource.h: Likewise.
2739 * include/sys/select.h: Likewise.
2740 * include/sys/socket.h: Likewise.
2741 * include/sys/stat.h: Likewise.
2742 * include/sys/statvfs.h: Likewise.
2743 * include/sys/time.h: Likewise.
2744 * include/sys/times.h: Likewise.
2745 * include/sys/uio.h: Likewise.
2746 * include/sys/utsname.h: Likewise.
2747 * include/sys/wait.h: Likewise.
2748 * include/termios.h: Likewise.
2749 * include/time.h: Likewise.
2750 * include/ulimit.h: Likewise.
2751 * include/unistd.h: Likewise.
2752 * include/utime.h: Likewise.
2753 * include/wchar.h: Likewise.
2754 * include/wctype.h: Likewise.
2755 * include/wordexp.h: Likewise.
2756
2757 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2758
7a270350
UD
2759 * time/time.h: TIME_UTC must be a macro.
2760 Make timespec_get available for ISO C11 only as well.
2761
7724defc
UD
27622012-02-24 Ulrich Drepper <drepper@gmail.com>
2763
2764 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2765 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2766
6b1d1d46
JM
27672012-02-24 Joseph Myers <joseph@codesourcery.com>
2768
2769 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 2770
0f8bbd69
JM
27712012-02-24 Joseph Myers <joseph@codesourcery.com>
2772
2773 * manual/texinfo.tex: Update to version 2012-01-19.16.
2774
66ab80bc
JM
27752012-02-24 Joseph Myers <joseph@codesourcery.com>
2776
2777 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2778
74981cc5
RM
27792012-02-24 Roland McGrath <roland@hack.frob.com>
2780
ee968201
RM
2781 [BZ #13738]
2782 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2783 * manual/fdl-1.3.texi: New file.
2784 * manual/fdl-1.1.texi: File removed.
2785
74981cc5
RM
2786 [BZ #13738]
2787 * manual/libc.texinfo (FDL_VERSION): New @set.
2788 Use it for mention of FDL in cover text.
2789 (Documentation License): Use it in @include file name.
2790
7bb764bc
JM
27912012-02-22 Joseph Myers <joseph@codesourcery.com>
2792 Roland McGrath <roland@hack.frob.com>
2793
2794 [BZ #5461]
2795 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2796 not LONG_LONG_MAX and LONG_LONG_MIN.
2797 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2798 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2799 name.
2800 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2801
6cbeae47
JM
28022012-02-22 Joseph Myers <joseph@codesourcery.com>
2803
2804 [BZ #2547]
2805 [BZ #11365]
2806 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2807 manipulate bits before adding and subtracting TWO23[sx].
2808 * math/libm-test.inc (nearbyint_test): Add more tests.
2809
fe45ce09
JM
28102012-02-22 Joseph Myers <joseph@codesourcery.com>
2811
2812 [BZ #2548]
2813 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2814 bits before adding and subtracting TWO23[sx].
2815 * math/libm-test.inc (rint_test): Add more tests.
2816 (rint_test_tonearest): Likewise.
2817 (rint_test_towardzero): Likewise.
2818 (rint_test_downward): Likewise.
2819 (rint_test_upward: Likewise.
2820
ff3b3d82
JM
28212012-02-22 Joseph Myers <joseph@codesourcery.com>
2822
2823 [BZ #10110]
2824 * include/stdc-predef.h: New file. Extracted from features.h.
2825 * include/features.h: Include stdc-predef.h.
2826 * Makefile (headers): Add stdc-predef.h.
2827 * CONFORMANCE (Compiler limitations): Update.
2828
ef0aab35
JM
28292012-02-22 Joseph Myers <joseph@codesourcery.com>
2830
2831 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2832
58639409
DM
28332012-02-21 David S. Miller <davem@davemloft.net>
2834
2835 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2836 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2837
c0e70b25
DM
28382012-02-20 David S. Miller <davem@davemloft.net>
2839
2840 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2841 using a normal save/restore sequence, rather than allocating a
2842 dummy stack frame just to store a frame pointer and restore.
2843 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2844
fb06851d
JM
28452012-02-21 Joseph Myers <joseph@codesourcery.com>
2846
2847 * manual/install.texi: Fix stray word in line-wrapped comment.
2848
7a8b71c3
DM
28492012-02-20 David S. Miller <davem@davemloft.net>
2850
d510c123
DM
2851 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2852 both binutils and gcc support GOTDATA.
2853
0722d7c2
DM
2854 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2855 "rd %pc" in the PIC register setup sequences.
2856
3d2b3019
DM
2857 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2858 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2859 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2860 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2861 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2862 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2863 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2864 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2865 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2866 (SYSCALL_ERROR_HANDLER): Likewise.
2867 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2868 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2869 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2870 (SYSCALL_ERROR_HANDLER): Likewise.
2871
c80098a9
DM
2872 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2873 (HAVE_GCC_GOTDATA): New.
2874 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2875 relocation support in both binutils and gcc.
2876 * sysdeps/sparc/elf/configure: Regenerate.
2877
3a2545a0
DM
2878 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2879 * sysdeps/sparc/sparc32/elf/configure: Delete.
2880 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2881 * sysdeps/sparc/sparc64/elf/configure: Delete.
2882 * sysdeps/sparc/elf/configure.in: New file.
2883 * sysdeps/sparc/elf/configure: Generate.
2884
7a8b71c3
DM
2885 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2886 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2887 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2888 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2889 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2890
f1e86fca
JM
28912012-02-21 Joseph Myers <joseph@codesourcery.com>
2892
2893 * manual/install.texi: Do not mention specific glibc version
2894 numbers.
2895 * manual/libc.texinfo (VERSION, UPDATED): Update.
2896 (@copying): Use @copyright{} and range of years.
2897
0e7dfaef
JM
28982012-02-21 Joseph Myers <joseph@codesourcery.com>
2899
2900 [BZ #13695]
2901 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2902 [crti.S not in sysdirs] (generated): Do not append.
2903 [crti.S not in sysdirs] (omit-deps): Likewise.
2904 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2905 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2906 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2907 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2908 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2909 Likewise.
2910 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2911 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2912 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2913 * csu/defs.awk: Remove file.
2914 * sysdeps/generic/initfini.c: Likewise.
2915 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2916 variable.
2917 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2918 Likewise.
2919
599af3ca
JM
29202012-02-20 Joseph Myers <joseph@codesourcery.com>
2921
2922 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2923 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2924 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2925 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2926 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2927 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2928 <bits/epoll.h>.
2929 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2930 (__EPOLL_PACKED): Define to empty if not defined by
2931 <bits/epoll.h>.
2932 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2934 bits/epoll.h.
2935
0e499750
JM
29362012-02-20 Joseph Myers <joseph@codesourcery.com>
2937
2938 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2939 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2940 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2941 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2942 <bits/timerfd.h>.
2943 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2944 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2945 bits/timerfd.h.
2946
5ad91f6e
JM
29472012-02-20 Joseph Myers <joseph@codesourcery.com>
2948
2949 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2950 in C locale.
2951 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2952 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2953 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2955
06b99b02
AJ
29562012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2957
2958 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2959 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2960
7638c0fd
AS
29612012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2962
2963 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2964 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2965 defined.
2966 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2967 Likewise.
2968 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2969 entry for 2.16.
2970
92221550
AJ
29712012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2972
2973 * math/w_acos.c: Use non-signaling floating-point comparisons.
2974 * math/w_acosf.c: Likewise.
2975 * math/w_acosh.c: Likewise.
2976 * math/w_acoshf.c: Likewise.
2977 * math/w_acoshl.c: Likewise.
2978 * math/w_acosl.c: Likewise.
2979 * math/w_asin.c: Likewise.
2980 * math/w_asinf.c: Likewise.
2981 * math/w_asinl.c: Likewise.
2982 * math/w_atanh.c: Likewise.
2983 * math/w_atanhf.c: Likewise.
2984 * math/w_atanhl.c: Likewise.
2985 * math/w_exp2.c: Likewise.
2986 * math/w_exp2f.c: Likewise.
2987 * math/w_exp2l.c: Likewise.
2988 * math/w_j0.c: Likewise.
2989 * math/w_j0f.c: Likewise.
2990 * math/w_j0l.c: Likewise.
2991 * math/w_j1.c: Likewise.
2992 * math/w_j1f.c: Likewise.
2993 * math/w_j1l.c: Likewise.
2994 * math/w_jn.c: Likewise.
2995 * math/w_jnf.c: Likewise.
2996 * math/w_log.c: Likewise.
2997 * math/w_log10.c: Likewise.
2998 * math/w_log10f.c: Likewise.
2999 * math/w_log10l.c: Likewise.
3000 * math/w_log2.c: Likewise.
3001 * math/w_log2f.c: Likewise.
3002 * math/w_log2l.c: Likewise.
3003 * math/w_logf.c: Likewise.
3004 * math/w_logl.c: Likewise.
3005 * math/w_sqrt.c: Likewise.
3006 * math/w_sqrtf.c: Likewise.
3007 * math/w_sqrtl.c: Likewise.
3008 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3009 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3010 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3011 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3012 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3013
ebaf36eb
JM
30142012-02-19 Joseph Myers <joseph@codesourcery.com>
3015
3016 [BZ #9739]
3017 * manual/string.texi (strnlen): Use correct parameter name in
3018 equivalent expression.
3019
71c254a6
JM
30202012-02-19 Joseph Myers <joseph@codesourcery.com>
3021
3022 [BZ #11174]
3023 * manual/users.texi (seteuid): Consistently use neweuid for
3024 argument name.
3025
16d2c631
JM
30262012-02-19 Joseph Myers <joseph@codesourcery.com>
3027
3028 [BZ #13704]
3029 * manual/nss.texi (Services in the NSS configuration): Correct
3030 list of services in example configuration file.
3031
cd837b09
NB
30322012-02-19 Nick Bowler <nbowler@draconx.ca>
3033
3034 [BZ #11322]
3035 * manual/arith.texi: Remove statements about negative zero
3036 behaving identically to zero.
3037
02c4bbad
JM
30382012-02-18 Joseph Myers <joseph@codesourcery.com>
3039
3040 [BZ #5993]
3041 * manual/install.texi: Do not document upgrading from libc5.
3042
366842e7
JM
30432012-02-18 Joseph Myers <joseph@codesourcery.com>
3044
3045 [BZ #4596]
3046 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3047
dd54084d
DM
30482012-02-18 David S. Miller <davem@davemloft.net>
3049
3050 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3051 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3052 %o7 across the call.
3053 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3054 instead.
3055 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3056 SETUP_PIC_REG_LEAF.
3057 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3058 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3059 * sysdeps/sparc/crtn.S: Likewise.
3060
2bcc53a3
UD
30612012-02-17 Ulrich Drepper <drepper@gmail.com>
3062
3063 * aout/Makefile: Remove.
3064
09c093b5
RK
30652012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3066
3067 [BZ #13058]
3068 * manual/examples/argp-ex1.c (main): Format definition in GNU
3069 style.
3070 * manual/examples/argp-ex2.c (main): Likewise.
3071 * manual/examples/argp-ex3.c (main): Likewise.
3072 * manual/examples/argp-ex4.c (main): Likewise.
3073 * manual/examples/longopt.c (main): Use new-style prototype
3074 definition.
3075 * manual/examples/strncat.c (main): Specify return type and use
3076 (void) for arguments.
3077 * manual/examples/subopt.c (main): Use char **argv argument.
3078
2ee633a2
JM
30792012-02-17 Joseph Myers <joseph@codesourcery.com>
3080
3081 [BZ #5077]
3082 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3083 rounding modes.
3084
0520adde
FB
30852012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3086
3087 [BZ #6907]
3088 * manual/string.texi (strchr): Change when strchrnul is
3089 recommended.
3090
3f4081cd
DGM
30912012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3092
3093 [BZ #174]
3094 * manual/locale.texi (setlocale): Document LOCPATH.
3095
d1b10e78
JM
30962012-02-17 Joseph Myers <joseph@codesourcery.com>
3097
3098 [BZ #10210]
3099 * manual/process.texi (execle): Move @dots{} before last argument.
3100
79c6869c
PB
31012012-02-17 Paul Bolle <pebolle@tiscali.nl>
3102
3103 [BZ #12047]
3104 * manual/charset.texi (Generic Charset Conversion): Fix typo
3105 (LC_TYPE -> LC_CTYPE).
3106
cc6e48bc
NB
31072012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3108
3109 [BZ #5805]
3110 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3111 (scalbnf): Likewise.
3112 (scalbnl): Likewise.
3113 (scalbln): Likewise.
3114 (scalblnf): Likewise.
3115 (scalblnl): Likewise.
3116 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3117 (vwarnx): Likewise.
3118 (verr): Likewise.
3119 (verrx): Likewise.
3120 * manual/filesys.texi (telldir): Use braces around return type.
3121 * manual/llio.texi (mmap): Add space after comma.
3122 (mmap64): Likewise.
3123 * manual/math.texi (jn): Use @var{} on parameter names.
3124 (jnf): Likewise.
3125 (jnl): Likewise.
3126 (yn): Likewise.
3127 (ynf): Likewise.
3128 (ynl): Likewise.
3129 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3130 line.
3131 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3132 "...".
3133 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3134 (sched_get_priority_max): Likewise.
3135 * manual/signal.texi (sigvec): Add space after comma.
3136 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3137 names.
3138 (if_indextoname): Likewise.
3139 (if_freenameindex): Likewise.
3140 (sendto): Use ',' instead of '.' in prototype.
3141 * manual/startup.texi (syscall): Use @dots{} instead of literal
3142 "...".
3143 * manual/stdio.texi (__fpending): Separate initial words of
3144 paragraph from @deftypefun line.
3145 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3146 "...".
3147 (vsyslog): Use @var{} on parameter names.
3148 * manual/terminal.texi (stty): Use @var{} on parameter names.
3149 * manual/users.texi (getutmp): Use @var{} on parameter names.
3150 (getutmpx): Likewise.
3151
5b23062f
JM
31522012-02-17 Joseph Myers <joseph@codesourcery.com>
3153
3154 [BZ #6884]
3155 * manual/stdio.texi (fopen): Fix typos in description of
3156 ",ccs=STRING".
3157
8dee4833
AJ
31582012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3159
3160 [BZ #4026]
3161 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3162 get clock_id definition.
3163
9078ce93
TS
31642012-02-17 Thomas Schwinge <thomas@schwinge.name>
3165
3166 [BZ #4822]
3167 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3168 (madvise): Cast every argument to void on its own.
3169
3835c55f
JM
31702012-02-17 Joseph Myers <joseph@codesourcery.com>
3171
3172 [BZ #9902]
3173 * manual/startup.texi (Exit Status): Fix typo.
3174
35c47e37
JM
31752012-02-17 Joseph Myers <joseph@codesourcery.com>
3176
3177 [BZ #10140]
3178 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3179 * manual/examples/argp-ex2.c: Likewise.
3180 * manual/examples/argp-ex3.c: Likewise.
3181
e3b69ca7
RH
31822012-02-16 Richard Henderson <rth@redhat.com>
3183
3184 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3185 * sysdeps/s390/s390-32/initfini.c: Remove.
3186 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3187 * sysdeps/s390/s390-64/initfini.c: Remove.
3188
df83af67
KK
31892012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3190
3191 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3192 compiler output for sysdeps/generic/initfini.c.
3193 * sysdeps/sh/elf/initfini.c: Remove file.
3194
f63f3380
DM
31952012-02-16 David S. Miller <davem@davemloft.net>
3196
fb59b3a4
DM
3197 [BZ #11494]
3198 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3199
f63f3380
DM
3200 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3201 * sysdeps/sparc/crti.S: New file.
3202 * sysdeps/sparc/crtn.S: New file.
3203 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3204 * sysdeps/sparc/sparc64/Makefile: Likewise.
3205
df6a4a4a
MF
32062012-02-15 Mike Frysinger <vapier@gentoo.org>
3207
6dd8f3dc 3208 [BZ #3335]
df6a4a4a
MF
3209 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3210
1cac7236
RM
32112012-02-15 Roland McGrath <roland@hack.frob.com>
3212
d2c736f8
RM
3213 [BZ #4822]
3214 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3215
1cac7236
RM
3216 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3217 (write, read, close): Likewise.
3218 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3219
8e475601
JM
32202012-02-15 Joseph Myers <joseph@codesourcery.com>
3221
3222 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3223 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3224 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3225 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3226 <bits/signalfd.h>.
3227 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3228 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3229 bits/signalfd.h.
3230
ed656b40
MP
32312012-02-14 Marek Polacek <polacek@redhat.com>
3232
3233 * sysdeps/x86_64/crti.S: New file.
3234 * sysdeps/x86_64/crtn.S: New file.
3235 * sysdeps/x86_64/elf/initfini.c: Remove file.
3236
2a979d3a
JM
32372012-02-13 Joseph Myers <joseph@codesourcery.com>
3238
3239 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3240 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3241 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3242 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3243 <bits/inotify.h>.
3244 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3245 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3246 bits/inotify.h.
3247
2a418ac3
JM
32482012-02-13 Joseph Myers <joseph@codesourcery.com>
3249
3250 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3251 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3252 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3253 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3254 <bits/eventfd.h>.
3255 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3256 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3257 bits/eventfd.h.
3258
fb779be7
TS
32592012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3260
e19e83c5
RM
3261 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3262 __feraiseexcept instead of feraiseexcept.
7c35ffed 3263
fb779be7
TS
3264 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3265 nanosleep invocations.
3266 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3267 strings, and add error checking for a nanosleep invocations.
3268
59ba27a6
PE
32692012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3270
3271 Replace FSF snail mail address with URLs, as per GNU coding standards.
3272 Most of the snail mail addresses were wrong anyway, and omitting
3273 them makes the source code easier to maintain. Almost all of the
3274 changes are to license notices and to locale LC_IDENTIFICATION
3275 addresses, except for this one:
3276 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3277 not its snail mail address.
3278
57b957eb
RH
32792012-02-09 Richard Henderson <rth@twiddle.net>
3280
af850b1c
RH
3281 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3282 of kernel-features.h.
3283
57b957eb
RH
3284 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3285
6b73181a
MP
32862012-02-08 Marek Polacek <polacek@redhat.com>
3287
3288 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3289 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3290 * sysdeps/gnu/_G_config.h: Likewise.
3291 * sysdeps/generic/_G_config.h: Likewise.
3292
26ecc33a
AS
32932012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3294
6c6dbc63
AS
3295 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3296 tests.
3297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3298
e216c012
AS
3299 * sysdeps/powerpc/powerpc32/crti.S: New file.
3300 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3301 * sysdeps/powerpc/powerpc64/crti.S: New file.
3302 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3303
26ecc33a
AS
3304 * Makeconfig (have-initfini): Don't set.
3305 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3306 * configure.in (nopic_initfini): Don't substitute.
3307 * config.h.in (HAVE_INITFINI): Don't #undef.
3308 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3309 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3310
3add8e13
JM
33112012-02-08 Joseph Myers <joseph@codesourcery.com>
3312
3313 Support crti.S and crtn.S provided directly by architectures.
3314 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3315 [crti.S in sysdirs] (omit-deps): Likewise.
3316 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3317 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3318 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3319 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3320 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3321 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3322 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3323 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3324 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3325 compiler output for sysdeps/generic/initfini.c.
3326 * sysdeps/i386/elf/Makefile: Remove file.
3327 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3328
a22f12b4
MP
33292012-02-07 Marek Polacek <polacek@redhat.com>
3330
3331 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3332 * sysdeps/gnu/_G_config.h: Likewise.
3333 * sysdeps/mach/hurd/_G_config.h: Likewise.
3334
148cf100
MP
33352012-02-07 Marek Polacek <polacek@redhat.com>
3336
3337 * math/Makefile (tests): Add tst-CMPLX2.
3338 * math/tst-CMPLX2.c: New file.
3339
cfdc0dd7
AS
33402012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3341
84ba42c4
AS
3342 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3343
cfdc0dd7
AS
3344 * math/libm-test.inc (jn_test): Add missing L suffix.
3345
622c86f4
MP
33462012-02-06 Marek Polacek <polacek@redhat.com>
3347
3348 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3349 * sysdeps/i386/fpu/e_powf.S: Likewise.
3350 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3351 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3352 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3353 * sysdeps/i386/fpu/e_pow.S: Likewise.
3354 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3355 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3356 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3357 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3358 * sysdeps/i386/fpu/e_log2.S: Likewise.
3359 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3360 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3361 * sysdeps/i386/fpu/e_powl.S: Likewise.
3362 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3363 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3364 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3365 * sysdeps/i386/fpu/e_logl.S: Likewise.
3366 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3367 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3368 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3369 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3370 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3371 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3372 * sysdeps/i386/fpu/e_log.S: Likewise.
3373 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3374 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3375 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3376 * sysdeps/i386/fpu/e_logf.S: Likewise.
3377 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3378 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3379 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3380 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3381 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3382 * sysdeps/i386/fpu/e_log10.S: Likewise.
3383 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3384 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3385 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3386 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3387 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3388 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3389 * sysdeps/i386/asm-syntax.h: Likewise.
3390 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3391 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3392 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3393 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3394 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3395 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3396 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3397 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3398 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3399 * sysdeps/powerpc/sysdep.h: Likewise.
3400 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3401 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3402
d4a54ac6
JM
34032012-02-06 Joseph Myers <joseph@codesourcery.com>
3404
3405 [BZ #411]
3406 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3407
314054ea
JM
34082012-02-06 Joseph Myers <joseph@codesourcery.com>
3409
3410 * sysdeps/i386/sysdep.h: Include <features.h>.
3411 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3412 version.
3413
d8e0ca50
JM
34142012-02-05 Joseph Myers <joseph@codesourcery.com>
3415
3416 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3417 Define.
3418 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3419 LOAD_PIC_REG_STR.
3420
b1da7dd9
JM
34212012-02-03 Joseph Myers <joseph@codesourcery.com>
3422
3423 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3424 (SETUP_PIC_REG): Use GET_PC_THUNK.
3425 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3426 macro.
3427
9a1d9254
JM
34282012-02-03 Joseph Myers <joseph@codesourcery.com>
3429
3430 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3431 for non-PIC compilation.
3432 (SETUP_PIC_REG): Add .p2align directive.
3433 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3434 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3435 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3436 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3437 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3438 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3439 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3440 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3441 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3442 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3443 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3444 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3445 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3446 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3447 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3448 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3449 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3450 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3451 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3452 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3453 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3454 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3455 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3456 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3457 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3458 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3459 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3460 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3461 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3462 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3463 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3464 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3465 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3466 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3467 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3468 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3469 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3470 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3471 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3472 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3473 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3474
65dc3b75
JM
34752012-02-03 Joseph Myers <joseph@codesourcery.com>
3476
3477 * math/tst-CMPLX.c: Include <stdio.h>.
3478
d55bf177
JM
34792012-01-31 Joseph Myers <joseph@codesourcery.com>
3480
3481 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3482 float.
3483 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3484 * sysdeps/sparc/bits/mathdef.h: Likewise.
3485
69db4f8f
MP
34862012-01-31 Marek Polacek <polacek@redhat.com>
3487
3488 * libio/libio.h: Don't define _PARAMS.
3489 * locale/programs/config.h: Don't define PARAMS.
3490 * stdlib/strtol_l.c: Likewise.
3491 (__strtol_l): Remove PARAMS from the prototype.
3492
41b81892
UD
34932012-01-31 Ulrich Drepper <drepper@gmail.com>
3494
3b49edc0
UD
3495 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3496 names. Just use the correct names. Remove unnecessary wrapper
3497 functions.
3498 * malloc/arena.c: Likewise.
3499 * malloc/hooks.c: Likewise.
3500
41b81892
UD
3501 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3502 ARENA_TEST says not to. Simplify test for creation of a new arena.
3503 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3504
27a25b6e
UD
35052012-01-30 Ulrich Drepper <drepper@gmail.com>
3506
3507 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3508 into tail calls.
3509 (update_get_addr): New function.
3510 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3511 GET_ADDR_MODULE parameter.
3512
c8a89e7d
JM
35132012-01-30 Joseph Myers <joseph@codesourcery.com>
3514
3515 * crypt/cert.c: Remove __STDC__ conditionals.
3516 * crypt/crypt-entry.c: Likewise.
3517 * crypt/crypt_util.c: Likewise.
3518 * libio/filedoalloc.c: Likewise.
3519 * libio/fileops.c: Likewise.
3520 * libio/genops.c: Likewise.
3521 * libio/iofclose.c: Likewise.
3522 * libio/iofdopen.c: Likewise.
3523 * libio/iofopen.c: Likewise.
3524 * libio/iofopen64.c: Likewise.
3525 * libio/iogetdelim.c: Likewise.
3526 * libio/iopopen.c: Likewise.
3527 * libio/obprintf.c: Likewise.
3528 * libio/oldfileops.c: Likewise.
3529 * libio/oldiofclose.c: Likewise.
3530 * libio/oldiofdopen.c: Likewise.
3531 * libio/oldiofopen.c: Likewise.
3532 * libio/oldiopopen.c: Likewise.
3533 * libio/wfiledoalloc.c: Likewise.
3534 * libio/wgenops.c: Likewise.
3535 * locale/programs/xmalloc.c: Likewise.
3536 * misc/syslog.c: Likewise.
3537 * stdio-common/xbug.c: Likewise.
3538 * string/memchr.c: Likewise.
3539 * string/memcmp.c: Likewise.
3540 * string/memrchr.c: Likewise.
3541 * string/rawmemchr.c: Likewise.
3542 * sysdeps/posix/getcwd.c: Likewise.
3543 * time/strftime_l.c: Likewise.
3544
3b100462
JM
35452012-01-30 Joseph Myers <joseph@codesourcery.com>
3546
3547 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
3548 * config.make.in (config-cflags-sse2avx): Define.
3549 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3550 Fix typo.
3551
607998af
CM
35522012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3553
3554 * scripts/config.guess: Update from upstream config git repository.
3555 * scripts/config.sub: Likewise.
3556
3601428f
CM
35572012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3558
3ac8b282
CM
3559 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3560 (EM_NUM): Update.
3561 (R_TILEPRO_*, R_TILEGX_*): New macros.
3562
e034841e
CM
3563 * scripts/firstversions.awk: Fix bug in version range handling.
3564
540d7568
CM
3565 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3566
3601428f
CM
3567 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3568
463de862
CM
3569 * include/sys/epoll.h: New file.
3570 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3571 libc_hidden_def.
3572
73139a76
UD
35732012-01-28 Ulrich Drepper <drepper@gmail.com>
3574
96bc5b45
UD
3575 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3576 Avoid unnecessary __WORDSIZE == 64 test.
3577 (fmaxf): Use VEX format if possible.
3578 (fmax): Likewise.
3579 (fminf): Likewise.
3580 (fmin): Likewise.
3581
56f6f6a2
UD
3582 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3583 * math/math_private.h: Remove libc_fegetround* and
3584 libc_fesetround*.
3585 * sysdeps/i386/configure.in: Check for -msse2avx.
3586 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3587 also if SSE2AVX is defined.
3588 Remove libc_fegetround* and libc_fesetround*.
3589 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3590 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3591 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3592 of HAS_YMM_USABLE.
3593 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3594 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3595 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3596 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3597 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3598
73139a76
UD
3599 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3600
d73f93a4
AZ
36012012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3602
3603 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3604 size is not set.
3605 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3606
6ee65ed6
UD
36072012-01-27 Ulrich Drepper <drepper@gmail.com>
3608
3609 [BZ #13618]
3610 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3611 relocation.
3612 * Makeconfig (libm): Define.
3613 * elf/Makefile: Add rules to build and run tst-relsort1.
3614 * elf/tst-relsort1.c: New file.
3615 * elf/tst-relsort1mod1.c: New file.
3616 * elf/tst-relsort1mod2.c: New file.
3617
8db21882
JM
36182012-01-27 Joseph Myers <joseph@codesourcery.com>
3619
3620 * math/s_ldexp.c: Remove __STDC__ conditionals.
3621 * math/s_ldexpf.c: Likewise.
3622 * math/s_ldexpl.c: Likewise.
3623 * math/s_nextafter.c: Likewise.
3624 * math/s_nexttowardf.c: Likewise.
3625 * math/s_significand.c: Likewise.
3626 * math/s_significandf.c: Likewise.
3627 * math/s_significandl.c: Likewise.
3628 * math/w_jnl.c: Likewise.
3629 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3630 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3631 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3632 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3633 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3634 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3635 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3636 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3637 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3638 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3639 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3640 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3641 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3642 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3643 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3644 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3645 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3646 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3647 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3648 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3649 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3650 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3651 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3652 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3653 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3654 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3655 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3656 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3657 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3658 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3659 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3660 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3661 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3662 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3663 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3664 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3665 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3666 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3667 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3668 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3669 * sysdeps/ieee754/k_standard.c: Likewise.
3670 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3671 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3672 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3673 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3674 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3675 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3676 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3677 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3678 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3679 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3680 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3681 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3682 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3683 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3684 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3685 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3686 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3687 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3688 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3689 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3690 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3691 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3692 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3693 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3694 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3695 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3696 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3697 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3698 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3699 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3700 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3701 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3702 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3703 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3704 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3705 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3706 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3707 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3708 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3709 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3710 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3711 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3712 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3713 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3714 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3715 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3716 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3717 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3718 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3719 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3720 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3721 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3722 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3723 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3724 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3725 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3726 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3727 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3728 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3729 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3730 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3731 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3732 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3733 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3734 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3735 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3736 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3737 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3738 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3739 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3740 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3741 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3742 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3743 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3744 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3745 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3746 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3747 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3748 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3749 * sysdeps/ieee754/s_matherr.c: Likewise.
3750 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3751 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3752 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3753 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3754
965a54a4
JM
37552012-01-26 Joseph Myers <joseph@codesourcery.com>
3756
3757 * crypt/md5.h: Remove __STDC__ conditionals.
3758 * libio/libioP.h: Likewise.
3759 * locale/programs/config.h: Likewise.
3760 * sysdeps/generic/sysdep.h: Likewise.
3761 * sysdeps/i386/asm-syntax.h: Likewise.
3762 * sysdeps/s390/asm-syntax.h: Likewise.
3763 * sysdeps/unix/sysdep.h: Likewise.
3764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3766
7071ad79
JM
37672012-01-26 Joseph Myers <joseph@codesourcery.com>
3768
3769 * libio/libio.h: Remove __STDC__ conditionals.
3770 * malloc/obstack.h: Likewise.
3771 * math/complex.h: Likewise.
3772 * math/math.h: Likewise.
3773 * sysdeps/generic/_G_config.h: Likewise.
3774 * sysdeps/gnu/_G_config.h: Likewise.
3775 * sysdeps/mach/hurd/_G_config.h: Likewise.
3776 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3777 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3778 * sysdeps/sparc/bits/mathdef.h: Likewise.
3779
afc5ed09
UD
37802012-01-26 Ulrich Drepper <drepper@gmail.com>
3781
3782 [BZ #13583]
3783 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 3784 Clean up HAS_* macros.
afc5ed09 3785 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
3786 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3787 possible.
3788 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3789 HAS_AVX.
3790 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3791 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3792 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3793 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3794 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 3795
bdb6de1d
JM
37962012-01-25 Joseph Myers <joseph@codesourcery.com>
3797
3798 * elf/tst-unique3.cc (gets): Remove declaration.
3799 * elf/tst-unique3lib.cc (gets): Likewise.
3800 * elf/tst-unique3lib2.cc (gets): Likewise.
3801 * elf/tst-unique4.cc (gets): Likewise.
3802
b15549e6
UD
38032012-01-24 Ulrich Drepper <drepper@gmail.com>
3804
3805 * include/stdio.h: Add C++ protection. Add gets declarations and
3806 definitions.
3807 * debug/tst-chk1.c: Don't declare gets here.
3808 * stdio-common/tst-gets.c: Likewise.
3809
a037381f
JM
38102012-01-24 Joseph Myers <joseph@codesourcery.com>
3811
3812 * posix/glob: Remove directory.
3813
f1d4aa75
JM
38142012-01-24 Joseph Myers <joseph@codesourcery.com>
3815
3816 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3817
81c0c964
PT
38182012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3819
3820 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3821 of the non-standard EPFNOSUPPORT.
3822
0ea698ae
ST
38232011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3824
3825 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3826 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3827 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3828
d220b117
UD
38292012-01-21 Ulrich Drepper <drepper@gmail.com>
3830
3831 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3832
3e1aa84e
UD
38332012-01-20 Ulrich Drepper <drepper@gmail.com>
3834
3835 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3836 transient errors.
3837 * nscd/grpcache.c (cache_addgr): Likewise.
3838 * nscd/hstcache.c (cache_addhst): Likewise.
3839 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3840 * nscd/pwdcache.c (cache_addpw): Likewise.
3841 * nscd/servicescache.c (cache_addserv): Likewise.
3842
400aa020
UD
38432012-01-16 Ulrich Drepper <drepper@gmail.com>
3844
d77e7869
UD
3845 * malloc/malloc.c: Various cleanups.
3846 * malloc/hooks.c: Likewise.
3847
400aa020
UD
3848 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3849 * stdlib/bug-fmtmsg1.c: New file.
3850
3851 * stdlib/fmtmsg.c (init): Add missing unlock.
3852 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3853
e0a309cf
MP
38542012-01-12 Marek Polacek <polacek@redhat.com>
3855
3856 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3857 and _GNU_SOURCE.
3858
929d11c7
WS
38592012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3860
3861 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3862 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3863 macro to ensure uniqueness of label name.
3864 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3865 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3866
41d0e869
UD
38672012-01-11 Ulrich Drepper <drepper@gmail.com>
3868
0cc5ed3b
UD
3869 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3870
41d0e869
UD
3871 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3872 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3873 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3874 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3875
a47a831a
UD
38762012-01-10 Ulrich Drepper <drepper@gmail.com>
3877
daa891c0
UD
3878 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3879
3880 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3881 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3882 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3883
e58ef0f2
UD
3884 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3885
a47a831a 3886 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
3887 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3888 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 3889 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
3890
3891 * math/bits/math-finite.h: Add ldexp support.
3892
a0bfc9c7
MP
38932012-01-10 Marek Polacek <polacek@redhat.com>
3894
3895 * locale/programs/localedef.h (show_archive_content): Add noreturn
3896 attribute.
3897
d6e97a1d
UD
38982012-01-09 Ulrich Drepper <drepper@gmail.com>
3899
3900 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3901
d5835c26
UD
39022012-01-08 Ulrich Drepper <drepper@gmail.com>
3903
e5f484c6
UD
3904 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3905
d5835c26
UD
3906 * io/Makefile (headers): Add bits/poll2.h.
3907
d1f741e9
WS
39082011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3909
3910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3911 typo #include statement.
3912
ec09c1c4
UD
39132012-01-08 Ulrich Drepper <drepper@gmail.com>
3914
3915 * include/sys/cdefs.h: Define __attribute_alloc_size.
3916 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3917 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3918 * elf/pldd.c: Likewise.
3919 * iconv/iconv_charmap.c: Likewise.
3920 * iconv/iconvconfig.c: Likewise.
3921 * iconv/strtab.c: Likewise.
3922 * locale/programs/locale.c: Likewise.
3923 * locale/programs/localedef.h: Likewise.
3924 * locale/programs/simple-hash.c: Likewise.
3925 * nscd/nscd.h: Likewise.
3926 * nss/makedb.c: Likewise.
3927 * sysdeps/generic/ldconfig.h: Likewise.
3928 * locale/programs/localedef.c: Remove xmalloc prototype.
3929 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3930
20b38e03
PP
39312012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3932
3933 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3934 appropriate.
3935
a0da5fe1
UD
39362012-01-08 Ulrich Drepper <drepper@gmail.com>
3937
1d5a644a 3938 * math/Makefile (tests): Add tst-CMPLX.
669704fd 3939 * math/tst-CMPLX.c: New file.
1d5a644a 3940
8784a6db
UD
3941 * math/complex.h (CMPLXL): Fix typo.
3942
d9a216c0
UD
3943 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3944 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3945 GLIBC_2.16.
3946 * debug/tst-chk1.c: Add poll and ppoll tests.
3947 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3948 * include/sys/poll.h: Add hidden proto for ppoll.
3949 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3950 * sysdeps/mach/hurd/ppoll.c: Likewise.
3951 * io/ppoll.c: Likewise.
3952 * debug/poll_chk.c: New file.
3953 * debug/ppoll_chk.c: New file.
3954 * include/bits/poll2.h: New file.
3955 * io/bits/poll2.h: New file.
3956
ac097f5c
UD
3957 [BZ #1350]
3958 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3959
2119dcfa
UD
3960 * configure.in: static is always set to yes. Remove.
3961 * config.make.in: Don't set build-static.
3962 * Makeconfig: Remove use of build-static.
3963 * dlfcn/Makefile: Likewise.
3964 * elf/Makefile: Likewise.
3965 * math/Makefile: Likewise.
3966 * misc/Makefile: Likewise.
3967 * nptl/Makefile: Likewise.
3968 * sysdeps/mach/hurd/Makefile: Likewise.
3969
121766a9
UD
3970 * configure.in: PWD_P is not used anymore.
3971 * config.make.in: Remove PWD_P entry.
3972
51a1d39c 3973 * configure.in: Remove last remnants of RANLIB.
8720d066 3974 No need to check for signed size_t anymore.
215f4bdc
UD
3975 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3976 and IA-64.
3857022a 3977 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
3978 * aclocal.m4: Likewise.
3979
d3ed7225
UD
3980 * wcsmbs/mbrtoc16.c: Implement using towc function.
3981 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3982 * wcsmbs/wcsmbsload.c: Likewise.
3983 * iconv/gconv_simple.c: Likewise.
3984 * iconv/gconv_int.h: Likewise.
3985 * iconv/gconv_builtin.h: Likewise.
3986 * iconv/iconv_prog.c: Remove CHAR16 handling.
3987
3988 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3989
3990 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3991
a0da5fe1
UD
3992 * configure.in: Remove --with-elf and --enable-bounded options.
3993 Dont set base_machine for ia64. More non-ELF conditions removed.
3994 Remove testing and setting of leading underscore information.
3995 * config.make.in (build-bounded): Set to no.
3996 * config.h.in: Remove NO_UNDERSCORES entry.
3997 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
3998 them.
3999 * csu/start.c: Remove !NO_UNDERSCORE code.
4000 * locale/localeinfo.h: Likewise.
4001 * sysdeps/generic/machine-gmon.h: Likewise.
4002 * sysdeps/generic/sysdep.h: Likewise.
4003 * sysdeps/i386/sysdep.h: Likewise.
4004 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4005 * sysdeps/mach/sysdep.h: Likewise.
4006 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4007 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4008 * sysdeps/sh/sysdep.h: Likewise.
4009 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4010 * sysdeps/unix/i386/sysdep.S: Likewise.
4011 * sysdeps/unix/sparc/start.c: Likewise.
4012 * sysdeps/unix/sparc/sysdep.S: Likewise.
4013 * sysdeps/unix/sparc/sysdep.h: Likewise.
4014 * sysdeps/unix/start.c: Likewise.
4015 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4016 * sysdeps/x86_64/sysdep.h: Likewise.
4017
df78418a
UD
40182012-01-07 Ulrich Drepper <drepper@gmail.com>
4019
a784e502
UD
4020 [BZ #13553]
4021 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4022 for non-gcc.
4023 * argp/argp-fmtstream.h: Use const instead __const.
4024 * argp/argp.h: Likewise.
4025 * assert/assert.h: Likewise.
4026 * bits/fenv.h: Likewise.
4027 * bits/sched.h: Likewise.
4028 * bits/sigset.h: Likewise.
4029 * bits/sigthread.h: Likewise.
4030 * catgets/nl_types.h: Likewise.
4031 * conform/data/pthread.h-data: Likewise.
4032 * crypt/crypt-private.h: Likewise.
4033 * crypt/crypt.h: Likewise.
4034 * crypt/crypt_util.c: Likewise.
4035 * ctype/ctype.h: Likewise.
4036 * debug/execinfo.h: Likewise.
4037 * debug/mbsnrtowcs_chk.c: Likewise.
4038 * debug/mbsrtowcs_chk.c: Likewise.
4039 * debug/wcsnrtombs_chk.c: Likewise.
4040 * debug/wcsrtombs_chk.c: Likewise.
4041 * debug/wcstombs_chk.c: Likewise.
4042 * dirent/dirent.h: Likewise.
4043 * dlfcn/dlfcn.h: Likewise.
4044 * elf/neededtest4.c: Likewise.
4045 * grp/grp.h: Likewise.
4046 * gshadow/gshadow.h: Likewise.
4047 * iconv/gconv.h: Likewise.
4048 * iconv/gconv_int.h: Likewise.
4049 * iconv/gconv_simple.c: Likewise.
4050 * iconv/iconv.h: Likewise.
4051 * iconv/loop.c: Likewise.
4052 * iconv/skeleton.c: Likewise.
4053 * include/aio.h: Likewise.
4054 * include/aliases.h: Likewise.
4055 * include/argz.h: Likewise.
4056 * include/arpa/inet.h: Likewise.
4057 * include/assert.h: Likewise.
4058 * include/dirent.h: Likewise.
4059 * include/dlfcn.h: Likewise.
4060 * include/execinfo.h: Likewise.
4061 * include/fcntl.h: Likewise.
4062 * include/fenv.h: Likewise.
4063 * include/glob.h: Likewise.
4064 * include/grp.h: Likewise.
4065 * include/libintl.h: Likewise.
4066 * include/mntent.h: Likewise.
4067 * include/netdb.h: Likewise.
4068 * include/pwd.h: Likewise.
4069 * include/rpc/netdb.h: Likewise.
4070 * include/sched.h: Likewise.
4071 * include/search.h: Likewise.
4072 * include/shadow.h: Likewise.
4073 * include/signal.h: Likewise.
4074 * include/stdio.h: Likewise.
4075 * include/stdlib.h: Likewise.
4076 * include/string.h: Likewise.
4077 * include/sys/socket.h: Likewise.
4078 * include/sys/stat.h: Likewise.
4079 * include/sys/statfs.h: Likewise.
4080 * include/sys/statvfs.h: Likewise.
4081 * include/sys/syslog.h: Likewise.
4082 * include/sys/time.h: Likewise.
4083 * include/sys/uio.h: Likewise.
4084 * include/time.h: Likewise.
4085 * include/unistd.h: Likewise.
4086 * include/utmp.h: Likewise.
4087 * include/wchar.h: Likewise.
4088 * include/wctype.h: Likewise.
4089 * inet/aliases.h: Likewise.
4090 * inet/arpa/inet.h: Likewise.
4091 * inet/netinet/ether.h: Likewise.
4092 * inet/netinet/in.h: Likewise.
4093 * intl/libintl.h: Likewise.
4094 * io/bits/fcntl2.h: Likewise.
4095 * io/fcntl.h: Likewise.
4096 * io/ftw.h: Likewise.
4097 * io/sys/poll.h: Likewise.
4098 * io/sys/stat.h: Likewise.
4099 * io/sys/statfs.h: Likewise.
4100 * io/sys/statvfs.h: Likewise.
4101 * io/utime.h: Likewise.
4102 * libio/bits/stdio.h: Likewise.
4103 * libio/bits/stdio2.h: Likewise.
4104 * libio/libio.h: Likewise.
4105 * libio/libioP.h: Likewise.
4106 * libio/stdio.h: Likewise.
4107 * locale/lc-ctype.c: Likewise.
4108 * locale/locale.h: Likewise.
4109 * login/utmp.h: Likewise.
4110 * malloc/arena.c: Likewise.
4111 * malloc/malloc.c: Likewise.
4112 * malloc/malloc.h: Likewise.
4113 * malloc/mcheck.c: Likewise.
4114 * malloc/mtrace.c: Likewise.
4115 * math/bits/mathcalls.h: Likewise.
4116 * math/fenv.h: Likewise.
4117 * math/math_private.h: Likewise.
4118 * misc/bits/error.h: Likewise.
4119 * misc/bits/syslog.h: Likewise.
4120 * misc/err.h: Likewise.
4121 * misc/error.h: Likewise.
4122 * misc/fstab.h: Likewise.
4123 * misc/mntent.h: Likewise.
4124 * misc/regexp.h: Likewise.
4125 * misc/search.h: Likewise.
4126 * misc/sgtty.h: Likewise.
4127 * misc/sys/mman.h: Likewise.
4128 * misc/sys/syslog.h: Likewise.
4129 * misc/sys/uio.h: Likewise.
4130 * misc/sys/xattr.h: Likewise.
4131 * misc/ttyent.h: Likewise.
4132 * nis/rpcsvc/ypclnt.h: Likewise.
4133 * nss/nss.h: Likewise.
4134 * posix/bits/unistd.h: Likewise.
4135 * posix/fnmatch.h: Likewise.
4136 * posix/glob.h: Likewise.
4137 * posix/sched.h: Likewise.
4138 * posix/spawn.h: Likewise.
4139 * posix/sys/wait.h: Likewise.
4140 * posix/unistd.h: Likewise.
4141 * posix/wordexp.h: Likewise.
4142 * pwd/pwd.h: Likewise.
4143 * resolv/netdb.h: Likewise.
4144 * resource/sys/resource.h: Likewise.
4145 * rt/aio.h: Likewise.
4146 * rt/bits/mqueue2.h: Likewise.
4147 * rt/mqueue.h: Likewise.
4148 * shadow/shadow.h: Likewise.
4149 * signal/signal.h: Likewise.
4150 * socket/send.c: Likewise.
4151 * socket/sendto.c: Likewise.
4152 * socket/sys/socket.h: Likewise.
4153 * stdio-common/printf.h: Likewise.
4154 * stdlib/bits/stdlib.h: Likewise.
4155 * stdlib/fmtmsg.h: Likewise.
4156 * stdlib/monetary.h: Likewise.
4157 * stdlib/stdlib.h: Likewise.
4158 * stdlib/ucontext.h: Likewise.
4159 * streams/stropts.h: Likewise.
4160 * string/argz.h: Likewise.
4161 * string/bits/string2.h: Likewise.
4162 * string/string.h: Likewise.
4163 * string/strings.h: Likewise.
4164 * sunrpc/rpc/auth.h: Likewise.
4165 * sunrpc/rpc/auth_des.h: Likewise.
4166 * sunrpc/rpc/clnt.h: Likewise.
4167 * sunrpc/rpc/netdb.h: Likewise.
4168 * sunrpc/rpc/pmap_clnt.h: Likewise.
4169 * sunrpc/rpc/xdr.h: Likewise.
4170 * sysdeps/generic/inttypes.h: Likewise.
4171 * sysdeps/generic/net/if.h: Likewise.
4172 * sysdeps/generic/sys/swap.h: Likewise.
4173 * sysdeps/gnu/net/if.h: Likewise.
4174 * sysdeps/gnu/utmpx.h: Likewise.
4175 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4176 * sysdeps/i386/i486/bits/string.h: Likewise.
4177 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4178 * sysdeps/s390/bits/string.h: Likewise.
4179 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4180 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4181 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4182 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4183 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4184 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4185 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4186 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4187 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4188 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4189 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4190 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4191 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4192 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4193 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4194 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4195 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4196 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4197 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4198 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4199 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4200 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4201 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4202 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4203 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4204 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4205 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4206 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4207 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4208 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4209 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4210 * sysvipc/sys/ipc.h: Likewise.
4211 * sysvipc/sys/msg.h: Likewise.
4212 * sysvipc/sys/sem.h: Likewise.
4213 * sysvipc/sys/shm.h: Likewise.
4214 * termios/termios.h: Likewise.
4215 * time/sys/time.h: Likewise.
4216 * time/time.h: Likewise.
4217 * wcsmbs/bits/wchar2.h: Likewise.
4218 * wcsmbs/uchar.h: Likewise.
4219 * wcsmbs/wchar.h: Likewise.
4220 * wctype/wctype.h: Likewise.
4221
0269750c
UD
4222 [BZ #13551]
4223 * Makeconfig: Remove all but ELF support including AIX support.
4224 * Makerules: Likewise.
4225 * config.h.in: Likewise.
4226 * config.make.in: Likewise.
4227 * configure: Likewise.
4228 * configure.in: Likewise.
4229 * csu/Makefile: Likewise.
4230 * csu/version.c: Likewise.
4231 * debug/Makefile: Likewise.
4232 * dlfcn/Makefile: Likewise.
4233 * elf/Makefile: Likewise.
4234 * extra-lib.mk: Likewise.
4235 * iconv/Makefile: Likewise.
4236 * include/libc-symbols.h: Likewise.
4237 * include/shlib-compat.h: Likewise.
4238 * resolv/Makefile: Likewise.
4239 * resolv/res_libc.c: Likewise.
4240 * rt/Makefile: Likewise.
4241 * sysdeps/i386/asm-syntax.h: Likewise.
4242 * sysdeps/i386/sysdep.h: Likewise.
4243 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4244 * sysdeps/mach/sysdep.h: Likewise.
4245 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4246 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4247 * sysdeps/s390/asm-syntax.h: Likewise.
4248 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4249 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4250 * sysdeps/sh/sysdep.h: Likewise.
4251 * sysdeps/unix/sparc/sysdep.h: Likewise.
4252 * sysdeps/wordsize-32/divdi3.c: Likewise.
4253 * sysdeps/x86_64/sysdep.h: Likewise.
4254
00bbd29b
UD
4255 * argp/Versions: Remove _argp_unlock_xxx.
4256
4257 [BZ #13559]
4258 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4259 * abilist/libBrokenLocale.abilist: Likewise.
4260 * abilist/libanl.abilist: Likewise.
4261 * abilist/libc.abilist: Likewise.
4262 * abilist/libcrypt.abilist: Likewise.
4263 * abilist/libdl.abilist: Likewise.
4264 * abilist/libm.abilist: Likewise.
4265 * abilist/libnsl.abilist: Likewise.
4266 * abilist/libpthread.abilist: Likewise.
4267 * abilist/libresolv.abilist: Likewise.
4268 * abilist/librt.abilist: Likewise.
4269 * abilist/libthread_db.abilist: Likewise.
4270 * abilist/libutil.abilist: Likewise.
4271 * abilist/libnss_db.abilist: New file.
4272
4273 * scripts/abilist.awk: Add support for indirect functions.
4274
a2693a0e
UD
4275 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4276
3f05895f
UD
4277 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4278
ecb6fb48
UD
4279 * shlib-versions: Remove entries for ports architectures.
4280
664f8cb9
UD
4281 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4282 files in ports.
4283 * elf/stackguard-macros.h: Remove support for IA-64.
4284 * elf/tst-auditmod1.c: Likewise.
4285 * sysdeps/generic/ldsodefs.h: Likewise.
4286
7ae81d88
UD
4287 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4288 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4289 configure files.
4290
bdeba135
UD
4291 [BZ #13552]
4292 * configure.in: Remove --enable-omitfp support.
4293 * FAQ.in: Adjust.
4294 * config.make.in: Likewise.
4295 * Makeconfig: Likewise.
4296 * manual/install.texi: Likewise.
4297
d75a0a62
UD
4298 In case anyone cares, the IA-64 architecture could move to ports.
4299 * sysdeps/ia64/*: Removed.
4300 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 4301 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 4302
dcc9756b
UD
4303 [BZ #13555]
4304 * configure.in: Remove entries for unsupported architectures.
4305
d3761ebc 4306 [BZ #13533]
9954432e
UD
4307 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4308 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4309 routines.
4310 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4311 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4312 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4313 fall back to using wcrtomb.
4314 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4315 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4316 renaming.
4317 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4318 * wcsmbs/tst-c16c32-1.c: New file.
4319
4320 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4321 local variable.
4322
c3a87236
UD
4323 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4324
28926a1b
UD
4325 * elf/tst-unique3.cc: Add explicit declaration of gets.
4326 * elf/tst-unique3lib.cc: Likewise.
4327 * elf/tst-unique3lib2.cc: Likewise.
4328 * elf/tst-unique4.cc: Likewise.
4329
df78418a
UD
4330 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4331
8ecd6b2a
JM
43322012-01-06 Joseph Myers <joseph@codesourcery.com>
4333
4334 [BZ #13566]
4335 * assert/assert.h (static_assert): Don't define for C++.
4336 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4337 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4338
9f115170
UD
43392012-01-03 Ulrich Drepper <drepper@gmail.com>
4340
5e0d0300
UD
4341 * iconv/loop.c (single loop): Fix assertion in storing of
4342 remaining bytes.
4343
9f115170
UD
4344 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4345
81fb02b0
UD
43462012-01-01 Ulrich Drepper <drepper@gmail.com>
4347
4348 * posix/getconf.c: Update copyright year.
4349 * nss/getent.c: Likewise.
a316c1f6 4350 * nss/makedb.c: Likewise.
81fb02b0
UD
4351 * iconv/iconvconfig.c: Likewise.
4352 * iconv/iconv_prog.c: Likewise.
4353 * elf/ldconfig.c: Likewise.
a316c1f6
UD
4354 * elf/pldd.c: Likewise.
4355 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
4356 * catgets/gencat.c: Likewise.
4357 * csu/version.c: Likewise.
4358 * elf/ldd.bash.in: Likewise.
4359 * elf/sprof.c (print_version): Likewise.
4360 * locale/programs/locale.c: Likewise.
4361 * locale/programs/localedef.c: Likewise.
a316c1f6 4362 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4363 * nscd/nscd.c (print_version): Likewise.
4364 * debug/xtrace.sh: Likewise.
4365 * malloc/memusage.sh: Likewise.
4366 * malloc/mtrace.pl: Likewise.
4367 * debug/catchsegv.sh: Likewise.
4368
2ba92745
JJ
43692011-12-30 Jakub Jelinek <jakub@redhat.com>
4370
4371 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4372 pure attribute.
4373
dadebdae
UD
43742011-12-24 Ulrich Drepper <drepper@gmail.com>
4375
d3761ebc 4376 [BZ #13533]
db6af3eb
UD
4377 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4378 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4379 transformations.
4380 * iconv/gconv_int.h: Likewise.
4381 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4382 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4383 from libc for GLIBC_2.16.
4384 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4385 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4386 * wcsmbs/uchar.h: Really define mbstate_t.
4387 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4388 * wcsmbs/c16rtomb.c: New file.
4389 * wcsmbs/mbrtoc16.c: New file.
4390 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4391 for C/POSIX locale.
4392 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4393 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4394
dadebdae
UD
4395 * wcsmbs/wchar.h: Add missing __restrict.
4396
67371b56
UD
43972011-12-23 Ulrich Drepper <drepper@gmail.com>
4398
74033a25
UD
4399 [BZ #13532]
4400 * time/Makefile (routines): Add timespec_get.
4401 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4402 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4403 timespec for ISO C11.
4404 * time/timespec_get.c: New file.
4405 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4406 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4407
380d7e87
UD
4408 [BZ #13531]
4409 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4410 * stdlib/stdlib.h: Declare aligned_alloc.
4411 * Versions.def: Add GLIBC_2.16 for libc.
4412 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4413
4e9e7a35
UD
4414 [BZ 13527]
4415 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4416 ISO C11.
4417
380d7e87 4418 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
4419 code.
4420
03a71829
UD
4421 [BZ #13528]
4422 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4423
839e283e
UD
4424 [BZ #13529]
4425 * assert/assert.h (static_assert): Define.
4426
ce5294e2 4427 * version.h: Update for 2.16 development version.
90fa7312 4428
8d44e150 4429 [BZ #13526]
d7809905
UD
4430 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4431 _ISOC11_SOURCE.
4432
c0da14cd
UD
4433 * version.h (RELEASE): Bump for 2.15 release.
4434 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4435
530a3249
MP
4436 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4437 Patch by Marek Polacek <mpolacek@redhat.com>.
4438
67371b56
UD
4439 * bits/byteswap.h: Protect long long constants with __extension__.
4440 * sysdeps/i386/bits/byteswap.h: Likewise.
4441 * sysdeps/ia64/bits/byteswap.h: Likewise.
4442 * sysdeps/s390/bits/byteswap.h: Likewise.
4443 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4444
15db4de1
LD
44452011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4446
4447 [BZ #13540]
bbe315ea
LD
4448 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4449 destination buffer.
15db4de1
LD
4450 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4451
2b2596b1
MP
44522011-12-23 Marek Polacek <polacek@redhat.com>
4453
4454 * elf/dl-addr.c (determine_info): Add inline keyword.
4455 * elf/tst-auditmod4b.c (check_avx): Likewise.
4456 * elf/tst-auditmod6b.c (check_avx): Likewise.
4457 * elf/tst-auditmod6c.c (check_avx): Likewise.
4458 * elf/tst-auditmod7b.c (check_avx): Likewise.
4459
70c6c246
UD
44602011-12-23 Ulrich Drepper <drepper@gmail.com>
4461
4462 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4463 !__SSE_MATH__.
4464
c044cf14
LD
44652011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4466
15db4de1 4467 [BZ #13540]
c044cf14
LD
4468 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4469 processing for last bytes.
4470
6b13d9d9
BH
44712011-08-06 Bruno Haible <bruno@clisp.org>
4472
d455f537
BH
4473 [BZ #13061]
4474 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4475 U+0385, not to U+1FEE.
4476
6b13d9d9
BH
4477 [BZ #13062]
4478 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4479 entry for U+00A5 U+0301.
4480
db910efd
UD
44812011-12-22 Ulrich Drepper <drepper@gmail.com>
4482
27deeafc
UD
4483 [BZ #13166]
4484 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4485 buffer for the output is too small.
4486
aed9d171
UD
4487 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4488 optimization.
4489
db910efd
UD
4490 [BZ #13185]
4491 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4492 SSE flags if possible.
4493
2bd779ae
LD
44942011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4495
e7f9dac3 4496 [BZ #13540]
2bd779ae
LD
4497 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4498 processing for last bytes.
4499
154bfc16
JM
45002011-12-22 Joseph Myers <joseph@codesourcery.com>
4501
4502 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4503 (syscall-list-default-options, syscall-list-default-condition)
4504 (syscall-list-includes): Define.
4505 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4506 list of ABIs and options and #if conditions for each ABI. Do not
4507 handle common syscalls between ABIs specially.
4508 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4509 Remove.
4510 (syscall-list-variants, syscall-list-32bit-options)
4511 (syscall-list-32bit-condition, syscall-list-64bit-options)
4512 (syscall-list-64bit-condition): Define.
4513 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4514 (syscall-list-variants, syscall-list-32bit-options)
4515 (syscall-list-32bit-condition, syscall-list-64bit-options)
4516 (syscall-list-64bit-condition): Define.
4517 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4518 Remove.
4519 (syscall-list-variants, syscall-list-32bit-options)
4520 (syscall-list-32bit-condition, syscall-list-64bit-options)
4521 (syscall-list-64bit-condition): Define.
4522 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4523 Remove.
4524 (syscall-list-variants, syscall-list-32bit-options)
4525 (syscall-list-32bit-condition, syscall-list-64bit-options)
4526 (syscall-list-64bit-condition): Define.
4527
21eaf3a5
UD
45282011-12-22 Ulrich Drepper <drepper@gmail.com>
4529
16c6f992
UD
4530 * locale/iso-639.def: Add brx entry.
4531
41043168
UD
4532 [BZ #13328]
4533 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4534 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4535
21eaf3a5
UD
4536 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4537 __feraiseexcept_renamed.
4538
e3a851a2
UD
45392011-12-21 Ulrich Drepper <drepper@gmail.com>
4540
4920765e
UD
4541 [BZ #13538]
4542 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4543 EPOLLET with unsigned values.
4544 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4545 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4546
e3a851a2
UD
4547 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4548 to large cancellation.
4549 * math/s_cacoshf.c: Likewise.
4550 * math/s_cacoshl.c: Likewise.
4551
b27e24b8
RK
45522011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4553
4554 [BZ #13305]
aebefeee 4555 [BZ #12786]
b27e24b8
RK
4556 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4557 * math/s_cacoshf.c: Likewise.
4558 * math/s_cacoshl.c: Likewise.
4559
ee190f67
UD
45602011-12-21 Ulrich Drepper <drepper@gmail.com>
4561
4562 [BZ #13439]
4563 * iconv/gconv.h: Define __GCONV_SWAP.
4564 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4565 * iconvdata/utf-16.c: Likewise.
4566 * iconvdata/utf-32.c: Likewise.
4567
707f25df
AS
45682011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4569
4570 [BZ #13524]
4571 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4572 numerator after shifting it by one limb.
4573
d2daaa1e
RÁE
45742011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4575
4576 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4577 under [__USE_EXTERN_INLINES].
4578
a4647e72
UD
45792011-12-17 Ulrich Drepper <drepper@gmail.com>
4580
4581 [BZ #13446]
4582 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4583
f0b264f1
AZ
45842011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4585
4586 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4587 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4588 optimized code.
4589 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4590 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4591 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4592 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4593 for strncasecmp/strncasecmp_l compilation.
4594 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4595 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4596
8ef4f244
MP
45972011-12-08 Marek Polacek <mpolacek@redhat.com>
4598
4599 [BZ #13484]
4600 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4601 of __asm__.
4602
97ac2654
UD
46032011-12-17 Ulrich Drepper <drepper@gmail.com>
4604
4605 [BZ #13506]
4606 * time/tzfile.c (__tzfile_read): Check values from file header.
4607
91d2a845
WS
46082011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4609
4610 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4611 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4612 * powerpc/powerpc32/dl-start.S: Likewise.
4613 * powerpc/powerpc32/elf/start.S: Likewise.
4614 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4615 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4616 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4617 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4618 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4619 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4620 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4621 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4622 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4623 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4624 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4625 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4626 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4627 * powerpc/powerpc32/memset.S: Likewise.
4628 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4629 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4630 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4631 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4632 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4633 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4634 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4635 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4636 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4637 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4638 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4639 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4640 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4641
a1267ba1
AZ
46422011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4643
4644 * math/libm-test.inc: Added more nearbyint tests.
4645 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4646 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4647 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4648 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4649
ad8ac1bd
RL
46502011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4651
4652 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4653 FD_CLOEXEC.
4654
1d3e4b61
UD
46552011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4656
4657 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4658 Add wcscpy-ssse3 wcscpy-c.
4659 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4660 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4661 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4662 * sysdeps/x86_64/wcschr.S: New file.
4663 * sysdeps/x86_64/wcsrchr.S: New file.
4664 * string/test-strcmp.c: Remove checking of wcscmp function for
4665 wrong alignments.
4666 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4667 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4668 wcsrchr-sse2 wcsrchr-c.
4669 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4670 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4671 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4672 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4673 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4674 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4675 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4676 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4677 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4678 * wcsmbc/wcschr.c (WCSCHR): New macro.
4679
5b330a2d
UD
46802011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4681
4682 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4683 * wcsmbs/test-wcsrchr.c: New file.
4684 * string/test-strrchr.c: Add wcsrchr support.
4685 (WIDE): New macro.
4686 * wcsmbs/test-wcscpy.c: New file.
4687 * string/test-strcpy.c: Add wcscpy support.
4688 (WIDE): New macro.
26428b7c 4689
f039c043
UD
46902011-12-10 Ulrich Drepper <drepper@gmail.com>
4691
4692 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4693 the inner loop.
4694
850fb039
AS
46952011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4696
4697 [BZ #13472]
4698 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4699
4efbd5cb
UD
47002011-12-04 Ulrich Drepper <drepper@gmail.com>
4701
52ff5dd0 4702 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 4703 Minor optimizations.
52ff5dd0 4704
4efbd5cb
UD
4705 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4706 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4707 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4708
8a426e12
UD
47092011-12-03 Ulrich Drepper <drepper@gmail.com>
4710
aff2453d
UD
4711 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4712 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4713 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4714 for gcc to avoid warnings.
4715 * inet/Makefile (tests): Add tst-checks.
4716 * inet/tst-checks.c: New file.
4717
4718 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4719 warning.
4720
4721 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4722 __wmemcmp_sse2.
4723
4724 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4725 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4726
8a426e12
UD
4727 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4728
9bea3473
UD
47292011-12-02 Ulrich Drepper <drepper@gmail.com>
4730
3a965496
UD
4731 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4732 problem.
4733
9bea3473
UD
4734 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4735
f101631b
UD
47362011-11-29 Joseph Myers <joseph@codesourcery.com>
4737
4738 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4739 conditional on GCC version.
4740 (__arch_compare_and_exchange_val_8_acq)
4741 (__arch_compare_and_exchange_val_16_acq)
4742 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4743 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4744 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4745
a98275aa
UD
47462011-12-02 Joseph Myers <joseph@codesourcery.com>
4747
4748 * sysdeps/sh/backtrace.c: New file.
4749
d4cc29a2
AS
47502011-12-02 Andreas Schwab <schwab@redhat.com>
4751
4752 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4753 parenthesis.
4754
6257af2d
AS
47552011-12-01 Andreas Schwab <schwab@redhat.com>
4756
4757 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4758 falling back to utime.
4759
b5f44c1a
AS
47602011-11-30 Andreas Schwab <schwab@redhat.com>
4761
4762 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4763 expectations for float.
4764
f3a6cc0a
AS
47652011-11-29 Andreas Schwab <schwab@redhat.com>
4766
4767 * locale/weight.h (findidx): Add parameter len.
4768 * locale/weightwc.h (findidx): Likewise.
4769 * posix/fnmatch_loop.c (FCT): Adjust caller.
4770 * posix/regcomp.c (build_equiv_class): Likewise.
4771 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4772 * posix/regexec.c (check_node_accept_bytes): Likewise.
4773 * string/strcoll_l.c (STRCOLL): Likewise.
4774 * string/strxfrm_l.c (STRXFRM): Likewise.
4775
9d65ea3a
UD
47762011-11-17 Ulrich Drepper <drepper@gmail.com>
4777
4778 * Makefile.in: Remove CVSOPT handling.
4779 * configure.in: Remove use of AC_REVISION.
4780 * iconvdata/Makefile (distribute): No need to filter out CVS.
4781 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4782 handling.
4783
5583a086
AS
47842011-11-16 Andreas Schwab <schwab@redhat.com>
4785
4786 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4787 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4788 [USE_AS_STRNCASECMP_L]: Likewise.
4789 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4790 NO_TLS_DIRECT_SEG_REFS.
4791 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4792 Fix argument offsets for non-PIC.
4793 [USE_AS_STRNCASECMP_L]: Likewise.
4794 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4795 NO_TLS_DIRECT_SEG_REFS.
4796
d62a8200
UD
47972011-11-15 Ulrich Drepper <drepper@gmail.com>
4798
9d65ea3a 4799 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
4800 O_CLOEXEC.
4801 * locale/loadlocale.c (_nl_load_locale): Likewise.
4802
09f93bd3
AS
48032011-11-15 Andreas Schwab <schwab@redhat.com>
4804
446514f9
AS
4805 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4806 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4807 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4808 (SYSCALL_GETTIME): Set errno on error.
4809
09f93bd3
AS
4810 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4811 count references to noai6ai_cached.
4812
312be3f9
UD
48132011-11-15 Ulrich Drepper <drepper@gmail.com>
4814
4815 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4816
4817 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4818 FD_CLOEXEC for /proc/self/maps.
4819
4820 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4821 FD_CLOEXEC for /proc/meminfo.
4822
4823 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4824 gai.conf.
4825
4826 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4827 FD_CLOEXEC for given file.
4828
4829 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4830
4831 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4832 FD_CLOEXEC for /etc/hosts.
4833 (_gethtent): Likewise.
4834
4835 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4836
4837 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4838 cancellation and set FD_CLOEXEC for /etc/netgroup.
4839
4840 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4841 reading /etc/publickey.
4842
4843 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4844 allow cancellation when reading /etc/group.
4845
4846 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4847 cancellation.
4848 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4849
4850 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4851 when using data file.
4852
4853 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4854
4855 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4856 (write_nis_obj): Use "c" and "e" in fopen.
4857
4858 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4859
4860 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4861
4862 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4863
4864 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4865
4866 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4867 locale.alias.
4868
4869 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4870
4871 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4872
4873 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4874
4875 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4876 file parsing and set FD_CLOEXEC.
4877
82af0fa8
UD
48782011-11-14 Ulrich Drepper <drepper@gmail.com>
4879
4880 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4881
a5fb313c
AS
48822011-11-14 Andreas Schwab <schwab@redhat.com>
4883
4884 * malloc/arena.c (arena_get2): Don't call reused_arena when
4885 _int_new_arena failed.
4886
6abf3465
UD
48872011-11-14 Ulrich Drepper <drepper@gmail.com>
4888
4889 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4890 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4891 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4892 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4893 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4894 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4895 to compile strcasecmp and strncasecmp.
4896 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4897 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4898
4899 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4900
76e3966e
UD
49012011-11-13 Ulrich Drepper <drepper@gmail.com>
4902
4903 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4904 locale-defines.sym to gen-as-const-headers.
4905 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4906 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4907 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4908 to compile strcasecmp and strncasecmp.
4909 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4910 strcasecmp_l and strncasecmp_l.
4911 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4912 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4913 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4914 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4915 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4916 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4917 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4918 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4919 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4920 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4921 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4922
ab26144e
UD
49232011-11-12 Ulrich Drepper <drepper@gmail.com>
4924
7edb22ef
UD
4925 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4926 result of SYSDEP_GETTIME_CPU to retval.
4927 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4928 parameter list to macro. Remove trailing semicolon. Adjust users.
4929
9694fc44
UD
4930 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4931 variable.
4932
8ad89ef8
UD
4933 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4934 mantissa words.
4935 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4936
0c822ef9
UD
4937 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4938 from unused variable.
4939
874e0564
UD
4940 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4941 DWARF definitions.
4942 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4943 for assembling.
4944
3a2edc79
UD
4945 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4946 over namespaces.
4947
f3c2577f
UD
4948 * sunrpc/rpc_prot.c (rejected): Fix case value.
4949
294ce126
UD
4950 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4951 unsigned long long int to avoid warnings in shift.
4952
5e2b63c6
UD
4953 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4954 of use of trans.
4955 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4956 variable tmp.
4957
e7f4b08e
UD
4958 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4959 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4960 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4961
ab26144e
UD
4962 * nis/nis_table.c (nis_list): Use variable of correct type for
4963 result of __follow_path call.
4964
8a6d5255
AZ
49652011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4966
4967 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4968 of math functions ceil, trunc, floor, round, and sqrt, when
4969 avaliable on the platform.
4970 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4971 name clash.
4972 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4973 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4974 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4975
aaddc98c
MP
49762011-10-30 Marek Polacek <mpolacek@redhat.com>
4977
4978 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4979 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4980
95b7042b
RM
49812011-11-11 Roland McGrath <roland@hack.frob.com>
4982
4983 * include/unistd.h: Fix __readlink return type.
4984 Reported by Chris Metcalf <cmetcalf@tilera.com>.
4985
57769839
UD
49862011-11-11 Ulrich Drepper <drepper@gmail.com>
4987
4988 * stdlib/ucontext.h: Undo last change for makecontext.
4989
edc5984d
AS
49902011-11-11 Andreas Schwab <schwab@redhat.com>
4991
98591e58
AS
4992 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4993
edc5984d
AS
4994 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4995 * setjmp/setjmp.h: Mark functions as non-leaf.
4996 * setjmp/bits/setjmp2.h: Likewise.
4997 * stdlib/ucontext.h: Likewise.
4998
77cdc054
AS
49992011-11-10 Andreas Schwab <schwab@redhat.com>
5000
5001 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5002 (reused_arena): Don't check arena limit.
5003 (arena_get2): Atomically check arena limit.
5004
fe72eebd
UD
50052011-11-08 Ulrich Drepper <drepper@gmail.com>
5006
5f078c32
UD
5007 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5008 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5009
fe72eebd
UD
5010 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5011 instructions.
5012
ae1bc2fa
AS
50132011-11-07 Andreas Schwab <schwab@redhat.com>
5014
7583a88d
AS
5015 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5016 handler when locking.
5017
ae1bc2fa
AS
5018 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5019 Fix size of allocated buffer.
5020
10fb0bfa
AS
50212011-11-04 Andreas Schwab <schwab@redhat.com>
5022
998832a4
AS
5023 [BZ #10103]
5024 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5025 declarations for long double functions.
5026 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5027
10fb0bfa
AS
5028 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5029
3d7ba52b
AS
50302011-11-03 Andreas Schwab <schwab@redhat.com>
5031
a9ae54a1
AS
5032 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5033 installed.
5034
3d7ba52b
AS
5035 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5036 is disabled.
5037
bc8db248
ST
50382011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5039
5040 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5041
45b96dd6
AS
50422011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5043
647776f6
AS
5044 * include/alloca.h (stackinfo_alloca_round): Define.
5045 (extend_alloca): Use it.
5046 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5047 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5048 here.
5049
d91a8b93
AS
5050 * scripts/check-local-headers.sh: Ignore libaudit.h.
5051
45b96dd6
AS
5052 * nscd/Makefile (extra-objs): Make recursively expanded.
5053
432d41ce
UD
50542011-11-01 Ulrich Drepper <drepper@gmail.com>
5055
34372fc6
UD
5056 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5057 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5058
fadb59f8
UD
5059 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5060 * posix/tst-rfc3484-2.c: Likewise.
5061 * posix/tst-rfc3484-3.c: Likewise.
5062
78239589
UD
5063 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5064 process_vm_writev.
5065 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5066 process_vm_writev.
5067 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5068 process_vm_writev from libc using GLIBC_2.15 version.
5069
432d41ce
UD
5070 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5071
02f9c6cf
PP
50722011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5073
5074 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5075 stack usage.
5076
3a2c0242
UD
50772011-10-31 Ulrich Drepper <drepper@gmail.com>
5078
f4ec4833
UD
5079 [BZ #13367]
5080 * nss/getent.c (initgroups_keys): Show error message in case no group
5081 names are given.
5082
3a2c0242
UD
5083 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5084 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5085 __bump_nl_timestamp.
5086 * nscd/connections (nscd_init): When host database is served open
5087 netlink socket and request notification about configuration changes.
5088 (main_loop_poll): Track netlink file descriptor and bump timestamp
5089 in case data becomes available.
5090 (main_loop_epoll): Likewise.
5091 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5092 (database_pers_head): Add extra_data fileds.
5093 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5094 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5095 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5096 Adjust caller.
5097 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5098 in6ai data, call __free_in6ai.
5099 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5100 Add -DHAVE_NETLINK.
5101 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5102 interface information. Reuse previous data if netlink timestamp
5103 is not changed.
5104 (__bump_nl_timestamp): New function.
5105 (__free_in6ai): New function.
5106
636064eb
UD
51072011-10-30 Ulrich Drepper <drepper@gmail.com>
5108
5109 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5110 close_not_cancel_no_status here.
5111 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5112
9beb2334
UD
51132011-10-29 Ulrich Drepper <drepper@gmail.com>
5114
6ef76f3b
UD
5115 [BZ #13276]
5116 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5117 return value.
5118
0ffc4f3e 5119 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5120 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5121 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5122
cb95113e
UD
51232011-07-03 Andreas Jaeger <aj@suse.de>
5124
5125 [BZ #10709]
5126 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5127 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5128 * math/libm-test.inc (sin_test): Add test case.
5129
a1b560ff
UD
51302011-10-29 Ulrich Drepper <drepper@gmail.com>
5131
c9aaface
UD
5132 [BZ #13337]
5133 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5134 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5135
d272e7f1
UD
5136 * elf/chroot_canon.c (chroot_canon): Cleanups.
5137
1bc33071
UD
5138 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5139
1760874d
TJ
5140 [BZ #13335]
5141 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5142 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5143
51d91b18
UD
5144 * string/test-strchr.c: Make usable for strchrnul testing.
5145 * string/test-strchrnul.c: New file.
5146 * string/Makefile (strop-tests): Add strchrnul.
5147
a1b560ff 5148 * po/it.po: Update from translation team.
b611fb81 5149 * po/es.po: Likewise.
a1b560ff 5150
a5b81e1f
UD
51512011-10-28 Ulrich Drepper <drepper@gmail.com>
5152
fd52bc6d
UD
5153 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5154 the three constants needed as parameters. Drop the others.
5155 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5156 __m128i_strloadu_tolower.
52e4b9eb
UD
5157 Create and initialize variable zero and use it in all the places
5158 where _mm_setzero_si128 was used.
fd52bc6d 5159
a5b81e1f
UD
5160 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5161 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5162 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5163 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5164 anymore.
5165 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5166 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5167 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5168 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5169 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5170 __mpranred, __mptan.
5171 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5172 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5173 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5174 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5175 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5176 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5177 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5178 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5179 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5180
b4343346
AS
51812011-10-28 Andreas Schwab <schwab@redhat.com>
5182
0c92d8a8
AS
5183 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5184 redefine if SHARED.
5185 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5186
b4343346
AS
5187 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5188 wide char related routines to wcsmbs subdir.
5189
3871f58f
AS
51902011-10-27 Andreas Schwab <schwab@redhat.com>
5191
5192 [BZ #13344]
5193 * misc/sys/cdefs.h (__THROWNL): Define.
5194 * posix/unistd.h: Use __THREADNL instead of __THREAD
5195 for memory synchronization functions.
5196
94d44d9f
RM
51972011-10-26 Roland McGrath <roland@hack.frob.com>
5198
21b64b15 5199 [BZ #13349]
94d44d9f
RM
5200 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5201 doesn't exist.
5202 * manual/stdio.texi (Obstack Streams): Node removed.
5203
f6ce9294
AS
52042011-10-26 Andreas Schwab <schwab@redhat.com>
5205
80479147
AS
5206 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5207 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5208 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5209
f6ce9294
AS
5210 * math/math_private.h (math_force_eval): Allow non-addressable
5211 arguments.
5212 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5213
618280a1
UD
52142011-10-25 Ulrich Drepper <drepper@gmail.com>
5215
e0016b11
UD
5216 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5217 file is not needed.
5218
5219 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5220 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5221 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5222 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5223 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5224 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5225 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5226 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5227 Add AVX variants.
5228 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5229 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5230 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5231 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5232 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5233 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5234 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5235 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5236 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5237 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5238 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5239 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5240 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5241 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5242 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5243 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5244 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5245 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5246 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5247
5248 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5249 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5250
618280a1
UD
5251 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5252 place. Use VEX encoding when compiling for AVX.
5253
37822576
AS
52542011-10-25 Andreas Schwab <schwab@redhat.com>
5255
1f1e1947
AS
5256 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5257 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5258
37822576
AS
5259 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5260
31ea014d
UD
52612011-10-25 Ulrich Drepper <drepper@gmail.com>
5262
d7826aa1 5263 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 5264 useless if() expression.
d7826aa1
UD
5265 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5266 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5267 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5268 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5269 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5270 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5271 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5272 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5273 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5274 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5275 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5276 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5277 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5278 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5279 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5280 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5281 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5282 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5283 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5284
31ea014d
UD
5285 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5286
16437fec
AS
52872011-10-25 Andreas Schwab <schwab@redhat.com>
5288
5289 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5290 condition.
5291 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5292
31d3cc00
UD
52932011-10-25 Ulrich Drepper <drepper@gmail.com>
5294
5295 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5296 .text section. Avoid duplicate constants.
5297 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5298 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5299 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5300 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5301 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5302 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5303 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5304 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5305 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5306 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5307 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5308 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5309 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5310 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5311 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5312 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5313 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5314 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5315 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5316 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5317 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5318 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5319 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5320 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5321 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5322 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5323 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5324 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5325 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5326 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5327 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5328 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5329 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5330 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5331 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5332 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5333 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5334 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5335 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5336 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5337 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5338 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5339 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5340 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5341 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5342
58985aa9
UD
53432011-10-24 Ulrich Drepper <drepper@gmail.com>
5344
202c9deb
UD
5345 * sysdeps/x86_64/dla.h: Move to ...
5346 * sysdeps/x86_64/fpu/dla.h: ...here.
5347 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5348 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 5349
af968f62
UD
5350 * config.make.in: Add have-mfma4 entry.
5351 * configure.in: Substitute libc_cv_cc_fma4.
5352 * math/Makefile (dbl-only-routines): Add sincostab.
5353 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5354 Use __sincostab not sincos.
5355 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5356 name is a macro.
5357 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5358 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5359 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5360 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5361 using __copysign.
5362 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5363 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5364 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5365 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5366 and __inv.
5367 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5368 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5369 __copysign.
5370 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5371 define aliases when function name is a macro.
5372 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5373 sysdeps/ieee754/dbl-64/sincos.tbl.
5374 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5375 fma4-enabled routines.
5376 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5377 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5378 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5379 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5380 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5381 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5382 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5383 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5384 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5385 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5386 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5387 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5388 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5389 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5390 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5391 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5392 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5393 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5394 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5395 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5396 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5397 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5398 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5399 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5400 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5401 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5402 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5403 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5404 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5405 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5406
58985aa9
UD
5407 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5408 rename.
5409 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5410 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5411 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5412 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5413 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5414 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5415 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5416 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5417
a201fbcf
AS
54182011-10-24 Andreas Schwab <schwab@redhat.com>
5419
5420 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5421
fc2ee42a
LD
54222011-10-23 Ulrich Drepper <drepper@gmail.com>
5423
bb3129bd
UD
5424 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5425
0275fff8
UD
5426 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5427 prediction.
5428 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5429
2fa2ae85
UD
5430 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5431 Remove unused variable magic_bits.
5432 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5433
fc2ee42a
LD
5434 * string/strnlen.c: Define and use STRNLEN macro.
5435 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5436 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5437 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5438 * wcsmbs/wcslen.c: Define and use WCSLEN.
5439 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5440 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5441 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5442 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5443 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5444 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5445 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5446
ce7dd29f
LD
54472011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5448
5449 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5450 strnlen-sse2-no-bsf.
5451 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5452 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5453 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5454 Add strnlen support.
5455 (USE_AS_STRNLEN): New macro.
5456 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5457 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5458 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5459 * sysdeps/x86_64/wcslen.S: New file.
5460
979c70a3
MZ
54612011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5462
5463 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5464 XMM-moves are used for copying on small sizes.
5465
2d09f82f
LD
54662011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5467
5468 * wcsmbs/Makefile (strop-tests): Add wcschr.
5469 * wcsmbs/test-wcschr.c: New file.
5470 * string/test-strchr.c: Update.
5471 Add wcschr support.
5472 (WIDE): New macro.
5473
619fccca
LD
54742011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5475
2d09f82f 5476 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
5477 * wcsmbs/test-wcslen.c: New file.
5478 * string/test-strlen.c: Update.
5479 Add wcslen support.
5480 (WIDE): New macro.
5481
09f699ea
UD
54822011-10-23 Ulrich Drepper <drepper@gmail.com>
5483
5484 * po/it.po: Update from translation team.
5485
95584d3b
LD
54862011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5487
5488 * sysdeps/x86_64/wcscmp.S: Update.
5489 Fix wrong comparison semantics.
5490 wcscmp shall use signed comparison not unsigned.
5491 Don't use substraction to avoid overflow bug.
5492 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5493 * wcsmbc/wcscmp.c: Likewise.
5494 * string/test-strcmp.c: Likewise.
5495 Add new tests to check cases with negative values.
5496
c8b3296b
UD
54972011-10-23 Ulrich Drepper <drepper@gmail.com>
5498
5499 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5500 * sysdeps/x86_64/dla.h: ...here. New file.
5501 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5502 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5503 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5504 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5505 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5506 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5507 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5508 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5509 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5510
246ad57a
AS
55112011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5512
5513 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5514 __ynl_finite aliases.
5515
a1a87169
UD
55162011-10-22 Ulrich Drepper <drepper@gmail.com>
5517
0d355eb7
UD
5518 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5519
a1a87169
UD
5520 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5521 define DLA_FMA.
5522 [DLA_FMA] (EMULV): Use DLA_FMA.
5523 [DLA_FMA] (MUL12): Use EMULV.
5524 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5525 that are not needed.
5526 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5527 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5528 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5529 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5530 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5531 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5532 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5533
ee2aafe0
AS
55342011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5535
5536 * math/s_nan.c: Undef __nan.
5537 * math/s_nanf.c: Undef __nanf.
5538 * math/s_nanl.c: Undef __nanl.
5539 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5540 "math_private.h".
5541
bc62c2fb
UD
55422011-10-22 Ulrich Drepper <drepper@gmail.com>
5543
77425c63
UD
5544 * math/s_catan.c: Add branch predictions.
5545 * math/s_catanf.c: Likewise.
5546 * math/s_catanh.c: Likewise.
5547 * math/s_catanhf.c: Likewise.
5548 * math/s_catanhl.c: Likewise.
5549 * math/s_catanl.c: Likewise.
5550 * math/s_cexp.c: Likewise.
5551 * math/s_cexpf.c: Likewise.
5552 * math/s_cexpl.c: Likewise.
5553 * math/s_clog.c: Likewise.
5554 * math/s_clog10.c: Likewise.
5555 * math/s_clog10f.c: Likewise.
5556 * math/s_clog10l.c: Likewise.
5557 * math/s_clogf.c: Likewise.
5558 * math/s_clogl.c: Likewise.
5559 * math/s_csqrt.c: Likewise.
5560 * math/s_csqrtf.c: Likewise.
5561 * math/s_csqrtl.c: Likewise.
5562 * math/s_ctanf.c: Likewise.
5563 * math/s_ctanh.c: Likewise.
5564 * math/s_ctanhf.c: Likewise.
5565 * math/s_ctanhl.c: Likewise.
5566 * math/s_ctanl.c: Likewise.
5567
bc62c2fb
UD
5568 * math/math_private.h: Define __nan, __nanf, __nanl.
5569 * math/s_cacosh.c: Include <math_private.h>.
5570 * math/s_cacoshl.c: Likewise.
5571 * math/s_casinh.c: Likewise.
5572 * math/s_casinhf.c: Likewise.
5573 * math/s_casinhl.c: Likewise.
5574 * math/s_ccos.c: Rely entire on ccosh.
5575 * math/s_ccosf.c: Rely entire on ccoshf.
5576 * math/s_ccosl.c: Rely entirely on ccoshl.
5577 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5578 Remove tests for FE_INVALID.
5579 * math/s_ccoshf.c: Likewise.
5580 * math/s_ccoshl.c: Likewise.
5581 * math/s_csin.c: Likewise.
5582 * math/s_csinf.c: Likewise.
5583 * math/s_csinh.c Likewise.
5584 * math/s_csinhf.c: Likewise.
5585 * math/s_csinhl.c: Likewise.
5586 * math/s_csinl.c: Likewise.
5587 * math/s_ctan.c: Likewise.
5588 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5589 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5590 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5591
8ec250a4
UD
55922011-10-21 Ulrich Drepper <drepper@gmail.com>
5593
c196fed8
UD
5594 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5595 compilation problems.
5596
8ec250a4
UD
5597 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5598 __builtin_expect.
5599
8d4f46c6
UD
56002011-10-20 Ulrich Drepper <drepper@gmail.com>
5601
ed72b654
UD
5602 * sysdeps/i386/configure.in: Test for -mfma4 option.
5603 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5604 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5605 COMMON_CPUID_INDEX_80000001.
5606 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5607 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5608 use it if FMA3 is not supported.
5609 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5610
8d4f46c6
UD
5611 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5612 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5613
d45c60c2
AS
56142011-10-20 Andreas Schwab <schwab@redhat.com>
5615
5616 [BZ #12892]
5617 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5618 it would create a cycle with a link time dependency.
5619
d9a4d2ab
UD
56202011-10-19 Ulrich Drepper <drepper@gmail.com>
5621
855d1560
UD
5622 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5623 instruction.
5624 * string/Makefile (strop-tests): Add rawmemchr.
5625 * string/test-rawmemchr.c: New file.
5626
d9a4d2ab
UD
5627 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5628 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5629 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5630 when compiling str{,n}casecmp and when AVX is available. Hook up
5631 new optimized code in initializers.
5632
8f3b1ffe
AS
56332011-10-19 Andreas Schwab <schwab@redhat.com>
5634
5635 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5636 __feraiseexcept instead of feraiseexcept.
5637
d38f1dba
UD
56382011-10-18 Ulrich Drepper <drepper@gmail.com>
5639
d9a8d0ab
UD
5640 * math/math_private.h: Define defaults for libc_fetestexcept and
5641 libc_feupdateenv.
5642 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5643 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5644 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5645 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5646 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5647 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5648 libc_fetestexcept and libc_feupdateenv.
5649
4855e3dd
UD
5650 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5651 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5652 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5653 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5654 libc_feholdexcept_setround.
5655
581d30e3
UD
5656 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5657 Add s_nearbyint-c and s_nearbyintf-c.
5658 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5659 nearbyintf inlines.
5660 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5661 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5662 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5663 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5664
d38f1dba
UD
5665 * math/math_private.h: Define defaults for libc_fegetround,
5666 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5667 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5668 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5669 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5670 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5671 standard functions.
5672 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5673 Remove comments and hacks for old compiler versions.
5674 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5675 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5676 libc_feholdexceptl.
5677
caa6c9d8
AS
56782011-10-18 Andreas Schwab <schwab@redhat.com>
5679
5680 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
5681 (__feraiseexcept_renamed): Add __NTH.
5682 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
5683 namespace violations.
5684
97c066e6
UD
56852011-10-17 Ulrich Drepper <drepper@gmail.com>
5686
99ce7b04
UD
5687 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5688
1004d182
UD
5689 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5690
228a984d
UD
5691 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5692 recently added interfaces.
5693 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5694
c8553a6a
UD
5695 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5696 about macro parameter expansion.
5697
ed22dcf6
UD
5698 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5699 __NO_MATH_INLINES is defined. Cleanups.
5700
5701 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5702 and __floorf is target has SSE4.1.
5703 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5704 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5705 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5706 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5707
b171c137
UD
5708 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5709 name.
5710 (floorf): Likewise.
5711
97c066e6
UD
5712 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5713
629f62ef
AS
57142011-10-17 Andreas Schwab <schwab@redhat.com>
5715
49a43d80
AS
5716 * misc/sys/cdefs.h: Fix last change.
5717
629f62ef
AS
5718 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5719 database lookup.
5720
e453f6cd
UD
57212011-10-16 Ulrich Drepper <drepper@gmail.com>
5722
aa78043a
UD
5723 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5724
ad0f5cad
UD
5725 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5726 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5727 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5728 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5729 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5730 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5731 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5732 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5733 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5734 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5735 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5736 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5737 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5738 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5739 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5740 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5741 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5742 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5743 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5744 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5745 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5746 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5747
5748 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5749 ceil, ceilf, floor, floorf.
5750
5751 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5752 Perform IRELATIVE relocations last.
5753
e453f6cd
UD
5754 * elf/do-rel.h: Add another parameter nrelative, replacing the
5755 local variable with the same name. Change name of the function
5756 to end in Rel or Rela (uppercase).
5757 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5758 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5759 elf_dynamic_do_##reloc function.
5760
fd5bdc09
UD
57612011-10-15 Ulrich Drepper <drepper@gmail.com>
5762
79b195b5
UD
5763 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5764 is sufficient, at least on modern CPUs.
5765
d4a28569
UD
5766 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5767
b61099b5
UD
5768 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5769 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5770
bcf01e6d
UD
5771 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5772 __expl_finite.
5773 * math/bits/math-finite.h: Add entries for exp.
5774 * math/e_expl.c: Add __*_finite alias.
5775 * sysdeps/i386/fpu/e_exp.S: Likewise.
5776 * sysdeps/i386/fpu/e_expf.S: Likewise.
5777 * sysdeps/i386/fpu/e_expl.c: Likewise.
5778 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5779 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5780 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5781 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5782 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5783 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5784 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5785
ba1a0d59
UD
5786 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5787 is sufficient, at least on modern CPUs.
5788
fd5bdc09
UD
5789 * ctype/ctype-info.c (__ctype_init): Define.
5790 * include/ctype.h (__ctype_init): Declare.
5791 (__ctype_b_loc): The variable is always initialized.
5792 (__ctype_toupper_loc): Likewise.
5793 (__ctype_tolower_loc): Likewise.
5794 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5795 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5796
7872cfb0
AS
57972011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5798
b468825a
AS
5799 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5800
7872cfb0
AS
5801 * configure.in: Also look in $cxxmachine/include for C++ system
5802 headers.
5803
be13f7bf
LD
58042011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5805
5806 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5807 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5808 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5809 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5810 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5811 (USE_AS_WMEMCMP): New macro.
5812 Fixing indents.
5813 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5814 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5815 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5816 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5817 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5818 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5819 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5820 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5821 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5822 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5823 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5824 (USE_AS_WMEMCMP): New macro.
5825 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5826 * sysdeps/string/test-memcmp.c: Update.
5827 Fix simple_wmemcmp.
5828 Add new tests.
5829 * wcsmbs/wmemcmp.c: Update.
5830 (WMEMCMP): New macro.
5831 Fix overflow bug.
5832
556a2007
AJ
58332011-10-12 Andreas Jaeger <aj@suse.de>
5834
5835 [BZ #13268]
5836 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5837
538faaa7
UD
58382011-10-15 Ulrich Drepper <drepper@gmail.com>
5839
ab6737ff
UD
5840 * libio/iofwide.c (do_length): Avoid warning.
5841
538faaa7
UD
5842 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5843
396a21b1
UD
58442011-10-14 Ulrich Drepper <drepper@gmail.com>
5845
cdf2901f
UD
5846 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5847
38ad40ce
UD
5848 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5849 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5850 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5851 * sysdeps/i386/i686/fpu/e_log.S: New file.
5852 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5853 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5854
396a21b1
UD
5855 * ctype/ctype.h: Add support for inlined isXXX functions when
5856 compiling C++ code.
5857
6b1f68c9
AS
58582011-10-14 Andreas Schwab <schwab@redhat.com>
5859
349290c0
AS
5860 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5861
6b1f68c9
AS
5862 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5863
f2282d42
RM
58642011-10-13 Roland McGrath <roland@hack.frob.com>
5865
5866 [BZ #13291]
5867 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5868
5298ffa8
AS
58692011-10-13 Andreas Schwab <schwab@redhat.com>
5870
714fad23
AS
5871 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5872 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5873 feraiseexcept.
5874
81dcc7fb
AS
5875 * sysdeps/x86_64/memrchr.S: Check for zero size.
5876
5298ffa8
AS
5877 * string/stratcliff.c: Add memrchr tests.
5878
951fbcec
LD
58792011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5880
5881 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5882 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5883 rawmemchr-sse2 rawmemchr-sse2-bsf.
5884 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5885 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5886 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5887 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5888 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5889 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5890 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5891 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5892 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5893 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5894 * string/memrchr.c (MEMRCHR): New macro.
5895
0ac5ae23
UD
58962011-10-12 Ulrich Drepper <drepper@gmail.com>
5897
5898 Add integration with gcc's -ffinite-math-only and optimize wrapper
5899 functions in libm.
5900 * Versions.def: Define GLIBC_2.15 version for libm.
5901 * math/Makefile (headers): Add bits/math-finite.h.
5902 * math/bits/math-finite.h: New file.
5903 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5904 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5905 * math/e_acoshl.c: Add __*_finite alias.
5906 * math/e_acosl.c: Likewise.
5907 * math/e_asinl.c: Likewise.
5908 * math/e_atan2l.c: Likewise.
5909 * math/e_atanhl.c: Likewise.
5910 * math/e_coshl.c: Likewise.
5911 * math/e_exp10.c: Likewise.
5912 * math/e_exp10f.c: Likewise.
5913 * math/e_exp10l.c: Likewise.
5914 * math/e_exp2l.c: Likewise.
5915 * math/e_fmodl.c: Likewise.
5916 * math/e_gammal_r.c: Likewise.
5917 * math/e_hypotl.c: Likewise.
5918 * math/e_j0l.c: Likewise.
5919 * math/e_j1l.c: Likewise.
5920 * math/e_jnl.c: Likewise.
5921 * math/e_lgammal_r.c: Likewise.
5922 * math/e_log10l.c: Likewise.
5923 * math/e_log2l.c: Likewise.
5924 * math/e_logl.c: Likewise.
5925 * math/e_powl.c: Likewise.
5926 * math/e_sinhl.c: Likewise.
5927 * math/e_sqrtl.c: Likewise.
5928 * math/e_scalb.c: Completely rewritten and optimized.
5929 * math/e_scalbf.c: Likewise.
5930 * math/e_scalbl.c: Likewise.
5931 * math/w_acos.c: Likewise.
5932 * math/w_acosf.c: Likewise.
5933 * math/w_acosl.c: Likewise.
5934 * math/w_acosh.c: Likewise.
5935 * math/w_acoshf.c: Likewise.
5936 * math/w_acoshl.c: Likewise.
5937 * math/w_asin.c: Likewise.
5938 * math/w_asinf.c: Likewise.
5939 * math/w_asinl.c: Likewise.
5940 * math/w_atan2.c: Likewise.
5941 * math/w_atan2f.c: Likewise.
5942 * math/w_atan2l.c: Likewise.
5943 * math/w_atanh.c: Likewise.
5944 * math/w_atanhf.c: Likewise.
5945 * math/w_atanhl.c: Likewise.
5946 * math/w_exp10.c: Likewise.
5947 * math/w_exp10f.c: Likewise.
5948 * math/w_exp10l.c: Likewise.
5949 * math/w_fmod.c: Likewise.
5950 * math/w_fmodf.c: Likewise.
5951 * math/w_fmodl.c: Likewise.
5952 * math/w_j0.c: Likewise.
5953 * math/w_j0f.c: Likewise.
5954 * math/w_j0l.c: Likewise.
5955 * math/w_j1.c: Likewise.
5956 * math/w_j1f.c: Likewise.
5957 * math/w_j1l.c: Likewise.
5958 * math/w_jn.c: Likewise.
5959 * math/w_jnf.c: Likewise.
5960 * math/w_log.c: Likewise.
5961 * math/w_logf.c: Likewise.
5962 * math/w_logl.c: Likewise.
5963 * math/w_log10.c: Likewise.
5964 * math/w_log10f.c: Likewise.
5965 * math/w_log10l.c: Likewise.
5966 * math/w_log2.c: Likewise.
5967 * math/w_log2f.c: Likewise.
5968 * math/w_log2l.c: Likewise.
5969 * math/w_pow.c: Likewise.
5970 * math/w_powf.c: Likewise.
5971 * math/w_powl.c: Likewise.
5972 * math/w_remainder.c: Likewise.
5973 * math/w_remainderf.c: Likewise.
5974 * math/w_remainderl.c: Likewise.
5975 * math/w_scalb.c: Likewise.
5976 * math/w_scalbf.c: Likewise.
5977 * math/w_scalbl.c: Likewise.
5978 * math/w_sqrt.c: Likewise.
5979 * math/w_sqrtf.c: Likewise.
5980 * math/w_sqrtl.c: Likewise.
5981 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5982 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5983 used.
5984 * math/math_private.h: Declare __kernel_standard_f.
5985 * math/w_cosh.c: Remove cruft and optimize a bit.
5986 * math/w_coshf.c: Likewise.
5987 * math/w_coshl.c: Likewise.
5988 * math/w_exp2.c: Likewise.
5989 * math/w_exp2f.c: Likewise.
5990 * math/w_exp2l.c: Likewise.
5991 * math/w_hypot.c: Likewise.
5992 * math/w_hypotf.c: Likewise.
5993 * math/w_hypotl.c: Likewise.
5994 * math/w_lgamma.c: Likewise.
5995 * math/w_lgamma_r.c: Likewise.
5996 * math/w_lgammaf.c: Likewise.
5997 * math/w_lgammaf_r.c: Likewise.
5998 * math/w_lgammal.c: Likewise.
5999 * math/w_lgammal_r.c: Likewise.
6000 * math/w_sinh.c: Likewise.
6001 * math/w_sinhf.c: Likewise.
6002 * math/w_sinhl.c: Likewise.
6003 * math/w_tgamma.c: Likewise.
6004 * math/w_tgammaf.c: Likewise.
6005 * math/w_tgammal.c: Likewise.
6006 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6007 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6008 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6009 Minor optimizations. Pretty printing. Remove cruft.
6010 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6011 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6012 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6013 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6014 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6015 * sysdeps/i386/fpu/e_asin.S: Likewise.
6016 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6017 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6018 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6019 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6020 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6021 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6022 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6023 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6024 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6025 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6026 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6027 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6028 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6029 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6030 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6031 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6032 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6033 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6034 * sysdeps/i386/fpu/e_log.S: Likewise.
6035 * sysdeps/i386/fpu/e_log10.S: Likewise.
6036 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6037 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6038 * sysdeps/i386/fpu/e_log2.S: Likewise.
6039 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6040 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6041 * sysdeps/i386/fpu/e_logf.S: Likewise.
6042 * sysdeps/i386/fpu/e_logl.S: Likewise.
6043 * sysdeps/i386/fpu/e_pow.S: Likewise.
6044 * sysdeps/i386/fpu/e_powf.S: Likewise.
6045 * sysdeps/i386/fpu/e_powl.S: Likewise.
6046 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6047 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6048 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6049 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6050 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6051 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6052 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6053 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6054 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6055 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6056 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6057 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6058 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6059 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6060 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6061 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6062 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6063 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6064 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6065 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6066 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6067 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6068 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6069 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6070 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6071 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6072 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6073 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6074 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6075 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6076 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6077 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6078 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6079 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6080 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6081 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6082 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6083 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6084 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6085 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6086 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6087 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6088 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6089 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6090 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6091 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6092 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6093 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6094 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6095 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6096 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6097 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6098 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6099 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6100 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6101 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6102 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6103 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6104 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6105 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6106 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6107 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6108 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6109 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6110 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6111 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6112 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6113 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6114 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6115 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6116 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6117 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6118 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6119 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6120 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6121 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6122 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6123 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6124 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6125 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6126 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6127 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6128 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6129 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6130 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6131 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6132 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6133 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6134 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6135 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6136 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6137 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6138 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6139 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6140 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6141 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6142 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6143 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6144 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6145 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6146 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6147 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6148 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6149 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6150 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6151 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6152 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6153 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6154 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6155 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6156 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6157 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6158 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6159 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6160 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6161 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6162 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6163 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6164 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6165 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6166 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6167 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6168 (__isnanf): Likewise.
6169 (__isinf_ns): Likewise.
6170 (__isinf_nsf): Likewise.
6171 (__finite): Likewise.
6172 (__finitef): Likewise.
6173 (__ieee754_sqrt): Define as macro.
6174 (__ieee754_sqrtf): Define as macro.
6175 (__ieee754_sqrtl): Define as macro.
6176 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6177 inlined copy.
6178 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6179 __FINITE_MATH_ONLY__ consistent.
6180 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6181
12cc2fcd
AS
61822011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6183
a843a204
AS
6184 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6185 of rawmemchr.
6186
12cc2fcd
AS
6187 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6188
c853acd5
UD
61892011-10-09 Ulrich Drepper <drepper@gmail.com>
6190
6191 * po/ja.po: Update from translation team.
6192
c658d255
RM
61932011-10-08 Roland McGrath <roland@hack.frob.com>
6194
110946e4
RM
6195 * locale/programs/locarchive.c (prepare_address_space): New function.
6196 (create_archive, enlarge_archive, open_archive): Use it.
6197
50604220
RM
6198 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6199 inside [SHARED], where it is used.
6200
c658d255
RM
6201 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6202
6203 * nss/getent.c (netgroup_keys): Remove unused variable.
6204 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6205
6a621eb7
UD
62062011-10-08 Ulrich Drepper <drepper@gmail.com>
6207
7edb55ce
UD
6208 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6209 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6210 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6211 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6212 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6213 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6214 * math/Makefile (libm-calls): Add s_isinf_ns.
6215 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6216 * math/multc3.c: Likewise.
6217 * math/s_casin.c: Likewise.
6218 * math/s_casinf.c: Likewise.
6219 * math/s_casinl.c: Likewise.
6220 * math/s_ccos.c: Likewise.
6221 * math/s_ccosf.c: Likewise.
6222 * math/s_ccosl.c: Likewise.
6223 * math/s_ctan.c: Likewise.
6224 * math/s_ctanf.c: Likewise.
6225 * math/s_ctanh.c: Likewise.
6226 * math/s_ctanhf.c: Likewise.
6227 * math/s_ctanhl.c: Likewise.
6228 * math/s_ctanl.c: Likewise.
6229 * math/w_fmod.c: Likewise.
6230 * math/w_fmodf.c: Likewise.
6231 * math/w_fmodl.c: Likewise.
6232 * math/w_remainder.c: Likewise.
6233 * math/w_remainderf.c: Likewise.
6234 * math/w_remainderl.c: Likewise.
6235 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6236 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6237 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6238 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6239 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6240 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6241 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6242 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6243
187da0ae
UD
6244 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6245 of the number.
6246 * stdio-common/printf_fphex.c: Likewise.
6247 * stdio-common/printf_size.c: Likewise.
6248
9277c064
UD
6249 * math/e_exp10.c: Include math_private.h using <...> not "...".
6250 * math/e_exp10f.c: Likewise.
6251 * math/e_exp10l.c: Likewise.
6252 * math/e_exp2l.c: Likewise.
6253 * math/e_j0l.c: Likewise.
6254 * math/e_j1l.c: Likewise.
6255 * math/e_jnl.c: Likewise.
6256 * math/e_lgammal_r.c: Likewise.
6257 * math/e_rem_pio2l.c: Likewise.
6258 * math/e_scalb.c: Likewise.
6259 * math/e_scalbf.c: Likewise.
6260 * math/e_scalbl.c: Likewise.
6261 * math/k_cosl.c: Likewise.
6262 * math/k_sinl.c: Likewise.
6263 * math/k_tanl.c: Likewise.
6264 * math/s_cacoshf.c: Likewise.
6265 * math/s_catan.c: Likewise.
6266 * math/s_catanf.c: Likewise.
6267 * math/s_catanh.c: Likewise.
6268 * math/s_catanhf.c: Likewise.
6269 * math/s_catanhl.c: Likewise.
6270 * math/s_catanl.c: Likewise.
6271 * math/s_ccosh.c: Likewise.
6272 * math/s_ccoshf.c: Likewise.
6273 * math/s_ccoshl.c: Likewise.
6274 * math/s_cexp.c: Likewise.
6275 * math/s_cexpf.c: Likewise.
6276 * math/s_cexpl.c: Likewise.
6277 * math/s_clog.c: Likewise.
6278 * math/s_clog10.c: Likewise.
6279 * math/s_clog10f.c: Likewise.
6280 * math/s_clog10l.c: Likewise.
6281 * math/s_clogf.c: Likewise.
6282 * math/s_clogl.c: Likewise.
6283 * math/s_csin.c: Likewise.
6284 * math/s_csinf.c: Likewise.
6285 * math/s_csinh.c: Likewise.
6286 * math/s_csinhf.c: Likewise.
6287 * math/s_csinhl.c: Likewise.
6288 * math/s_csinl.c: Likewise.
6289 * math/s_csqrt.c: Likewise.
6290 * math/s_csqrtf.c: Likewise.
6291 * math/s_csqrtl.c: Likewise.
6292 * math/s_ctan.c: Likewise.
6293 * math/s_ctanf.c: Likewise.
6294 * math/s_ctanh.c: Likewise.
6295 * math/s_ctanhf.c: Likewise.
6296 * math/s_ctanhl.c: Likewise.
6297 * math/s_ctanl.c: Likewise.
6298 * math/s_ldexp.c: Likewise.
6299 * math/s_ldexpf.c: Likewise.
6300 * math/s_ldexpl.c: Likewise.
6301 * math/s_significand.c: Likewise.
6302 * math/s_significandf.c: Likewise.
6303 * math/s_significandl.c: Likewise.
6304 * math/w_acos.c: Likewise.
6305 * math/w_acosf.c: Likewise.
6306 * math/w_acosh.c: Likewise.
6307 * math/w_acoshf.c: Likewise.
6308 * math/w_acoshl.c: Likewise.
6309 * math/w_acosl.c: Likewise.
6310 * math/w_asin.c: Likewise.
6311 * math/w_asinf.c: Likewise.
6312 * math/w_asinl.c: Likewise.
6313 * math/w_atan2.c: Likewise.
6314 * math/w_atan2f.c: Likewise.
6315 * math/w_atan2l.c: Likewise.
6316 * math/w_atanh.c: Likewise.
6317 * math/w_atanhf.c: Likewise.
6318 * math/w_atanhl.c: Likewise.
6319 * math/w_cosh.c: Likewise.
6320 * math/w_coshf.c: Likewise.
6321 * math/w_coshl.c: Likewise.
6322 * math/w_dremf.c: Likewise.
6323 * math/w_exp10.c: Likewise.
6324 * math/w_exp10f.c: Likewise.
6325 * math/w_exp10l.c: Likewise.
6326 * math/w_exp2.c: Likewise.
6327 * math/w_exp2f.c: Likewise.
6328 * math/w_fmod.c: Likewise.
6329 * math/w_fmodf.c: Likewise.
6330 * math/w_fmodl.c: Likewise.
6331 * math/w_hypot.c: Likewise.
6332 * math/w_hypotf.c: Likewise.
6333 * math/w_hypotl.c: Likewise.
6334 * math/w_j0.c: Likewise.
6335 * math/w_j0f.c: Likewise.
6336 * math/w_j0l.c: Likewise.
6337 * math/w_j1.c: Likewise.
6338 * math/w_j1f.c: Likewise.
6339 * math/w_j1l.c: Likewise.
6340 * math/w_jn.c: Likewise.
6341 * math/w_jnf.c: Likewise.
6342 * math/w_jnl.c: Likewise.
6343 * math/w_lgamma.c: Likewise.
6344 * math/w_lgamma_r.c: Likewise.
6345 * math/w_lgammaf.c: Likewise.
6346 * math/w_lgammaf_r.c: Likewise.
6347 * math/w_lgammal.c: Likewise.
6348 * math/w_lgammal_r.c: Likewise.
6349 * math/w_log.c: Likewise.
6350 * math/w_log10.c: Likewise.
6351 * math/w_log10f.c: Likewise.
6352 * math/w_log10l.c: Likewise.
6353 * math/w_log2.c: Likewise.
6354 * math/w_log2f.c: Likewise.
6355 * math/w_log2l.c: Likewise.
6356 * math/w_logf.c: Likewise.
6357 * math/w_logl.c: Likewise.
6358 * math/w_pow.c: Likewise.
6359 * math/w_powf.c: Likewise.
6360 * math/w_powl.c: Likewise.
6361 * math/w_remainder.c: Likewise.
6362 * math/w_remainderf.c: Likewise.
6363 * math/w_remainderl.c: Likewise.
6364 * math/w_scalb.c: Likewise.
6365 * math/w_scalbf.c: Likewise.
6366 * math/w_scalbl.c: Likewise.
6367 * math/w_sinh.c: Likewise.
6368 * math/w_sinhf.c: Likewise.
6369 * math/w_sinhl.c: Likewise.
6370 * math/w_sqrt.c: Likewise.
6371 * math/w_sqrtf.c: Likewise.
6372 * math/w_sqrtl.c: Likewise.
6373 * math/w_tgamma.c: Likewise.
6374 * math/w_tgammaf.c: Likewise.
6375 * math/w_tgammal.c: Likewise.
6376
6a621eb7
UD
6377 * po/ja.po: Update from translation team.
6378
bf582445
AJ
63792011-09-29 Andreas Jaeger <aj@suse.de>
6380
f9efbf3a
AJ
6381 [BZ #13179]
6382 * sunrpc/netname.c (netname2host): Fix logic.
6383
bf582445
AJ
6384 [BZ #6779]
6385 [BZ #6783]
6386 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6387 correctly.
6388 * math/w_remainder.c (__remainder): Likewise.
6389 * math/w_remainderf.c (__remainderf): Likewise.
6390 * math/libm-test.inc (remainder_test): Add test cases.
6391
48693bea
AK
63922011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6393
6394 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6395 sdiv_qrnnd.
6396
42622229
LD
63972011-10-07 Ulrich Drepper <drepper@gmail.com>
6398
6399 * string/test-memcmp.c: Avoid unncessary #defines.
6400 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6401
093ecf92
LD
64022011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6403
6404 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6405 Use new sse2 version for core i3 - i7 as it's faster
6406 than sse42 version.
6407 (bit_Prefer_PMINUB_for_stringop): New.
6408 * sysdeps/x86_64/rawmemchr.S: Update.
6409 Replace with faster SSE2 version.
6410 * sysdeps/x86_64/memrchr.S: New file.
6411 * sysdeps/x86_64/memchr.S: Update.
6412 Replace with faster SSE2 version.
6413
fde56e5c
MP
64142011-09-12 Marek Polacek <mpolacek@redhat.com>
6415
6416 * elf/dl-load.c (lose): Add cast to avoid warning.
6417
21fd49a9
UD
64182011-10-07 Ulrich Drepper <drepper@gmail.com>
6419
5a06e643
UD
6420 * po/ca.po: Update from translation team.
6421
684ae515
UD
6422 * inet/getnetgrent_r.c: Hook up nscd.
6423 * nscd/Makefile (routines): Add nscd_netgroup.
6424 (nscd-modules): Add netgroupcache.
6425 (CFLAGS-netgroupcache.c): Define.
6426 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6427 (cache_search): Add const to second parameter.
6428 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6429 INNETGR.
6430 (dbs): Add netgrdb entry.
6431 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6432 (verify_persistent_db): Handle netgrdb.
6433 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6434 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6435 GETFDNETGR.
6436 (netgroup_response_header): Define.
6437 (innetgroup_response_header): Define.
6438 (datahead): Add netgroup_response_header and innetgroup_response_header
6439 elements.
6440 * nscd/nscd.conf: Add entries for netgroup cache.
6441 * nscd/nscd.h (dbtype): Add netgrdb.
6442 (_PATH_NSCD_NETGROUP_DB): Define.
6443 (netgroup_iov_disabled): Declare.
6444 (xmalloc, xcalloc, xrealloc): Move declarations here.
6445 (cache_search): Adjust prototype.
6446 Add netgroup-related prototypes.
6447 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6448 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6449 (__nscd_innetgr): Declare.
6450 * nscd/selinux.c (perms): Use access_vector_t as element type and
6451 add netgroup-related initializers.
6452 * nscd/netgroupcache.c: New file.
6453 * nscd/nscd_netgroup.c: New file.
6454 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6455 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6456 For four parameters use innetgr.
6457 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6458 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6459 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6460 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6461
21fd49a9
UD
6462 * nscd/connections.c (register_traced_file): Don't register file
6463 for disabled databases.
6464
054c0457
UD
64652011-10-06 Ulrich Drepper <drepper@gmail.com>
6466
32b63198
UD
6467 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6468
054c0457
UD
6469 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6470 from tree and freeing node.
6471
64031225
JO
64722011-09-25 Jiri Olsa <jolsa@redhat.com>
6473
6474 * nss/nsswitch.c (__nss_database_lookup): Handle
6475 nss_parse_service_list out of memory case.
6476
0490345c
JO
64772011-09-15 Jiri Olsa <jolsa@redhat.com>
6478
6479 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6480 out of memory case.
6481
3a62d00d
AS
64822011-10-04 Andreas Schwab <schwab@redhat.com>
6483
6484 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6485 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6486 pass it down.
6487 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6488 elf_machine_rela, elf_machine_lazy_rel.
6489 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6490 (ELF_DYNAMIC_DO_REL): Likewise.
6491 (ELF_DYNAMIC_DO_RELA): Likewise.
6492 (ELF_DYNAMIC_RELOCATE): Likewise.
6493 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6494 to ELF_DYNAMIC_DO_REL.
6495 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6496 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6497 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6498 elf_machine_rela.
6499 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6500 skip_ifunc, don't call ifunc function if non-zero.
6501 (elf_machine_rela): Likewise.
6502 (elf_machine_lazy_rel): Likewise.
6503 (elf_machine_lazy_rela): Likewise.
6504 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6505 (elf_machine_lazy_rel): Likewise.
6506 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6507 Likewise.
6508 (elf_machine_lazy_rel): Likewise.
6509 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6510 Likewise.
6511 (elf_machine_lazy_rel): Likewise.
6512 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6513 (elf_machine_lazy_rel): Likewise.
6514 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6515 (elf_machine_lazy_rel): Likewise.
6516 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6517 (elf_machine_lazy_rel): Likewise.
6518 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6519 (elf_machine_lazy_rel): Likewise.
6520 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6521 (elf_machine_lazy_rel): Likewise.
6522 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6523 (elf_machine_lazy_rel): Likewise.
6524
68577918
UD
65252011-09-28 Ulrich Drepper <drepper@gmail.com>
6526
6527 * nss/nss_files/files-init.c (_nss_files_init): Use static
6528 initialization for all the *_traced_file variables.
6529
68822d74
AS
65302011-09-28 Andreas Schwab <schwab@redhat.com>
6531
6532 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6533
2056100b
RM
65342011-09-27 Roland McGrath <roland@hack.frob.com>
6535
6536 [BZ #13226]
6537 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6538
32c76b63
AS
65392011-09-27 Andreas Schwab <schwab@redhat.com>
6540
6541 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6542 Reread the line before reparsing it.
6543
bf972c9d
AS
65442011-09-26 Andreas Schwab <schwab@redhat.com>
6545
6546 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6547
e057a1b5
JM
65482011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6549 Maxim Kuvyrkov <maxim@codesourcery.com>
6550 Joseph Myers <joseph@codesourcery.com>
6551
6552 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6553 if needed for __stack_chk_guard.
6554
bc7e1c36
RM
65552011-09-19 Roland McGrath <roland@hack.frob.com>
6556
ecb1482f
RM
6557 * sysdeps/posix/spawni.c (script_execute): Always define it.
6558 It will be optimized away if unused.
6559 (maybe_script_execute): New function.
6560 (__spawni): Call it.
6561
bc7e1c36
RM
6562 * Makerules: Don't include tls.make.
6563 (config-tls): Always set to thread.
6564 * tls.make.c: File removed.
6565
1c3b002b
MF
65662011-09-19 Mike Frysinger <vapier@gentoo.org>
6567
6568 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6569 * config.make.in (CPPFLAGS-config): New substituted variable.
6570
2840865d
UD
65712011-09-15 Ulrich Drepper <drepper@gmail.com>
6572
88738eb6
UD
6573 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6574
cbf645a6 6575 [BZ #13192]
2840865d
UD
6576 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6577 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6578
b402e91a
RM
65792011-09-15 Roland McGrath <roland@hack.frob.com>
6580
6581 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6582 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6583 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6584 (CALL_FAIL): Likewise.
6585 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6586 (CALL_FAIL): Macro removed.
6587 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6588
4c1a1f71
UD
65892011-09-15 Ulrich Drepper <drepper@gmail.com>
6590
6591 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6592 for __FINITE_MATH_ONLY__ == 1.
6593
edc121be
AS
65942011-09-15 Andreas Schwab <schwab@redhat.com>
6595
6596 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6597 __ieee754_sqrt instead of sqrt.
6598 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6599 __ieee754_sqrtf instead of sqrtf.
6600 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6601 __floorf instead of floorf.
6602 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6603 __floorf, __truncf instead of floorf, truncf.
6604
cd205654
UD
66052011-09-14 Ulrich Drepper <drepper@gmail.com>
6606
ee4d0315
UD
6607 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6608
cd205654
UD
6609 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6610 __extern_always_inline.
6611 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6612 32-bit.
6613
48b67d71
AS
66142011-09-14 Andreas Schwab <schwab@redhat.com>
6615
6616 * elf/rtld.c (dl_main): Also relocate in dependency order when
6617 doing symbol dependency testing.
6618
1ae12c75
AS
66192011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6620
6621 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6622 Always define `refsym'.
6623
995a80df
AS
66242011-09-13 Andreas Schwab <schwab@redhat.com>
6625
e529793b
AS
6626 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6627 (__FD_ELT): Renamed from __FDELT.
6628 * misc/bits/select2.h (__FD_ELT): Likewise.
6629 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6630 __FD_MASK instead of __FDELT, __FDMASK.
6631 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6632 Likewise.
6633 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6634 Likewise.
6635
52d4fef8
AS
6636 * elf/Makefile (gen-ldd): Fix pattern.
6637
995a80df
AS
6638 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6639 (init_tls): Likewise.
6640
8682f8b0
UD
66412011-09-12 Ulrich Drepper <drepper@gmail.com>
6642
6643 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6644
de82006d
AS
66452011-09-12 Andreas Schwab <schwab@redhat.com>
6646
a7c8e6a1
AS
6647 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6648 `struct cmsghdr *' instead of `void *'.
6649 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6650 Likewise.
6651
0f31fe77
AS
66522011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6653
6654 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6655 if non-absolute.
6656 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6657 ldd_rewrite_script.
0f31fe77 6658
32b4c839
UD
66592011-09-11 Ulrich Drepper <drepper@gmail.com>
6660
83cd1420
UD
6661 * configure.in: Remove --with-tls option.
6662 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6663 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6664 out in case it is missing.
6665 * sysdeps/ia64/elf/configure.in: Likewise.
6666 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6667 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6668 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6669 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6670 * sysdeps/sh/elf/configure.in: Likewise.
6671 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6672 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6673 * sysdeps/x86_64/elf/configure.in: Likewise.
6674 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6675 * sysdeps/mach/hurd/tls.h: Likewise.
6676
633f745d
UD
6677 [BZ #13067]
6678 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6679
f318beb8
UD
6680 [BZ #13090]
6681 * configure.in: Fix use of AC_INIT.
6682
32b4c839
UD
6683 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6684
3ce1f295
UD
66852011-09-10 Ulrich Drepper <drepper@gmail.com>
6686
bb016596
UD
6687 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6688 __set_errno.
8e58439c
UD
6689 * malloc/hooks.c: Likewise.
6690
aebae053 6691 [BZ #11929]
02d46fc4
UD
6692 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6693 variables statically.
6694 (narenas): Initialize.
6695 (list_lock): Initialize.
bb016596
UD
6696 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6697 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
6698 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6699 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6700 Add initializers to main_arena and mp_.
6701 (malloc_state): Remove pagesize member. Change all users to use
6702 GLRO(dl_pagesize).
6703
6704 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6705 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6706 is always initialized.
6707
22a89187
UD
6708 * malloc/malloc.c: Removed unused configurations and dead code.
6709 * malloc/arena.c: Likewise.
6710 * malloc/hooks.c: Likewise.
02d46fc4 6711 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 6712
d063d164
UD
6713 * include/tls.h: Removed. USE___THREAD must always be defined.
6714 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6715 * elf/dl-libc.c: Likewise.
6716 * elf/dl-tsd.c: Likewise.
6717 * include/errno.h: Likewise.
6718 * include/netdb.h: Likewise.
6719 * include/resolv.h: Likewise.
6720 * inet/herrno-loc.c: Likewise.
6721 * inet/herrno.c: Likewise.
6722 * malloc/arena.c: Likewise.
6723 * malloc/hooks.c: Likewise.
6724 * malloc/malloc.c: Likewise.
6725 * resolv/res-state.c: Likewise.
6726 * resolv/res_libc.c: Likewise.
6727 * sysdeps/i386/dl-machine.h: Likewise.
6728 * sysdeps/ia64/dl-machine.h: Likewise.
6729 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6730 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6731 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6732 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6733 * sysdeps/sh/dl-machine.h: Likewise.
6734 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6735 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6736 * sysdeps/unix/i386/sysdep.S: Likewise.
6737 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6738 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6739 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6740 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6741 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6742 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6743 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6744 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6745 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6746 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6747 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6748 * sysdeps/x86_64/dl-machine.h: Likewise.
6749 * tls.make.c: Likewise.
6750
3ce1f295
UD
6751 * configure.in: Remove --with-__thread option. Make tests for
6752 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6753 tls_model attribute fail if no support is available. Remove
6754 USE_IN_LIBIO.
6755 * Makeconfig: Adjust for dropped configure option. All features are
6756 now mandatory.
6757 * Makerules: Likewise.
6758 * Versions.def: Likewise.
6759 * argp/argp-fmtstream.c: Likewise.
6760 * argp/argp-fmtstream.h: Likewise.
6761 * argp/argp-help.c: Likewise.
6762 * assert/assert.c: Likewise.
6763 * config.h.in: Likewise.
6764 * config.make.in: Likewise.
6765 * configure: Likewise.
6766 * configure.in: Likewise.
6767 * csu/Versions: Likewise.
6768 * csu/init.c: Likewise.
6769 * elf/tst-audit2.c: Likewise.
6770 * elf/tst-tls10.c: Likewise.
6771 * elf/tst-tls10.h: Likewise.
6772 * elf/tst-tls11.c: Likewise.
6773 * elf/tst-tls12.c: Likewise.
6774 * elf/tst-tls14.c: Likewise.
6775 * elf/tst-tlsmod11.c: Likewise.
6776 * elf/tst-tlsmod12.c: Likewise.
6777 * elf/tst-tlsmod13.c: Likewise.
6778 * elf/tst-tlsmod13a.c: Likewise.
6779 * elf/tst-tlsmod14a.c: Likewise.
6780 * elf/tst-tlsmod15b.c: Likewise.
6781 * elf/tst-tlsmod16a.c: Likewise.
6782 * elf/tst-tlsmod16b.c: Likewise.
6783 * elf/tst-tlsmod7.c: Likewise.
6784 * elf/tst-tlsmod8.c: Likewise.
6785 * elf/tst-tlsmod9.c: Likewise.
6786 * gmon/gmon.c: Likewise.
6787 * grp/fgetgrent_r.c: Likewise.
6788 * grp/putgrent.c: Likewise.
6789 * hurd/fopenport.c: Likewise.
6790 * include/libc-symbols.h: Likewise.
6791 * include/tls.h: Likewise.
6792 * intl/gettextP.h: Likewise.
6793 * intl/loadinfo.h: Likewise.
6794 * locale/global-locale.c: Likewise.
6795 * locale/localeinfo.h: Likewise.
6796 * mach/devstream.c: Likewise.
6797 * malloc/arena.c: Likewise.
6798 * malloc/set-freeres.c: Likewise.
6799 * misc/err.c: Likewise.
6800 * misc/getttyent.c: Likewise.
6801 * misc/mntent_r.c: Likewise.
6802 * posix/getopt.c: Likewise.
6803 * posix/wordexp.c: Likewise.
6804 * pwd/fgetpwent_r.c: Likewise.
6805 * resolv/Versions: Likewise.
6806 * resolv/res_hconf.c: Likewise.
6807 * shadow/fgetspent_r.c: Likewise.
6808 * shadow/putspent.c: Likewise.
6809 * stdio-common/printf_fphex.c: Likewise.
6810 * stdio-common/tmpfile.c: Likewise.
6811 * stdlib/abort.c: Likewise.
6812 * stdlib/fmtmsg.c: Likewise.
6813 * sunrpc/auth_unix.c: Likewise.
6814 * sunrpc/clnt_perr.c: Likewise.
6815 * sunrpc/clnt_tcp.c: Likewise.
6816 * sunrpc/clnt_udp.c: Likewise.
6817 * sunrpc/clnt_unix.c: Likewise.
6818 * sunrpc/openchild.c: Likewise.
6819 * sunrpc/svc_simple.c: Likewise.
6820 * sunrpc/svc_tcp.c: Likewise.
6821 * sunrpc/svc_udp.c: Likewise.
6822 * sunrpc/svc_unix.c: Likewise.
6823 * sunrpc/xdr.c: Likewise.
6824 * sunrpc/xdr_array.c: Likewise.
6825 * sunrpc/xdr_rec.c: Likewise.
6826 * sunrpc/xdr_ref.c: Likewise.
6827 * sunrpc/xdr_stdio.c: Likewise.
6828
1248c1c4
PB
68292011-09-09 Ulrich Drepper <drepper@gmail.com>
6830
6831 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6832
68332011-07-03 Andreas Jaeger <aj@suse.de>
6834
6835 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6836 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6837 regenerate with gen-libm-tests.pl.
6838
68392010-05-12 Petr Baudis <pasky@suse.cz>
6840
6841 [BZ #11589]
6842 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6843 around j0() zero points by switching to j1().
6844 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6845 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6846 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6847 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6848
f22e1074
UD
68492011-09-09 Ulrich Drepper <drepper@gmail.com>
6850
f19009c1
UD
6851 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6852 instead of 0.
6853 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6854 instead of 0. .
6855 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6856 Patch in part by Pavel Roskin <proski@gnu.org>.
6857
3f8cc204
UD
6858 [BZ #13138]
6859 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6860 realloc.
6861 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6862 Free memory block if necessary.
6863
f22e1074
UD
6864 [BZ #12847]
6865 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6866 be NULL. Don't lock in this case.
6867
0a2349f9
RM
68682011-09-09 Roland McGrath <roland@hack.frob.com>
6869
6870 * elf/elf.h (ELFOSABI_GNU): New macro.
6871 (ELFOSABI_LINUX): Define to that.
6872
f3cdd467
DZ
68732011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6874
6875 * string/strncat.c (strncat): Undef the symbol in case it has been
6876 defined in bits/string.h.
6877
74718d13
UD
68782011-09-09 Ulrich Drepper <drepper@gmail.com>
6879
633e9e0f
UD
6880 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6881
0a2349f9 6882 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
6883 link map.
6884
f9924780
AJ
68852011-08-17 Andreas Jaeger <aj@suse.de>
6886
6887 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6888
7f5517aa
PP
68892011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6890 Ian Lance Taylor <iant@google.com>
6891
6892 * math/libm-test.inc (lround_test): New testcase.
6893 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6894
762011fe
UD
68952011-09-08 Ulrich Drepper <drepper@gmail.com>
6896
92963737
UD
6897 * Makefile: Remove support for automatic cvs check-ins.
6898 * Makerules: Likewise.
6899 * config.make.in: Likewise.
6900 * configure.in: Likewise.
6901 * intl/Makefile: Likewise.
6902 * locale/Makefile: Likewise.
6903 * po/Makefile: Likewise.
6904 * posix/Makefile: Likewise.
6905 * sysdeps/gnu/Makefile: Likewise.
6906 * sysdeps/mach/hurd/Makefile: Likewise.
6907 * sysdeps/sparc/sparc32/Makefile: Likewise.
6908
b0727fd8
JS
6909 [BZ #13118]
6910 * posix/Makefile (bug-regex32-ENV): Define.
6911 Patch by John Stanley <jpsinthemix@verizon.net>.
6912
a0f33f99
UD
6913 * misc/Makefile (headers): Add bits/select2.h.
6914 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6915 * misc/bits/select2.h: New file.
6916 * include/bits/select2.h: New file.
6917 * debug/Makefile (routines): Add fdelt_chk.
6918 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6919 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6920 FD_ISSET.
6921 * debug/fdelt_chk.c: New file.
6922
762011fe
UD
6923 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6924 * wcsmbs/test-wmemcmp.c: Likewise.
6925 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 6926 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
6927
69282011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6929
6930 * string/Makefile (strop-tests): Add memcmp.
6931 * string/test-wmemcmp.c: New file.
6932 * string/test-memcmp.c: Add wmemcmp support.
6933
7f513ec8
RM
69342011-09-08 Roland McGrath <roland@hack.frob.com>
6935
0442afb4
RM
6936 [BZ #13153]
6937 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6938 2011-07-19 change.
6939
7f513ec8
RM
6940 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6941 garbage value in a __mach_port_mod_refs call in the cases of the
6942 task-self and thread-self ports.
6943
a12b2239
ST
69442011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6945
6946 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6947
610f9ab4
AS
69482011-09-08 Andreas Schwab <schwab@redhat.com>
6949
7f513ec8 6950 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 6951
48882a1a
LD
69522011-09-07 Ulrich Drepper <drepper@gmail.com>
6953
b49865be
UD
6954 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6955
fdc86bc9
UD
6956 * elf/dl-libc.c (dlerror_run): Pass back error code from
6957 dl_catch_error.
6958
c966526a
UD
6959 [BZ #13123]
6960 * elf/dl-load.c (lose): Free l_origin if it is valid.
6961
48882a1a
LD
6962 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6963 names.
6964 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6965 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6966 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6967 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6968 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6969 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6970
77a2a8b4
AZ
69712011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6972
6973 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6974 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6975 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6976 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6977 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6978 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6979 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6980 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6981 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6982 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6983
24f579d8
AM
69842011-08-15 Alan Modra <amodra@gmail.com>
6985
6986 [BZ #13092]
6987 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6988 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6989 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
6990 ppc_mcount to static-only-routines.
6991 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6992 __mcount_internal.
6993 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6994 __mcount_internal with usual JUMPTARGET. Remove useless nop.
6995
3d4837df
UD
69962011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
6997
6998 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6999 for finite and infinity parameters.
7000
22700377
WS
70012011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7002
7003 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7004 and add nop instructions for throughput optimization.
7005 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7006
5025581e
WS
70072011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7008
7009 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7010 aligned copy for power7 with vector-scalar instructions.
7011 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7012
08a300c9
L
70132011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7014
7015 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7016 AVX check.
7017
59178ef9
AS
70182011-09-07 Andreas Schwab <schwab@redhat.com>
7019
7020 [BZ #13144]
7021 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7022 last change.
7023
e38ba7ab
UD
70242011-09-07 Ulrich Drepper <drepper@gmail.com>
7025
7026 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7027 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7028 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7029 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7030 clock_gettime.
7031
d53a73ac
UD
70322011-09-06 Ulrich Drepper <drepper@gmail.com>
7033
fc8bffcc
UD
7034 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7035 Forgot to demangle the pointer.
7036
ceaa0c5d
UD
7037 * sysdeps/i386/sysdep.h: Define atom_text_section.
7038 * sysdeps/x86_64/sysdep.h: Likewise.
7039 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7040 section with atom_text_section.
7041 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7042 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7043 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7044 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7045 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7046
a77d3c17
UD
7047 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7048 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7049 already be defined. Change to take two parameters and don't assign
7050 result to variable. Adjust all users.
7051 Define INTERNAL_GETTIME if not already defined.
7052 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7053 call.
7054 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7055 HAVE_CLOCK_GETTIME_VSYSCALL.
7056 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7057
d53a73ac
UD
7058 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7059 gettimeofday vsyscall, just use time.
7060
a8f84144
AS
70612011-09-06 Andreas Schwab <schwab@redhat.com>
7062
7063 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7064 <errno.h>.
7065
ef606249
UD
70662011-09-06 Ulrich Drepper <drepper@gmail.com>
7067
7068 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7069 syscall on x86-64.
7070 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7071 syscall.
7072 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7073 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7074 syscall if possible.
7075
6585cb60
UD
70762011-09-05 Ulrich Drepper <drepper@gmail.com>
7077
7078 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7079 e_ident. Don't pass to find_mapsXX.
7080 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7081
a5f524e4
LD
70822011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7083
7084 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7085 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7086 * sysdeps/x86_64/multiarch/strchr.S: Update.
7087 Check bit_slow_BSF bit.
7088 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7089 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7090 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7091
554881ef
UD
70922011-09-05 Ulrich Drepper <drepper@gmail.com>
7093
d96de963
UD
7094 [BZ #13134]
7095 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7096 before glibc 2.15.
7097 (tryshell): Define.
7098 (__spawni): Change last parameter to be flag. Test
7099 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7100 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7101 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7102 * posix/spawni.c: Likewise.
7103 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7104 * posix/spawnp.c: Likewise. Change normal version to use
7105 SPAWN_XFLAGS_USE_PATH.
7106 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7107 SPAWN_XFLAGS_TRY_SHELL.
7108
d48e5868
UD
7109 [BZ #13150]
7110 * posix/glob.h: Remove gcc 1.x support.
7111
554881ef
UD
7112 [BZ #13068]
7113 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7114
693fb948
LD
71152011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7116
7117 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7118 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7119 strrchr-sse2-bsf
7120 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7121 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7122 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7123 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7124 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7125 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7126
1b48c537
UD
71272011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7128
49d42c37
UD
7129 * sysdeps/x86_64/wcscmp.S: New file.
7130
1b48c537
UD
7131 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7132 wcscmp-c wcscmp-sse2
7133 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7134 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7135 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7136 * wcsmbs/wcscmp.c: Allow renaming.
7137
15c95c5d
DM
71382011-09-05 David S. Miller <davem@davemloft.net>
7139
7140 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7141 stack slot, rather than the struct return pointer slot.
7142 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7143 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7145 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7146
2f0ad8f3
UD
71472011-09-05 Ulrich Drepper <drepper@gmail.com>
7148
d88ae418
UD
7149 * po/ja.po: Update from translation team.
7150
2f0ad8f3
UD
7151 [BZ #13144]
7152 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7153 kernel in 64-bit binaries.
7154
5f4318d1
DM
71552011-09-01 David S. Miller <davem@davemloft.net>
7156
7157 * elf/elf.h (HWCAP_SPARC_*): Move to..
7158 * sysdeps/sparc/sysdep.h: this new file and add new values.
7159 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7160 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7161 _DL_HWCAP_COUNT to 24.
7162 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7163 entries.
7164 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7165 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7166 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7167 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7168 instead of magic constants.
7169 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7170
3ba57516
DM
71712011-08-31 David S. Miller <davem@davemloft.net>
7172
7173 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7174 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7175 Reimplement to do errno handling inline.
7176 (SYSCALL_ERROR_HANDLER): New macro.
7177 (__SYSCALL_STRING): Do not do errno handling in asm.
7178 (__CLONE_SYSCALL_STRING): Delete.
7179 (__INTERNAL_SYSCALL_STRING): Delete.
7180 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7181 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7182 (PSEUDO): Reimplement to do errno handling inline.
7183 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7184 (SYSCALL_ERROR_HANDLER): New macro.
7185 (__SYSCALL_STRING): Do not do errno handling in asm.
7186 (__CLONE_SYSCALL_STRING): Delete.
7187 (__INTERNAL_SYSCALL_STRING): Delete.
7188 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7189 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7190 i386.
7191 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7192 (inline_syscall*): Add 'err' argument.
7193 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7194 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7195 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7196 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7197
7198 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7199 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7200
2bc17433
AS
72012011-08-30 Andreas Schwab <schwab@redhat.com>
7202
7203 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7204
fbeb5f4d
JO
72052011-08-29 Jiri Olsa <jolsa@redhat.com>
7206
7207 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7208 directive.
7209
ad69cc26
DM
72102011-08-24 David S. Miller <davem@davemloft.net>
7211
7212 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7213
39dd69df
AS
72142011-08-24 Andreas Schwab <schwab@redhat.com>
7215
7216 * elf/Makefile: Add rules to build and run unload8 test.
7217 * elf/unload8.c: New file.
7218 * elf/unload8mod1.c: New file.
7219 * elf/unload8mod1x.c: New file.
7220 * elf/unload8mod2.c: New file.
7221 * elf/unload8mod3.c: New file.
7222
7223 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7224 it wasn't used.
7225
2c0b250a
DM
72262011-08-23 David S. Miller <davem@davemloft.net>
7227
7228 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7229 subtract stack bias.
7230 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7231 %sp not %fp in calculations.
7232 (_JMPBUF_UNWINDS_ADJ): Likewise.
7233
22044b48
DM
7234 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7235 (aio_suspend): Call it to force an exception region around the
7236 AIO_MISC_WAIT() invocation.
7237
2cae4995
AS
72382011-08-23 Andreas Schwab <schwab@redhat.com>
7239
7240 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7241 backslash.
7242
873a772e
AJ
72432011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7244
7245 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7246 protection macro.
7247 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7248 and <dl-machine.h>.
7249 (Elf64_FuncDesc): Remove.
7250
25ad0df1
DM
72512011-08-22 David S. Miller <davem@davemloft.net>
7252
7253 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7254 sigaltstack check, add missing cfi directives.
7255 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7256 missing cfi directives, and sigaltstack handling.
7257
e888bcbe
AS
72582011-08-16 Andreas Schwab <schwab@redhat.com>
7259
7260 [BZ #11724]
7261 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7262 object is seen twice.
7263 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7264
7265 * elf/Makefile (distribute): Add tst-initorder2.c.
7266 (tests): Add tst-initorder2.
7267 (modules-names): Add tst-initorder2a tst-initorder2b
7268 tst-initorder2c tst-initorder2d. Add rules to build them.
7269 ($(objpfx)tst-initorder2.out): New rule.
7270 * elf/tst-initorder2.c: New file.
7271 * elf/tst-initorder2.exp: New file.
7272
87162f46
AS
72732011-08-22 Andreas Schwab <schwab@redhat.com>
7274
70538b7f
AS
7275 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7276
f55ffe58
AS
7277 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7278 dependencies back to end of function.
7279
87162f46
AS
7280 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7281 $(elfobjdir)/ld.so.
7282
91b392a4
UD
72832011-08-21 Ulrich Drepper <drepper@gmail.com>
7284
7285 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7286 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7287 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7288 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7289 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7290 of __vdso_gettimeofday.
7291 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7292 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7293 attribute_hidden.
7294 (_libc_vdso_platform_setup): Remove initialization of
7295 __vdso_gettimeofday and __vdso_time.
7296
5c43483f
UD
72972011-08-20 Ulrich Drepper <drepper@gmail.com>
7298
775a77e7
UD
7299 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7300 and fgetc_unlocked.
7301 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7302 getc_unlocked.
89f447ed 7303
49c74ba9
UD
7304 * elf/dl-open.c (add_to_global): Report additions to the global scope
7305 for LD_DEBUG=scopes.
7306 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 7307 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 7308
5c43483f
UD
7309 [BZ #13114]
7310 * stdio-common/Makefile (tests): Add bug24.
7311 * stdio-common/bug24.c: New file.
7312
a101b025
AJ
73132011-08-19 Andreas Jaeger <aj@suse.de>
7314
7315 [BZ #13114]
7316 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7317 non-existant file when using close-on-exec mode.
7318
c88f1766
UD
73192011-08-20 Ulrich Drepper <drepper@gmail.com>
7320
0276a718
UD
7321 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7322 the very first instruction.
7323
c88f1766
UD
7324 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7325 the CFI state in the end.
7326 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7327 inclusion of dl-trampoline.h.
7328 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7329
51ccffa0
AS
73302011-08-19 Andreas Schwab <schwab@redhat.com>
7331
94d7165f
AS
7332 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7333 expectations for long double.
7334
51ccffa0
AS
7335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7336 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7337
fd708658 73382011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
7339
7340 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7341 artificual limit depends upon the system page size.
7342
44f0a71e
UD
73432011-08-17 Ulrich Drepper <drepper@gmail.com>
7344
7345 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7346 * resolv/Makefile: Define CFLAGS-libresolv.
7347
8de79a24
AS
73482011-08-17 Andreas Schwab <schwab@redhat.com>
7349
7350 * nss/makedb.c (compute_tables): Make variables used in nested
7351 function static.
7352
27724598
UD
73532011-08-17 Ulrich Drepper <drepper@gmail.com>
7354
c5305d88
UD
7355 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7356 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7357 if buffer was too small.
7358
27724598
UD
7359 * elf/pldd.c (main): Attach to all threads in the process.
7360 Rewrite /proc handling to use *at functions.
7361
076fe015
UD
73622011-08-16 Ulrich Drepper <drepper@gmail.com>
7363
174baab3
UD
7364 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7365 specifies first scope to show.
7366 (dl_open_worker): Update callers. Move printing scope of new
7367 object to before the relocation.
44f0a71e 7368 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7369 * sysdeps/generic/ldsodefs.h: Update declaration.
7370
076fe015
UD
7371 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7372 string for the scope number.
7373
a60df2c3
UD
73742011-08-14 Ulrich Drepper <drepper@gmail.com>
7375
7376 * nscd/servicescache.c (cache_addserv): Make sure written is always
7377 initialized.
7378
5e4287d1
RM
73792011-08-14 Roland McGrath <roland@hack.frob.com>
7380
85ae0589
RM
7381 * sysdeps/i386/i486/bits/atomic.h
7382 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7383 statement expression, so as to suppress "set but not used" warning.
7384 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7385
69f63097
RM
7386 * string/strncat.c (STRNCAT): Use prototype definition.
7387
675456ef
RM
7388 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7389 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7390 -Iprograms here.
7391 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7392 (localedef-modules): Add localedef.
7393 (locale-modules): Add locale.
7394
5e4287d1
RM
7395 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7396 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7397 to avoid a warning.
7398
9c96ff23
DM
73992011-08-14 David S. Miller <davem@davemloft.net>
7400
7401 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7402 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7403
f9ddf089
UD
74042011-08-13 Ulrich Drepper <drepper@gmail.com>
7405
44f0a71e 7406 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
7407 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7408 * elf/rtld.c (dl_main): Set l_name of vDSO.
7409 Call _dl_show_scope when DL_DEBUG_SCOPES.
7410 (process_dl_debug): Recognize scopes flag and also set it for all.
7411 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7412 Declare _dl_show_scope.
7413
1dc27704
UD
7414 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7415 (do_dlopen): Pass caller_dlopen to dl_open.
7416 (__libc_dlopen_mode): Initialize caller_dlopen.
7417
f9ddf089
UD
7418 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7419 of libc. Make tolower call locale-independent. Optimize a bit by
7420 using isdigit instead of isalnum.
7421 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7422
9ac533d3
UD
74232011-08-12 Ulrich Drepper <drepper@gmail.com>
7424
7425 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7426 was a dependency or dynamically loaded.
7427
89edf2e9
UD
74282011-08-11 Ulrich Drepper <drepper@gmail.com>
7429
8e999d29
UD
7430 * intl/l10nflist.c: Allow architecture-specific pop function.
7431 * sysdeps/x86_64/l10nflist.c: New file.
7432
89edf2e9
UD
7433 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7434 classification.
7435
14d96785
AS
74362011-08-10 Andreas Schwab <schwab@redhat.com>
7437
7438 * include/dirent.h: Add libc_hidden_proto for scandirat and
7439 scandirat64. Don't declare __scandirat64.
7440 * dirent/scandirat.c: Add libc_hidden_def.
7441 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7442 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7443
6761ac04
DM
74442011-08-10 David S. Miller <davem@davemloft.net>
7445
7446 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7447 enum.
7448 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7449 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7450 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7451
c55fbd1e
UD
74522011-08-09 Ulrich Drepper <drepper@gmail.com>
7453
7454 * Versions.def [libc]: Add GLIBC_2.15.
7455 * dirent/Makefile (routines): Add scandirat and scandirat64.
7456 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7457 GLIBC_2.15.
7458 * dirent/dirent.h: Declare scandirat and scandirat64.
7459 * dirent/scandirat.c: New file.
7460 * dirent/scandirat64.c: New file.
7461 * sysdeps/wordsize-64/scandirat.c: New file.
7462 * sysdeps/wordsize-64/scandirat64.c: New file.
7463 * dirent/opendir.c: Define opendirat.
7464 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7465 using scandirat.
7466 * dirent/scandir64.c: Adjust for scandir.c change.
7467 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7468 __scandirat64, and __scandir_cancel_handler.
7469 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7470 additional parameter and use openat instead of open (outside of ld.so).
7471 Add new __opendir as wrapper around __opendirat.
7472 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7473 here without requiring old scandirat implementation.
7474
879165f2
UD
74752011-08-08 Ulrich Drepper <drepper@gmail.com>
7476
7477 * dirent/scandir.c (cancel_handler): Renamed to
7478 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7479 defined. Adjust users.
7480 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7481 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7482
cb7e923b
UD
74832011-08-04 Ulrich Drepper <drepper@gmail.com>
7484
16292edd
UD
7485 * string/test-string.h (IMPL): Use __STRING to expand name and then
7486 stringify it.
7487
cb7e923b
UD
7488 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7489 of cleanups.
7490
cff82933
LD
74912011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7492
7493 * string/Makefile: Update.
7494 (strop-tests): Append strncat.
7495 * string/test-wcscmp.c: New file.
7496 New comprehensive test for wcscmp.
7497 * string/test-strcmp.c: Update.
7498 (WIDE): New define.
7499
9be9bfcc
AS
75002011-07-22 Andreas Schwab <schwab@redhat.com>
7501
7502 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7503 line.
7504
2e96f1c7
AS
75052011-07-26 Andreas Schwab <schwab@redhat.com>
7506
7507 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7508 encoding to ACE if AI_IDN.
7509
85188888
JJ
75102011-08-01 Jakub Jelinek <jakub@redhat.com>
7511
7512 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7513 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7514
5fa16e9b
LD
75152011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7516
7517 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7518 Fix overflow bug in strncat.
7519 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7520
7521 * string/test-strncat.c: Update.
7522 Add new tests for checking overflow bugs.
7523
75242011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7525
7526 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7527 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7528 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7529 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7530 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7531 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7532 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7533 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7534 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7535
7536 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7537 (USE_AS_STRCAT): Define.
7538 Add strcat and strncat support.
7539 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7540
8c1a459f
AS
75412011-07-25 Andreas Schwab <schwab@redhat.com>
7542
7543 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7544 __n bigger than INT_MAX+1.
7545 (__strncmp_g): Likewise.
7546
bba33c28
UD
75472011-07-23 Ulrich Drepper <drepper@gmail.com>
7548
798be72d
UD
7549 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7550 * libio/stido.h: Likewise.
7551
8accd4dc
UD
7552 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7553 (AF_NFC): Define.
7554 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7555 (AF_NFC): Define.
7556
cbff0d96
UD
7557 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7558 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7559 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7560 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7561 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7562
9191c04a
UD
7563 [BZ #13021]
7564 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7565 installed.
7566
bba33c28
UD
7567 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7568 typo.
7569 (_dl_x86_64_save_sse): Likewise.
7570
90f139dd
UD
75712011-07-22 Ulrich Drepper <drepper@gmail.com>
7572
1aae088a
UD
7573 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7574 OSXSAVE.
7575 (_dl_x86_64_save_sse): Likewise.
7576
8e2045f5
UD
7577 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7578
90f139dd
UD
7579 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7580
1d002f25
AS
75812011-07-21 Andreas Schwab <schwab@redhat.com>
7582
7583 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7584 change.
7585 (_dl_x86_64_save_sse): Use correct AVX check.
7586
21137f89
UD
75872011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7588
7589 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7590 bug in strncpy/strncat.
7591 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7592
a65c0b7a
UD
75932011-07-21 Ulrich Drepper <drepper@gmail.com>
7594
7595 * string/tester.c (test_strcat): Add tests for different alignments
7596 of source and destination.
7597 (test_strncat): Likewise.
7598
6986b98a
UD
75992011-07-20 Ulrich Drepper <drepper@gmail.com>
7600
90bb2039
UD
7601 [BZ #12852]
7602 * posix/glob.c (glob): Check passed in values before using them in
7603 expressions to avoid some overflows.
7604 (glob_in_dir): Likewise.
7605
5644ef54
UD
7606 [BZ #13007]
7607 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7608 check for AVX enablement so that we don't crash with old kernels and
7609 new hardware.
7610 * elf/tst-audit4.c: Add same checks here.
7611 * elf/tst-audit6.c: Likewise.
7612
7613 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 7614
bfc9dc9b
AS
76152011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7616
7617 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7618
702e64bb
UD
76192011-07-20 Ulrich Drepper <drepper@gmail.com>
7620
7621 * po/cs.po: Update from translation team.
7622 * po/bg.po: Likewise.
7623
295e904f
MP
76242011-07-12 Marek Polacek <mpolacek@redhat.com>
7625
7626 * misc/sys/cdefs.h: Add support for const attribute.
7627 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7628 to gnu_dev_{major,minor,makedev} functions.
7629
3ff94596
MP
76302011-07-20 Marek Polacek <mpolacek@redhat.com>
7631
7632 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7633
28b59fca
AS
76342011-07-20 Andreas Schwab <schwab@redhat.com>
7635
7636 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7637 strlen results.
7638
19df733e
AK
76392011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7640
7641 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7642 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7643 register in order to avoid conflicts with the soft frame pointer
7644 being held in r11 when necessary.
7645 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7646 (INTERNAL_VSYSCALL_NCS): Likewise.
7647
c8835729
MP
76482011-07-14 Marek Polacek <mpolacek@redhat.com>
7649
7650 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7651 * elf/dl-fini.c (_dl_fini): Adjust caller.
7652 * elf/dl-close.c (_dl_close_worker): Likewise.
7653 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7654
b902330c
MP
76552011-07-15 Marek Polacek <mpolacek@redhat.com>
7656
8991e135
MP
7657 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7658 "aux_cache->nlibs < 0".
7659
b902330c
MP
7660 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7661 in the reload-count case.
7662
99710781
LD
76632011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7664
7665 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7666 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7667 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7668 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7669 * sysdeps/x86_64/multiarch/strcat.S: New file.
7670 * sysdeps/x86_64/multiarch/strncat.S: New file.
7671 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7672 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7673 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7674 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7675 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7676 (USE_AS_STRCAT): Define.
7677 Add strcat and strncat support.
7678 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7679 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7680 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7681 * string/strncat.c: Update.
7682 (USE_AS_STRNCAT): Define.
7683 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7684 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7685 and i7.
7686 * sysdeps/x86_64/multiarch/init-arch.h
7687 (bit_Prefer_PMINUB_for_stringop): New.
7688 (index_Prefer_PMINUB_for_stringop): Likewise.
7689 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7690 bit_Prefer_PMINUB_for_stringop.
7691
7dc6bd90
UD
76922011-07-19 Ulrich Drepper <drepper@gmail.com>
7693
7694 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7695 buffer64.
7696 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7697 of casting of buffer.
7698 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7699 buffer32 and buffer64.
7700 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7701 writes instead of casting of buffer.
7702 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7703 buffer32.
7704 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7705 casting of buffer.
7706
e0e72284
AS
77072011-07-19 Andreas Schwab <schwab@redhat.com>
7708
7709 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7710
feb1eb0b
UD
77112011-07-19 Ulrich Drepper <drepper@gmail.com>
7712
7713 * nscd/nscd.c (termination_handler): Don't do anything for a database
7714 if it has not yet been initialized.
7715
298711ff
UD
77162011-07-18 Ulrich Drepper <drepper@gmail.com>
7717
7718 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7719
77202011-07-15 Marek Polacek <mpolacek@redhat.com>
7721
7722 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7723
f9d68389
UD
77242011-07-18 Ulrich Drepper <drepper@gmail.com>
7725
7726 * po/nl.po: Update from translation team.
7727 * po/sv.po: Likewise.
7728
db290cf5
RM
77292011-07-16 Roland McGrath <roland@hack.frob.com>
7730
7731 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7732 now disallowed by GCC.
5c550700 7733
fd5e21c7
RM
7734 * configure.in (use-default-link): Default to yes if a test -shared
7735 link meets our qualifications.
7736 * configure: Regenerated.
7737
5c550700
RM
7738 * config.make.in (output-format): New variable.
7739 * configure.in: Check for ld --print-output-format support.
7740 * configure: Regenerated.
7741 * Makerules ($(common-objpfx)format.lds)
7742 [$(output-format) != unknown]: Just use $(output-format),
7743 instead of the linker-script munging.
7744
9fa2c032
RM
77452011-07-14 Roland McGrath <roland@hack.frob.com>
7746
a6928d51
RM
7747 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7748 of $(common-objpfx)shlib.lds.
7749 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7750
661607b3
RM
7751 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7752 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7753
9fa2c032
RM
7754 * configure.in (-z relro check): Adjust test code to add a large
7755 writable data section after it.
7756 * configure: Regenerated.
7757
defe9061
RM
77582011-07-11 Roland McGrath <roland@hack.frob.com>
7759
7760 * configure.in (-z relro check): Fix test code to make the variable
7761 truly const.
7762 * configure: Regenerated.
7763
319b9ad4
UD
77642011-07-11 Ulrich Drepper <drepper@gmail.com>
7765
7766 * nscd/nscd.h (struct traced_file): Define.
7767 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7768 elements. Add traced_files.
7769 (inotify_fd): Declare.
7770 (register_traced_file): Declare.
7771 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7772 (inotify_fd): Export.
7773 (resolv_conf_descr): Remove.
7774 (nscd_init): Move inotify descriptor creation to main.
7775 Don't register files for notification here.
7776 (register_traced_file): New function.
7777 (invalidate_cache): Don't use reset_res to determine whether to call
7778 res_init, go through the list of registered files.
7779 (main_loop_poll): The inotify descriptors are now stored in the
7780 structures for the traced files.
7781 (main_loop_epoll): Likewise
7782 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7783 to __nss_disable_nscd.
7784 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7785 for a database anymore. Check the records for all the registered
7786 files instead.
7787 * nss/Makefile (libnss_files-routines): Add files-init.
7788 (libnss_db-routines): Add db-init.
7789 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7790 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7791 * nss/nss_db/db-init.c: New file.
7792 * nss/nss_files/files-init.c: New file.
7793 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7794 __nss_lookup_function.
7795 (__nss_lookup_function): Call nss_load_library.
7796 (nss_load_all_libraries): New function.
7797 (__nss_disable_nscd): Take parameter with callback function for files
7798 to register. Set is_nscd. Load all the DSOs for the NSS modules
7799 used for the cached services.
7800 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7801 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7802 options for features to all the files in nscd.
7803
7804 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7805
23bee3e8
RM
78062011-07-10 Roland McGrath <roland@hack.frob.com>
7807
7808 * csu/elf-init.c (__libc_csu_init): Comment typo.
7809
46a5b7f0
UD
78102011-07-09 Ulrich Drepper <drepper@gmail.com>
7811
7812 * po/pl.po: Update from translation team.
7813 * po/ja.po: Likewise.
7814 * po/ru.po: Likewise.
7815 * po/ko.po: Likewise.
7816 * po/fr.po: Likewise.
7817
d30cf5bb
RM
78182011-07-09 Roland McGrath <roland@hack.frob.com>
7819
113ddea4
RM
7820 * configure.in (.ctors/.dtors header and trailer check):
7821 Use an empirical test on a built program.
7822 * configure: Regenerated.
7823
574920b4
RM
7824 * configure.in (-z relro check): Use an empirical test on a built DSO.
7825 Detect, but do not require, on ia64.
7826 * configure: Regenerated.
7827
d30cf5bb
RM
7828 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7829 Update tests that use readelf to use $READELF instead.
7830 * configure: Regenerated.
7831
8538fdb3
UD
78322011-07-08 Ulrich Drepper <drepper@gmail.com>
7833
7834 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7835 if the result is not used.
7836
04d08991
AJ
78372011-07-05 Andreas Jaeger <aj@suse.de>
7838
7839 [BZ#9696]
7840 * stdlib/tst-strtod.c: Add testcase.
7841
de283087
AD
78422011-07-07 Ulrich Drepper <drepper@gmail.com>
7843
4e5f31c8 7844 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 7845 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
7846 The latter has a higher limit. Take additional parameter to pass to
7847 the new function.
7848 (__pathconf): Pass file to __statfs_link_max.
7849 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7850 __statfs_link_max.
7851 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7852 __statfs_link_max.
7853
de283087
AD
7854 [BZ #12868]
7855 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7856 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7857 Handle Lustre.
7858 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7859 (__statfs_filesize_max): Likewise.
7860 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7861
c75fa153
AJ
78622011-07-05 Andreas Jaeger <aj@suse.de>
7863
7864 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7865
1a544854
UD
78662011-07-06 Marek Polacek <mpolacek@redhat.com>
7867
7868 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7869 `status' variable.
7870 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7871 Likewise.
7872
6f0eec67
UD
78732011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7874
7875 * Makefile (strop-tests): Add strncat.
7876 * string/test-strncat.c: New file.
7877
aae30307
UD
78782011-06-30 Marek Polacek <mpolacek@redhat.com>
7879
7880 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7881
c0cfb5eb
UD
78822011-06-21 Andreas Jaeger <aj@suse.de>
7883
7884 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7885 Copy rule from iconvdata/Makefile.
7886
01636b21
UD
78872011-07-06 Ulrich Drepper <drepper@gmail.com>
7888
7889 [BZ #12922]
7890 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7891 but no long options are defined, just return 'W'.
7892
9895c8bc
UD
78932011-06-22 Marek Polacek <mpolacek@redhat.com>
7894
7895 [BZ #9696]
7896 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7897
5d4cf042
UD
78982011-07-06 Ulrich Drepper <drepper@gmail.com>
7899
7900 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7901 netgroups to read.
960e5535 7902 (innetgr): Likewise.
5d4cf042 7903
751eb97e
RM
79042011-07-05 Roland McGrath <roland@hack.frob.com>
7905
7906 * config.make.in (install_root): Default to $(DESTDIR).
7907
f15f1e45
UD
79082011-07-05 Ulrich Drepper <drepper@gmail.com>
7909
7910 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7911
4e34ac6a
RM
79122011-07-02 Roland McGrath <roland@hack.frob.com>
7913
5e9b6af4
RM
7914 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7915
84f9ea0f
RM
7916 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7917 containing directory rather than embedding absolute directory names.
7918
ea5ee9f7
RM
7919 * scripts/check-local-headers.sh: Rewritten using awk.
7920 Match by word, not by line. Print error messages for matches.
7921 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7922
1b74661a
RM
7923 * Makerules [shlib-lds-flags empty]:
7924 ($(common-objpfx)libc_pic.opts): New target.
7925 ($(common-objpfx)libc_pic.os.clean): New target.
7926 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7927
7928 * config.make.in (OBJCOPY): New variable.
7929 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7930 * configure: Regenerated.
7931
f781ef40
RM
7932 * config.make.in (use-default-link): New variable.
7933 * configure.in (use_default_link): Grok --with-default-link to set it.
7934 * configure: Regenerated.
7935 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7936 (shlib-lds, shlib-lds-flags): Define to empty.
7937
2d4fa81e
RM
7938 * Makerules (shlib-lds): New variable.
7939 (shlib-lds-flags): New variable.
7940 (build-shlib, build-moduile, build-module-asneeded): Use it.
7941 ($(common-objpfx)libc.so): Use $(shlib-lds).
7942 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7943 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7944
31fffa6b
RM
7945 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7946 DT_FLAGS/DT_FLAGS_1 with zero flags.
7947
4e34ac6a
RM
7948 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7949 linker script munging.
7950
fcfc776b
UD
79512011-07-02 Ulrich Drepper <drepper@gmail.com>
7952
7953 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7954 as 128-bit value.
7955 * crypt/sha512.c (sha512_process_block): Perform total addition using
7956 128-bit if possible.
7957 (__sha512_finish_ctx): Likewise.
7958 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7959 as 64-bit value.
7960 * crypt/sha256.c (SWAP64): Define.
7961 (sha256_process_block): Perform total addition using 64-bit if
7962 possible.
7963 (__sha256_finish_ctx): Likewise.
7964
99231d9a
UD
79652011-07-01 Ulrich Drepper <drepper@gmail.com>
7966
7967 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7968 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7969 * nscd/hstcache.c (cache_addhst): Likewise.
7970 * nscd/grpcache.c (cache_addgr): Likewise.
7971 * nscd/aicache.c (addhstaiX): Likewise
7972 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7973
445b4a53
TK
79742011-07-01 Thorsten Kukuk <kukuk@suse.de>
7975
7976 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7977 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7978 * nscd/hstcache.c (cache_addhst): Likewise.
7979 * nscd/grpcache.c (cache_addgr): Likewise.
7980 * nscd/aicache.c (addhstaiX): Likewise
7981
6d4d8e8e
AS
79822011-07-01 Andreas Schwab <schwab@redhat.com>
7983
7984 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7985 domain only when needed.
7986
89f654c5
AS
79872011-06-30 Andreas Schwab <schwab@redhat.com>
7988
7989 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7990 is always restored.
7991
cf3b23ff
UD
79922011-06-29 Ulrich Drepper <drepper@gmail.com>
7993
7994 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7995 are re-adding the entry.
7996 * nscd/servicescache.c (cache_addserv): Likewise.
7997
751626f9
AJ
79982011-06-30 Aurelien Jarno <aurelien@aurel32.net>
7999
8000 * sysdeps/generic/dl-irel.h: fix protection against multiple
8001 inclusions.
8002 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8003
9113ea1f
UD
80042011-06-28 Ulrich Drepper <drepper@gmail.com>
8005
5c0b8d90
UD
8006 [BZ #12935]
8007 * malloc/memusage.sh: Fix quoting in message.
8008 * debug/xtrace.sh: Likewise.
8009
9113ea1f
UD
8010 * configure.in: Remove support for --experimental-malloc option, make
8011 it the default.
8012 * config.make.in: Likewise.
8013 * malloc/Makefile: Likewise.
8014
a4172181
AS
80152011-06-27 Andreas Schwab <schwab@redhat.com>
8016
8017 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8018 two-byte characters.
8019
78a7eee7
RM
80202011-06-27 Roland McGrath <roland@hack.frob.com>
8021
62bede13
RM
8022 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8023 AC_CACHE_CHECK invocation.
8024 * configure: Regenerated.
8025
78a7eee7
RM
8026 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8027
5ce33a62
UD
80282011-06-27 Ulrich Drepper <drepper@gmail.com>
8029
034807a9
UD
8030 [BZ #12350]
8031 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8032 bit from old_res_options.
8033
4902da17
UD
8034 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8035
5ce33a62
UD
8036 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8037 value type for setfct.
8038
c2344f56
L
80392011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8040
8041 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8042 __gettimeofday instead of gettimeofday.
8043
68468076
UD
80442011-06-26 Ulrich Drepper <drepper@gmail.com>
8045
8046 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8047
acb0d739
L
80482011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8049
8050 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8051
8052 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8053 info.
8054
8912479f
L
80552011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8056
8057 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8058 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8059 strcpy-sse2-unaligned strncpy-sse2-unaligned
8060 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8061 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8062 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8063 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8064 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8065 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8066 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8067 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8068 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8069 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8070 (STRCPY): Support SSE2 and SSSE3 versions.
8071
d5495a11
UD
80722011-06-24 Ulrich Drepper <drepper@gmail.com>
8073
8074 [BZ #12874]
8075 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8076 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8077 kernels which artificially limit size of requests.
8078
0b1cbaae
L
80792011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8080
8081 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8082 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8083 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8084 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8085 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8086 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8087 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8088 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8089 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8090 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8091 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8092 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8093 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8094 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8095 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8097 Enable unaligned load optimization for Intel Core i3, i5 and i7
8098 processors.
8099 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8100 Define.
8101 (index_Fast_Unaligned_Load): Define.
8102 (HAS_FAST_UNALIGNED_LOAD): Define.
8103
07f494a0
MP
81042011-06-23 Marek Polacek <mpolacek@redhat.com>
8105
8106 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8107
fa3fc0fe
UD
81082011-06-22 Ulrich Drepper <drepper@gmail.com>
8109
8110 [BZ #12907]
8111 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8112 until it is clear that the information is realy needed.
8113 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8114
e12df166
AS
81152011-06-22 Andreas Schwab <schwab@redhat.com>
8116
8117 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8118
852eb34d
UD
81192011-06-22 Ulrich Drepper <drepper@gmail.com>
8120
84e2a551
UD
8121 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8122 /sys/devices/system/cpu/online if it is usable.
8123
852eb34d
UD
8124 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8125 reading the information from the /proc filesystem to once a second.
8126
6e502e19
UD
81272011-06-21 Andreas Jaeger <aj@suse.de>
8128
8129 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8130 NULL after inclusion of kernel headers.
8131
75d39ff2
UD
81322011-06-21 Ulrich Drepper <drepper@gmail.com>
8133
51f9aa6a
UD
8134 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8135 calls to internal_setent.
8136
c0244a9d
UD
8137 [BZ #12885]
8138 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8139 addresses using gethostbyname4_r ignore IPv4 addresses.
8140
c5e3c2ae
UD
8141 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8142 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8143
75d39ff2
UD
8144 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8145
42675c6f
DM
81462011-06-20 David S. Miller <davem@davemloft.net>
8147
8148 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8149 inclusions.
8150 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8151
8152 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8153 (elf_irel): Use it.
8154 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8155 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8156 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8157 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8158 * sysdeps/x86_64/dl-irel.h: Likewise.
8159
8160 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8161 * elf/dl-sym.c: Likewise.
8162
57912a71
UD
81632011-06-15 Ulrich Drepper <drepper@gmail.com>
8164
8165 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8166 need to dereference resplen2.
8167
ee22793d
AS
81682011-06-14 Andreas Schwab <schwab@redhat.com>
8169
8170 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8171
a9e836b0
UD
81722011-06-15 Ulrich Drepper <drepper@gmail.com>
8173
77fb9117
UD
8174 * Makeconfig: Define vardbdir and inst_vardbdir.
8175 * nss/Makefile: Add rules to install db-Makefile.
8176
40c1b22c
UD
8177 * nss/nss_db/db-XXX.c: Cleanup.
8178
9f2da732
UD
8179 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8180 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8181 GLIBC_PRIVATE.
8182 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8183 * nss/makedb.c: Implement -g option to specify that value strings
8184 are generated and should not be added to table iterated over for
8185 get*ent calls.
8186 * nss/nss_db/db-initgroups.c: New file.
8187
82e9a1f7
UD
8188 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8189 interface.
8190
c41af17e
UD
8191 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8192 (internal_getgrouplist): Adjust to name change.
8193 Update use_initgroups_entry if this is not the first call.
8194 * nss/databases.def: Add initgroups entry.
8195
a9e836b0
UD
8196 * nss/makedb.c (compute_tables): Check result of multiple hash table
8197 sizes to minimize maximum chain length.
8198
2666d441
UD
81992011-06-14 Ulrich Drepper <drepper@gmail.com>
8200
8201 * Versions.def: Add entry for libnss_db.
8202 * shlib-versions: Likewise.
8203 * nss/Makefile: Add rules to build libnss_db.
8204 * nss/Versions: Add libnss_db information. Organize libnss_files
8205 entries better.
8206 * nss/db-Makefile: Add gshadow support. Change rules for the new
8207 makedb progra. Some minor improvements to generate smaller files.
8208 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8209 here from...
8210 * nss/makedb.c: ...here.
8211 Improve database format to be smaller and require less memory at
8212 runtime.
8213 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8214 db anymore.
8215 * nss/nss_db/db-netgrp.c: Likewise.
8216 * nss/nss_db/db-open.c: Likewise.
8217 * nss/nss_files/flies-XXX.x: Adjust comments.
8218 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8219 * nss/nss_files/files-grp.c: Likewise.
8220 * nss/nss_files/files-hosts.c: Likewise.
8221 * nss/nss_files/files-network.c: Likewise.
8222 * nss/nss_files/files-proto.c: Likewise.
8223 * nss/nss_files/files-pwd.c: Likewise.
8224 * nss/nss_files/files-rpc.c: Likewise.
8225 * nss/nss_files/files-service.c: Likewise.
8226 * nss/nss_files/files-sgrp.c: Likewise.
8227 * nss/nss_files/files-spwd.c: Likewise.
8228 * nss/nss_db/db-alias.c: Removed.
8229 * nss/nss_db/dummy-db.h: Removed.
8230
9ee76b5a
UD
82312011-06-02 Ulrich Drepper <drepper@gmail.com>
8232
8233 * nss/makedb.c: Rewritten to not use database library.
8234 * nss/Makefile: Update to build new makedb program.
8235
c71ca1f8
AJ
82362011-06-14 Andreas Jaeger <aj@suse.de>
8237
8238 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8239 memset declaration.
8240
3154bfb8
UD
82412011-06-10 Andreas Schwab <schwab@redhat.com>
8242
8243 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8244 tmpbuf.
8245
b350afab
RM
82462011-06-10 Roland McGrath <roland@hack.frob.com>
8247
decd4e50
RM
8248 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8249 * elf/Makefile ($(objpfx)ld.so): Likewise.
8250
5615eaf2
RM
8251 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8252 Don't list ld.so twice in dependencies.
8253
8254 * posix/bug-regex31.c: Include <stdlib.h>.
8255
8256 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8257
8258 * nis/nss_compat/compat-spwd.c
8259 (getspent_next_nss_netgr): Remove unused variable.
8260 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8261
8262 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8263 nonmembers" output to use the right array.
8264
8265 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8266
8267 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8268
8269 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8270 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8271 * catgets/gencat.c (read_input_file): Likewise.
8272 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8273
8274 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8275 variable definition inside #if's controlling its use.
8276
8277 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8278
8279 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8280
8281 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8282
8283 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8284 unreachable code.
8285
8286 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8287
b68e08db
RM
8288 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8289 * configure: Regenerated.
8290
b350afab
RM
8291 * Makerules: Revert last change.
8292 * elf/Makefile: Likewise.
8293
28368601
RM
82942011-06-09 Roland McGrath <roland@hack.frob.com>
8295
8296 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8297 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8298 (reloc-link): Likewise.
8299
11988f8f
UD
83002011-06-09 Ulrich Drepper <drepper@gmail.com>
8301
8302 * elf/Makefile: Add rules to build pldd.
8303 * elf/pldd.c: New file.
8304 * elf/pldd-xx.c: New file.
8305
e80fab37
UD
83062011-06-07 Ulrich Drepper <drepper@gmail.com>
8307
8308 * version.h: Update for 2.15 development version.
8309
9b849836
DM
83102011-06-07 David S. Miller <davem@davemloft.net>
8311
8312 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8313 ifuncs.
8314 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8315 elf_machine_lazy_rel): Likewise.
8316 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8317 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8318 elf_machine_lazy_rel): Likewise.
8319 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8320 dl_hwcap via passed in argument.
8321 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8322 Likewise.
8323
5a31b283
AK
83242011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8325
8326 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8327
069e52f8
RM
83282011-06-06 Roland McGrath <roland@hack.frob.com>
8329
8330 [BZ #12849]
8331 * manual/fdl-1.1.texi: New file, verbatim from:
8332 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8333 * manual/lgpl-2.1.texi: New file, verbatim from:
8334 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8335 * manual/Makefile (licenses): New variable, list those new file names.
8336 (texis): Use it.
8337 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8338
8339 * manual/fdl.texi: File removed.
8340 * manual/lesser.texi: File removed.
8341 * manual/libc.texinfo (Copying, Documentation License):
8342 Use new @include file names, put @appendix directive before @include.
8343
f16846a5
JJ
83442011-06-04 Jakub Jelinek <jakub@redhat.com>
8345
8346 [BZ #12841]
8347 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8348 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8349 (mq_open): Add __NTH.
8350
3d29045b
L
83512011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8352
8353 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8354 Assume Intel Core i3/i5/i7 processor if AVX is available.
8355
8c297311
UD
83562011-05-31 Ulrich Drepper <drepper@gmail.com>
8357
8358 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8359 typo.
8360
c8fc0c91
UD
83612011-05-31 Andreas Schwab <schwab@redhat.com>
8362
8363 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8364 memory. Use alloca_account. Fix memory leak when retrying.
8365
5b27a807
UD
83662011-05-31 Ulrich Drepper <drepper@gmail.com>
8367
356f8bc6
UD
8368 * version.h (RELEASE): Bump for 2.14 release.
8369 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8370
5b27a807
UD
8371 * config.make.in (RANLIB): Remove entry.
8372
01f16ab0
UD
83732011-05-30 Ulrich Drepper <drepper@gmail.com>
8374
41fce8bd
UD
8375 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8376 (libc.pot): Work around missing support for .ksh extension in xgettext.
8377
4769ae77
UD
8378 [BZ #12684]
8379 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8380 if both request failed.
8381 (send_dg): In case of server errors clear resplen or *resplen2.
8382
6b1e7d19
UD
8383 [BZ #12454]
8384 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8385 when there are multiple maps.
8386 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8387 (_dl_fini): Remove test here.
8388
01f16ab0
UD
8389 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8390
b1ebd700
UD
83912011-05-29 Ulrich Drepper <drepper@gmail.com>
8392
7ae22829
UD
8393 [BZ #12350]
8394 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8395 bit from old_res_options.
8396 (gaih_inet): Likewise.
8397
553149f6 8398 [BZ #11099]
18a84741 8399 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8400 as signed.
8401
652ffab1
UD
8402 * resolv/res_init.c (res_setoptions): Make the code more compact.
8403
16985fd0
UD
8404 [BZ #11558]
8405 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8406 set RES_USEVC.
8407
0464f746
UD
8408 [BZ #11634]
8409 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8410
7d17596c
UD
8411 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8412
cf6bbbd7
UD
8413 [BZ #11781]
8414 * malloc/malloc.h: Declare malloc hook variables as volatile.
8415
13f1ab36
UD
8416 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8417 in last patch.
8418
b1ebd700
UD
8419 [BZ #11799]
8420 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 8421 raise in the comment.
80e2212d
UD
8422 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8423 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8424 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 8425
ce67228d
UD
84262011-05-28 Ulrich Drepper <drepper@gmail.com>
8427
8887a920
UD
8428 [BZ #12811]
8429 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8430 grow the buffers more if it already has to be sufficient.
8431 (build_wcs_upper_buffer): Likewise.
8432 * posix/regexec.c (check_matching): Likewise.
8433 (clean_state_log_if_needed): Likewise.
8434 (extend_buffers): Don't enlarge buffers beyond size of the input
8435 buffer.
8436 Patches mostly by Emil Wojak <emil@wojak.eu>.
8437 * posix/bug-regex32.c: New file.
8438 * posix/Makefile (tests): Add bug-regex32.
8439
4f031072
UD
8440 * locale/findlocale.c (_nl_find_locale): Return right away if
8441 _nl_explode_name failed.
8442 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8443
d0478f0c
UD
8444 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8445
de81b246
UD
8446 * debug/xtrace.sh: Unify messages.
8447 * malloc/memusage.sh: Likewise.
8448
c738465a
UD
8449 [BZ #12813]
8450 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8451 time symbol from vDSO. Substitute with vsyscall if not available.
8452 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8453 __vdso_time.
8454
f1f929d7
UD
8455 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8456 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8457 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8458 Add sendmmsg and internal_sendmmsg.
8459 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8460 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8461 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8462
ce67228d
UD
8463 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8464 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8465 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8466
e57420c6
UD
84672011-05-27 Ulrich Drepper <drepper@gmail.com>
8468
a8509ca5
UD
8469 [BZ #12813]
8470 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8471 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8472 available.
8473 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8474 __vdso_getcpu.
8475
e57420c6
UD
8476 [BZ #12814]
8477 * iconvdata/Makefile (tests): Add bug-iconv9.
8478 * iconvdata/bug-iconv9.c: New file.
8479
4d07db15
AS
84802011-05-27 Andreas Schwab <schwab@redhat.com>
8481
8482 [BZ #12814]
8483 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8484
ea486f69
JJ
84852011-05-25 Jakub Jelinek <jakub@redhat.com>
8486
8487 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8488 (struct user_regs_struct): Change intcs field back to cs.
8489
6f038433
UD
84902011-05-25 Ulrich Drepper <drepper@gmail.com>
8491
8492 * po/ja.po: Update from translation team.
8493
67f86a25
UD
84942011-05-23 Ulrich Drepper <drepper@gmail.com>
8495
8496 [BZ #12795]
8497 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8498 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8499
def7fbd6
AS
85002011-05-20 Andreas Schwab <schwab@redhat.com>
8501
8502 * stdlib/longlong.h: Update from GCC.
8503
f50ef8f1
AS
85042011-05-23 Andreas Schwab <schwab@redhat.com>
8505
8506 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8507 parameter name.
8508 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8509 Add parameter name.
8510 (__sysconf): Pass it down.
8511
de7ce8f1
UD
85122011-05-22 Ulrich Drepper <drepper@gmail.com>
8513
f2962a71
UD
8514 [BZ #12671]
8515 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8516 some situations.
8517 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8518 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8519 add in in __libc_use_alloca calls. Adjust callers.
8520 (glob): Use malloc in some situations.
8521
de7ce8f1
UD
8522 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8523 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8524 pltexit.
8525
aec84f53
UD
85262011-05-21 Ulrich Drepper <drepper@gmail.com>
8527
05bb4a68
UD
8528 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8529 and CLOCK_BOOTTIME_ALARM.
8530
7ea72f99
UD
8531 [BZ #12782]
8532 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8533 is returned.
8534
7e4afad5
UD
8535 * string/_strerror.c (__strerror_r): Print negative errors as signed
8536 numbers.
8537
8e211fec
UD
8538 [BZ #12777]
8539 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8540 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8541 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8542
f7d82dc9
UD
8543 * configure.in: Fix typo in redirection and correct removal of test
8544 files in two cases.
8545
cc9e536d
UD
8546 [BZ #12788]
8547 * locale/setlocale.c (new_composite_name): Fix test to check for
8548 identical name of all categories.
8549
aec84f53
UD
8550 [BZ #12792]
8551 * libio/filedoalloc.c (local_isatty): New function.
8552 (_IO_file_doallocate): Use local_isatty.
8553 * stdio-common/perror.c (perror): In case a new stream is used
8554 forward the stream error.
8555 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8556 error flag.
8557
78e64fdc
RT
85582011-05-20 Ulrich Drepper <drepper@gmail.com>
8559
34a9094f
UD
8560 [BZ #11869]
8561 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8562 alloca.
8563 * include/alloca.h (extend_alloca_account): Define.
8564
78e64fdc
RT
8565 [BZ #11857]
8566 * posix/regex.h: Fix comments with documentation of user-accessible
8567 fields after compilation and describe correct free'ing of pattern
8568 after re_compile_pattern.
8569 Patch by Reuben Thomas <rrt@sc3d.org>.
8570
457bddfc
RA
85712011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8572
8573 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8574 and -mno-altivec to prevent the compiler from using Altivec and/or
8575 VSX instructions when the corresponding registers are not available.
8576
a4527b51
AS
85772011-05-19 Andreas Schwab <schwab@redhat.com>
8578
8579 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8580
ed690b2f
UD
85812011-05-19 Ulrich Drepper <drepper@gmail.com>
8582
8583 * libio/freopen.c (freopen): Use __dup2, not dup2.
8584 * libio/freopen64.c (freopen64): Likewise.
8585
8db73634
L
85862011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8587
8588 [BZ #12775]
8589 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8590 * math/Makefile (tests): Add test-powl.
8591 (CFLAGS-test-powl.c): Define.
8592 * math/test-powl.c: New file.
8593
0a197a9d
L
85942011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8595
8596 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8597
ee30c380
UD
85982011-05-17 Ulrich Drepper <drepper@gmail.com>
8599
8600 [BZ #11837]
8601 * iconvdata/gb18030.c: Update to GB18020-2005.
8602
6ce75379
UD
86032011-05-16 Ulrich Drepper <drepper@gmail.com>
8604
a4b89fd8
AR
8605 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8606 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8607 Patch by Aharon Robbins <arnold@skeeve.com>.
8608
ea389b12
UD
8609 [BZ #11892]
8610 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8611 on the stack.
8612
68a3f91f
UD
8613 [BZ #11895]
8614 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8615 through underflows.
8616
15cc7dd1
UD
8617 [BZ #12766]
8618 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8619 point to strings before performing equality test for error_one_per_line
8620 mode.
8621
f3799213
UD
8622 [BZ #11697]
8623 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8624
d79a9c94
UD
8625 [BZ #11820]
8626 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8627 (struct user_fpregs_struct): Avoid __uint*_t types.
8628
56e5eb46
UD
8629 [BZ #6420]
8630 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8631 symbol info. Use it instead of calling _dl_addr locally.
8632 (lock_and_info): New function.
8633 (tr_freehook): Call lock_and_info and pass symbol info as additional
8634 parameter to tr_where.
8635 (tr_mallochook): Likewise.
8636 (tr_reallochook): Likewise.
8637 (tr_memalignhook): Likewise.
8638
6ce75379
UD
8639 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8640 used and couldn't be at all thread-safe.
8641
f8a3b5bf
UD
86422011-05-15 Ulrich Drepper <drepper@gmail.com>
8643
94b7cc37
UD
8644 * libio/freopen.c (freopen): Don't close old file descriptor
8645 before the new one is opened. Instead dup the new file descriptor
8646 to the old one after the new stream is created.
8647 * libio/freopen64.c (freopen64): Likewise.
8648 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8649 * libio/fileops.c (_IO_new_file_close_it): Handle new
8650 _IO_FLAGS2_NOCLOSE flag.
8651 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8652 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8653 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8654 _IO_FLAGS2_NOCLOSE flag.
8655 * include/unistd.h: Add hidden_proto for dup3.
8656 Define __have_dup3.
8657 * io/dup3.c: Define hidden symbol.
8658 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8659
bd25564e
UD
8660 [BZ #7101]
8661 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8662 when an incomplete long option is used.
8663 * posix/tst-getopt_long1.c: New file.
8664 * posix/Makefile (tests): Add tst-getopt_long1.
8665
c84cfef4
UD
8666 [BZ #10138]
8667 * scripts/config.guess: Update from autoconf-2.68.
8668 * scripts/config.sub: Likewise.
8669
3b85df27
UD
8670 [BZ #10157]
8671 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8672 tests into ...
8673 (has_cpuclock): ...this. New function.
8674 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8675 macro here based on has_cpuclock code.
8676
15a856b1
UD
8677 [BZ #10149]
8678 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8679 First byte (not low byte) is now always NUL.
8680 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8681
05f399e6
UD
8682 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8683 Use non-cancelable interfaces.
8684
10a52685 8685 [BZ #9809]
94ecc67d
UD
8686 * locale/iso-639.def: Add entry for Sorani.
8687
f8a3b5bf
UD
8688 [BZ #11901]
8689 * include/stdlib.h: Move include protection to the right place.
8690 Define abort_msg_s. Declare __abort_msg with it.
8691 * stdlib/abort.c (__abort_msg): Adjust type.
8692 * assert/assert.c (__assert_fail_base): New function. Majority
8693 of code from __assert_fail. Allocate memory for __abort_msg with
8694 mmap.
8695 (__assert_fail): Now call __assert_fail_base.
8696 * assert/assert-perr.c: Remove bulk of implementation. Use
8697 __assert_fail_base.
8698 * include/assert.hL Declare __assert_fail_base.
8699 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8700 mmap.
8701 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8702
1af4e298
UD
87032011-05-14 Ulrich Drepper <drepper@gmail.com>
8704
f8a3b5bf 8705 [BZ #11952]
d26dfc60
MG
8706 [BZ #12453]
8707 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8708 until all modules are registered in the DTV.
8709 * elf/Makefile: Add rules to build and run tst-tls19.
8710 * elf/tst-tls19.c: New file.
8711 * elf/tst-tls19mod1.c: New file.
8712 * elf/tst-tls19mod2.c: New file.
8713 * elf/tst-tls19mod3.c: New file.
8714 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8715
2fc54d6f
UD
8716 [BZ #12083]
8717 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8718 correctly.
8719
98d76b46
UD
8720 [BZ #12601]
8721 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8722 two-byte sequence errors.
8723 * iconvdata/Makefile (tests): Add bug-iconv8.
8724 * iconvdata/bug-iconv8.c: New file.
8725
da3c19ef
UD
8726 [BZ #12626]
8727 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8728 buf2 definition.
8729
ca408c15
UD
8730 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8731
d6f67f7d
UD
8732 [BZ #12432]
8733 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8734 (dummy_getcfa): New function.
8735 (init): Get _Unwind_GetCFA address, use dummy if not found.
8736 (backtrace_helper): In recursion check, also check whether CFA changes.
8737 (__backtrace): Completely initialize arg.
8738
1af4e298 8739 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
8740 storing incomplete byte sequence in state object. Avoid testing for
8741 guaranteed too small input if we know there is enough data available.
1af4e298 8742
da62f81b
AS
87432011-05-11 Andreas Schwab <schwab@redhat.com>
8744
8745 * Makeconfig (+link-pie): Indent.
8746 * Rules (binaries-pie): Define if $(have-fpie) and
8747 $(build-shared).
8748 (binaries-shared): Also filter out $(binaries-pie).
8749 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8750 * nscd/Makefile (others-pie): Add nscd.
8751 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8752 ($(objpfx)nscd): Remove command override.
8753 * login/Makefile (others-pie): Add pt_chown.
8754 ($(objpfx)pt_chown): Remove command override.
8755 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8756 remove command overrides.
8757
fcabc0f8
UD
87582011-05-13 Ulrich Drepper <drepper@gmail.com>
8759
20030ae6
UD
8760 * libio/tst_putwc.c: Fix error messages.
8761
fcabc0f8
UD
8762 [BZ #12724]
8763 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8764 currently writing and seek to current position when not.
8765 * libio/Makefile (tests): Add bug-fclose1.
8766 * libio/bug-fclose1.c: New file.
8767
320a5dc0
PB
87682011-05-12 Ulrich Drepper <drepper@gmail.com>
8769
8770 [BZ #12511]
8771 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8772 don't set DF_1_NODELETE here.
8773 (do_lookup_x): When entering new entry test for copy relocation
8774 and if necessary set DF_1_NODELETE flag.
8775 * elf/tst-unique4.cc: New file.
8776 * elf/tst-unique4.h: New file.
8777 * elf/tst-unique4lib.cc: New file.
8778 * elf/Makefile: Add rules to build and run tst-unique4.
8779 Patch by Piotr Bury <pbury@goahead.com>.
8780
22836f52
UD
87812011-05-11 Ulrich Drepper <drepper@gmail.com>
8782
f574184a
UD
8783 [BZ #12052]
8784 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8785
e1fb097f
UD
8786 [BZ #12625]
8787 * misc/mntent_r.c (addmntent): Flush the stream after the output
8788
22836f52
UD
8789 [BZ #12393]
8790 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8791 (is_trusted_path_normalize): Skip initial colon. Append slash
8792 to empty buffer. Duplicate is_trusted_path code but allow
8793 constructed patch to be prefix.
8794 (is_dst): Allow $ORIGIN followed by /.
8795 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8796 Correct testing of result of is_trusted_path_normalize
8797 (decompose_rpath): Fix warning.
8798
7b3b0b2a
UD
87992011-05-10 Ulrich Drepper <drepper@gmail.com>
8800
8801 [BZ #11257]
8802 * grp/initgroups.c (internal_getgrouplist): When we found the service
8803 list through the initgroups entry in nsswitch.conf do not always
8804 continue on a successful lookup. Don't always use the
eac80ce2 8805 __nss_group_database value if it is set.
7b3b0b2a
UD
8806 * nss/nsswitch.conf (initgroups): Change action for successful db
8807 lookup to continue for compatibility.
8808
2a81eaa5
UD
88092011-05-09 Ulrich Drepper <drepper@gmail.com>
8810
be97a69e
UD
8811 [BZ #11532]
8812 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8813 and CP774 modules.
8814 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8815 and CP774 modules.
8816 * iconvdata/tst-tables.sh: Likewise.
8817 * iconvdata/cp770.c: New file.
8818 * iconvdata/cp771.c: New file.
8819 * iconvdata/cp772.c: New file.
8820 * iconvdata/cp773.c: New file.
8821 * iconvdata/cp774.c: New file.
8822 * iconvdata/testdata/CP770: New file.
8823 * iconvdata/testdata/CP770..UTF8: New file.
8824 * iconvdata/testdata/CP771: New file.
8825 * iconvdata/testdata/CP771..UTF8: New file.
8826 * iconvdata/testdata/CP772: New file.
8827 * iconvdata/testdata/CP772..UTF8: New file.
8828 * iconvdata/testdata/CP773: New file.
8829 * iconvdata/testdata/CP773..UTF8: New file.
8830 * iconvdata/testdata/CP774: New file.
8831 * iconvdata/testdata/CP774..UTF8: New file.
8832
8833 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8834 END CHARMAP line.
8835 * iconvdata/gen-8bit-gap.sh: Likewise.
8836 * iconvdata/gen-8bit.sh: Likewise.
8837
c1e9e399
UD
8838 * locale/iso-639.def: Add ary entry.
8839
24c55fb3 8840 [BZ #11258]
96b4b1b0
UD
8841 * locale/C-translit.h.in: Add U20A1 transliteration.
8842
bdc2f971
KB
8843 [BZ #12178]
8844 * locale/iso-639.def: Add wae entry.
8845 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8846
2952b117
UD
8847 [BZ #12545]
8848 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8849 for n.
8850
2a81eaa5
UD
8851 [BZ #12711]
8852 * locale/C-translit.h.in: Add entry for U20B9.
8853 Patch by pravin.d.s@gmail.com.
8854
28377d1b
UD
88552011-05-08 Ulrich Drepper <drepper@gmail.com>
8856
7fb90fb8
UD
8857 [BZ #12713]
8858 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8859 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
8860 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8861 in rtld. Use *stat64.
7fb90fb8 8862 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 8863 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 8864 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
8865 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8866 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8867 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8868 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8869 __fstatat64 macros.
7fb90fb8
UD
8870 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8871 * dirent/rewinddir.c: Add libc_hidden_def.
8872 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 8873 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 8874
28377d1b
UD
8875 * include/dirent.h (__alloc_dir): Add flags parameter.
8876 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8877 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8878 __alloc_dir.
8879 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8880 from fdopendir if O_CLOEXEC is already set.
8881
66bdbaa4
AM
88822011-03-15 Alan Modra <amodra@gmail.com>
8883
8884 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8885 l_tls_firstbyte_offset non-zero. Save padding offset in
8886 l_tls_firstbyte_offset for later use.
8887 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8888 freeing static tls block.
8889
95721191
JN
88902011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8891
8892 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8893 where #ifdef was intended. The intent is to prevent ARG_MAX from
8894 being defined by the kernel headers.
8895
f87dfb1f
UD
88962011-05-07 Ulrich Drepper <drepper@gmail.com>
8897
8898 [BZ #12734]
8899 * resolv/resolv.h: Define RES_NOTLDQUERY.
8900 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8901 no-tld-query and set RES_NOTLDQUERY.
8902 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8903 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8904 modern BIND to search name as TLD unless forbidden.
8905
47c3cd7a
UD
89062011-05-07 Petr Baudis <pasky@suse.cz>
8907 Ulrich Drepper <drepper@gmail.com>
8908
8909 [BZ #12393]
8910 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8911 (is_trusted_path): ...to here.
c1e9ea35 8912 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 8913 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 8914 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 8915
8a35c912
PP
89162011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8917
8918 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8919 __BEGIN/__END_DECLS.
8920
acd41f47
UD
89212011-05-06 Ulrich Drepper <drepper@gmail.com>
8922
8923 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8924 NSS_STATUS_NOTFOUND if no record was found.
8925
597df647
AS
89262011-05-05 Andreas Schwab <schwab@redhat.com>
8927
8928 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8929 (headers-not-in-tirpc): Remove rpc/netdb.h
8930 * resolv/netdb.h: Revert last change.
8931
b9af1301
PP
89322011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8933
8934 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8935 circular dependency between libgcc.a and libc.a.
8936
4e34d5f5
AS
89372011-05-05 Andreas Schwab <schwab@redhat.com>
8938
8939 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8940 * nis/Makefile: Don't install rpcsvc/*.
8941 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8942 instead of <rpc/types.h>.
8943 (MAXHOSTNAMELEN): Define.
8944
00ee369c
AS
89452011-05-03 Andreas Schwab <schwab@redhat.com>
8946
8947 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8948
0b592a30
MB
89492011-04-28 Maciej Babinski <mbabinski@google.com>
8950
8951 [BZ #12714]
8952 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8953 gethostbyname4_r when IPv6 results are possible.
8954
6e04cbbe
UD
89552011-05-02 Ulrich Drepper <drepper@gmail.com>
8956
8957 [BZ #12723]
8958 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8959 _PC_PIPE_BUF handling.
8960
e4ecafe0
BH
89612011-04-30 Bruno Haible <bruno@clisp.org>
8962
8963 [BZ #12717]
8964 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8965 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8966 to 'int'.
8967 * inet/getnameinfo.c (getnameinfo): Likewise.
8968
125ee683
UD
89692011-04-29 Ulrich Drepper <drepper@gmail.com>
8970
8971 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8972 to groups setting in database lookup.
8973 * nss/nsswitch.conf: Add initgroups entry.
8974
b722481a
EB
89752011-04-22 Ulrich Drepper <drepper@gmail.com>
8976
8977 [BZ #12685]
8978 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8979 mode string.
8980 Patch by Eric Blake <eblake@redhat.com>.
8981
4df46dbd
L
89822011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8983
8984 * sunrpc/Makefile (need-export-routines): Add svc_run.
8985 (routines): Remove svc_run.
8986 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8987 * sunrpc/clnt_perr.c (clnt_perrno): Export.
8988 * sunrpc/svc_run.c (svc_run): Likewise.
8989 * sunrpc/svc_udp.c (svcudp_create): Likewise.
8990
e84142d2
UD
89912011-04-21 Ulrich Drepper <drepper@gmail.com>
8992
8993 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8994 problem in reallocation in last patch.
8995
877175d8
UD
89962011-04-20 Ulrich Drepper <drepper@gmail.com>
8997
8998 * sunrpc/Makefile: Move inclusion of Rules.
8999
ab8eed78
UD
90002011-04-19 Ulrich Drepper <drepper@gmail.com>
9001
9002 * nss/nss_files/files-initgroups.c: New file.
9003 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9004 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9005 _nss_files_initgroups_dyn.
9006
e3d8f584
RS
90072011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9008
9009 * elf/elf.h (R_ARM_IRELATIVE): Define.
9010
af190f45
UD
90112011-04-19 Ulrich Drepper <drepper@gmail.com>
9012
9013 * po/ru.po: Update from translation team.
9014
53cf59ef
UD
90152011-04-17 Ulrich Drepper <drepper@gmail.com>
9016
9017 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9018 dependencies.
9019
4c559bcd
MF
90202011-02-06 Mike Frysinger <vapier@gentoo.org>
9021
9022 [BZ #12653]
9023 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9024 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9025 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9026 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9027 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9028
4420675c
AS
90292011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9030
9031 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9032 differing bytes.
9033 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9034 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9035 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9036
75ea32ab
UD
90372011-04-17 Ulrich Drepper <drepper@gmail.com>
9038
9039 [BZ #12420]
9040 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9041 storing it.
9042 * stdlib/bug-getcontext.c: New file.
9043 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9044
27390476
AK
90452011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9046
9047 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9048 instructions into .machine "z9-109".
9049 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9050 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9051
10442705
AK
90522011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9053
9054 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9055 between environment variables and auxiliary vector.
9056
7b57bfe5
UD
90572011-04-16 Ulrich Drepper <drepper@gmail.com>
9058
9059 * Makefile: Add rules to build linkobj/libc.so.
9060 * include/libc-symbols.h: Define libc_hidden_nolink.
9061 * include/rpc/auth.h: Mark functions which are to be hidden.
9062 * include/rpc/auth_des.h: Likewise.
9063 * include/rpc/auth_unix.h: Likewise.
9064 * include/rpc/clnt.h: Likewise.
9065 * include/rpc/des_crypt.h: Likewise.
9066 * include/rpc/key_prot.h: Likewise.
9067 * include/rpc/pmap_clnt.h: Likewise.
9068 * include/rpc/pmap_prot.h: Likewise.
9069 * include/rpc/pmap_rmt.h: Likewise.
9070 * include/rpc/rpc_msg.h: Likewise.
9071 * include/rpc/svc.h: Likewise.
9072 * include/rpc/svc_auth.h: Likewise.
9073 * include/rpc/xdr.h: Likewise.
9074 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9075 * nss/Makefile: Likewise.
9076 * sunrpc/Makefile: Don't install headers. Build library with normal
9077 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9078 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9079 for the compat linking library. Remove use of INTDEF/INTUSE.
9080 * sunrpc/auth_none.c: Likewise.
9081 * sunrpc/auth_unix.c: Likewise.
9082 * sunrpc/authdes_prot.c: Likewise.
9083 * sunrpc/authuxprot.c: Likewise.
9084 * sunrpc/clnt_gen.c: Likewise.
9085 * sunrpc/clnt_perr.c: Likewise.
9086 * sunrpc/clnt_raw.c: Likewise.
9087 * sunrpc/clnt_simp.c: Likewise.
9088 * sunrpc/clnt_tcp.c: Likewise.
9089 * sunrpc/clnt_udp.c: Likewise.
9090 * sunrpc/clnt_unix.c: Likewise.
9091 * sunrpc/des_crypt.c: Likewise.
9092 * sunrpc/des_soft.c: Likewise.
9093 * sunrpc/get_myaddr.c: Likewise.
9094 * sunrpc/key_call.c: Likewise.
9095 * sunrpc/key_prot.c: Likewise.
9096 * sunrpc/netname.c: Likewise.
9097 * sunrpc/pm_getmaps.c: Likewise.
9098 * sunrpc/pm_getport.c: Likewise.
9099 * sunrpc/pmap_clnt.c: Likewise.
9100 * sunrpc/pmap_prot.c: Likewise.
9101 * sunrpc/pmap_prot2.c: Likewise.
9102 * sunrpc/pmap_rmt.c: Likewise.
9103 * sunrpc/publickey.c: Likewise.
9104 * sunrpc/rpc_cmsg.c: Likewise.
9105 * sunrpc/rpc_common.c: Likewise.
9106 * sunrpc/rpc_dtable.c: Likewise.
9107 * sunrpc/rpc_prot.c: Likewise.
9108 * sunrpc/rpc_thread.c: Likewise.
9109 * sunrpc/rtime.c: Likewise.
9110 * sunrpc/svc.c: Likewise.
9111 * sunrpc/svc_auth.c: Likewise.
9112 * sunrpc/svc_authux.c: Likewise.
9113 * sunrpc/svc_raw.c: Likewise.
9114 * sunrpc/svc_run.c: Likewise.
9115 * sunrpc/svc_simple.c: Likewise.
9116 * sunrpc/svc_tcp.c: Likewise.
9117 * sunrpc/svc_udp.c: Likewise.
9118 * sunrpc/svc_unix.c: Likewise.
9119 * sunrpc/svcauth_des.c: Likewise.
9120 * sunrpc/xcrypt.c: Likewise.
9121 * sunrpc/xdr.c: Likewise.
9122 * sunrpc/xdr_array.c: Likewise.
9123 * sunrpc/xdr_float.c: Likewise.
9124 * sunrpc/xdr_intXX_t.c: Likewise.
9125 * sunrpc/xdr_mem.c: Likewise.
9126 * sunrpc/xdr_rec.c: Likewise.
9127 * sunrpc/xdr_ref.c: Likewise.
9128 * sunrpc/xdr_sizeof.c: Likewise.
9129 * sunrpc/xdr_stdio.c: Likewise.
9130
e6c61494
UD
91312011-04-10 Ulrich Drepper <drepper@gmail.com>
9132
9133 [BZ #12650]
9134 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9135 * sysdeps/ia64/dl-tls.h: Likewise.
9136 * sysdeps/powerpc/dl-tls.h: Likewise.
9137 * sysdeps/s390/dl-tls.h: Likewise.
9138 * sysdeps/sh/dl-tls.h: Likewise.
9139 * sysdeps/sparc/dl-tls.h: Likewise.
9140 * sysdeps/x86_64/dl-tls.h: Likewise.
9141 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9142
34fe483e
AS
91432011-03-14 Andreas Schwab <schwab@redhat.com>
9144
9145 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9146 rpath element also skip the following colon.
9147 (expand_dynamic_string_token): Add is_path parameter and pass
9148 down to DL_DST_REQUIRED and _dl_dst_substitute.
9149 (decompose_rpath): Call expand_dynamic_string_token with
9150 non-zero is_path. Ignore empty rpaths.
9151 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9152 with zero is_path.
9153
f12a32e6
AS
91542011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9155
9156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9157 Make cancelable.
9158
38a7d692
UD
91592011-04-09 Ulrich Drepper <drepper@gmail.com>
9160
9161 [BZ #12655]
9162 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9163 Patch by Filipe David Manana <fdmanana@apache.org>.
9164
e451d22b
AS
91652011-04-07 Andreas Schwab <schwab@redhat.com>
9166
9167 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9168 Maintain aligned stack.
9169 (CHECK_RSP): Remove unused macro.
9170
dedc7c7b
UD
91712011-04-03 Ulrich Drepper <drepper@gmail.com>
9172
9173 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9174 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9175
94521213
UD
91762011-04-02 Ulrich Drepper <drepper@gmail.com>
9177
9178 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9179
8cb700c0 9180 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9181
0354e355
L
91822011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9183
9184 [BZ #12518]
9185 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9186 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9187 * sysdeps/x86_64/memmove.c: New file.
9188 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9189 (memcpy): Renamed to ...
9190 (__new_memcpy): This.
9191 (memcpy): Provide GLIBC_2_14 memcpy.
9192 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9193 (memcpy): Provide GLIBC_2_2_5 memcpy.
9194
8593482f
UD
91952011-04-01 Ulrich Drepper <drepper@gmail.com>
9196
9197 [BZ #12631]
9198 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9199
81a5726b
AS
92002011-03-30 Andreas Schwab <schwab@redhat.com>
9201
9202 * misc/syncfs.c: New file.
9203 * misc/Makefile (routines): Add syncfs.
9204 * posix/unistd.h: Declare syncfs.
9205 * sysdeps/unix/syscalls.list: Add syncfs.
9206
00e5419f
AS
92072011-04-01 Andreas Schwab <schwab@redhat.com>
9208
9209 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9210 open_by_handle_at.
9211 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9212 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9213 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9214 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9215 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9216 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9217 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9218
748876bf
UD
92192011-04-01 Ulrich Drepper <drepper@gmail.com>
9220
658e451d
UD
9221 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9222 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9223 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9224 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9225 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9226 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9227 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9228
748876bf
UD
9229 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9230 sync_file_range.c with -fexceptions.
9231 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9232 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9233 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9234 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9235 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9236 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9237 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
9238 sync_file_range as cancellation point
9239 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9240 now a wrapper around __call_sync_file_range with cancellation handling.
9241 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9242 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9243 function name to __call_sync_file_range.
9244 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9245 Add call_sync_file_range.
748876bf 9246
6e63d5e1
AS
92472011-04-01 Andreas Schwab <schwab@redhat.com>
9248
9249 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 9250 bits/timex.h.
6e63d5e1 9251
46998f74
UD
92522011-04-01 Ulrich Drepper <drepper@gmail.com>
9253
4c1423ed
UD
9254 * iconv/iconv.h: Fix typo in comment.
9255 * io/fcntl.h: Likewise.
9256 * libio/stdio.h: Likewise.
9257 * posix/spawn.h: Likewise.
9258 * posix/unistd.h: Likewise.
9259 * stdlib/stdlib.h: Likewise.
9260 * time/time.h: Likewise.
9261 * wcsmbs/wchar.h: Likewise.
9262
158648c0
UD
9263 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9264 open_by_handle): Add.
9265 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9266 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9267 Augment a few comments.
9268 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9269 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9270 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9271 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9272 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9273 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9274 open_by_handle.
9275
46998f74
UD
9276 * io/fcntl.h (AT_EMPTY_PATH): Define.
9277
83fe108b
UD
92782011-03-30 Ulrich Drepper <drepper@gmail.com>
9279
9280 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9281 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9282 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9283 to...
9284 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
9285 * Versions.def: Add GLIBC_2.14.
9286 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9287 Export.
83fe108b 9288
bb242059
UD
92892011-03-22 Ulrich Drepper <drepper@gmail.com>
9290
9291 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9292 round counter.
9293 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9294
c97a1282
L
92952011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9296
9297 [BZ #12597]
9298 * string/test-strncmp.c (do_page_test): New function.
9299 (check2): Likewise.
9300 (test_main): Call check2.
9301 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9302
2a115601
UD
93032011-03-20 Ulrich Drepper <drepper@gmail.com>
9304
9305 [BZ #12587]
9306 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9307 Handle cache information in CPU leaf 4.
9308 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9309
8126d904
UD
93102011-03-18 Ulrich Drepper <drepper@gmail.com>
9311
042c49c6 9312 [BZ #12583]
8126d904
UD
9313 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9314 character representation.
9315 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9316
ccfe366e
RA
93172011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9318
9319 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9320 END(__isnan) to END(__isnanf) to match function entry point/label
9321 EALIGN(__isnanf,...).
9322
c6e13027
JJ
93232011-03-10 Jakub Jelinek <jakub@redhat.com>
9324
9325 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9326
33f85a3f
UD
93272011-03-10 Ulrich Drepper <drepper@gmail.com>
9328
028478fa
UD
9329 [BZ #12510]
9330 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9331 copy from the symbol referenced in the relocation to initialize the
9332 used variable.
9333 Patch by Piotr Bury <pbury@goahead.com>.
9334 * elf/Makefile: Add rules to build and tst-unique3.
9335 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9336 * elf/tst-unique3.cc: New file.
9337 * elf/tst-unique3.h: New file.
9338 * elf/tst-unique3lib.cc: New file.
9339 * elf/tst-unique3lib2.cc: New file.
9340
33f85a3f
UD
9341 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9342
03592fc7
MF
93432011-03-10 Mike Frysinger <vapier@gentoo.org>
9344
9345 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9346 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9347 to _start.
03592fc7 9348
6a5ee102
UD
93492011-03-06 Ulrich Drepper <drepper@gmail.com>
9350
9351 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9352 to-be-loaded object along a path to loader is ld.so.
9353
7e4ba49c
HJ
93542011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9355 Ulrich Drepper <drepper@gmail.com>
9356
9357 * sysdeps/x86_64/memset.S: After aligning destination, code
9358 branches to different locations depending on the value of
9359 misalignment, when multiarch is enabled. Fix this.
9360
93612011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9362
9363 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9364 Set _x86_64_preferred_memory_instruction for AMD processsors.
9365 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9366 Set bit_Prefer_SSE_for_memop for AMD processors.
9367
13a804de
UD
93682011-03-04 Ulrich Drepper <drepper@gmail.com>
9369
9370 * libio/fmemopen.c (fmemopen): Optimize a bit.
9371
9d25c392
AS
93722011-03-03 Andreas Schwab <schwab@redhat.com>
9373
9374 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9375
a5543c6a
RM
93762011-03-03 Roland McGrath <roland@redhat.com>
9377
9378 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9379
012d35f7
DM
93802011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9381
7e4ba49c 9382 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9383 __bzero_ultra1 instead of __memset_ultra1.
9384
4bff6e01
AS
93852011-02-23 Andreas Schwab <schwab@redhat.com>
9386 Ulrich Drepper <drepper@gmail.com>
9387
9388 [BZ #12509]
9389 * include/link.h (struct link_map): Add l_orig_initfini.
9390 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9391 returning unsuccessfully.
9392 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9393 close of a file loaded at startup, restore the original l_initfini
9394 list.
9395 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9396 list, store the pointer.
9397 * elf/Makefile ($(objpfx)noload-mem): New rule.
9398 (noload-ENV): Define.
9399 (tests): Add $(objpfx)noload-mem.
9400 * elf/noload.c: Include <memcheck.h>.
9401 (main): Call mtrace. Close all opened handles.
9402
f2092faf
AS
94032011-02-17 Andreas Schwab <schwab@redhat.com>
9404
9405 [BZ #12454]
9406 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9407 dependencies are missing.
9408
6c8a2e88
ST
94092011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9410
f2092faf 9411 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
9412 Hurd needs munmap.
9413 * sysdeps/mach/hurd/ifreq.h: New file.
9414
84a42118
PB
94152011-01-27 Petr Baudis <pasky@suse.cz>
9416 Ulrich Drepper <drepper@gmail.com>
9417
071f805e 9418 [BZ 12445]#
84a42118
PB
9419 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9420 to extend_alloca().
9421 * stdio-common/bug23.c: New file.
9422 * stdio-common/Makefile (tests): Add bug23.
9423
e23fe25b
AS
94242010-09-28 Andreas Schwab <schwab@redhat.com>
9425 Ulrich Drepper <drepper@gmail.com>
9426
9427 [BZ #12489]
9428 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9429 before performing relro protection. At old place add assertion
9430 to make sure nothing changed.
9431
d3f02e10
NS
94322011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9433 Glauber de Oliveira Costa <glommer@gmail.com>
9434
9435 * elf/elf.h: Add new ARM TLS relocs.
9436
d55fd7a5
RA
94372011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9438
9439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9440 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9441 cast from r3.
9442 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9443 'tests' variable.
9444 * sysdeps/wordsize-64/tst-writev.c: New file.
9445
2206397e
RA
94462011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9447
9448 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9449 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9450 insns in _dl_start to prevent a TOC reference before relocs are
9451 resolved.
9452
e9433893
UD
94532011-02-15 Ulrich Drepper <drepper@gmail.com>
9454
9455 [BZ #12469]
9456 * Makeconfig: Remove RANLIB definition.
9457 * Makerules: Don't use RANLIB.
9458 * aclocal.m4: Remove ranlib test.
9459 * configure.in: No need to check for ranlib.
9460 * elf/rtld-Rules: Don't use RANLIB.
9461
f75286c6
ST
94622011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9463
8e31c82d
ST
9464 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9465 protection macro.
9466 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9467 inclusion protection macro.
9468
f75286c6
ST
9469 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9470 SIGRTMIN and SIGRTMAX and print information in that case only when
9471 SIGRTMIN is defined.
9472
c1d0e639
JJ
94732011-02-11 Jakub Jelinek <jakub@redhat.com>
9474
9475 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9476 arginfo fn returning -1.
9477
9478 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9479 and thousands string is zero terminated.
9480
edf9294e
AS
94812011-02-03 Andreas Schwab <schwab@redhat.com>
9482
9483 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9484 sysdeps/unix/sysv/linux/bits/socket.h.
9485
2b7e92df
ST
94862011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9487
edf9294e
AS
9488 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9489 (__CPU_COUNT): Remove old macros.
9490 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9491 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9492 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
9493 (__sched_cpualloc, __sched_cpufree): Add declarations.
9494
a4c7ea7b
UD
94952011-02-05 Ulrich Drepper <drepper@gmail.com>
9496
9497 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9498 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9499 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9500 (readdhstai): Return value of addhstaiX call.
9501 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9502 (addgrbyX): Return value returned by cache_addgr.
9503 (readdgrbyname): Return value returned by addgrbyX.
9504 (readdgrbygid): Likewise.
9505 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9506 (addpwbyX): Return value returned by cache_addpw.
9507 (readdpwbyname): Return value returned by addhstbyX.
9508 (readdpwbyuid): Likewise.
9509 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9510 (addservbyX): Return value returned by cache_addserv.
9511 (readdservbyname): Return value returned by addservbyX:
9512 (readdservbyport): Likewise.
9513 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9514 (addhstbyX): Return value returned by cache_addhst.
9515 (readdhstbyname): Return value returned by addhstbyX.
9516 (readdhstbyaddr): Likewise.
9517 (readdhstbynamev6): Likewise.
9518 (readdhstbyaddrv6): Likewise.
9519 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9520 (readdinitgroups): Return value returned by addinitgroupsX.
9521 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9522 (prune_cache): Keep track of timeout value of re-added entries.
9523 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9524 * nscd/nscd.h: Adjust prototypes of readd* functions.
9525
a0bf67cc
RM
95262011-02-04 Roland McGrath <roland@redhat.com>
9527
9528 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9529 (nis_stats): Likewise.
9530 * nis/nis_modify.c (nis_modify): Likewise.
9531 * nis/nis_remove.c (nis_remove): Likewise.
9532 * nis/nis_add.c (nis_add): Likewise.
9533
9534 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9535
9536 * posix/fnmatch_loop.c: Add some consts.
9537
9538 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9539
435b95eb
L
95402011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9541
9542 [BZ #12460]
9543 * config.make.in (config-cflags-novzeroupper): Define.
9544 * configure.in: Substitute libc_cv_cc_novzeroupper.
9545 * elf/Makefile (AVX-CFLAGS): Define.
9546 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9547 (CFLAGS-tst-auditmod4a.c): Likewise.
9548 (CFLAGS-tst-auditmod4b.c): Likewise.
9549 (CFLAGS-tst-auditmod6b.c): Likewise.
9550 (CFLAGS-tst-auditmod6c.c): Likewise.
9551 (CFLAGS-tst-auditmod7b.c): Likewise.
9552 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9553
8517b15e
UD
95542011-02-02 Ulrich Drepper <drepper@gmail.com>
9555
9556 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9557 function to the callback.
9558 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9559
10a656fe
AS
95602011-02-02 Andreas Schwab <schwab@redhat.com>
9561
9562 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9563 of errno.
9564
968dad0a
UD
95652011-01-19 Ulrich Drepper <drepper@gmail.com>
9566
9f94d2ea 9567 [BZ #11724]
968dad0a
UD
9568 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9569 of constructors.
9570 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9571 of destructors.
9572 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9573
9574 [BZ #11724]
9575 * elf/Makefile: Add rules to build and run new test.
9576 * elf/tst-initorder.c: New file.
9577 * elf/tst-initorder.exp: New file.
9578 * elf/tst-initordera1.c: New file.
9579 * elf/tst-initordera2.c: New file.
9580 * elf/tst-initordera3.c: New file.
9581 * elf/tst-initordera4.c: New file.
9582 * elf/tst-initorderb1.c: New file.
9583 * elf/tst-initorderb2.c: New file.
9584 * elf/tst-order-a1.c: New file.
9585 * elf/tst-order-a2.c: New file.
9586 * elf/tst-order-a3.c: New file.
9587 * elf/tst-order-a4.c: New file.
9588 * elf/tst-order-b1.c: New file.
9589 * elf/tst-order-b2.c: New file.
9590 * elf/tst-order-main.c: New file.
9591 New test case by George Gensure <werkt0@gmail.com>.
9592
86e92359
UD
95932010-10-01 Andreas Schwab <schwab@redhat.com>
9594
9595 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9596 decoding ACE if AI_CANONIDN.
9597
5d5732b0
UD
95982011-01-18 Ulrich Drepper <drepper@gmail.com>
9599
9600 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9601
a77e8cbc
UD
96022011-01-17 Ulrich Drepper <drepper@gmail.com>
9603
6392473f
UD
9604 * version.h (RELEASE): Bump for 2.13 release.
9605 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9606
620a0529
UD
9607 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9608
18ba70a5
UD
9609 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9610 MADV_NOHUGEPAGE.
32465c3e
UD
9611 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9612 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9613 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9614 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9615 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9616 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9617
c0dafcf1
UD
9618 * posix/getconf.c: Update copyright year.
9619 * catgets/gencat.c: Likewise.
9620 * csu/version.c: Likewise.
9621 * debug/catchsegv.sh: Likewise.
9622 * debug/xtrace.sh: Likewise.
9623 * elf/ldconfig.c: Likewise.
9624 * elf/ldd.bash.in: Likewise.
9625 * elf/sprof.c (print_version): Likewise.
9626 * iconv/iconv_prog.c: Likewise.
9627 * iconv/iconvconfig.c: Likewise.
9628 * locale/programs/locale.c: Likewise.
9629 * locale/programs/localedef.c: Likewise.
9630 * malloc/memusage.sh: Likewise.
9631 * malloc/mtrace.pl: Likewise.
9632 * nscd/nscd.c (print_version): Likewise.
9633 * nss/getent.c: Likewise.
9634
a77e8cbc
UD
9635 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9636 PF_CAIF, and PF_ALG.
9637 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9638
77e8bddf
AS
96392011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9640
1f20b93a
AS
9641 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9642 (modules-names): Use them.
9643 (ifunc-test-modules, ifunc-pie-tests): Define.
9644 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9645 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9646 (test-extras): Likewise.
9647 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9648 $(compile-command.c).
9649 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9650 (all-built-dso): Define.
9651 (check-textrel.out, check-execstack.out): Depend on it.
9652
77e8bddf
AS
9653 * configure.in: Don't override --enable-multi-arch.
9654
bc425b33
UD
96552011-01-15 Ulrich Drepper <drepper@gmail.com>
9656
9657 [BZ #6812]
9658 * nscd/hstcache.c (tryagain): Define.
9659 (cache_addhst): Return tryagain not notfound for temporary errors.
9660 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9661 failed.
9662
794c3ad3
UD
96632011-01-14 Ulrich Drepper <drepper@gmail.com>
9664
70181fdd
UD
9665 [BZ #10563]
9666 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9667 to make the syscall.
9668 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9669
794c3ad3
UD
9670 [BZ #12378]
9671 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9672 and fall back to matching as normal character if the string ends before
9673 the matching ']' is found. This is what POSIX requires.
9674 * posix/testfnm.c: Adjust test result.
9675 * posix/globtest.sh: Adjust test result. Add new test.
9676 * posix/tst-fnmatch.input: Likewise.
9677 * posix/tst-fnmatch2.c: Add new test.
9678
68dc9497
AS
96792010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9680
9681 * elf/Makefile (check-execstack): Revert last change. Depend on
9682 check-execstack.h.
9683 (check-execstack.h): New target.
9684 (generated): Add check-execstack.h.
9685 * elf/check-execstack.c: Include "check-execstack.h".
9686 (main): Revert last change.
9687 (handle_file): Return zero if GNU_STACK is absent and
9688 DEFAULT_STACK_PERMS doesn't include PF_X.
9689
451f001b
UD
96902011-01-13 Ulrich Drepper <drepper@gmail.com>
9691
cfa28e56
UD
9692 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9693 in child fails because the descriptor is already closed.
8cf8ce17
UD
9694 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9695 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9696 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 9697
1086d70d
UD
9698 [BZ #12397]
9699 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9700 syscall.
9701
451f001b
UD
9702 [BZ #10484]
9703 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9704 temporary buffer used to handle multi lookups locally.
a85b5cb4 9705 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 9706
08769175
UD
97072011-01-12 Ulrich Drepper <drepper@gmail.com>
9708
9709 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9710 loader is ld.so.
9711
5e49c52e
UD
97122011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9713
9714 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9715 alignment for SSE2.
9716
60522a5f
UD
97172011-01-12 Ulrich Drepper <drepper@gmail.com>
9718
9719 [BZ #12394]
9720 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9721 characters. When rounding increased number of integer digits recompute
9722 number of groups.
9723 * stdio-common/tst-grouping.c: New file.
9724 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9725
f257bbd7
UD
97262011-01-09 Ulrich Drepper <drepper@gmail.com>
9727
9728 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9729 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9730
9731 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9732 void.
9733 * bits/select.h: Likewise.
9734
fa9c15cb
UD
97352011-01-08 Ulrich Drepper <drepper@gmail.com>
9736
9737 * po/ja.po: Update from translation team.
9738
16c2895f
DM
97392011-01-04 David S. Miller <davem@sunset.davemloft.net>
9740
9741 [BZ #11155]
9742 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9743 implementation just like for lxstat, fxstatat, et al.
9744
2543fef2
JM
97452010-12-27 Jim Meyering <meyering@redhat.com>
9746
9747 [BZ #12348]
9748 * posix/regexec.c (build_trtable): Return failure indication upon
9749 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9750
98727dbe
UD
97512010-12-25 Ulrich Drepper <drepper@gmail.com>
9752
5bd6dc5c
UD
9753 [BZ #12201]
9754 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9755 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9756 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9757 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9758
97983464
UD
9759 [BZ #12207]
9760 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9761
98727dbe
UD
9762 [BZ #12204]
9763 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9764 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9765
4a531bb0
L
97662010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9767
9768 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9769 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9770 script has SORT_BY_INIT_PRIORITY.
9771 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9772 NO_CTORS_DTORS_SECTIONS is defined.
9773 * elf/soinit.c: Likewise.
9774 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9775 NO_CTORS_DTORS_SECTIONS is defined.
9776 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9777 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9778 * sysdeps/sh/init-first.c: Likewise.
9779 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9780
07eb4b71
UD
97812010-12-24 Ulrich Drepper <drepper@gmail.com>
9782
9783 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9784 always use the slow path.
9785
30950a5f
RA
97862010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9787
9788 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9789 similar rule which adds the sysdep directories to the header search in
9790 order to pick up the correct platform stackinfo.h.
9791 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9792 perform test if it is, otherwise return successfully without testing.
9793 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9794 DEFAULT_STACK_PERMS define in stackinfo.h.
9795 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9796 defined in stackinfo.h.
9797 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9798 DEFAULT_STACK_PERMS defined in stackinfo.h.
9799 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9800 * sysdeps/ia64/stackinfo.h: Likewise.
9801 * sysdeps/s390/stackinfo.h: Likewise.
9802 * sysdeps/sh/stackinfo.h: Likewise.
9803 * sysdeps/sparc/stackinfo.h: Likewise.
9804 * sysdeps/x86_64/stackinfo.h: Likewise.
9805 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9806 PF_X for powerpc64. Retain PF_X for powerpc32.
9807
db753e2c
UD
98082010-12-19 Ulrich Drepper <drepper@gmail.com>
9809
14b697f7
UD
9810 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9811 accurately.
db753e2c
UD
9812 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9813 GETDENTS_64BIT_ALIGNED.
9814
28300719
UD
98152010-12-14 Ulrich Drepper <dreper@gmail.com>
9816
14b697f7 9817 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 9818
4f197237
AS
98192010-12-10 Andreas Schwab <schwab@redhat.com>
9820
dbb0472f
AS
9821 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9822 _GNU_SOURCE.
9823
4f197237
AS
9824 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9825 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9826 Remove __restrict.
9827 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9828 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9829
fb88ac72
UD
98302010-12-09 Ulrich Drepper <drepper@gmail.com>
9831
9832 [BZ #11655]
9833 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9834 are initialized.
9835
42acbb92
JJ
98362010-12-09 Jakub Jelinek <jakub@redhat.com>
9837
9838 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9839
c038d98d
UD
98402010-12-03 Ulrich Drepper <drepper@gmail.com>
9841
9842 * po/it.po: Update from translation team.
9843
3a4a2499
L
98442010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9845
9846 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9847 unused codes.
9848
1e24cf6e
UD
98492010-11-30 Ulrich Drepper <drepper@gmail.com>
9850
9851 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9852
a7690819
AS
98532010-11-24 Andreas Schwab <schwab@redhat.com>
9854
9855 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9856 specially.
9857 (gaih_getanswer_slice): Likewise.
9858
3bf8d1b1
JJ
98592010-10-20 Jakub Jelinek <jakub@redhat.com>
9860
9861 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9862
6db52fbb
PB
98632010-05-31 Petr Baudis <pasky@suse.cz>
9864
9865 [BZ #11149]
9866 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9867 silently even in the chroot mode.
9868
eaca7569
UD
98692010-11-22 Ulrich Drepper <drepper@gmail.com>
9870
9871 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9872 last patch a bit. Pretty printing
9873
3056dcdb
UD
98742010-05-31 Petr Baudis <pasky@suse.cz>
9875
9876 [BZ #10085]
9877 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9878 initialization of skip_initgroups_dyn.
9879
cf7c9078
UD
98802010-11-19 Ulrich Drepper <drepper@gmail.com>
9881
9882 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9883 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9884
a1fb5e3e
UD
98852010-11-16 Ulrich Drepper <drepper@gmail.com>
9886
9887 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9888
3540d66b
AS
98892010-11-11 Andreas Schwab <schwab@redhat.com>
9890
9891 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9892 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9893 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9894 ($(objpfx)tst-fnmatch-mem): New rule.
9895 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9896 * posix/tst-fnmatch.c (main): Call mtrace.
9897
13b69574
L
98982010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9899
9900 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9901 Support Intel processor model 6 and model 0x2c.
9902
da93d214
LM
99032010-11-10 Luis Machado <luisgpm@br.ibm.com>
9904
9905 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9906 signed comparison.
9907
8ca52c6e
L
99082010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9909
9910 [BZ #12205]
9911 * string/test-strncasecmp.c (check_result): New function.
9912 (do_one_test): Use it.
9913 (check1): New function.
9914 (test_main): Use it.
9915 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9916 Support strcasecmp and strncasecmp.
9917
69da074d
UD
99182010-11-08 Ulrich Drepper <drepper@gmail.com>
9919
9920 [BZ #12194]
9921 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9922 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9923
ff02d528
L
99242010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9925
9926 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9927 IFUNC support.
9928 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9929 memset-x86-64.
9930 * sysdeps/x86_64/multiarch/bzero.S: New file.
9931 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9932 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9933 * sysdeps/x86_64/multiarch/memset.S: New file.
9934 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9935 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9936 Set bit_Prefer_SSE_for_memop for Intel processors.
9937 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9938 Define.
9939 (index_Prefer_SSE_for_memop): Define.
9940 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9941
344d0b54
LM
99422010-11-04 Luis Machado <luisgpm@br.ibm.com>
9943
9944 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9945 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9946
c0dde15b
UD
99472010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9948
9949 [BZ #12191]
9950 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9951 (__x86_64_raw_data_cache_size_half): Likewise.
9952 (__x86_64_raw_shared_cache_size): Likewise.
9953 (__x86_64_raw_shared_cache_size_half): Likewise.
9954
9955 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9956 (__x86_64_raw_data_cache_size_half): Likewise.
9957 (__x86_64_raw_shared_cache_size): Likewise.
9958 (__x86_64_raw_shared_cache_size_half): Likewise.
9959 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9960 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9961 and __x86_64_raw_shared_cache_size_half. Round
9962 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9963 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9964 to multiple of 256 bytes.
9965
0e516e0e
MS
99662010-11-03 Ulrich Drepper <drepper@gmail.com>
9967
9968 [BZ #12167]
9969 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9970 of inacessible symlinks. Verify result of symlink before returning it.
9971 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9972 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9973
0e012e87
ER
99742010-10-28 Erich Ritz <erichritz@gmail.com>
9975
9976 * math/math.h (isinf): Fix typo in comment.
9977
de0ff7bc
UD
99782010-11-01 Ulrich Drepper <drepper@gmail.com>
9979
9980 * po/da.po: Update from translation team.
9981
fa41c84d
UD
99822010-10-26 Ulrich Drepper <drepper@gmail.com>
9983
9984 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9985 is added to the list.
9986
f0967738
AK
99872010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9988 Ulrich Drepper <drepper@gmail.com>
9989
9990 * elf/dl-object.c (_dl_new_object): Don't append the new object to
9991 the global list here. Move code to...
9992 (_dl_add_to_namespace_list): ...here. New function.
9993 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9994 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9995 * elf/dl-load.c (lose): Don't remove the element from the list.
9996 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9997 (_dl_map_object): Likewise.
9998
99992010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
10000
10001 [BZ #12159]
10002 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10003 into all bytes of SSE register.
10004 Patch by Richard Li <richardpku@gmail.com>.
10005
f0967738 100062010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
10007
10008 [BZ #12140]
10009 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10010 perturbing.
10011
d0b9e94f
MB
100122010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10013
10014 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10015 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10016 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10017 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10019 submachine.
10020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10021
8e9f92e9
AS
100222010-10-22 Andreas Schwab <schwab@redhat.com>
10023
10024 * include/dlfcn.h (__RTLD_SECURE): Define.
10025 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10026 mode & __RTLD_SECURE instead.
10027 (open_path): Rename preloaded parameter to secure.
10028 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10029 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10030 * elf/dl-deps.c (openaux): Likewise.
10031 * elf/rtld.c (struct map_args): Remove is_preloaded.
10032 (map_doit): Don't use it.
10033 (dl_main): Likewise.
10034 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10035 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10036
bc96fbda
AS
100372010-09-09 Andreas Schwab <schwab@redhat.com>
10038
10039 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10040 (sysd-rules-targets): Remove duplicates.
10041 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10042 rtld-%.$o dependency.
10043
22cd1c9b
AS
100442010-10-18 Andreas Schwab <schwab@redhat.com>
10045
10046 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10047 _dl_map_object do it.
10048
18edac48
UD
100492010-10-19 Ulrich Drepper <drepper@gmail.com>
10050
10051 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10052 fast fma builtins, define the macros in the C99 standard.
10053 (FP_FAST_FMAF): Likewise.
10054 (FP_FAST_FMAL): Likewise.
10055 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10056
10057 * bits/mathdef.h: Update copyright year.
10058 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10059
d2050124
MM
100602010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10061
10062 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10063 builtins, define the macros in the C99 standard.
10064 (FP_FAST_FMAF): Likewise.
10065 (FP_FAST_FMAL): Likewise.
10066 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10067 multiply/add.
10068 (FP_FAST_FMAF): Likewise.
10069
475facd1
JJ
100702010-10-15 Jakub Jelinek <jakub@redhat.com>
10071
10072 [BZ #3268]
10073 * math/libm-test.inc (fma_test): Some new testcases.
10074 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10075 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10076 y and infinite z. Do multiplication by C already in long double.
10077 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10078 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10079 y and infinite z. Do bitwise or of inexact bit into u.d.
10080 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10081 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10082 * sysdeps/i386/fpu/s_fma.S: Removed.
10083 * sysdeps/i386/fpu/s_fmal.S: Removed.
10084
7c08a05c
JJ
100852010-10-16 Jakub Jelinek <jakub@redhat.com>
10086
10087 [BZ #3268]
10088 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10089 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10090 computation is not scheduled after fetestexcept. Fix value
10091 of minimum denormal long double.
10092
f3f7372d
JJ
100932010-10-14 Jakub Jelinek <jakub@redhat.com>
10094
10095 [BZ #3268]
10096 * math/libm-test.inc (fma_test): Add some more tests.
10097 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10098 correctly.
10099
14d43591
AS
101002010-10-15 Andreas Schwab <schwab@redhat.com>
10101
10102 * scripts/data/localplt-s390-linux-gnu.data: New file.
10103 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10104
5e908464
JJ
101052010-10-13 Jakub Jelinek <jakub@redhat.com>
10106
10107 [BZ #3268]
10108 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10109 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10110 instead of dbl-64.
10111 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10112 inlines.
10113 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10114 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10115 if one of x and y is very large and the other is subnormal.
10116 * sysdeps/s390/fpu/s_fmaf.c: New file.
10117 * sysdeps/s390/fpu/s_fma.c: New file.
10118 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10119 * sysdeps/powerpc/fpu/s_fma.S: New file.
10120 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10121 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10122 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10123
101242010-10-12 Jakub Jelinek <jakub@redhat.com>
10125
10126 [BZ #3268]
10127 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10128 fma tests.
10129 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10130 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10131 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10132 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10133 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10134 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10135 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10136
b833d51f
UD
101372010-10-12 Ulrich Drepper <drepper@redhat.com>
10138
10139 [BZ #12078]
10140 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10141 * posix/bug-regex31.input: Add test case.
10142
1751705d
UD
101432010-10-11 Ulrich Drepper <drepper@gmail.com>
10144
e9b9cbf5
UD
10145 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10146 * posix/bug-regex31.input: New file.
10147
10148 [BZ #12078]
10149 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10150 (parse_sub_exp): Fix last change, use postorder.
10151
ef06edbe
UD
10152 * posix/bug-regex31.c: New file.
10153 * posix/Makefile: Add rules to build and run bug-regex31.
10154
a129c80d
UD
10155 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10156
10157 [BZ #12078]
10158 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10159
b76b818e
UD
10160 [BZ #12108]
10161 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10162 to have entries in sys_siglist.
10163
1751705d
UD
10164 [BZ #12093]
10165 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10166 be NULL.
10167
9ff8d36f
JJ
101682010-10-07 Jakub Jelinek <jakub@redhat.com>
10169
10170 [BZ #3268]
10171 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10172 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10173 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10174 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10175 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10176 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10177 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10178 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10179 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10180 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10181 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10182 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10183 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10184 * math/ftestexcept.c (fetestexcept): Likewise.
10185 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10186 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10187 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10188 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10189 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10190 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10191 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10192
af325969
UD
101932010-10-11 Ulrich Drepper <drepper@gmail.com>
10194
c579b202 10195 [BZ #12107]
af325969
UD
10196 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10197 newline.
10198
67a67b95
UD
101992010-10-06 Ulrich Drepper <drepper@gmail.com>
10200
10201 * string/bug-strstr1.c: New file.
10202 * string/Makefile: Add rules to build and run bug-strstr1.
10203
5fb308bc
EB
102042010-10-05 Eric Blake <eblake@redhat.com>
10205
10206 [BZ #12092]
10207 * string/str-two-way.h (two_way_long_needle): Always clear memory
10208 when skipping input due to the shift table.
10209
45db99c7
UD
102102010-10-03 Ulrich Drepper <drepper@gmail.com>
10211
3b111893
UD
10212 [BZ #12005]
10213 * malloc/mcheck.c: Handle large requests.
10214
45db99c7
UD
10215 [BZ #12077]
10216 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10217 for strncmp and strncasecmp.
10218 * string/stratcliff.c: Add tests for strcmp and strncmp.
10219 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10220
cf7a1eb8
NI
102212010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10222
10223 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10224 __set_fpscr.
10225
6484ba5e
AJ
102262010-09-30 Andreas Jaeger <aj@suse.de>
10227
10228 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10229 (CGROUP_SUPER_MAGIC): Define.
10230 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10231 Handle btrfs and cgroup file systems.
10232 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10233 Likewise.
10234
91c42559
LM
102352010-09-27 Luis Machado <luisgpm@br.ibm.com>
10236
10237 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10238 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10239
87a97932
AK
102402010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10241
10242 [BZ #12067]
10243 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10244 trying to locate the ELF header.
10245
c21cc9bc
AS
102462010-09-27 Andreas Schwab <schwab@redhat.com>
10247
10248 [BZ #11611]
10249 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10250 Mask out sign-bit copies when constructing f_fsid.
10251
315970f6
PB
102522010-09-24 Petr Baudis <pasky@suse.cz>
10253
10254 * debug/stack_chk_fail_local.c: Add missing licence exception.
10255 * debug/warning-nop.c: Likewise.
10256
1ac7a2c7
JM
102572010-09-15 Joseph Myers <joseph@codesourcery.com>
10258
10259 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10260 implementing getdents64 using getdents syscall, set d_type if
10261 __ASSUME_GETDENTS32_D_TYPE.
10262
56801c50
AS
102632010-09-16 Andreas Schwab <schwab@redhat.com>
10264
10265 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10266 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10267
dda51327
UD
102682010-09-21 Ulrich Drepper <drepper@redhat.com>
10269
10270 [BZ #12037]
10271 * posix/unistd.h: Undo change of feature selection for ftruncate from
10272 2010-01-11.
10273
8ffcee4a
UD
102742010-09-20 Ulrich Drepper <drepper@redhat.com>
10275
a545ecd9 10276 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
10277 detection.
10278
e24f0a8b
AS
102792010-09-20 Andreas Schwab <schwab@redhat.com>
10280
10281 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10282 fanotify_mark.
10283 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10284
7291c56f
AS
102852010-09-14 Andreas Schwab <schwab@redhat.com>
10286
10287 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10288 variables after CHECK_SP call.
10289 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10290
bc5fb037
AS
102912010-09-13 Andreas Schwab <schwab@redhat.com>
10292 Ulrich Drepper <drepper@redhat.com>
10293
10294 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10295 re-relocationg ld.so.
10296 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10297 _dl_init_paths call.
10298 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10299 here anymore.
10300
e66e7419
UD
103012010-09-14 Ulrich Drepper <drepper@redhat.com>
10302
10303 * resolv/res_init.c (__res_vinit): Count the default server we added.
10304
c044aa75
CLT
103052010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10306 Ulrich Drepper <drepper@redhat.com>
10307
10308 [BZ #11968]
10309 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10310 (____longjmp_chk): Use %ebx for saving value across system call.
10311 Add unwind info.
10312
32cf4069
AS
103132010-09-06 Andreas Schwab <schwab@redhat.com>
10314
10315 * manual/Makefile: Don't mix pattern rules with normal rules.
10316
817328ee
AS
103172010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10318
10319 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10320 operation.
10321 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10322 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10323 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10324 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10325 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10326 Likewise.
10327
29fddf61
UD
103282010-09-04 Ulrich Drepper <drepper@redhat.com>
10329
10330 [BZ #11979]
10331 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10332 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10333
0959ffc9
UD
103342010-09-02 Ulrich Drepper <drepper@redhat.com>
10335
10336 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10337 * sysdeps/x86_64/addmul_1.S: Likewise.
10338 * sysdeps/x86_64/lshift.S: Likewise.
10339 * sysdeps/x86_64/mul_1.S: Likewise.
10340 * sysdeps/x86_64/rshift.S: Likewise.
10341 * sysdeps/x86_64/sub_n.S: Likewise.
10342 * sysdeps/x86_64/submul_1.S: Likewise.
10343
ece29840
ST
103442010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10345
0959ffc9
UD
10346 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10347 Define __sched_param instead of SCHED_* and sched_param when
ece29840 10348 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 10349 * bits/sched.h [__need_schedparam]
ece29840 10350 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
10351 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10352 (__defined_schedparam): Define to 1.
ece29840
ST
10353 (__sched_param): New structure, identical to sched_param.
10354 (__need_schedparam): Undefine.
10355
e53a31fe
MF
103562010-08-31 Mike Frysinger <vapier@gentoo.org>
10357
fdc0c10d
MF
10358 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10359 (epoll_create1): Declare.
10360
e53a31fe
MF
10361 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10362
a726d796
AS
103632010-08-31 Andreas Schwab <schwab@redhat.com>
10364
10365 [BZ #7066]
10366 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10367 shifting retval into place.
10368
2f3e3dc7
UD
103692010-09-01 Ulrich Drepper <drepper@redhat.com>
10370
f2933da9
UD
10371 * nis/rpcsvc/nis.h: Update copyright notice.
10372 * nis/rpcsvc/nis.x: Likewise.
10373 * nis/rpcsvc/nis_callback.h: Likewise.
10374 * nis/rpcsvc/nis_callback.x: Likewise.
10375 * nis/rpcsvc/nis_object.x: Likewise.
10376 * nis/rpcsvc/nis_tags.h: Likewise.
10377 * nis/rpcsvc/yp.h: Likewise.
10378 * nis/rpcsvc/yp.x: Likewise.
10379 * nis/rpcsvc/ypupd.h: Likewise.
10380 * nis/yp_xdr.c: Likewise.
10381 * nis/ypupdate_xdr.c: Likewise.
10382
2f3e3dc7
UD
10383 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10384 mainly the body of pmap_getport. Add parameters to specify timeouts.
10385 (pmap_getport): Use __libc_rpc_getport.
10386 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10387 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10388 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10389
f3dcc2f9
AS
103902010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10391
10392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10393 fanotify_mark.
10394
6d34eb5b
RM
103952010-08-27 Roland McGrath <roland@redhat.com>
10396
10397 * sysdeps/i386/i686/multiarch/Makefile
10398 (CFLAGS-varshift.c): New variable.
10399
9ea3de11
UD
104002010-08-27 Ulrich Drepper <drepper@redhat.com>
10401
c96d23fc
UD
10402 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10403 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10404
9ea3de11
UD
10405 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10406
10407 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10408
623aac7f
L
104092010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10410
10411 * sysdeps/x86_64/strlen.S: Unroll the loop.
10412 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10413 strlen-sse2 strlen-sse2-bsf.
10414 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10415 __strlen_no_bsf if bit_Slow_BSF is set.
10416 (__strlen_sse42): Removed.
10417 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10418 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10419
8b2b7715
RM
104202010-08-25 Roland McGrath <roland@redhat.com>
10421
10422 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10423 * sysdeps/x86_64/multiarch/varshift.c: New file.
10424 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10425 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10426 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10427 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10428
e73015f2
L
104292010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10430
10431 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10432 strlen-sse2 strlen-sse2-bsf.
10433 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10434 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10435 (__strlen_sse2): Removed.
10436 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10437 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10438 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10439 bit_Slow_BSF for Atom.
10440 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10441 (index_Slow_BSF): Define.
10442 (HAS_SLOW_BSF): Define.
10443
df24a73e
UD
104442010-08-25 Ulrich Drepper <drepper@redhat.com>
10445
10446 [BZ #10851]
10447 * resolv/res_init.c (__res_vinit): When no server address at all
10448 is given default to loopback.
10449
f2ac4868
RM
104502010-08-24 Roland McGrath <roland@redhat.com>
10451
09055553
RM
10452 * configure.in: Remove config-name.h generation.
10453 * configure: Regenerated.
10454 * config-name.in: File removed.
10455 * scripts/config-uname.sh: New file.
10456 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10457 ($(objdir)config-name.h): New target.
10458
f2ac4868
RM
10459 * sunrpc/rpc_parse.h: Avoid nested comment.
10460
73f27d5e
RH
104612010-08-24 Richard Henderson <rth@redhat.com>
10462 Ulrich Drepper <drepper@redhat.com>
10463 H.J. Lu <hongjiu.lu@intel.com>
10464
10465 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10466 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10467 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10468 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10469 _mm_alignr_epi8 with _mm_loadu_si128.
10470 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10471 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10472 (__m128i_shift_right): Removed.
10473 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10474 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10475 * sysdeps/x86_64/multiarch/varshift.h: New file.
10476 * sysdeps/x86_64/multiarch/varshift.S: New file.
10477
84b9230c
MF
104782010-08-21 Mike Frysinger <vapier@gentoo.org>
10479
10480 * configure.in: Move assembler checks to before sysdep dir checking.
10481
9bbd0ddc
PB
104822010-08-20 Petr Baudis <pasky@suse.cz>
10483
10484 * LICENSES: Sync the sunrpc license.
10485
9da4bb31
UD
104862010-08-19 Ulrich Drepper <drepper@redhat.com>
10487
a7ab6ec8
UD
10488 * sunrpc/auth_des.c: Update copyright notice once again.
10489 * sunrpc/auth_none.c: Likewise.
10490 * sunrpc/auth_unix.c: Likewise.
10491 * sunrpc/authdes_prot.c: Likewise.
10492 * sunrpc/authuxprot.c: Likewise.
10493 * sunrpc/bindrsvprt.c: Likewise.
10494 * sunrpc/clnt_gen.c: Likewise.
10495 * sunrpc/clnt_perr.c: Likewise.
10496 * sunrpc/clnt_raw.c: Likewise.
10497 * sunrpc/clnt_simp.c: Likewise.
10498 * sunrpc/clnt_tcp.c: Likewise.
10499 * sunrpc/clnt_udp.c: Likewise.
10500 * sunrpc/clnt_unix.c: Likewise.
10501 * sunrpc/des_crypt.c: Likewise.
10502 * sunrpc/des_soft.c: Likewise.
10503 * sunrpc/get_myaddr.c: Likewise.
10504 * sunrpc/getrpcport.c: Likewise.
10505 * sunrpc/key_call.c: Likewise.
10506 * sunrpc/key_prot.c: Likewise.
10507 * sunrpc/openchild.c: Likewise.
10508 * sunrpc/pm_getmaps.c: Likewise.
10509 * sunrpc/pm_getport.c: Likewise.
10510 * sunrpc/pmap_clnt.c: Likewise.
10511 * sunrpc/pmap_prot.c: Likewise.
10512 * sunrpc/pmap_prot2.c: Likewise.
10513 * sunrpc/pmap_rmt.c: Likewise.
10514 * sunrpc/rpc/auth.h: Likewise.
10515 * sunrpc/rpc/auth_unix.h: Likewise.
10516 * sunrpc/rpc/clnt.h: Likewise.
10517 * sunrpc/rpc/des_crypt.h: Likewise.
10518 * sunrpc/rpc/key_prot.h: Likewise.
10519 * sunrpc/rpc/netdb.h: Likewise.
10520 * sunrpc/rpc/pmap_clnt.h: Likewise.
10521 * sunrpc/rpc/pmap_prot.h: Likewise.
10522 * sunrpc/rpc/pmap_rmt.h: Likewise.
10523 * sunrpc/rpc/rpc.h: Likewise.
10524 * sunrpc/rpc/rpc_des.h: Likewise.
10525 * sunrpc/rpc/rpc_msg.h: Likewise.
10526 * sunrpc/rpc/svc.h: Likewise.
10527 * sunrpc/rpc/svc_auth.h: Likewise.
10528 * sunrpc/rpc/types.h: Likewise.
10529 * sunrpc/rpc/xdr.h: Likewise.
10530 * sunrpc/rpc_clntout.c: Likewise.
10531 * sunrpc/rpc_cmsg.c: Likewise.
10532 * sunrpc/rpc_common.c: Likewise.
10533 * sunrpc/rpc_cout.c: Likewise.
10534 * sunrpc/rpc_dtable.c: Likewise.
10535 * sunrpc/rpc_hout.c: Likewise.
10536 * sunrpc/rpc_main.c: Likewise.
10537 * sunrpc/rpc_parse.c: Likewise.
10538 * sunrpc/rpc_parse.h: Likewise.
10539 * sunrpc/rpc_prot.c: Likewise.
10540 * sunrpc/rpc_sample.c: Likewise.
10541 * sunrpc/rpc_scan.c: Likewise.
10542 * sunrpc/rpc_scan.h: Likewise.
10543 * sunrpc/rpc_svcout.c: Likewise.
10544 * sunrpc/rpc_tblout.c: Likewise.
10545 * sunrpc/rpc_util.c: Likewise.
10546 * sunrpc/rpc_util.h: Likewise.
10547 * sunrpc/rpcinfo.c: Likewise.
10548 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10549 * sunrpc/rpcsvc/key_prot.x: Likewise.
10550 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10551 * sunrpc/rpcsvc/mount.x: Likewise.
10552 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10553 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10554 * sunrpc/rpcsvc/rex.x: Likewise.
10555 * sunrpc/rpcsvc/rstat.x: Likewise.
10556 * sunrpc/rpcsvc/rusers.x: Likewise.
10557 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10558 * sunrpc/rpcsvc/spray.x: Likewise.
10559 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10560 * sunrpc/rtime.c: Likewise.
10561 * sunrpc/svc.c: Likewise.
10562 * sunrpc/svc_auth.c: Likewise.
10563 * sunrpc/svc_authux.c: Likewise.
10564 * sunrpc/svc_raw.c: Likewise.
10565 * sunrpc/svc_run.c: Likewise.
10566 * sunrpc/svc_simple.c: Likewise.
10567 * sunrpc/svc_tcp.c: Likewise.
10568 * sunrpc/svc_udp.c: Likewise.
10569 * sunrpc/svc_unix.c: Likewise.
10570 * sunrpc/svcauth_des.c: Likewise.
10571 * sunrpc/xcrypt.c: Likewise.
10572 * sunrpc/xdr.c: Likewise.
10573 * sunrpc/xdr_array.c: Likewise.
10574 * sunrpc/xdr_float.c: Likewise.
10575 * sunrpc/xdr_mem.c: Likewise.
10576 * sunrpc/xdr_rec.c: Likewise.
10577 * sunrpc/xdr_ref.c: Likewise.
10578 * sunrpc/xdr_sizeof.c: Likewise.
10579 * sunrpc/xdr_stdio.c: Likewise.
10580
9da4bb31
UD
10581 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10582 handling.
10583
bdaa77bc
AS
105842010-08-19 Andreas Schwab <schwab@redhat.com>
10585
10586 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10587
fe2f79db
LM
105882010-08-19 Luis Machado <luisgpm@br.ibm.com>
10589
10590 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10591 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10592 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10593 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10594 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10595 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10596 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10597 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10598 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10599 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10600 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10601 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10602 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10603 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10604
b9b42ee0
AB
106052010-07-26 Anton Blanchard <anton@samba.org>
10606
10607 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10608 * malloc/arena.c (heap_trim): Likewise.
10609
1c06ba31
UD
106102010-08-16 Ulrich Drepper <drepper@redhat.com>
10611
10612 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10613 here. Not...
10614 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10615 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10616
f8392f40
L
106172010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10618
10619 * sysdeps/i386/elf/Makefile: New file.
10620
3162f12e
AS
106212010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10622
10623 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10624 from fanotify_init.
10625 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10626 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10627
28c90b2c
UD
106282010-08-15 Ulrich Drepper <drepper@redhat.com>
10629
10630 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10631 of strncasecmp_l.
1feccb6c 10632 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 10633
ca6bb004
UD
106342010-08-14 Ulrich Drepper <drepper@redhat.com>
10635
e9f82e0d
UD
10636 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10637 strncase_l-nonascii.
10638 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10639 Add strncase_l-ssse3.
10640 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10641 * sysdeps/x86_64/strcmp.S: Likewise.
10642 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10643 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10644 * sysdeps/x86_64/strncase.S: New file.
10645 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10646 * sysdeps/x86_64/strncase_l.S: New file.
10647 * string/Makefile (strop-tests): Add strncasecmp.
10648 * string/test-strncasecmp.c: New file.
10649
10650 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10651 warning.
10652
ca6bb004
UD
10653 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10654 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10655
052fa7b3
AS
106562010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10657
10658 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10659
962dba78
UD
106602010-08-12 Ulrich Drepper <drepper@redhat.com>
10661
10662 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10663 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10664 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10665
bebff237
AM
106662010-05-01 Alan Modra <amodra@gmail.com>
10667
10668 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10669 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10670 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10671 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10672 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10673 tidying. Don't tail-call __sigjmp_save for static lib.
10674 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10675 save location.
10676 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10677 (CALL_MCOUNT): Add eh info, and nop after bl.
10678 (TAIL_CALL_SYSCALL_ERROR): New macro.
10679 (PSEUDO_RET): Use it.
10680 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10681 Correct save location of integer regs and cr.
10682 (_dl_profile_resolve): Correct cr save location. Delete nops
10683 after bl when SHARED. Reduce cfi size a little by better
10684 placement of cfi directives.
10685 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10686 make a stack frame. Instead use parm save area as a temp.
10687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10688 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10690 Don't make a stack frame for parent, use parm save area.
10691 Increase child stack frame to 112 bytes. Don't save unused reg,
10692 and adjust reg usage. Set up cfi on error recovery and
10693 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10695 (__makecontext): Add dummy nop after jump to exit.
10696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10697 Use correct parm save area and cr save, reduce stack frame.
10698 Correct cfi for possible PSEUDO_RET frame setup.
10699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10700 Branch to local label emitted by PSEUDO_RET rather than
10701 __syscall_error.
10702
02637374
AS
107032010-08-12 Andreas Schwab <schwab@redhat.com>
10704
10705 [BZ #11904]
10706 * locale/programs/locale.c (print_assignment): New function.
10707 (show_locale_vars): Use it.
10708
c3e2f19b
UD
107092010-08-11 Ulrich Drepper <drepper@redhat.com>
10710
3cdaa6ad
UD
10711 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10712 field.
10713 (struct statfs64): Likewise.
10714 (_STATFS_F_FLAGS): Define.
10715 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10716 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10717 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10718 (ST_VALID): Define locally.
10719 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10720 __statvfs_getflags, use the provided value.
10721 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10722 __ASSUME_STATFS_F_FLAGS.
10723
754f7da3
UD
10724 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10725
10b3bedc
UD
10726 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10727 Add sys/fanotify.h.
10728 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10729 fanotify_mask for GLIBC_2.13.
10730 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10731 fanotify_init and fanotify_mark.
10732 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10733 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10734
c08fb0d7
UD
10735 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10736 Add prlimit.
10737 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10738 prlimit64 for GLIBC_2.13.
10739 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10740 prlimit64.
10741 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10742 syscall.
10743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10744 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10745 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10746 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10747 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10748 add prlimit alias.
10749 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10750
15bac72b
UD
10751 [BZ #11903]
10752 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10753 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10754
c3e2f19b
UD
10755 * nss/Makefile: Add rules to build and run tst-nss-test1.
10756 * shlib-versions: Add entry for libnss_test1.
10757 * nss/nss_test1.c: New file.
10758 * nss/tst-nss-test1.c: New file.
10759
10760 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10761 (__nss_configure_lookup): Set appropriate entry in
10762 __nss_configure_lookup to true.
10763 * nss/nsswitch.h: Define enum with indeces of databases in
10764 databases and __nss_database_custom arrays. Declare
10765 __nss_database_custom.
10766 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10767 to avoid using nscd when custom rules are installed.
10768 * nss/getXXbyYY_r.c: Likewise.
10769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10770
10771 * nss/nss_files/files-parse.c: Whitespace fixes.
10772
f15ce4d8
UD
107732010-08-09 Ulrich Drepper <drepper@redhat.com>
10774
10775 [BZ #11883]
10776 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10777 * posix/fnmatch_loop.c: Likewise.
10778
d22e4cc9
AK
107792010-07-17 Andi Kleen <ak@linux.intel.com>
10780
10781 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10782 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10783 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10784 * Versions.def [GLIBC_2.13]: Add.
10785
805bc17d
UD
107862010-08-06 Ulrich Drepper <drepper@redhat.com>
10787
10788 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10789 Also fail if tpwd after pwuid call is NULL.
10790
5a42321d
ST
107912010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10792
10793 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10794 when converting to ms.
10795
fd3ebeda
ST
107962010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10797
10798 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10799 EOPNOTSUPP errors with ENOTTY.
10800 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10801 EOPNOTSUPP errors with ENOTTY.
10802
73507d3a
UD
108032010-07-31 Ulrich Drepper <drepper@redhat.com>
10804
10805 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10806 Add strcasecmp_l-ssse3.
10807 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10808 strcasecmp.
10809 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10810 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10811 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10812
fe36dd02
UD
108132010-07-30 Ulrich Drepper <drepper@redhat.com>
10814
66f6765a
UD
10815 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10816
42e08a54
UD
10817 * string/Makefile (strop-tests): Add strcasecmp.
10818 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10819 strcasecmp_l-nonascii.
10820 (gen-as-const-headers): Add locale-defines.sym.
10821 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10822 * sysdeps/x86_64/strcasecmp.S: New file.
10823 * sysdeps/x86_64/strcasecmp_l.S: New file.
10824 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10825 * sysdeps/x86_64/locale-defines.sym: New file.
10826 * string/test-strcasecmp.c: New file.
10827
fe36dd02
UD
10828 * string/test-strcasestr.c: Test both ends of the range of characters.
10829 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10830
48cbc0d6
RM
108312010-07-29 Roland McGrath <roland@redhat.com>
10832
76e6d6bc 10833 [BZ #11856]
48cbc0d6
RM
10834 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10835
880113d9
UD
108362010-07-27 Ulrich Drepper <drepper@redhat.com>
10837
10838 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10839 for ld.so.
10840
deb9cabb
AS
108412010-07-27 Andreas Schwab <schwab@redhat.com>
10842
10843 * manual/memory.texi (Malloc Tunable Parameters): Document
10844 M_PERTURB.
10845
1c7570ff
RM
108462010-07-26 Roland McGrath <roland@redhat.com>
10847
10848 [BZ #11840]
10849 * configure.in (-fgnu89-inline check): Set and substitute
10850 gnu89_inline, not libc_cv_gnu89_inline.
10851 * configure: Regenerated.
10852 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10853
24fb0f88
UD
108542010-07-26 Ulrich Drepper <drepper@redhat.com>
10855
10856 * string/test-strnlen.c: New file.
10857 * string/Makefile (strop-tests): Add strnlen.
10858 * string/tester.c (test_strnlen): Add a few more test cases.
10859 * string/tst-strlen.c: Better error reporting.
10860
10861 * sysdeps/x86_64/strnlen.S: New file.
10862
8e96b93a
UD
108632010-07-24 Ulrich Drepper <drepper@redhat.com>
10864
10865 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10866 lower-latency instructions.
10867
dbc676d4
UD
108682010-07-23 Ulrich Drepper <drepper@redhat.com>
10869
10870 * string/test-strcasestr.c: New file.
10871 * string/test-strstr.c: New file.
10872 * string/Makefile (strop-tests): Add strstr and strcasestr.
10873 * string/str-two-way.h: Don't undefine MAX.
10874 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10875
f6a31e0e
AS
108762010-07-21 Andreas Schwab <schwab@redhat.com>
10877
10878 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10879 strcasestr-nonascii.
10880 (CFLAGS-strcasestr-nonascii.c): Define.
10881 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10882 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10883 Remove unused attribute.
10884
5dbc3b6c
RM
108852010-07-20 Roland McGrath <roland@redhat.com>
10886
10887 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10888 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10889 ld.so.cache was broken. With it, there is no way to disable dsocaps
10890 like LD_HWCAP_MASK can disable hwcaps.
10891
23d101d8
EPM
108922010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10893
10894 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10895
cc9f2e47
UD
108962010-07-16 Ulrich Drepper <drepper@redhat.com>
10897
10898 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10899 call in strcasestr.
10900 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10901 __strcasestr_sse42_nonascii.
10902 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10903 strcasestr-nonascii.c.
10904 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10905
77c1b069
LM
109062010-06-15 Luis Machado <luisgpm@br.ibm.com>
10907
10908 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10909 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10910 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10911 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10912
440566c3
UD
109132010-07-09 Ulrich Drepper <drepper@redhat.com>
10914
10915 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10916 fcntl.
10917
5be9d05d
AS
109182010-07-06 Andreas Schwab <schwab@redhat.com>
10919
c30b7ee2 10920 [BZ #11577]
5be9d05d
AS
10921 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10922 dl_signal_cerror.
10923
8a492a67
UD
109242010-07-06 Ulrich Drepper <drepper@redhat.com>
10925
10926 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10927 _PC_PIPE_BUF using F_GETPIPE_SZ.
10928
713df3d5
RM
109292010-07-05 Roland McGrath <roland@redhat.com>
10930
10931 * manual/arith.texi (Rounding Functions): Fix rint description
10932 implicit in round description.
10933
702e8f14
UD
109342010-07-02 Ulrich Drepper <drepper@redhat.com>
10935
10936 * elf/Makefile: Fix linking for a few tests to make recent linker
10937 happy.
10938
52ed8be9
AS
109392010-06-30 Andreas Schwab <schwab@redhat.com>
10940
10941 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10942 $(common-objpfx)libc_nonshared.a.
10943
f47c9a11
LM
109442010-06-21 Luis Machado <luisgpm@br.ibm.com>
10945
10946 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10947 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10948 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10949 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10950 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10951 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10952 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10953 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10968 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10969 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10970 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10971 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10972 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10973 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10974 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10975 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10976 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10977 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10978 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10979 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10994
6fb8cbcb
L
109952010-06-25 H.J. Lu <hongjiu.lu@intel.com>
10996
10997 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10998 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
10999 * string/memmove.c (memmove): Renamed to ...
11000 (MEMMOVE): ...this. Default to memmove.
11001 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11002 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11003 (END_CHK): Define.
11004 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11005 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11006 mempcpy-ssse3-back memmove-ssse3-back.
11007 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11008 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11009 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11010 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11011 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11012 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11013 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11014 * sysdeps/x86_64/multiarch/memmove.c: New file.
11015 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11016 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11017 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11018 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11019 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11020 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11021 Define.
11022 (index_Fast_Copy_Backward): Define.
11023 (HAS_ARCH_FEATURE): Define.
11024 (HAS_FAST_REP_STRING): Define.
11025 (HAS_FAST_COPY_BACKWARD): Define.
11026
4e733bac 110272010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
11028
11029 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11030 Restore proper fallback handling.
11031
63c4ed22
UD
110322010-06-19 Ulrich Drepper <drepper@redhat.com>
11033
ac2b484c
UD
11034 [BZ #11701]
11035 * posix/group_member.c (__group_member): Correct checking loop.
11036
63c4ed22
UD
11037 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11038 OOM in getpwuid_r correctly. Return error number when the caller
11039 should return, otherwise -1.
11040 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11041 call returning > 0 value.
11042 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11043
765ade4b
AS
110442010-06-07 Andreas Schwab <schwab@redhat.com>
11045
11046 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11047 libc_nonshared.a from targets in modules-names.
11048
80da2e09
KS
110492010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11050
11051 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11052 requires it.
11053
158db122
LM
110542010-06-10 Luis Machado <luisgpm@br.ibm.com>
11055
11056 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11057 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11058 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11059 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11060
caa78cf8
AS
110612010-06-02 Andreas Schwab <schwab@redhat.com>
11062
11063 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11064
b2ef2c01
UD
110652010-06-14 Ulrich Drepper <drepper@redhat.com>
11066
11067 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11068 and F_GETPIPE_SZ.
11069 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11070 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11071 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11072 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11073 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11074 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11075
fbd643b6
RM
110762010-06-14 Roland McGrath <roland@redhat.com>
11077
11078 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11079
f32f2869
JJ
110802010-06-07 Jakub Jelinek <jakub@redhat.com>
11081
11082 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11083 __REDIRECT followed by __THROW.
11084 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11085 * posix/getopt.h (getopt): Likewise.
11086
2a50c078
EPM
110872010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11088
11089 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11090 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11091 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11092 in AT_FLAGS.
11093 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11094 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11095
eb5ad2eb
LM
110962010-05-28 Luis Machado <luisgpm@br.ibm.com>
11097
11098 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11099
3c88fe1e
L
111002010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11101
11102 [BZ #11640]
11103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11104 Properly check family and model.
11105
d2f73151
TY
111062010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11107
11108 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11109
ebd2e13d
LM
111102010-05-24 Luis Machado <luisgpm@br.ibm.com>
11111
11112 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11113
b32b8b45
UD
111142010-05-21 Ulrich Drepper <drepper@redhat.com>
11115
11116 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11117 symbol reference.
11118
9acbe24d
AS
111192010-05-19 Andreas Schwab <schwab@redhat.com>
11120
11121 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11122 symbol reference.
11123
f0ccf6ea
AS
111242010-05-21 Andreas Schwab <schwab@redhat.com>
11125
3d04ff3a
AS
11126 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11127 and internal_recvmmsg.
11128 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11129 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11130 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11131 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11132
f0ccf6ea
AS
11133 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11134 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11135 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11136
5b08ac57
AS
111372010-05-20 Andreas Schwab <schwab@redhat.com>
11138
11139 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11140
4828935d
LM
111412010-05-17 Luis Machado <luisgpm@br.ibm.com>
11142
11143 POWER7 optimizations.
11144 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11145 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11146
373d545e
UD
111472010-05-19 Ulrich Drepper <drepper@redhat.com>
11148
11149 * version.h: Update for 2.13 development version.
11150
21a2b1ae
AS
111512010-05-12 Andrew Stubbs <ams@codesourcery.com>
11152
11153 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11154 exceptions. Return 0.
11155
3f7dcb2b
RM
111562010-05-07 Roland McGrath <roland@redhat.com>
11157
11158 * elf/ldconfig.c (main): Add a const.
11159
5f24d53a 111602010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11161
a160f8d8
UD
11162 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11163 (args_options): Add no-idn option.
11164 (ahosts_keys_int): Add idn_flags to ai_flags.
11165 (parse_option): Handle 'i' option to clear idn_flags.
11166
5f24d53a
UD
11167 * malloc/malloc.c (_int_free): Possible race in the most recently
11168 added check. Only act on the data if no current modification
11169 happened.
265bb1ce
UD
11170
11171See ChangeLog.17 for earlier changes.