]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Merge copyright years in resolv/nss_dns/dns-host.c
[thirdparty/glibc.git] / ChangeLog
CommitLineData
6cd0a5ea
SP
12012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * resolv/nss_dns/dns-host.c: Merge copyright years.
4
4b43400f
LD
52012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6
7 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8 Optimize memcpy with prefetch if
9 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
10 src, dst pointers have unequal 16 byte alignments.
11
48c41d04
SP
122012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13
14 [BZ #13928]
15 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16 from a CNAME entry and return the minimum ttl for the query.
17 (gaih_getanswer_slice): Likewise.
18
b8dc394d
JL
192012-03-30 Jeff Law <law@redhat.com>
20
21 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22 due to long keys.
23 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25
2f5a5ed0
JL
26 * resolv/nss_dns/dns-host.c: Update copyright year.
27
1d39e359
UD
282012-03-30 Ulrich Drepper <drepper@gmail.com>
29
c030f70c 30 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 31 requests to save a system call. Fix check that all bytes are sent.
c030f70c 32
1d39e359
UD
33 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34 comments for sendmmsg.
35
362012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
37
38 [BZ #13691]
39 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
40 with only 1 character between 0x0041 and 0x01b0.
41 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42 * wcsmbs/tst-mbsnrtowcs.c: New file.
43
20fde227
DM
442012-03-29 David S. Miller <davem@davemloft.net>
45
46 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
47 small copies by hand.
48
984a4237
JL
492012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50
51 [BZ #13761]
52 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
53 _nss_compat_initgroups_dyn): Fall back to malloc/free
54 for large group memberships.
55
18c9d62b
DM
562012-03-28 David S. Miller <davem@davemloft.net>
57
88d85d4f
DM
58 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
59 that branches into memcpy.
60 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
61 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
62 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
63 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
64 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
65 bits.
66 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
67 implementation too.
68 * sysdeps/sparc/mempcpy.S: New file.
69
e5aa83e1
DM
70 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
71 the IFUNC routine in the libc case.
72 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
73
88570753
DM
74 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
75 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
76 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
77 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
78 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
79 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
80 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
81 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
82
249d7567
DM
83 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
84 loop to 256 bytes instead of 64 bytes and fix test signedness.
85
18c9d62b
DM
86 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
87 * sysdeps/sparc/sparc32/Makefile: rather than here...
88 * sysdeps/sparc/sparc64/Makefile: and here.
89
05f3d1f6
UD
902012-03-28 Ulrich Drepper <drepper@gmail.com>
91
92 * malloc/mallocbug.c: Avoid warnings about unused variables.
93
86ae07a8
JL
942012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
95
96 [BZ #13760]
97 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
98 in the right place. Discard and retry query if response is
99 larger than input buffer size.
100
41bf21a1
JM
1012012-03-28 Joseph Myers <joseph@codesourcery.com>
102
d6270972
JM
103 [BZ #369]
104 [BZ #2678]
105 [BZ #3866]
106 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
107 x for large integer exponent.
108 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
109 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
110 sign of result as needed afterwards.
111 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
112 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
113 result for underflowing pow the same as for overflow.
114 (__kernel_standard_l): Handle powl overflow and underflow here
115 rather than calling __kernel_standard.
116 * math/libm-test.inc (pow_test): Add more tests.
117
414fca03 118 [BZ #3868]
41bf21a1
JM
119 [BZ #13879]
120 [BZ #13910]
121 [BZ #13911]
122 [BZ #13912]
123 [BZ #13913]
124 [BZ #13915]
125 [BZ #13916]
126 [BZ #13917]
127 [BZ #13918]
128 [BZ #13919]
129 [BZ #13920]
130 [BZ #13921]
131 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
132 * sysdeps/ieee754/k_standard.c: Include <float.h>.
133 (__kernel_standard_l): New function.
134 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
135 __kernel_standard.
136 * math/w_acosl.c (__acosl): Likewise.
137 * math/w_asinl.c (__asinl): Likewise.
138 * math/w_atan2l.c (__atan2l): Likewise.
139 * math/w_atanhl.c (__atanhl): Likewise.
140 * math/w_coshl.c (__coshl): Likewise.
141 * math/w_exp10l.c (__exp10l): Likewise.
142 * math/w_exp2l.c (__exp2l): Likewise.
143 * math/w_fmodl.c (__fmodl): Likewise.
144 * math/w_hypotl.c (__hypotl): Likewise.
145 * math/w_j0l.c (__j0l, __y0l): Likewise.
146 * math/w_j1l.c (__j1l, __y1l): Likewise.
147 * math/w_jnl.c (__jnl, __ynl): Likewise.
148 * math/w_lgammal.c (__lgammal): Likewise.
149 * math/w_log10l.c (__log10l): Likewise.
150 * math/w_log2l.c (__log2l): Likewise.
151 * math/w_logl.c (__logl): Likewise.
152 * math/w_powl.c (__powl): Likewise.
153 * math/w_remainderl.c (__remainderl): Likewise.
154 * math/w_scalbl.c (sysv_scalbl): Likewise.
155 * math/w_sinhl.c (__sinhl): Likewise.
156 * math/w_sqrtl.c (__sqrtl): Likewise.
157 * math/w_tgammal.c (__tgammal): Likewise.
158 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
159 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
160 * math/libm-test.inc (acos_test): Add more tests.
161 (acosh_test): Likewise.
162 (asin_test): Likewise.
163 (atanh_test): Likewise.
164 (exp_test): Likewise.
165 (exp10_test): Likewise.
166 (exp2_test): Likewise.
167 (expm1_test): Likewise.
168 (lgamma_test): Likewise.
169 (log_test): Likewise.
170 (log10_test): Likewise.
171 (log1p_test): Likewise.
172 (log2_test): Likewise.
173 (pow_test): Do not allow some spurious overflow exceptions.
174 (sqrt_test): Add more tests.
175 (tgamma_test): Likewise.
176 (y0_test): Likewise.
177 (y1_test): Likewise.
178 (yn_test): Likewise.
179
dd62fda6
AB
1802012-03-27 Anton Blanchard <anton@samba.org>
181
182 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
183 MAP_HUGETLB.
184 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
185 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
186 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
187
1e3cdfda
AJ
1882012-03-27 David S. Miller <davem@davemloft.net>
189
b855ab85
DM
190 * conform/Makefile: Run run-conformtest.sh using $(BASH).
191
1e3cdfda
AJ
192 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
193 have-as-vis3 check.
194
1952012-03-27 Andreas Jaeger <aj@suse.de>
196
197 * sysdeps/x86_64/elf/configure.in: Moved to ...
198 * sysdeps/x86_64/configure.in: ... here.
199 * sysdeps/x86_64/elf/start.S: Moved to ...
200 * sysdeps/x86_64/start.S: ... here.
201 * sysdeps/x86_64/elf/configure: Delete.
202
203 * sysdeps/x86_64/configure.in: Merge contents from
204 sysdeps/i386/configure.in (without i686 check).
205
206 * sysdeps/i386/elf/Versions: Merge into ...
207 * sysdeps/i386/Versions: ... this.
208 * sysdeps/i386/elf/Versions: Delete file.
209 * sysdeps/i386/elf/start.S: Moved to ...
210 * sysdeps/i386/start.S: ...here.
211 * sysdeps/i386/elf/configure.in: Merge into...
212 * sysdeps/i386/configure.in: ...here.
213 * sysdeps/i386/elf/configure.in: Delete file.
214 * sysdeps/i386/elf/configure: Delete file.
215
216 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
217 * debug/backtracesyms.c: ... here.
218 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
219 * debug/backtracesymsfd.c: ... here.
220 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
221 * sysdeps/generic/ifunc-sel.h: ... here.
222
223 * sysdeps/unix/i386/start.c: Delete file.
224 * sysdeps/unix/sparc/start.c: Delete file.
225 * sysdeps/unix/start.c: Delete file.
226
227 * sysdeps/sh/elf/configure.in: Moved to ...
228 * sysdeps/sh/configure.in: ... here.
229 * sysdeps/sh/elf/start.S: Moved to ...
230 * sysdeps/sh/start.S: ... here.
231 * sysdeps/sh/elf/configure: Delete file.
232
233 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
234 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
235 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
236 * sysdeps/powerpc/powerpc64/entry.h: ... here.
237 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
238 * sysdeps/powerpc/powerpc64/start.S: here.
239 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
240 * sysdeps/powerpc/powerpc64/Makefile: ... this.
241 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
242 * sysdeps/powerpc/powerpc64/configure.in: ... this.
243 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
244
245 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
246 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
247 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
248 * sysdeps/powerpc/powerpc32/start.S: ... here.
249 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
250 * sysdeps/powerpc/powerpc32/configure.in: ... this.
251 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
252
253 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
254 * sysdeps/powerpc/ifunc-sel.h: ... here.
255 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
256 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
257
258 * sysdeps/sparc/elf/configure.in: Moved to ...
259 * sysdeps/sparc/configure.in: ... here.
260 * sysdeps/sparc/elf/configure: Delete file.
261 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
262 * sysdeps/sparc/sparc32/start.S: ... here.
263 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
264 * sysdeps/sparc/sparc64/start.S: ... here.
265 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
266 * sysdeps/sparc/sparc32/Makefile: ... this.
267 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
268 * sysdeps/sparc/sparc64/Makefile: ... this.
269
270 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
271 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
272 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
273 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
274 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
275 * sysdeps/s390/s390-32/setjmp.S: ... here.
276 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
277 * sysdeps/s390/s390-32/configure.in: ... here.
278 * sysdeps/s390/s390-32/elf/configure: Delete file.
279 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
280 * sysdeps/s390/s390-32/start.S: ... here.
281
282 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
283 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
284 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
285 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
286 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
287 * sysdeps/s390/s390-64/setjmp.S: ... here.
288 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
289 * sysdeps/s390/s390-64/configure.in: ... here
290 * sysdeps/s390/s390-64/elf/configure: Delete file.
291 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
292 * sysdeps/s390/s390-64/start.S: ... here.
293 * sysdeps/s390/s390-64/elf/configure: Delete.
294
295 * configure.in: Remove support for elf directories in sysdeps.
296
297 * configure: Regenerated.
298 * sysdeps/i386/configure: Regenerated.
299 * sysdeps/powerpc/powerpc32/configure: Regenerated.
300 * sysdeps/powerpc/powerpc64/configure: Regenerated.
301 * sysdeps/s390/s390-32/configure: Regenerated.
302 * sysdeps/s390/s390-64/configure: Regenerated.
303 * sysdeps/sh/configure: Regenerated.
304 * sysdeps/sparc/configure: Regenerated.
305 * sysdeps/x86_64/configure: Regenerated.
306
a3f61311
AS
3072012-03-26 Andreas Schwab <schwab@linux-m68k.org>
308
c876e002
AS
309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
310
a3f61311
AS
311 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
312 denormal result into account.
313
ac4c54f0
RM
3142012-03-25 Roland McGrath <roland@hack.frob.com>
315
316 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
317 Reported by Allan McRae <allan@archlinux.org>.
318
6a9b9c02
JL
3192012-03-23 Jeff Law <law@redhat.com>
320
321 * nss/getnssent.c (__nss_getent): Fix typo.
322
4c42a0c1
DM
3232012-03-23 David S. Miller <davem@davemloft.net>
324
325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
326
1532c7ac
L
3272012-03-23 H.J. Lu <hongjiu.lu@intel.com>
328
329 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
330 to pad to uint64_t for each field.
331 (dl_tls_index): Replace unsigned long with uint64_t.
332
3ff42526
PP
3332012-03-23 Daniel Jacobowitz <dmj@google.com>
334 Paul Pluzhnikov <ppluzhnikov@google.com>
335
336 [BZ #6528]
337 * grp/Makefile (otherlibs): Don't set it.
338 * inet/Makefile (otherlibs): Likewise.
339 * login/Makefile (otherlibs): Likewise.
340 * nscd/Makefile (otherlibs): Likewise.
341 * posix/Makefile (otherlibs): Likewise.
342 * pwd/Makefile (otherlibs): Likewise.
343 * rt/Makefile (otherlibs): Likewise.
344 * sunrpc/Makefile (otherlibs): Likewise.
345 * nss/Makefile (otherlibs): Likewise.
346 Add libnss_files to routines and static-only-routines.
347 ($(objpfx)getent): Remove rule.
348 * resolv/Makefile: Add libnss_dns and libresolv to routines and
349 static-only-routines.
350
7c69cd14
JM
3512012-03-22 Joseph Myers <joseph@codesourcery.com>
352
353 [BZ #13892]
354 * math/s_cexp.c: Include <float.h>.
355 (__cexp): Handle exp result overflowing not necessarily
356 overflowing both real and imaginary parts of result.
357 * math/s_cexpf.c: Likewise.
358 * math/s_cexpl.c: Likewise.
359 * math/libm-test.inc (cexp_test): Add more tests.
360 * sysdeps/i386/fpu/libm-test-ulps: Update.
361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
362
81b035fe
L
3632012-03-22 H.J. Lu <hongjiu.lu@intel.com>
364
365 * include/link.h (ELFW): New macro.
366 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
367 Replace ELF64_R_TYPE with ELFW(R_TYPE).
368
1da7940c
L
3692012-03-22 H.J. Lu <hongjiu.lu@intel.com>
370
371 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
372 with uint64_t.
373
b749dbb9
L
3742012-03-22 H.J. Lu <hongjiu.lu@intel.com>
375
376 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
377 declaration.
378 (struct La_x32_retval): Likewise.
379
2ff87f3f
L
3802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
381
382 * sysdeps/x86_64/preconfigure.in: New file.
383 * sysdeps/x86_64/preconfigure: New generated file.
384
c0df8e69
JM
3852012-03-22 Joseph Myers <joseph@codesourcery.com>
386
48e44791
JM
387 [BZ #13824]
388 * math/e_exp2l.c: Include <float.h>.
389 (__ieee754_exp2l): Handle overflow and underflow cases
390 separately. Only pass fractional part of argument to
391 __ieee754_expl.
392 * math/libm-test.inc (exp2_test): Add more tests.
393
c0df8e69
JM
394 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
395 negating x to take absolute value.
396 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
397 Likewise.
398 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
399 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
400 Likewise.
401 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
402 computing low part if x was negated.
403 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
404
c8e43ba7
L
4052012-03-21 H.J. Lu <hongjiu.lu@intel.com>
406
407 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
408 la_x32_gnu_pltexit.
409 (pltexit): Cast int_retval to ptrdiff_t.
410 * elf/tst-auditmod3b.c: Likewise.
411 * elf/tst-auditmod4b.c: Likewise.
412 * elf/tst-auditmod5b.c: Likewise.
413 * elf/tst-auditmod6b.c: Likewise.
414 * elf/tst-auditmod6c.c: Likewise.
415 * elf/tst-auditmod7b.c: Likewise.
416
417 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
418 and x32_gnu_pltexit.
419
420 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
421 __ELF_NATIVE_CLASS.
422 (La_x32_regs): New macro.
423 (La_x32_retval): Likewise.
424 (la_x32_gnu_pltenter): New function prototype.
425 (la_x32_gnu_pltexit): Likewise.
426
7998fa78
AS
4272012-03-21 Andreas Schwab <schwab@linux-m68k.org>
428
dcb33988
AS
429 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
430 exponent.
431
233fc563
AS
432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
433
7998fa78
AS
434 * configure.in (libc_cv_cc_nofma): Check for option to disable
435 generation of FMA instructions.
436 * configure: Regenerate.
437 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
438 * sysdeps/ieee754/dbl-64/Makefile: New file.
439 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
440 Remove brandred-fma4.
441 (CFLAGS-brandred-fma4.c): Remove.
442 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
443 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
444 define.
445 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
446 define.
447
8e95c99a
L
4482012-03-21 H.J. Lu <hongjiu.lu@intel.com>
449
450 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
451 LLONG_MAX != LONG_MAX.
452 (_itoa_word): Use _ITOA_WORD_TYPE on value.
453 (_fitoa_word): Likewise.
454 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
455 LLONG_MAX != LONG_MAX.
456 * stdio-common/_itowa.h: Include <_itoa.h>.
457 (_itowa_word): Use _ITOA_WORD_TYPE on value.
458 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
459 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
460 only if not defined.
461 (_ITOA_WORD_TYPE): Likewise.
462 (_itoa_word): Use _ITOA_WORD_TYPE on value.
463 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
464
6f4db457
DM
4652012-03-21 David S. Miller <davem@davemloft.net>
466
467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
468
7785fe5a
L
4692012-03-21 H.J. Lu <hongjiu.lu@intel.com>
470
471 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
472 of x86_64 when setting libc_cv_slibdir, libdir and
473 libc_cv_localedir.
474 * sysdeps/unix/sysv/linux/configure: Regenerated.
475
4535cd55
JM
4762012-03-21 Joseph Myers <joseph@codesourcery.com>
477
478 * manual/lang.texi (Old Varargs): Remove section.
479 (How Variadic): Update menu.
480 (va_start): Do not mention varargs.h.
481
17228132
TS
4822012-03-21 Thomas Schwinge <thomas@codesourcery.com>
483 Joseph Myers <joseph@codesourcery.com>
484
485 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
486 link test.
487 * configure: Regenerated.
488
8149f976
TS
4892012-03-21 Thomas Schwinge <thomas@codesourcery.com>
490
05f3d1f6
UD
491 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
492 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
493 conformtest.pl
8149f976 494
1a4ac776
JM
4952012-03-21 Joseph Myers <joseph@codesourcery.com>
496
be22ce65
JM
497 * NOTES: Remove.
498 * Makefile (files-for-dist): Remove NOTES.
499 (NOTES): Remove rule.
500 * README: Don't refer to NOTES.
501 * manual/creature.texi: Don't include macros.texi.
502 * manual/intro.texi (creature.texi): Remove comment referring to
503 NOTES.
504
40b601fb
JM
505 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
506 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
507 * configure: Regenerated.
508 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
509 LIBC_TRY_CC_OPTION.
510 (libc_cv_as_i686): Likewise.
511 (libc_cv_cc_avx): Likewise.
512 (libc_cv_cc_sse2avx): Likewise.
513 (libc_cv_cc_fma4): Likewise.
514 (libc_cv_cc_novzeroupper): Likewise.
515 * sysdeps/i386/configure: Regenerated.
516
1a4ac776
JM
517 [BZ #13883]
518 * sysdeps/i386/fpu/s_cexp.S: Remove.
519 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
520 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
521 * math/libm-test.inc (cexp_test): Add more tests.
522 * sysdeps/i386/fpu/libm-test-ulps: Update.
523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
524
a458e7fe
AM
5252012-03-21 Allan McRae <allan@archlinux.org>
526
527 * timezone/Makefile: Do not install iso3166.tab and zone.tab
528
0cb7efc5
JM
5292012-03-21 Joseph Myers <joseph@codesourcery.com>
530
531 [BZ #13871]
532 * math/w_exp2.c: Do not include <float.h>.
533 (o_threshold, u_threshold): Remove.
534 (__exp2): Calculate result before checking finiteness and calling
535 __kernel_standard.
536 * math/w_exp2f.c: Likewise.
537 * math/w_exp2l.c: Likewise.
538 * math/libm-test.inc (exp2_test): Require overflow exception for
539 1e6 input.
2460d3aa
JM
540
541 [BZ #3866]
542 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
543 range of signed 64-bit integers before using fistpll. Remove
544 checks for whether integers fit in mantissa bits.
545 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
546 the range of signed 32-bit integers before using fistpl. Remove
547 checks for whether integers fit in mantissa bits.
548 * sysdeps/i386/fpu/e_powl.S (p64): New object.
549 (__ieee754_powl): Test for y outside the range of signed 64-bit
550 integers before using fistpll. Reduce 64-bit values to 63-bit
551 ones as needed.
552 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
553 divide-by-zero is raised for zero to large negative powers.
554 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
555 (__ieee754_powl): Test for y outside the range of signed 64-bit
556 integers before using fistpll. Reduce 64-bit values to 63-bit
557 ones as needed.
558 * math/libm-test.inc (pow_test): Add more tests.
559
eb96ffb0
L
5602012-03-20 H.J. Lu <hongjiu.lu@intel.com>
561
562 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
563 <stdio-common/_itoa.h>.
564 * debug/segfault.c: Likewise.
565 * elf/dl-cache.c: Likewise.
566 * elf/dl-minimal.c: Likewise.
567 * elf/dl-misc.c: Likewise.
568 * elf/dl-sysdep.c: Likewise.
569 * elf/dl-version.c: Likewise.
570 * elf/rtld.c: Likewise.
571 * hurd/hurdsock.c: Likewise.
572 * hurd/lookup-retry.c: Likewise.
573 * malloc/malloc.c: Likewise.
574 * malloc/mtrace.c: Likewise.
575 * nscd/nscd_getgr_r.c: Likewise.
576 * nscd/nscd_getpw_r.c: Likewise.
577 * nscd/nscd_getserv_r.c: Likewise.
578 * posix/getopt_init.c: Likewise.
579 * posix/wordexp.c: Likewise.
580 * stdio-common/_itoa.c: Likewise.
581 * stdio-common/printf_fphex.c: Likewise.
582 * stdio-common/vfprintf.c: Likewise.
583 * string/_strerror.c: Likewise.
584 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
585 * sysdeps/i386/i686/hp-timing.h: Likewise.
586 * sysdeps/mach/_strerror.c: Likewise.
587 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
588 * sysdeps/mach/hurd/sethostid.c: Likewise.
589 * sysdeps/mach/hurd/xmknodat.c: Likewise.
590 * sysdeps/mach/xpg-strerror.c: Likewise.
591 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
592 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
593 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
594 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
595 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
596 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
597 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
598 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
599 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
600 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
601 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
602 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
603 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
604 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
605 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
606 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
607 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
608 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
609 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
610 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
611 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
612
613 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
614
615 * stdio-common/_itoa.h: Moved to ...
616 * sysdeps/generic/_itoa.h: Here.
617
618 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
619
620 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
621 instead of "_itoa.h" and "_itowa.h".
622 * stdio-common/vfprintf.: Likewise.
623
d1af992d
L
6242012-03-20 H.J. Lu <hongjiu.lu@intel.com>
625
626 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
627 <bits/wordsize.h>.
628 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
629 (__signbit): Likwise.
630 (llrintf): Likwise.
631 (llrint): Likwise.
632
114883e0
L
6332012-03-20 H.J. Lu <hongjiu.lu@intel.com>
634
635 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
636 __WORDSIZE != 64.
637
c135cc1b
JM
6382012-03-20 Joseph Myers <joseph@codesourcery.com>
639
640 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
641 OVERFLOW_EXCEPTION_OK.
642 * math/libm-test.inc ("Philosophy"): Update comment about
643 exception testing.
644 (OVERFLOW_EXCEPTION): Define.
645 (OVERFLOW_EXCEPTION_OK): Likewise.
646 (INVALID_EXCEPTION_OK): Renumber.
647 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
648 (IGNORE_ZERO_INF_SIGN): Likewise.
649 (test_exceptions): Handle FE_OVERFLOW.
650 (exp10_test): Expect overflow exceptions.
651 (exp2_test): Likewise.
652 (expm1_test): Likewise.
653 (nextafter_test): Likewise.
654 (pow_test): Likewise.
655 (scalbn_test): Likewise.
656 (scalbln_test): Likewise.
657
95443d88
L
6582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
659
660 * sysdeps/x86_64/bits/atomic.h
661 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
662 64bit integer.
663 (atomic_exchange_acq): Likewise.
664 (__arch_exchange_and_add_body): Likewise.
665 (__arch_add_body): Likewise.
666 (atomic_add_negative): Likewise.
667 (atomic_add_zero): Likewise.
668
490df6c4
L
6692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
670
c2722551 671 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
672 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
673
5e52b189
L
6742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
675
676 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
677 Check __x86_64__ instead of __WORDSIZE.
678
a9879d4c
L
6792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
680
681 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
682
5df98260
DM
6832012-03-19 David S. Miller <davem@davemloft.net>
684
e1497744
DM
685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
686
5df98260
DM
687 * sysdeps/sparc/fpu/fenv_private.h: New file.
688 * sysdeps/sparc/fpu/math_private.h: Use it.
689 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
690 Remove.
691 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
692 (libc_feholdexcept_setroundl): Remove.
693 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
694 Remove.
695 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
696 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
697
b4c35121
L
6982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
699
700 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
701 int64_t instead of long int.
702 (INSERT_WORDS64): Likwise.
703
56965fd7
L
7042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
705
706 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
707 _Unwind_GetCFA return to _Unwind_Ptr first.
708
83d1aec8
JM
7092012-03-19 Joseph Myers <joseph@codesourcery.com>
710
1897ad44
JM
711 [BZ #13629]
712 * math/s_clog.c: Include <float.h>.
713 (__clog): Scale large or subnormal inputs.
714 * math/s_clogf.c: Likewise.
715 * math/s_clogl.c: Likewise.
716 * math/s_clog10.c: Include <float.h>.
717 (M_LOG10_2): Define.
718 (__clog10): Scale large or subnormal inputs.
719 * math/s_clog10f.c: Likewise.
720 * math/s_clog10l.c: Likewise.
721 * math/libm-test.inc (clog_test): Add more tests.
722 (clog10_test): Likewise.
723 * sysdeps/i386/fpu/libm-test-ulps: Update.
724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
725
7726d6a9
JM
726 [BZ #11451]
727 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
728 x and y.
729 * math/libm-test.inc (atan2_test): Add another test.
730
83d1aec8
JM
731 * Makerules (common-objdir-compile): Remove.
732 * sysdeps/unix/Makefile (config-generated): Do not add
733 $(unix-generated) to variable.
734 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
735 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
736 Remove rule.
737 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
738 Likewise.
739 [generic bits/local_lim.h] (before-compile): Do not append to
740 variable.
741 [generic bits/local_lim.h] (common-generated): Likewise.
742 [generic sys/param.h] (before-compile): Do not append to variable.
743 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
744 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
745 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
746 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
747 include.
748 [generic sys/param.h] (sys/param.h-includes): Remove variable.
749 [generic sys/param.h] (sys/param.h-includes): Remove rule.
750 [generic sys/param.h] ($(addprefix
751 $(common-objpfx),$(sys/param.h-includes))): Likewise.
752 [generic sys/param.h] (common-generated): Do not append to
753 variable.
754 [generic sys/param.h] (sysdep_headers): Likewise.
755 [generic bits/errno.h] (before-compile): Do not append to
756 variable.
757 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
758 rule.
759 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
760 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
761 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
762 [generic bits/errno.h] (common-generated): Do not append to
763 variable.
764 [generic bits/ioctls.h] (before-compile): Do not append to
765 variable.
766 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
767 rule.
768 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
769 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
770 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
771 rule.
772 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
773 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
774 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
775 [generic bits/ioctls.h] (common-generated): Do not append to
776 variable.
777 [generic sys/syscall.h] (syscall.h): Remove variable.
778 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
779 rule.
780 [generic sys/syscall.h] (before-compile): Do not append to
781 variable.
782 [generic sys/syscall.h] (common-generated): Likewise.
783 * sysdeps/unix/errnos-tmpl.c: Remove file.
784 * sysdeps/unix/errnos.awk: Likewise.
785 * sysdeps/unix/ioctls-tmpl.c: Likewise.
786 * sysdeps/unix/ioctls.awk: Likewise.
787 * sysdeps/unix/mk-local_lim.c: Likewise.
788 * sysdeps/unix/snarf-ioctls: Likewise.
789
4851a949
RH
7902012-03-19 Richard Henderson <rth@twiddle.net>
791
bd37f2ee
RH
792 * sysdeps/i386/fpu/fenv_private.h: New file.
793 * sysdeps/i386/fpu/math_private.h: Use it.
794 (math_opt_barrier, math_force_eval): Remove.
795 (libc_feholdexcept_setround_53bit): Remove.
796 (libc_feupdateenv_53bit): Remove.
797 * sysdeps/x86_64/fpu/math_private.h: Likewise.
798 (math_opt_barrier, math_force_eval): Remove.
799 (libc_feholdexcept): Remove.
800 (libc_feholdexcept_setround): Remove.
801 (libc_fetestexcept, libc_fesetenv): Remove.
802 (libc_feupdateenv_test): Remove.
803 (libc_feupdateenv, libc_feholdsetround): Remove.
804 (libc_feresetround): Remove.
805
d0adc922
RH
806 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
807 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
808
0fe0f1f8
RH
809 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
810 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
811 (libc_feupdateenv_testl): New.
812 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
813 (libc_feupdateenv_testf): New.
814 (libc_feupdateenv): Use libc_feupdateenv_test.
815 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
816 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
817
eb92c487
RH
818 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
819 (libc_feholdsetroundf, libc_feholdsetroundl): New.
820 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
821 (libc_feresetround_noex): New.
822 (libc_feresetround_noexf): New.
823 (libc_feresetround_noexl): New.
824 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
825 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
826 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
827 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
828 SET_RESTORE_ROUND.
829 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
830 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
831 (__cos): Likewise.
832 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
833 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
834 SET_RESTORE_ROUND_NOEX.
835 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
836 SET_RESTORE_ROUND_NOEXF.
837 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
838 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
839 (libc_feholdsetroundf): New.
840 (libc_feresetround, libc_feresetroundf): New.
841
7d2e8012
RH
842 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
843 (libc_feholdexcept_setround_53bit): Convert from macro to function.
844 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
845
b4dabbb4
RH
846 * sysdeps/generic/math_private.h: Include <fenv.h>.
847 (default_libc_feholdexcept): New.
848 (default_libc_feholdexcept_setround): New.
849 (default_libc_fesetenv, default_libc_feupdateenv): New.
850 (libc_feholdexcept): Only define if undefined.
851 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
852 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
853 (libc_feholdexcept_setroundl): Likewise.
854 (libc_feholdexcept_setround_53bit): Likewise.
855 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
856 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
857 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
858 (libc_feupdateenv_53bit): Likewise.
859 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
860 (libc_feholdexcept): Convert from macro to inline function.
861 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
862 (libc_fesetenv, libc_feupdateenv): Likewise.
863
4851a949
RH
864 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
865 not previously defined.
866 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
867 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
868 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
869 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
870 * sysdeps/ieee754/flt-32/math_private.h: New file.
871 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
872 math_private.h below SET_FLOAT_WORD.
873 (__isnan, __isinf_ns, __finite): Remove.
874 (__isnanf, __isinf_nsf, __finitef): Remove.
875
e79d442e
AS
8762012-03-18 Andreas Schwab <schwab@linux-m68k.org>
877
878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
879
90b80344
DM
8802012-03-17 David S. Miller <davem@davemloft.net>
881
882 [BZ #6471]
883 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
884 for 2.16.
885
edc21804
DM
8862012-03-16 David S. Miller <davem@davemloft.net>
887
77e927af
DM
888 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
889 warnings.
890
374976dd
DM
891 [BZ #6471]
892 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
893 properly.
894 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
895 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
896 sysdep_routines when subdir is sysvipc.
897 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
898 __getshmlba helper.
899
edc21804
DM
900 * sysdeps/sparc/fpu/libm-test/ulps: Update.
901
473c3ef3
L
9022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
903
904 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
905 [__LP64__].
906
eb0f39b6
L
9072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
908
909 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
910 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
911 (__lround): Renamed to ...
912 (__llround): This. Replace long int with long long int.
913 Define lround functions as aliases of llround functions.
914 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
915
6b6cd74b
L
9162012-03-16 H.J. Lu <hongjiu.lu@intel.com>
917
918 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
919 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
920 adresses to uintptr_t. Replace "long int" and "unsigned long
921 int" with "greg_t" on va_arg.
922
f1a77b01
L
9232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
924
925 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
926 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
927
928 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
929 Move e_machine check before EI_CLASS check. Handle x32
930 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
931 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
932 SKIP_EM_IA_64 and include
933 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
934
935 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
936 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
937 (add_system_dir): New macro.
938
939 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
940 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
941
11b90b9f
JM
9422012-03-16 Joseph Myers <joseph@codesourcery.com>
943
c36e1d23
JM
944 [BZ #2551]
945 [BZ #2552]
946 [BZ #2553]
947 [BZ #2554]
948 [BZ #2562]
949 [BZ #2563]
950 [BZ #2565]
951 [BZ #2566]
952 [BZ #2576]
953 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
954 (y0): Likewise.
955 * math/w_j0f.c (j0f): Likewise.
956 (y0f): Likewise.
957 * math/w_j0l.c (__j0l): Likewise.
958 (__y0l): Likewise.
959 * math/w_j1.c (j1): Likewise.
960 (y1): Likewise.
961 * math/w_j1f.c (j1f): Likewise.
962 (y1f): Likewise.
963 * math/w_j1l.c (__j1l): Likewise.
964 (__y1l): Likewise.
965 * math/w_jn.c (jn): Likewise.
966 (yn): Likewise.
967 * math/w_jnf.c (jnf): Likewise.
968 (ynf): Likewise.
969 * math/w_jnl.c (__jnl): Likewise.
970 (__ynl): Likewise.
971 * math/libm-test.inc (j0_test): Add more tests.
972 (j1_test): Likewise.
973 (jn_test): Likewise. Add trailing semicolon to existing test.
974 (y0_test): Likewise.
975 (y1_test): Likewise.
976 * sysdeps/i386/fpu/libm-test-ulps: Update.
977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
978
11b90b9f
JM
979 [BZ #13851]
980 [BZ #13854]
981 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
982 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
983 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
984 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
985 (__tanl): Set errno for infinite argument.
986 * sysdeps/i386/fpu/mptan.c: Remove.
987 * sysdeps/i386/fpu/s_tan.S: Likewise.
988 * sysdeps/i386/fpu/s_tanl.S: Likewise.
989 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
990 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
991 * math/libm-test.inc (tan_test): Add more tests and enable more
992 tests for double and long double.
993 * sysdeps/i386/fpu/libm-test-ulps: Update.
994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
995
6a1bd2a1
JK
9962012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
997
998 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
999 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1000
10a803e0
RM
10012012-03-16 Roland McGrath <roland@hack.frob.com>
1002
1003 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1004 * configure.in: Use it for both main tree and add-ons.
1005 * configure: Regenerated.
1006
f196c7f7
L
10072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1008
1009 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1010
8848d99d
JM
10112012-03-16 Joseph Myers <joseph@codesourcery.com>
1012
96cbe7f4
JM
1013 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1014 in comment.
1015
8848d99d
JM
1016 [BZ #13851]
1017 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1018 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1019 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1020 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1021 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1022 infinite argument.
1023 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1024 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1025 != 0 for prec == 2.
1026 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1027 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1028 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1029 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1030 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1031 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1032 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1033 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1034 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1035 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1036 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1037 * math/libm-test.inc (cos_test): Add more tests and enable more
1038 tests for long double.
1039 (sin_test): Likewise.
1040 (sincos_test): Likewise.
1041 * sysdeps/i386/fpu/libm-test-ulps: Update.
1042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1043
dd7f4703
DM
10442012-03-16 David S. Miller <davem@davemloft.net>
1045
1046 * sysdeps/sparc/fpu/math_private.h: New file.
1047
006f1daa
DM
10482012-03-15 David S. Miller <davem@davemloft.net>
1049
c0c83bc8
DM
1050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1051 file.
e6a62e18 1052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
1053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1054 file.
e6a62e18
DM
1055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1056 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1057 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1058 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1059 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1060 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1061 sysdep routines.
1062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1063
88cb87d9
DM
1064 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1065 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1066
006f1daa 1067 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
1068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1069 sparc-ifunc.h
006f1daa 1070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
1071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1072 Likewise.
1073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1074 Likewise.
006f1daa
DM
1075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
1078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1079 Likewise.
006f1daa
DM
1080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
1084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1085 Likewise.
1086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1087 Likewise.
006f1daa
DM
1088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1092 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1093 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1094 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1095 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1096 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1097 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1098 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1099 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1100 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1101 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1102 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1103 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1104 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1105 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1106 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1107 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1108 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1109 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1110 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1111 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1112
11e0098e
AS
11132012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1114
1115 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1116 scaling.
1117 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1118
e85b09d0
AJ
11192012-03-15 Andreas Jaeger <aj@suse.de>
1120
1121 [BZ #13852]
1122 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1123 ieee754/flt-32 implementation for sin, cos and sincos.
1124 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1125 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1126 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1127 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1128 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1129 ieee754/flt-32 implementation for tan.
1130
1131 * math/libm-test.inc (cos_test): Enable some large input tests for
1132 float as well
1133 (sin_test): Likewise.
1134 (sincos_test): Likewise.
1135 (tan_test): Add tests for large input.
1136
1137 * sysdeps/i386/fpu/libm-test-ulps: Update.
1138
81c64153
AJ
11392012-03-15 Andreas Jaeger <aj@suse.de>
1140
1141 [BZ #13658]
1142 * math/libm-test.inc (cos_test): Add more test cases.
1143 (sin_test): Likewise.
1144 (sincos_test): Likewise.
1145
7bbfa5c6
AJ
11462012-03-15 Andreas Jaeger <aj@suse.de>
1147
1148 [BZ #13837]
1149 * math/libm-test.inc (cos_test): Add a test case for large input
1150 value.
1151 (sin_test): Likewise.
1152 (sincos_test): Likewise.
1153
11542012-03-15 Andreas Jaeger <aj@suse.de>,
1155 Joseph Myers <joseph@codesourcery.com>
1156
1157 [BZ #13658]
0671f479 1158 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1159 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1160 * sysdeps/i386/fpu/branred.c: Likewise.
1161 * sysdeps/i386/fpu/dosincos.c: Likewise.
1162 * sysdeps/i386/fpu/mpa.c: Likewise.
1163 * sysdeps/i386/fpu/s_cos.S: Likewise.
1164 * sysdeps/i386/fpu/s_sin.S: Likewise.
1165 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1166 * sysdeps/i386/fpu/sincos32.c: Likewise.
1167
1168 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1169 Define.
1170 (libc_feupdateenv_53bit): Define.
1171 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1172 Define.
1173 (libc_feupdateenv_53bit): Define.
1174
1175 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1176 53 bit (without extend i386 double precision).
1177
1178 * math/libm-test.inc (sincos_test): Add tests for large input.
1179 (sin): Likewise.
1180 (cos): Likewise.
1181
1182 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1183
9cad04ea
AS
11842012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1185
1186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1187
f7062b9a
DM
11882012-03-15 David S. Miller <davem@davemloft.net>
1189
1190 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1191 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1192 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1193 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1198 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1199 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1200 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1201 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1204 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1206 file.
f7062b9a 1207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1209 file.
f7062b9a 1210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1212 file.
f7062b9a 1213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1215 file.
f7062b9a
DM
1216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1217 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1218 fmin/fmax sysdep routines.
1219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1220
7bd951ff
DM
12212012-03-14 David S. Miller <davem@davemloft.net>
1222
559398ab
DM
1223 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1224 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1225 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1226 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1227 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1228 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1229 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1230 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1231 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1232 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1233 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1234 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1235 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1236 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1237 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1238 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1239 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1240 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1241 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1242 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1243 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1244 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1245 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1246 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1247 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1248 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1249 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1250 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1251 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1252 routines.
1253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1254 file.
559398ab 1255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
1256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1257 file.
559398ab 1258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
1259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1260 file.
559398ab 1261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
1262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1263 file.
559398ab 1264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
1265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1266 file.
559398ab 1267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
1268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1269 file.
1270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1271 file.
1272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1273 file.
1274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1275 file.
1276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1277 New file.
1278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1279 file.
1280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1281 file.
559398ab 1282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
1283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1284 file.
559398ab 1285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1287 file.
559398ab 1288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
1289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1290 file.
559398ab 1291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
1292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1293 VIS3 routines.
559398ab
DM
1294
1295 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1296 New file.
1297
5a1c1e32
DM
1298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1299
eae47a36
DM
1300 * sysdeps/sparc/configure.in: New file.
1301 * sysdeps/sparc/configure: Generate.
1302 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1303 * configure: Regenerate.
1304 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1305 * config.make.in (have-as-vis3): New.
1306 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1307 available use -Av9d instead of -Av9a.
1308 * sysdeps/sparc/sparc64/Makefile: Likewise.
1309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
1310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1311 New file.
1312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1313 file.
1314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1315 New file.
1316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1317 file.
eae47a36
DM
1318 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1319 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1320 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1321 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1322 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1323
c0c83bc8
DM
1324 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1325 fzeros/fnegs to load 0x80000000 into a float register instead of
1326 using the stack.
7bd951ff
DM
1327 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1328
bd951ccb
JM
13292012-03-14 Joseph Myers <joseph@codesourcery.com>
1330
1331 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1332 bits/syscall.h.
1333 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1334 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1335 ($(inst_includedir)/bits/syscall.h): Remove rule.
1336 ($(objpfx)bits/syscall.d): Include instead of
1337 $(objpfx)syscall-list.d.
1338 (generated): Change syscall-list.h and syscall-list.d to
1339 bits/syscall.h and bits/syscall.d.
1340
bb4e6db2
RM
13412012-03-14 Roland McGrath <roland@hack.frob.com>
1342
1343 [BZ #13846]
1344 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1345
aa4a2ae1
JM
13462012-03-14 Joseph Myers <joseph@codesourcery.com>
1347
e456826d
JM
1348 [BZ #13841]
1349 * math/s_csqrt.c: Include <float.h>.
1350 (__csqrt): Scale large or subnormal inputs.
1351 * math/s_csqrtf.c: Likewise.
1352 * math/s_csqrtl.c: Likewise.
1353 * math/libm-test.inc (csqrt_test): Add more tests.
1354 * sysdeps/i386/fpu/libm-test-ulps: Update.
1355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1356
aa4a2ae1
JM
1357 [BZ #13840]
1358 * math/libm-test.inc (hypot_test): Add more tests.
1359
7c10fd35
DM
13602012-03-13 David S. Miller <davem@davemloft.net>
1361
1362 [BZ #13840]
1363 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1364 double-precision for the calculation instead of scaling.
1365
f453b98b
JM
13662012-03-13 Joseph Myers <joseph@codesourcery.com>
1367
1368 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1369 manipulate bits before adding and subtracting TWO52[sx].
1370 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1371 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1372 Likewise.
1373 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1374
09a3453f
DM
13752012-03-13 David S. Miller <davem@davemloft.net>
1376
8e59da90
DM
1377 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1378 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1379 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1380 rtld-global-offsets.h
1381 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1382
2a8ab7f2
DM
1383 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1384 large parameters.
1385
10f62770
DM
1386 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1387
5f0bdb18
DM
1388 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1389 'err' in the ifdef scope in which it is actually used.
1390
09a3453f
DM
1391 * nss/nss_db/db-init.c: Include string.h
1392
b4b2eb5e
DM
13932012-03-12 David S. Miller <davem@davemloft.net>
1394
98bb2f1c
DM
1395 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1396 masking out of the most significant byte of random value used.
1397 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1398 Fix coding style in previous change.
1399
b4b2eb5e
DM
1400 * sysdeps/unix/sysv/linux/kernel-features.h
1401 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1402 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1403 expression.
1404 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1405 later.
1406
6e226b09
DM
14072012-03-11 David S. Miller <davem@davemloft.net>
1408
a1bcbd40
DM
1409 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1410 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1411 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1412 for 'resultvar' otherwise things get truncated on 64-bit.
1413
cb9d6174
DM
1414 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1415 Fix masking out of the most significant byte of random value used.
1416
6e226b09
DM
1417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1418
058c132d
AS
14192012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1420
1421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1422
2d2cd515
DM
14232012-03-09 David S. Miller <davem@davemloft.net>
1424
1425 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1426 variables with appropriate CPP guards.
1427 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1428 frame pointer, not the stack pointer. Correct layout comments. Fix test
1429 on resulting framesize and the management of the outregs buffer for pltexit.
1430 Preserve floating point return values across _dl_call_pltexit call.
1431 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1432 framesize and the management of the outregs buffer for pltexit.
1433 Preserve floating point return values across _dl_call_pltexit
1434 call.
1435 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1436 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1437 (print_exit): Fix format string for return register value.
1438
9a07f9d0
JM
14392012-03-10 Joseph Myers <joseph@codesourcery.com>
1440
1441 * sunrpc/Makefile (others): Add rpcgen.
1442 ($(objpfx)rpcgen): Remove special build rule and dependency on
1443 libc.
1444 * sunrpc/rpcgen.c: New file.
1445
547b5e30
PE
14462012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1447
c524201a
PE
1448 [BZ #13673]
1449 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1450 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1451 * sysdeps/i386/crti.S: Likewise.
1452 * sysdeps/i386/crtn.S: Likewise.
1453 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1454 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1455 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1456 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1457 * sysdeps/sh/crti.S: Likewise.
1458 * sysdeps/sh/crtn.S: Likewise.
1459 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1460
7b6235f2
PE
1461 [BZ #13673]
1462 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1463 with URL.
1464 * locale/programs/locfile-kw.gperf: Likewise.
1465 * locale/programs/charmap-kw.h: Regenerated.
1466 * locale/programs/locfile-kw.h: Likewise.
1467
547b5e30
PE
1468 [BZ #13673]
1469 * intl/plural.y: Replace FSF snail mail address with URL.
1470 * intl/plural.c: Regenerated.
1471
5f0a5dae
RH
14722012-03-09 Richard Henderson <rth@twiddle.net>
1473
1474 * include/math_private.h: Remove file.
1475 * math/math_private.h: Move file ...
1476 * sysdeps/generic/math_private.h: ... here.
1477
b8c03620
RH
1478 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1479 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1480 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1481
4e234f5d 1482 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
1483 and <math_private.h>.
1484 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1485 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1486 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1487 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1488 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1489 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1490 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1491 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1492 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1493 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1494 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1495 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1496 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1497 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1498 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1499 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1500 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1501 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1502 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1503 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1504 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1505 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1506 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1507 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1508 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1509 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1510 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1511 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1512 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1513 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1514 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1515 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1516 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1517 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1518 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1519 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1520 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1521 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1522 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1523 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1524 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1525 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1526 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1527 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1528 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1529 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1530 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1531 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1532 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1533 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1534 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1535 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1536 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1537 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1538 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1539 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1540 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1541 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1542 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1543 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1544 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1545 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1546 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1547 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1548 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1549 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1550 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1551 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1552 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1553 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1554 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1555 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1556 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1557 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1558 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1559 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1560 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1561 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1562 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1563 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1564 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1565 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1566 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1567 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1568 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1569 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1570 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1571 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1572 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1573 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1574 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1575 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1576 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1577 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1578 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1579 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1580 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1581 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1582 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1583 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1584 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1585 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1586 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1587 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1588 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1589 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1590 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1591 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1592 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1593 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1594 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1595 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1596 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1597 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1598 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1599 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1600 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1601 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1602 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1603 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1604 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1605 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1606 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1607 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1608 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1609 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1610 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1611 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1612 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1613 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1614 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1615 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1616 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1617 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1618 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1619 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1620 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1621 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1622 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1623 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1624 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1625 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1626 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1627 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1628 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1629 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1630 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1631 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1632 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1633 * sysdeps/ieee754/k_standard.c: Likewise.
1634 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1635 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1636 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1637 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1638 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1639 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1640 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1641 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1642 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1643 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1644 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1645 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1646 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1647 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1648 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1649 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1650 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1651 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1652 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1653 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1654 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1655 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1656 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1657 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1658 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1659 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1660 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1661 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1662 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1663 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1664 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1665 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1666 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1667 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1668 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1669 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1670 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1671 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1672 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1673 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1674 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1675 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1676 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1677 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1678 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1679 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1680 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1681 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1682 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1683 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1684 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1685 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1686 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1687 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1688 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1689 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1690 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1691 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1692 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1693 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1694 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1695 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1696 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1697 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1698 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1699 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1700 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1701 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1702 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1703 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1704 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1705 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1706 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1707 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1708 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1709 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1710 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1711 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1712 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1713 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1714 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1715 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1716 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1717 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1718 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1719 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1720 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1721 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1722 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1723 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1724 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1725 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1726 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1727 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1728 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1729 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1730 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1731 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1732 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1733 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1734 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1735 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1736 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1737 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1738 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1739 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1740 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1741 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1742 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1743 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1744 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1745 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1746 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1747 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1748 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1749 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1750 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1751 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1752 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1753 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1754 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1755 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1756 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1757 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1758 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1759 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1760 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1761 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1762 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1763 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1764 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1765 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1766 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1767 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1768 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1769 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1770 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1771 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1772 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1773 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1774 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1775 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1776 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1777 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1778 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1779 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1780 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1781 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1782 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1783 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1784 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1785 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1786 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1787 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1788 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1789 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1790 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1791 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1792 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1793 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1794 * sysdeps/ieee754/s_lib_version.c: Likewise.
1795 * sysdeps/ieee754/s_matherr.c: Likewise.
1796 * sysdeps/ieee754/s_signgam.c: Likewise.
1797 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1798 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1799 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1800 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1801 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1802 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1803 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1804 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1805 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1806 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1807 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1808 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1809 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1810 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1811 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1812 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1813 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1814 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1815 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1816 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1817 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 1818
1991fa03
JM
18192012-03-09 Joseph Myers <joseph@codesourcery.com>
1820
1821 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1822 * sunrpc/rpc_main.c: Likewise.
1823 * sunrpc/rpc_svcout.c: Likewise.
1824
60d6f5a6
DM
18252012-03-09 David S. Miller <davem@davemloft.net>
1826
1827 * include/math_private.h: New file.
1828
4962050e
JM
18292012-03-09 Joseph Myers <joseph@codesourcery.com>
1830
02a6f887
JM
1831 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1832 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1833 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1834 from <bits/socket_type.h>.
1835 (enum __socket_type): Don't define here.
1836 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1837 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1838 bits/socket_type.h.
1839
c6e013c1
JM
1840 [BZ #13566]
1841 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1842 checking __USE_GNU.
1843
4962050e
JM
1844 * Makerules ($(inst_includedir)/%.h): New rule.
1845 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1846 (install-others): Remove variable setting.
1847 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1848
38842f45
RH
18492012-03-08 Richard Henderson <rth@twiddle.net>
1850
67bb6da6
RH
1851 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1852 from macro to inline function; merge with the
1853 !__LIBC_INTERNAL_MATH_INLINES version.
1854 (__ieee754_sqrtf): Likewise.
1855
15194b4b
RH
1856 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1857 to inline function.
1858 (__rintf, __floor, __floorf): Likewise.
1859
64e21ede
RH
1860 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1861 macro to inline function.
1862 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1863
38842f45
RH
1864 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1865 not <math/math_private.h>.
1866
c64bf5fe
DM
18672012-03-08 David S. Miller <davem@davemloft.net>
1868
1869 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1870 copyright year.
1871 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1872
82d86f28
TS
18732012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1874
1875 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1876 normalization.
1877 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1878 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1879
aea5d727
UD
18802012-03-08 Ulrich Drepper <drepper@gmail.com>
1881
1882 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1883 be defined individually, they must be defined as a block. Define
1884 S for printing a string instead of hidint the different by using a
1885 macro for adding the 'l'.
1886 * stdio-common/tst-fphex-wide.c: Adjust.
1887
70bca0a3
MP
18882012-03-07 Marek Polacek <polacek@redhat.com>
1889
1890 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1891
65b81130
MP
18922012-03-08 Marek Polacek <polacek@redhat.com>
1893
1894 [BZ #13806]
1895 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1896 * stdio-common/tst-fphex.c: Define a few macros to make the
1897 test reusable. Use them.
1898 * stdio-common/tst-fphex-wide.c: New file.
1899
07037eeb
JM
19002012-03-08 Joseph Myers <joseph@codesourcery.com>
1901
a7a93d50
JM
1902 [BZ #6911]
1903 * manual/macros.texi (gnusystems): New macro.
1904 (nongnusystems): Likewise.
1905 (gnulinuxhurdsystems): Likewise.
1906 (gnuhurdsystems): Likewise..
1907 (gnulinuxsystems): Likewise.
1908 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1909 variants of the GNU system, not "GNU system".
1910 * manual/conf.texi: Likewise.
1911 * manual/errno.texi: Likewise. Update example of errno macro
1912 expansion.
1913 * manual/filesys.texi: Likewise.
1914 (getumask): Document as specific to GNU/Hurd.
1915 * manual/install.texi: Likewise. Reword some references to
1916 GNU/Linux.
1917 * manual/intro.texi: Likewise.
1918 * manual/io.texi: Likewise.
1919 (File Name Portability): Detail which constraints are inapplicable
1920 to all GNU systems and which are only inapplicable to GNU/Hurd.
1921 * manual/job.texi: Likewise.
1922 * manual/llio.texi: Likewise.
1923 (O_NOCTTY): Document as present on GNU/Linux.
1924 * manual/maint.texi: Likewise.
1925 * manual/memory.texi: Likewise.
1926 * manual/pattern.texi: Likewise.
1927 * manual/pipe.texi: Likewise.
1928 * manual/process.texi: Likewise.
1929 * manual/resource.texi: Likewise.
1930 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1931 child on GNU/Hurd.
1932 * manual/setjmp.texi: Likewise.
1933 * manual/signal.texi: Likewise.
1934 * manual/startup.texi: Likewise.
1935 * manual/stdio.texi: Likewise.
1936 * manual/terminal.texi: Likewise.
1937 (ONLCR): Document as POSIX.
1938 (OXTABS): Document availability on GNU/Linux as XTABS.
1939 (ONOEOT): Document availability separately from other bits.
1940 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1941 * manual/time.texi: Likewise.
1942 * manual/users.texi: Likewise.
1943 * INSTALL: Regenerated.
1944 * sysdeps/gnu/errlist.c: Regenerated.
1945
07037eeb
JM
1946 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1947 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1948 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1949 puts.
1950 * configure: Regenerated.
1951
d1d3431a
JM
19522012-03-07 Joseph Myers <joseph@codesourcery.com>
1953
af6a1e37
JM
1954 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1955 default includes instead of AC_HEADER_CHECK.
1956 * sysdeps/i386/configure: Regenerated.
1957
d1d3431a
JM
1958 [BZ #10716]
1959 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1960 * math/s_cacoshf.c (__cacoshf): Likewise.
1961 * math/s_cacoshl.c (__cacoshl): Likewise.
1962 * math/s_casinh.c (__casinh): Set signs of result from argument.
1963 * math/s_casinhf.c (__casinhf): Likewise.
1964 * math/s_casinhl.c (__casinhl): Likewise.
1965 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1966 (casinh_test): Add more tests.
1967 * sysdeps/i386/fpu/libm-test-ulps: Update.
1968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1969
482ff4da
UD
19702012-03-07 Ulrich Drepper <drepper@gmail.com>
1971
872fda05
UD
1972 * po/zh_TW.po: Update from translation team.
1973
a4300c7a
UD
1974 * login/Makefile (distribute): Remove variable.
1975 * catgets/Makefile: Likewise.
1976 * mach/Makefile: Likewise.
1977 * malloc/Makefile: Likewise.
1978 * misc/Makefile: Likewise.
1979 * iconv/Makefile: Likewise.
1980 * nscd/Makefile: Likewise.
1981 * hurd/Makefile: Likewise.
1982 * manual/Makefile: Likewise.
1983 * locale/Makefile: Likewise.
1984 * intl/Makefile: Likewise.
1985 * conform/Makefile: Likewise.
1986 * nss/Makefile: Likewise.
1987 * time/Makefile: Likewise.
1988 * soft-fp/Makefile: Likewise.
1989 * dirent/Makefile: Likewise.
1990 * gmon/Makefile: Likewise.
1991 * po/Makefile: Likewise.
1992 * rt/Makefile: Likewise.
1993 * socket/Makefile: Likewise.
1994 * math/Makefile: Likewise.
1995 * signal/Makefile: Likewise.
1996 * debug/Makefile: Likewise.
1997 * elf/Makefile: Likewise.
1998 * timezone/Makefile: Likewise.
1999 * stdlib/Makefile: Likewise.
2000 * iconvdata/Makefile: Likewise.
2001 * sunrpc/Makefile: Likewise.
2002 * io/Makefile: Likewise.
2003 * argp/Makefile: Likewise.
2004 * inet/Makefile: Likewise.
2005 * hesiod/Makefile: Likewise.
2006 * grp/Makefile: Likewise.
2007 * csu/Makefile: Likewise.
2008 * wctype/Makefile: Likewise.
2009 * crypt/Makefile: Likewise.
2010 * libio/Makefile: Likewise.
2011 * string/Makefile: Likewise.
2012 * nis/Makefile: Likewise.
2013 * resolv/Makefile: Likewise.
2014 * stdio-common/Makefile: Likewise.
2015 * wcsmbs/Makefile: Likewise.
2016 * dlfcn/Makefile: Likewise.
2017 * posix/Makefile: Likewise.
2018
482ff4da
UD
2019 * timezone/Makefile: Don't install timezone files, just the programs
2020 and scripts.
2021
f72ed77d
UD
20222012-03-06 Ulrich Drepper <drepper@gmail.com>
2023
a000466f
UD
2024 * nss/databases.def: Add missing gshadow entry.
2025
f72ed77d
UD
2026 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2027
a53b7a4e
MP
20282012-03-06 Marek Polacek <polacek@redhat.com>
2029
2030 [BZ #13726]
2031 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2032 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2033 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2034 * stdio-common/tst-long-dbl-fphex.c: New file.
2035
e9258400
DM
20362012-03-06 David S. Miller <davem@davemloft.net>
2037
2038 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2039 (set_obp_int): New function.
2040 (get_obp_int): New function.
2041 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
2042 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2043 Avoid unused variable warnings on 'val' and use builtin_expect.
2044 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2045 __builtin_expect.
e9258400
DM
2046 (INLINE_CLONE_SYSCALL): Likewise.
2047
3bd2c723
DM
20482012-03-05 David S. Miller <davem@davemloft.net>
2049
2050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2051
bbb78d03
AS
20522012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2053
884c5db4
AS
2054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2055
bbb78d03
AS
2056 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2057 only for |x| >= 40.
2058 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2059
1c9f702a 20602012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
2061
2062 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2063 Replace gettimeofday with __vdso_gettimeofday.
2064
7be16f82
RM
2065 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2066 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2067 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
2068
2069 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2070 time with __vdso_time.
2071
ed58a00f
JM
20722012-03-05 Joseph Myers <joseph@codesourcery.com>
2073
2074 * manual/lang.texi (size_t): Note types to which size_t may be
2075 equivalent with the GNU C Library, but do not describe when
2076 differences between them are significant.
2077
30ee4ced
AJ
20782012-03-05 Andreas Jaeger <aj@suse.de>
2079
2080 * sysdeps/i386/fpu/libm-test-ulps: Update.
2081
b7cd39e8
JM
20822012-03-05 Joseph Myers <joseph@codesourcery.com>
2083
2084 [BZ #3976]
2085 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2086 (__ieee754_pow): Save and restore rounding mode and use
2087 round-to-nearest for main computations.
2088 * math/libm-test.inc (pow_test_tonearest): New function.
2089 (pow_test_towardzero): Likewise.
2090 (pow_test_downward): Likewise.
2091 (pow_test_upward): Likewise.
2092 (main): Call the new functions.
2093 * sysdeps/i386/fpu/libm-test-ulps: Update.
2094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
2095
2096 [BZ #3976]
2097 * math/libm-test.inc (cosh_test_tonearest): New function.
2098 (cosh_test_towardzero): Likewise.
2099 (cosh_test_downward): Likewise.
2100 (cosh_test_upward): Likewise.
2101 (sinh_test_tonearest): Likewise.
2102 (sinh_test_towardzero): Likewise.
2103 (sinh_test_downward): Likewise.
2104 (sinh_test_upward): Likewise.
2105 (main): Call the new functions.
2106 * sysdeps/i386/fpu/libm-test-ulps: Update.
2107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2108
6c6a98c9
TV
21092012-03-05 Tom de Vries <tom@codesourcery.com>
2110
2111 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2112 default stack guard is set in last bytes.
2113 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2114
21bb2d2e 21152012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2116
21bb2d2e 2117 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2118
21bb2d2e
AJ
2119 [BZ #13656]
2120 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2121 possibly allocate from heap instead of stack.
2122 * stdio-common/bug-vfprintf-nargs.c: New file.
2123 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2124
c6922934
AS
21252012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2126
2127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2128
bc957d53
MP
21292012-03-03 Marek Polacek <polacek@redhat.com>
2130
2131 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2132 * math/math_private.h: Likewise.
2133 * stdlib/tst-strtod.c: Likewise.
2134 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2135 * sysdeps/x86_64/bits/atomic.h: Likewise.
2136
6358490d
DM
21372012-03-02 David S. Miller <davem@davemloft.net>
2138
2139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2143 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2144 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2145 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2146 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2147
01ae168d
RM
21482012-03-02 Roland McGrath <roland@hack.frob.com>
2149
d9a17c07
RM
2150 [BZ #13792]
2151 * manual/examples/README: New file, says the example source files
2152 can be used under GPL>=2.
2153 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2154 line containing just "*/".
2155 * manual/examples/add.c: Add copyright header (GPL>=2).
2156 * manual/examples/argp-ex1.c: Likewise.
2157 * manual/examples/argp-ex2.c: Likewise.
2158 * manual/examples/argp-ex3.c: Likewise.
2159 * manual/examples/argp-ex4.c: Likewise.
2160 * manual/examples/atexit.c: Likewise.
2161 * manual/examples/db.c: Likewise.
2162 * manual/examples/dir.c: Likewise.
2163 * manual/examples/dir2.c: Likewise.
2164 * manual/examples/execinfo.c: Likewise.
2165 * manual/examples/filecli.c: Likewise.
2166 * manual/examples/filesrv.c: Likewise.
2167 * manual/examples/fmtmsgexpl.c: Likewise.
2168 * manual/examples/genpass.c: Likewise.
2169 * manual/examples/inetcli.c: Likewise.
2170 * manual/examples/inetsrv.c: Likewise.
2171 * manual/examples/isockad.c: Likewise.
2172 * manual/examples/longopt.c: Likewise.
2173 * manual/examples/memopen.c: Likewise.
2174 * manual/examples/memstrm.c: Likewise.
2175 * manual/examples/mkfsock.c: Likewise.
2176 * manual/examples/mkisock.c: Likewise.
2177 * manual/examples/mygetpass.c: Likewise.
2178 * manual/examples/pipe.c: Likewise.
2179 * manual/examples/popen.c: Likewise.
2180 * manual/examples/rprintf.c: Likewise.
2181 * manual/examples/search.c: Likewise.
2182 * manual/examples/select.c: Likewise.
2183 * manual/examples/setjmp.c: Likewise.
2184 * manual/examples/sigh1.c: Likewise.
2185 * manual/examples/sigusr.c: Likewise.
2186 * manual/examples/stpcpy.c: Likewise.
2187 * manual/examples/strdupa.c: Likewise.
2188 * manual/examples/strftim.c: Likewise.
2189 * manual/examples/strncat.c: Likewise.
2190 * manual/examples/subopt.c: Likewise.
2191 * manual/examples/swapcontext.c: Likewise.
2192 * manual/examples/termios.c: Likewise.
2193 * manual/examples/testopt.c: Likewise.
2194 * manual/examples/testpass.c: Likewise.
2195 * manual/examples/timeval_subtract.c: Likewise.
2196
01ae168d
RM
2197 [BZ #13792]
2198 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2199 function to ...
2200 * manual/timeval_subtract.c.texi: ... here, new file.
2201
49efa33d
DM
22022012-03-02 David S. Miller <davem@davemloft.net>
2203
2204 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2205
28afd92d
JM
22062012-03-02 Joseph Myers <joseph@codesourcery.com>
2207
804360ed
JM
2208 [BZ #3976]
2209 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2210 (__sin): Save and restore rounding mode and use round-to-nearest
2211 for all computations.
2212 (__cos): Save and restore rounding mode and use round-to-nearest
2213 for all computations.
2214 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2215 <fenv.h>.
2216 (tan): Save and restore rounding mode and use round-to-nearest for
2217 all computations.
2218 * math/libm-test.inc (cos_test_tonearest): New function.
2219 (cos_test_towardzero): Likewise.
2220 (cos_test_downward): Likewise.
2221 (cos_test_upward): Likewise.
2222 (sin_test_tonearest): Likewise.
2223 (sin_test_towardzero): Likewise.
2224 (sin_test_downward): Likewise.
2225 (sin_test_upward): Likewise.
2226 (tan_test_tonearest): Likewise.
2227 (tan_test_towardzero): Likewise.
2228 (tan_test_downward): Likewise.
2229 (tan_test_upward): Likewise.
2230 (main): Call the new functions.
2231 * sysdeps/i386/fpu/libm-test-ulps: Update.
2232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2233
a6d06d7b
JM
2234 [BZ #10135]
2235 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2236 small n, then large n, before computing and testing k+n.
2237 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2238 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2239 Likewise.
2240 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2241 Likewise.
2242 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2243 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2244 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2245 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2246 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2247 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2248 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2249 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2250 * math/libm-test.inc (scalbn_test): Add more tests.
2251 (scalbln_test): Likewise.
2252
07e12bb3
JM
2253 * manual/filesys.texi (mode_t): Describe constraints on size and
2254 signedness, not exact equivalence to a particular type.
2255 (ino_t): Likewise.
2256 (ino64_t): Likewise.
2257 (dev_t): Likewise.
2258 (nlink_t): Likewise.
2259 (blkcnt_t): Likewise.
2260 (blkcnt64_t): Likewise.
2261 * manual/llio.texi (off_t): Likewise.
2262
28afd92d
JM
2263 [BZ #3976]
2264 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2265 (__ieee754_exp): Save and restore rounding mode and use
2266 round-to-nearest for all computations.
2267 * math/libm-test.inc (exp_test_tonearest): New function.
2268 (exp_test_towardzero): Likewise.
2269 (exp_test_downward): Likewise.
2270 (exp_test_upward): Likewise.
2271 (main): Call the new functions.
2272 * sysdeps/i386/fpu/libm-test-ulps: Update.
2273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2274
b1eeb65d
CD
22752012-03-01 Chris Demetriou <cgd@google.com>
2276
2277 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2278 have predictable order.
2279
53362a4b
DM
22802012-03-01 David S. Miller <davem@davemloft.net>
2281
3c969083
DM
2282 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2283
759707de
DM
2284 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2285 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2286 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2287 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2288
dfdb8ff2
DM
2289 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2290 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2291 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2293 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2294 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2295 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2296 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2297 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2298
ead89f96
DM
2299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2300
7f66bd07
DM
2301 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2302 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2303 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2304
53362a4b
DM
2305 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2306 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2307 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2308 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2309 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2310 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2311 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2312 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2313 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2314 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2315 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2316 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2317 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2318 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2319 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2320 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2321 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2322 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2323 * sysdeps/sparc/elf/configure: Regenerated.
2324
7b1902cb
JM
23252012-03-01 Joseph Myers <joseph@codesourcery.com>
2326
bec039bc
JM
2327 * configure.in (AS, LD): Require binutils 2.20 or later.
2328 * configure: Regenerated.
2329 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2330 as required minimum version.
2331 * INSTALL: Regenerated.
2332
7b1902cb
JM
2333 [BZ #2541]
2334 [BZ #4108]
2335 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2336 before squaring exponent.
2337 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2338 bottom long double and 27 bits of top long double before squaring
2339 exponent.
2340 * math/libm-test.inc (erfc_test): Add more tests.
2341 * sysdeps/i386/fpu/libm-test-ulps: Update.
2342 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2344
f775c276
KT
23452012-03-01 Kai Tietz <ktietz@redhat.com>
2346
2347 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2348 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2349 containing bit-fields.
2350 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2351 * soft-fp/single.h (_FP_UNION_S): Likewise.
2352 * soft-fp/double.h (_FP_UNION_D): Likewise.
2353
5b8a4d4a
JM
23542012-02-29 Joseph Myers <joseph@codesourcery.com>
2355
0bab47b6
JM
2356 [BZ #13786]
2357 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2358 not include ../strcmp.S.
2359 [USE_AS_STRNCASECMP_L]: Likewise.
2360 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2361 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2362 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2363 (__strncasecmp_l_ia32): Define as alias to
2364 __strncasecmp_l_nonascii.
2365
0fcad3e2
JM
2366 [BZ #5794]
2367 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2368 * sysdeps/i386/fpu/libm-test-ulps: Update.
2369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2370
5b8a4d4a
JM
2371 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2373
8fdceb2e
JL
23742012-02-29 Jeff Law <law@redhat.com>
2375
2376 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2377 out of bounds read.
2378
1f393a11
MP
23792012-02-29 Marek Polacek <polacek@redhat.com>
2380
2381 [BZ #13706]
2382 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2383 * elf/Makefile: Add rules to run tst-unused-dep.out.
2384
8847f037
DM
23852012-02-28 David S. Miller <davem@davemloft.net>
2386
2387 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2388 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2389 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2390 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2391 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2392 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2393
169d7f11
JM
23942012-02-29 Joseph Myers <joseph@codesourcery.com>
2395
2396 * math/libm-test.inc (llround_test): Move one test from
2397 lround_test. Use TEST_f_L in moved test.
2398 (lround_test): Move misplaced test to llround_test. Add testcase
2399 from bug 2561.
2400
39adf059
UD
24012012-02-28 Ulrich Drepper <drepper@gmail.com>
2402
2403 * sysdeps/x86_64/fpu/e_expf.S: New file.
2404 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2405
71b5d1c5
SB
24062012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2407
2408 [BZ #13637]
2409 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2410 of remain_len that may cause incomplete multi-byte character and
2411 false match.
2412 * posix/bug-regex33.c: New file.
2413 * posix/Makefile (tests): Add bug-regex33.
2414
1f77f049
JM
24152012-02-28 Joseph Myers <joseph@codesourcery.com>
2416
2417 * manual/macros.texi: New file.
2418 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2419 * manual/libc.texinfo: Include macros.texi.
2420 * manual/creatute.texi: Likewise.
2421 * manual/install.texi: Likewise.
2422 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2423 @glibcadj{} in references to the GNU C Library.
2424 * manual/charset.texi: Likewise.
2425 * manual/conf.texi: Likewise.
2426 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2427 when not using those macros.
2428 * manual/creature.texi: Likewise.
2429 * manual/crypt.texi: Likewise.
2430 * manual/errno.texi: Likewise.
2431 * manual/filesys.texi: Likewise.
2432 * manual/header.texi: Likewise.
2433 * manual/install.texi: Likewise.
2434 * manual/intro.texi: Likewise.
2435 * manual/io.texi: Likewise.
2436 * manual/job.texi: Likewise.
2437 * manual/lang.texi: Likewise.
2438 * manual/libc.texiinfo: Likewise.
2439 * manual/llio.texi: Likewise.
2440 * manual/locale.texi: Likewise.
2441 * manual/maint.texi: Likewise.
2442 * manual/math.texi: Likewise.
2443 * manual/memory.texi: Likewise.
2444 * manual/message.texi: Likewise.
2445 * manual/nss.texi: Likewise.
2446 * manual/pattern.texi: Likewise.
2447 * manual/process.texi: Likewise.
2448 * manual/resource.texi: Likewise.
2449 * manual/search.texi: Likewise.
2450 * manual/setjmp.texi: Likewise.
2451 * manual/signal.texi: Likewise.
2452 * manual/socket.texi: Likewise.
2453 * manual/startup.texi: Likewise.
2454 * manual/stdio.texi: Likewise.
2455 * manual/string.texi: Likewise.
2456 * manual/sysinfo.texi: Likewise.
2457 * manual/syslog.texi: Likewise.
2458 * manual/terminal.texi: Likewise.
2459 * manual/time.texi: Likewise.
2460 * manual/users.texi: Likewise.
2461 * INSTALL: Regenerated.
2462 * NOTES: Regenerated.
d40c5d54 2463 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 2464
450bf206
AS
24652012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2466
2467 * include/dirent.h: Include <dirstream.h> before
2468 <dirent/dirent.h>.
2469
741a235b
DM
24702012-02-28 David S. Miller <davem@davemloft.net>
2471
2472 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2473 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2474 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2475 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2476
d6b5aa58
DM
24772012-02-27 David S. Miller <davem@davemloft.net>
2478
1aff59a3
DM
2479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2481 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2482 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2483
d6b5aa58
DM
2484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2485 frame pointer instead of stack pointer relative arg slot.
2486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2487 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2488 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2489
433f48bf
CD
24902012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2491
2492 [BZ #3992]
2493 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2494
d674b76d
DM
24952012-02-27 David S. Miller <davem@davemloft.net>
2496
2497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2501 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2502 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2503 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2504 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2505
0e7727f7
JM
25062012-02-27 Joseph Myers <joseph@codesourcery.com>
2507
2508 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2509 later. Allow versions 5-9.
43be4ca2 2510 * configure: Regenerated.
0e7727f7
JM
2511 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2512 required minimum version and 4.6 as recommended version. Do not
2513 mention bugs in GCC 2.7 and 2.8.
43be4ca2 2514 * INSTALL: Regenerated.
0e7727f7 2515
a78bc654
DM
25162012-02-27 David S. Miller <davem@davemloft.net>
2517
428d5830
DM
2518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2522 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2523 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2524 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2525 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2526
a78bc654
DM
2527 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2528 manipulate bits before adding and subtracting TWO112[sx].
2529 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2530
4579f81c
RM
25312012-02-27 Roland McGrath <roland@hack.frob.com>
2532
36c8acb4
RM
2533 [BZ #13775]
2534 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2535 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2536 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2537 being in POSIX, because they are in 1003.1-2008.
2538
84ad622b
RM
2539 * rt/tst-aio.c: Include <fcntl.h>.
2540 * rt/tst-aio7.c: Likewise.
2541 * rt/tst-aio64.c: Likewise.
2542
4579f81c
RM
2543 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2544
abd923db
JM
25452012-02-27 Joseph Myers <joseph@codesourcery.com>
2546
2547 * manual/install.texi (--with-headers): Describe headers as
2548 interface headers, not private headers.
2549 (Specific advice for GNU/Linux systems): Describe use of headers
2550 from "make headers_install", not private headers from older
2551 kernels.
43be4ca2 2552 * INSTALL: Regenerated.
abd923db
JM
2553 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2554 Change to 2.6.19.
2555 * sysdeps/unix/sysv/linux/configure: Regenerated.
2556
6664049b
JM
2557 * manual/llio.texi (fclean): Remove documentation.
2558
bb8b6697
JM
2559 * manual/Makefile (libc-texi-generated): New variable. Include
2560 version.texi.
2561 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2562 $(libc-texi-generated), not duplicated list of files.
2563 (version.texi, stamp-version): New rules.
2564 (realclean): Remove $(libc-texi-generated), not individual files
2565 from that list. Do not remove dir-add.texinfo.
2566 * manual/libc.texinfo: Comment out uses of edition numbers and
2567 references to printed manual. Remove last-updated dates.
2568 (EDITION): Comment out.
2569 (ISBN): Likewise.
2570 (VERSION, UPDATED): Remove.
2571 (version.texi): Include.
2572
12e5c3b9
AS
25732012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2574
2575 * sysdeps/posix/spawni.c: Include <signal.h>.
2576 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2577 * sysdeps/pthread/aio_fsync.c: Likewise.
2578
4efeffc1 25792012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 2580
ba63ba08
UD
2581 * conform/Makefile (tests): Run only when not cross-compiling and
2582 when fast-check is not defined.
2583
d94a4670
UD
2584 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2585 * conform/data/limits.h-data: Fixes for POSIX2008.
2586 * conform/run-conformtest.sh: Run all tests.
2587 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2588 headers.
2589 * include/bits/dlfcn.h: Likewise.
2590 * include/langinfo.h: Likewise.
2591 * include/monetary.h: Likewise.
2592 * include/sys/poll.h: Likewise.
2593
2594 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2595 for __USE_GNU.
2596 * posix/spawn.h: Define __need_sigset_t.
2597 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2598 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2599 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2600 to get sigevent_t only.
2601 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2602 only for __USE_GNU.
2603 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2604 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2605 process_vm_writev only for __USE_GNU.
2606 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
2607
2608 * conform/Makefile: For now ignore errors from run-conformtest.
2609 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2610 POSIX to avoid namespace pollution. Don't prepend headers.
2611 * conform/data/aio.h-data: Fixes for POSIX testing.
2612 * conform/data/fcntl.h-data: Likewise.
2613 * conform/data/glob.h-data: Likewise.
2614 * conform/data/grp.h-data: Likewise.
2615 * conform/data/pthread.h-data: Likewise.
2616 * conform/data/pwd.h-data: Likewise.
2617 * conform/data/signal.h-data: Likewise.
2618 * conform/data/spawn.h-data: Likewise.
2619 * conform/data/stdio.h-data: Likewise.
2620 * conform/data/stdlib.h-data: Likewise.
2621 * conform/data/stropts.h-data: Likewise.
2622 * conform/data/sys/mman.h-data: Likewise.
2623 * conform/data/sys/stat.h-data: Likewise.
2624 * conform/data/sys/types.h-data: Likewise.
2625 * conform/data/sys/wait.h-data: Likewise.
2626 * conform/data/time.h-data: Likewise.
2627 * conform/data/unistd.h-data: Likewise.
2628 * conform/data/utime.h-data: Likewise.
2629
2630 * io/sys/stat.h: fchmod was always in POSIX.
2631 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2632 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2633 * rt/aio.h: Define __need_timespec before including <time.h>.
2634 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2635 struct. Add forward declaration of pthread_attr_t and use it in
2636 sigevent.
2637 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2638 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2639 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2640 always remove CLK_TCK definition.
2641
c20105c3
AS
26422012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2643
2644 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2645
7a270350
UD
26462012-02-25 Ulrich Drepper <drepper@gmail.com>
2647
31341567
UD
2648 * conform/run-conformtest.sh: New file.
2649 * conform/Makefile: Run run-conformtest for tests.
2650 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2651 support.
2652
2653 * conform/data/uchar.h-data: New file.
2654 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2655 * conform/data/arpa/inet.h-data: Likewise.
2656 * conform/data/assert.h-data: Likewise.
2657 * conform/data/complex.h-data: Likewise.
2658 * conform/data/cpio.h-data: Likewise.
2659 * conform/data/ctype.h-data: Likewise.
2660 * conform/data/dirent.h-data: Likewise.
2661 * conform/data/dlfcn.h-data: Likewise.
2662 * conform/data/errno.h-data: Likewise.
2663 * conform/data/fcntl.h-data: Likewise.
2664 * conform/data/float.h-data: Likewise.
2665 * conform/data/fmtmsg.h-data: Likewise.
2666 * conform/data/fnmatch.h-data: Likewise.
2667 * conform/data/ftw.h-data: Likewise.
2668 * conform/data/glob.h-data: Likewise.
2669 * conform/data/grp.h-data: Likewise.
2670 * conform/data/iconv.h-data: Likewise.
2671 * conform/data/inttypes.h-data: Likewise.
2672 * conform/data/langinfo.h-data: Likewise.
2673 * conform/data/libgen.h-data: Likewise.
2674 * conform/data/limits.h-data: Likewise.
2675 * conform/data/locale.h-data: Likewise.
2676 * conform/data/math.h-data: Likewise.
2677 * conform/data/monetary.h-data: Likewise.
2678 * conform/data/mqueue.h-data: Likewise.
2679 * conform/data/ndbm.h-data: Likewise.
2680 * conform/data/net/if.h-data: Likewise.
2681 * conform/data/netdb.h-data: Likewise.
2682 * conform/data/netinet/in.h-data: Likewise.
2683 * conform/data/nl_types.h-data: Likewise.
2684 * conform/data/poll.h-data: Likewise.
2685 * conform/data/pthread.h-data: Likewise.
2686 * conform/data/pwd.h-data: Likewise.
2687 * conform/data/regex.h-data: Likewise.
2688 * conform/data/sched.h-data: Likewise.
2689 * conform/data/search.h-data: Likewise.
2690 * conform/data/semaphore.h-data: Likewise.
2691 * conform/data/setjmp.h-data: Likewise.
2692 * conform/data/signal.h-data: Likewise.
2693 * conform/data/spawn.h-data: Likewise.
2694 * conform/data/stdarg.h-data: Likewise.
2695 * conform/data/stdio.h-data: Likewise.
2696 * conform/data/stdlib.h-data: Likewise.
2697 * conform/data/string.h-data: Likewise.
2698 * conform/data/strings.h-data: Likewise.
2699 * conform/data/stropts.h-data: Likewise.
2700 * conform/data/sys/ipc.h-data: Likewise.
2701 * conform/data/sys/mman.h-data: Likewise.
2702 * conform/data/sys/msg.h-data: Likewise.
2703 * conform/data/sys/resource.h-data: Likewise.
2704 * conform/data/sys/select.h-data: Likewise.
2705 * conform/data/sys/sem.h-data: Likewise.
2706 * conform/data/sys/shm.h-data: Likewise.
2707 * conform/data/sys/socket.h-data: Likewise.
2708 * conform/data/sys/stat.h-data: Likewise.
2709 * conform/data/sys/statvfs.h-data: Likewise.
2710 * conform/data/sys/time.h-data: Likewise.
2711 * conform/data/sys/timeb.h-data: Likewise.
2712 * conform/data/sys/times.h-data: Likewise.
2713 * conform/data/sys/types.h-data: Likewise.
2714 * conform/data/sys/uio.h-data: Likewise.
2715 * conform/data/sys/un.h-data: Likewise.
2716 * conform/data/sys/utsname.h-data: Likewise.
2717 * conform/data/sys/wait.h-data: Likewise.
2718 * conform/data/syslog.h-data: Likewise.
2719 * conform/data/tar.h-data: Likewise.
2720 * conform/data/termios.h-data: Likewise.
2721 * conform/data/utime.h-data: Likewise.
2722 * conform/data/utmpx.h-data: Likewise.
2723 * conform/data/varargs.h-data: Likewise.
2724 * conform/data/wchar.h-data: Likewise.
2725 * conform/data/wctype.h-data: Likewise.
2726 * conform/data/wordexp.h-data: Likewise.
2727
2728 * include/stropts.h: New file.
2729 * include/uchar.h: New file.
2730 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2731 * include/assert.h: Likewise.
2732 * include/ctype.h: Likewise.
2733 * include/dirent.h: Likewise.
2734 * include/dlfcn.h: Likewise.
2735 * include/fcntl.h: Likewise.
2736 * include/fnmatch.h: Likewise.
2737 * include/glob.h: Likewise.
2738 * include/grp.h: Likewise.
2739 * include/libio.h: Likewise.
2740 * include/locale.h: Likewise.
2741 * include/math.h: Likewise.
2742 * include/net/if.h: Likewise.
2743 * include/netdb.h: Likewise.
2744 * include/netinet/in.h: Likewise.
2745 * include/pthread.h: Likewise.
2746 * include/pwd.h: Likewise.
2747 * include/regex.h: Likewise.
2748 * include/sched.h: Likewise.
2749 * include/search.h: Likewise.
2750 * include/setjmp.h: Likewise.
2751 * include/signal.h: Likewise.
2752 * include/stdio.h: Likewise.
2753 * include/stdlib.h: Likewise.
2754 * include/string.h: Likewise.
2755 * include/sys/cdefs.h: Likewise.
2756 * include/sys/mman.h: Likewise.
2757 * include/sys/msg.h: Likewise.
2758 * include/sys/resource.h: Likewise.
2759 * include/sys/select.h: Likewise.
2760 * include/sys/socket.h: Likewise.
2761 * include/sys/stat.h: Likewise.
2762 * include/sys/statvfs.h: Likewise.
2763 * include/sys/time.h: Likewise.
2764 * include/sys/times.h: Likewise.
2765 * include/sys/uio.h: Likewise.
2766 * include/sys/utsname.h: Likewise.
2767 * include/sys/wait.h: Likewise.
2768 * include/termios.h: Likewise.
2769 * include/time.h: Likewise.
2770 * include/ulimit.h: Likewise.
2771 * include/unistd.h: Likewise.
2772 * include/utime.h: Likewise.
2773 * include/wchar.h: Likewise.
2774 * include/wctype.h: Likewise.
2775 * include/wordexp.h: Likewise.
2776
2777 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2778
7a270350
UD
2779 * time/time.h: TIME_UTC must be a macro.
2780 Make timespec_get available for ISO C11 only as well.
2781
7724defc
UD
27822012-02-24 Ulrich Drepper <drepper@gmail.com>
2783
2784 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2785 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2786
6b1d1d46
JM
27872012-02-24 Joseph Myers <joseph@codesourcery.com>
2788
2789 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 2790
0f8bbd69
JM
27912012-02-24 Joseph Myers <joseph@codesourcery.com>
2792
2793 * manual/texinfo.tex: Update to version 2012-01-19.16.
2794
66ab80bc
JM
27952012-02-24 Joseph Myers <joseph@codesourcery.com>
2796
2797 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2798
74981cc5
RM
27992012-02-24 Roland McGrath <roland@hack.frob.com>
2800
ee968201
RM
2801 [BZ #13738]
2802 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2803 * manual/fdl-1.3.texi: New file.
2804 * manual/fdl-1.1.texi: File removed.
2805
74981cc5
RM
2806 [BZ #13738]
2807 * manual/libc.texinfo (FDL_VERSION): New @set.
2808 Use it for mention of FDL in cover text.
2809 (Documentation License): Use it in @include file name.
2810
7bb764bc
JM
28112012-02-22 Joseph Myers <joseph@codesourcery.com>
2812 Roland McGrath <roland@hack.frob.com>
2813
2814 [BZ #5461]
2815 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2816 not LONG_LONG_MAX and LONG_LONG_MIN.
2817 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2818 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2819 name.
2820 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2821
6cbeae47
JM
28222012-02-22 Joseph Myers <joseph@codesourcery.com>
2823
2824 [BZ #2547]
2825 [BZ #11365]
2826 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2827 manipulate bits before adding and subtracting TWO23[sx].
2828 * math/libm-test.inc (nearbyint_test): Add more tests.
2829
fe45ce09
JM
28302012-02-22 Joseph Myers <joseph@codesourcery.com>
2831
2832 [BZ #2548]
2833 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2834 bits before adding and subtracting TWO23[sx].
2835 * math/libm-test.inc (rint_test): Add more tests.
2836 (rint_test_tonearest): Likewise.
2837 (rint_test_towardzero): Likewise.
2838 (rint_test_downward): Likewise.
2839 (rint_test_upward: Likewise.
2840
ff3b3d82
JM
28412012-02-22 Joseph Myers <joseph@codesourcery.com>
2842
2843 [BZ #10110]
2844 * include/stdc-predef.h: New file. Extracted from features.h.
2845 * include/features.h: Include stdc-predef.h.
2846 * Makefile (headers): Add stdc-predef.h.
2847 * CONFORMANCE (Compiler limitations): Update.
2848
ef0aab35
JM
28492012-02-22 Joseph Myers <joseph@codesourcery.com>
2850
2851 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2852
58639409
DM
28532012-02-21 David S. Miller <davem@davemloft.net>
2854
2855 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2856 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2857
c0e70b25
DM
28582012-02-20 David S. Miller <davem@davemloft.net>
2859
2860 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2861 using a normal save/restore sequence, rather than allocating a
2862 dummy stack frame just to store a frame pointer and restore.
2863 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2864
fb06851d
JM
28652012-02-21 Joseph Myers <joseph@codesourcery.com>
2866
2867 * manual/install.texi: Fix stray word in line-wrapped comment.
2868
7a8b71c3
DM
28692012-02-20 David S. Miller <davem@davemloft.net>
2870
d510c123
DM
2871 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2872 both binutils and gcc support GOTDATA.
2873
0722d7c2
DM
2874 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2875 "rd %pc" in the PIC register setup sequences.
2876
3d2b3019
DM
2877 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2878 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2879 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2880 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2881 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2882 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2883 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2884 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2885 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2886 (SYSCALL_ERROR_HANDLER): Likewise.
2887 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2888 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2889 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2890 (SYSCALL_ERROR_HANDLER): Likewise.
2891
c80098a9
DM
2892 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2893 (HAVE_GCC_GOTDATA): New.
2894 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2895 relocation support in both binutils and gcc.
2896 * sysdeps/sparc/elf/configure: Regenerate.
2897
3a2545a0
DM
2898 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2899 * sysdeps/sparc/sparc32/elf/configure: Delete.
2900 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2901 * sysdeps/sparc/sparc64/elf/configure: Delete.
2902 * sysdeps/sparc/elf/configure.in: New file.
2903 * sysdeps/sparc/elf/configure: Generate.
2904
7a8b71c3
DM
2905 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2906 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2907 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2908 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2909 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2910
f1e86fca
JM
29112012-02-21 Joseph Myers <joseph@codesourcery.com>
2912
2913 * manual/install.texi: Do not mention specific glibc version
2914 numbers.
2915 * manual/libc.texinfo (VERSION, UPDATED): Update.
2916 (@copying): Use @copyright{} and range of years.
2917
0e7dfaef
JM
29182012-02-21 Joseph Myers <joseph@codesourcery.com>
2919
2920 [BZ #13695]
2921 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2922 [crti.S not in sysdirs] (generated): Do not append.
2923 [crti.S not in sysdirs] (omit-deps): Likewise.
2924 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2925 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2926 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2927 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2928 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2929 Likewise.
2930 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2931 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2932 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2933 * csu/defs.awk: Remove file.
2934 * sysdeps/generic/initfini.c: Likewise.
2935 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2936 variable.
2937 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2938 Likewise.
2939
599af3ca
JM
29402012-02-20 Joseph Myers <joseph@codesourcery.com>
2941
2942 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2943 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2944 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2945 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2946 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2947 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2948 <bits/epoll.h>.
2949 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2950 (__EPOLL_PACKED): Define to empty if not defined by
2951 <bits/epoll.h>.
2952 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2953 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2954 bits/epoll.h.
2955
0e499750
JM
29562012-02-20 Joseph Myers <joseph@codesourcery.com>
2957
2958 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2959 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2960 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2961 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2962 <bits/timerfd.h>.
2963 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2964 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2965 bits/timerfd.h.
2966
5ad91f6e
JM
29672012-02-20 Joseph Myers <joseph@codesourcery.com>
2968
2969 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2970 in C locale.
2971 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2972 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2973 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2975
06b99b02
AJ
29762012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2977
2978 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2979 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2980
7638c0fd
AS
29812012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2982
2983 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2984 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2985 defined.
2986 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2987 Likewise.
2988 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2989 entry for 2.16.
2990
92221550
AJ
29912012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2992
2993 * math/w_acos.c: Use non-signaling floating-point comparisons.
2994 * math/w_acosf.c: Likewise.
2995 * math/w_acosh.c: Likewise.
2996 * math/w_acoshf.c: Likewise.
2997 * math/w_acoshl.c: Likewise.
2998 * math/w_acosl.c: Likewise.
2999 * math/w_asin.c: Likewise.
3000 * math/w_asinf.c: Likewise.
3001 * math/w_asinl.c: Likewise.
3002 * math/w_atanh.c: Likewise.
3003 * math/w_atanhf.c: Likewise.
3004 * math/w_atanhl.c: Likewise.
3005 * math/w_exp2.c: Likewise.
3006 * math/w_exp2f.c: Likewise.
3007 * math/w_exp2l.c: Likewise.
3008 * math/w_j0.c: Likewise.
3009 * math/w_j0f.c: Likewise.
3010 * math/w_j0l.c: Likewise.
3011 * math/w_j1.c: Likewise.
3012 * math/w_j1f.c: Likewise.
3013 * math/w_j1l.c: Likewise.
3014 * math/w_jn.c: Likewise.
3015 * math/w_jnf.c: Likewise.
3016 * math/w_log.c: Likewise.
3017 * math/w_log10.c: Likewise.
3018 * math/w_log10f.c: Likewise.
3019 * math/w_log10l.c: Likewise.
3020 * math/w_log2.c: Likewise.
3021 * math/w_log2f.c: Likewise.
3022 * math/w_log2l.c: Likewise.
3023 * math/w_logf.c: Likewise.
3024 * math/w_logl.c: Likewise.
3025 * math/w_sqrt.c: Likewise.
3026 * math/w_sqrtf.c: Likewise.
3027 * math/w_sqrtl.c: Likewise.
3028 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3029 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3030 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3031 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3032 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3033
ebaf36eb
JM
30342012-02-19 Joseph Myers <joseph@codesourcery.com>
3035
3036 [BZ #9739]
3037 * manual/string.texi (strnlen): Use correct parameter name in
3038 equivalent expression.
3039
71c254a6
JM
30402012-02-19 Joseph Myers <joseph@codesourcery.com>
3041
3042 [BZ #11174]
3043 * manual/users.texi (seteuid): Consistently use neweuid for
3044 argument name.
3045
16d2c631
JM
30462012-02-19 Joseph Myers <joseph@codesourcery.com>
3047
3048 [BZ #13704]
3049 * manual/nss.texi (Services in the NSS configuration): Correct
3050 list of services in example configuration file.
3051
cd837b09
NB
30522012-02-19 Nick Bowler <nbowler@draconx.ca>
3053
3054 [BZ #11322]
3055 * manual/arith.texi: Remove statements about negative zero
3056 behaving identically to zero.
3057
02c4bbad
JM
30582012-02-18 Joseph Myers <joseph@codesourcery.com>
3059
3060 [BZ #5993]
3061 * manual/install.texi: Do not document upgrading from libc5.
3062
366842e7
JM
30632012-02-18 Joseph Myers <joseph@codesourcery.com>
3064
3065 [BZ #4596]
3066 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3067
dd54084d
DM
30682012-02-18 David S. Miller <davem@davemloft.net>
3069
3070 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3071 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3072 %o7 across the call.
3073 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3074 instead.
3075 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3076 SETUP_PIC_REG_LEAF.
3077 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3078 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3079 * sysdeps/sparc/crtn.S: Likewise.
3080
2bcc53a3
UD
30812012-02-17 Ulrich Drepper <drepper@gmail.com>
3082
3083 * aout/Makefile: Remove.
3084
09c093b5
RK
30852012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3086
3087 [BZ #13058]
3088 * manual/examples/argp-ex1.c (main): Format definition in GNU
3089 style.
3090 * manual/examples/argp-ex2.c (main): Likewise.
3091 * manual/examples/argp-ex3.c (main): Likewise.
3092 * manual/examples/argp-ex4.c (main): Likewise.
3093 * manual/examples/longopt.c (main): Use new-style prototype
3094 definition.
3095 * manual/examples/strncat.c (main): Specify return type and use
3096 (void) for arguments.
3097 * manual/examples/subopt.c (main): Use char **argv argument.
3098
2ee633a2
JM
30992012-02-17 Joseph Myers <joseph@codesourcery.com>
3100
3101 [BZ #5077]
3102 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3103 rounding modes.
3104
0520adde
FB
31052012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3106
3107 [BZ #6907]
3108 * manual/string.texi (strchr): Change when strchrnul is
3109 recommended.
3110
3f4081cd
DGM
31112012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3112
3113 [BZ #174]
3114 * manual/locale.texi (setlocale): Document LOCPATH.
3115
d1b10e78
JM
31162012-02-17 Joseph Myers <joseph@codesourcery.com>
3117
3118 [BZ #10210]
3119 * manual/process.texi (execle): Move @dots{} before last argument.
3120
79c6869c
PB
31212012-02-17 Paul Bolle <pebolle@tiscali.nl>
3122
3123 [BZ #12047]
3124 * manual/charset.texi (Generic Charset Conversion): Fix typo
3125 (LC_TYPE -> LC_CTYPE).
3126
cc6e48bc
NB
31272012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3128
3129 [BZ #5805]
3130 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3131 (scalbnf): Likewise.
3132 (scalbnl): Likewise.
3133 (scalbln): Likewise.
3134 (scalblnf): Likewise.
3135 (scalblnl): Likewise.
3136 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3137 (vwarnx): Likewise.
3138 (verr): Likewise.
3139 (verrx): Likewise.
3140 * manual/filesys.texi (telldir): Use braces around return type.
3141 * manual/llio.texi (mmap): Add space after comma.
3142 (mmap64): Likewise.
3143 * manual/math.texi (jn): Use @var{} on parameter names.
3144 (jnf): Likewise.
3145 (jnl): Likewise.
3146 (yn): Likewise.
3147 (ynf): Likewise.
3148 (ynl): Likewise.
3149 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3150 line.
3151 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3152 "...".
3153 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3154 (sched_get_priority_max): Likewise.
3155 * manual/signal.texi (sigvec): Add space after comma.
3156 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3157 names.
3158 (if_indextoname): Likewise.
3159 (if_freenameindex): Likewise.
3160 (sendto): Use ',' instead of '.' in prototype.
3161 * manual/startup.texi (syscall): Use @dots{} instead of literal
3162 "...".
3163 * manual/stdio.texi (__fpending): Separate initial words of
3164 paragraph from @deftypefun line.
3165 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3166 "...".
3167 (vsyslog): Use @var{} on parameter names.
3168 * manual/terminal.texi (stty): Use @var{} on parameter names.
3169 * manual/users.texi (getutmp): Use @var{} on parameter names.
3170 (getutmpx): Likewise.
3171
5b23062f
JM
31722012-02-17 Joseph Myers <joseph@codesourcery.com>
3173
3174 [BZ #6884]
3175 * manual/stdio.texi (fopen): Fix typos in description of
3176 ",ccs=STRING".
3177
8dee4833
AJ
31782012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3179
3180 [BZ #4026]
3181 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3182 get clock_id definition.
3183
9078ce93
TS
31842012-02-17 Thomas Schwinge <thomas@schwinge.name>
3185
3186 [BZ #4822]
3187 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3188 (madvise): Cast every argument to void on its own.
3189
3835c55f
JM
31902012-02-17 Joseph Myers <joseph@codesourcery.com>
3191
3192 [BZ #9902]
3193 * manual/startup.texi (Exit Status): Fix typo.
3194
35c47e37
JM
31952012-02-17 Joseph Myers <joseph@codesourcery.com>
3196
3197 [BZ #10140]
3198 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3199 * manual/examples/argp-ex2.c: Likewise.
3200 * manual/examples/argp-ex3.c: Likewise.
3201
e3b69ca7
RH
32022012-02-16 Richard Henderson <rth@redhat.com>
3203
3204 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3205 * sysdeps/s390/s390-32/initfini.c: Remove.
3206 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3207 * sysdeps/s390/s390-64/initfini.c: Remove.
3208
df83af67
KK
32092012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3210
3211 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3212 compiler output for sysdeps/generic/initfini.c.
3213 * sysdeps/sh/elf/initfini.c: Remove file.
3214
f63f3380
DM
32152012-02-16 David S. Miller <davem@davemloft.net>
3216
fb59b3a4
DM
3217 [BZ #11494]
3218 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3219
f63f3380
DM
3220 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3221 * sysdeps/sparc/crti.S: New file.
3222 * sysdeps/sparc/crtn.S: New file.
3223 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3224 * sysdeps/sparc/sparc64/Makefile: Likewise.
3225
df6a4a4a
MF
32262012-02-15 Mike Frysinger <vapier@gentoo.org>
3227
6dd8f3dc 3228 [BZ #3335]
df6a4a4a
MF
3229 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3230
1cac7236
RM
32312012-02-15 Roland McGrath <roland@hack.frob.com>
3232
d2c736f8
RM
3233 [BZ #4822]
3234 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3235
1cac7236
RM
3236 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3237 (write, read, close): Likewise.
3238 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3239
8e475601
JM
32402012-02-15 Joseph Myers <joseph@codesourcery.com>
3241
3242 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3243 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3244 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3245 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3246 <bits/signalfd.h>.
3247 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3248 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3249 bits/signalfd.h.
3250
ed656b40
MP
32512012-02-14 Marek Polacek <polacek@redhat.com>
3252
3253 * sysdeps/x86_64/crti.S: New file.
3254 * sysdeps/x86_64/crtn.S: New file.
3255 * sysdeps/x86_64/elf/initfini.c: Remove file.
3256
2a979d3a
JM
32572012-02-13 Joseph Myers <joseph@codesourcery.com>
3258
3259 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3260 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3261 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3262 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3263 <bits/inotify.h>.
3264 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3265 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3266 bits/inotify.h.
3267
2a418ac3
JM
32682012-02-13 Joseph Myers <joseph@codesourcery.com>
3269
3270 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3271 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3272 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3273 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3274 <bits/eventfd.h>.
3275 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3276 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3277 bits/eventfd.h.
3278
fb779be7
TS
32792012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3280
e19e83c5
RM
3281 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3282 __feraiseexcept instead of feraiseexcept.
7c35ffed 3283
fb779be7
TS
3284 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3285 nanosleep invocations.
3286 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3287 strings, and add error checking for a nanosleep invocations.
3288
59ba27a6
PE
32892012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3290
3291 Replace FSF snail mail address with URLs, as per GNU coding standards.
3292 Most of the snail mail addresses were wrong anyway, and omitting
3293 them makes the source code easier to maintain. Almost all of the
3294 changes are to license notices and to locale LC_IDENTIFICATION
3295 addresses, except for this one:
3296 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3297 not its snail mail address.
3298
57b957eb
RH
32992012-02-09 Richard Henderson <rth@twiddle.net>
3300
af850b1c
RH
3301 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3302 of kernel-features.h.
3303
57b957eb
RH
3304 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3305
6b73181a
MP
33062012-02-08 Marek Polacek <polacek@redhat.com>
3307
3308 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3309 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3310 * sysdeps/gnu/_G_config.h: Likewise.
3311 * sysdeps/generic/_G_config.h: Likewise.
3312
26ecc33a
AS
33132012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3314
6c6dbc63
AS
3315 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3316 tests.
3317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3318
e216c012
AS
3319 * sysdeps/powerpc/powerpc32/crti.S: New file.
3320 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3321 * sysdeps/powerpc/powerpc64/crti.S: New file.
3322 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3323
26ecc33a
AS
3324 * Makeconfig (have-initfini): Don't set.
3325 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3326 * configure.in (nopic_initfini): Don't substitute.
3327 * config.h.in (HAVE_INITFINI): Don't #undef.
3328 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3329 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3330
3add8e13
JM
33312012-02-08 Joseph Myers <joseph@codesourcery.com>
3332
3333 Support crti.S and crtn.S provided directly by architectures.
3334 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3335 [crti.S in sysdirs] (omit-deps): Likewise.
3336 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3337 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3338 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3339 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3340 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3341 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3342 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3343 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3344 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3345 compiler output for sysdeps/generic/initfini.c.
3346 * sysdeps/i386/elf/Makefile: Remove file.
3347 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3348
a22f12b4
MP
33492012-02-07 Marek Polacek <polacek@redhat.com>
3350
3351 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3352 * sysdeps/gnu/_G_config.h: Likewise.
3353 * sysdeps/mach/hurd/_G_config.h: Likewise.
3354
148cf100
MP
33552012-02-07 Marek Polacek <polacek@redhat.com>
3356
3357 * math/Makefile (tests): Add tst-CMPLX2.
3358 * math/tst-CMPLX2.c: New file.
3359
cfdc0dd7
AS
33602012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3361
84ba42c4
AS
3362 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3363
cfdc0dd7
AS
3364 * math/libm-test.inc (jn_test): Add missing L suffix.
3365
622c86f4
MP
33662012-02-06 Marek Polacek <polacek@redhat.com>
3367
3368 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3369 * sysdeps/i386/fpu/e_powf.S: Likewise.
3370 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3371 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3372 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3373 * sysdeps/i386/fpu/e_pow.S: Likewise.
3374 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3375 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3376 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3377 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3378 * sysdeps/i386/fpu/e_log2.S: Likewise.
3379 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3380 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3381 * sysdeps/i386/fpu/e_powl.S: Likewise.
3382 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3383 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3384 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3385 * sysdeps/i386/fpu/e_logl.S: Likewise.
3386 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3387 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3388 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3389 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3390 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3391 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3392 * sysdeps/i386/fpu/e_log.S: Likewise.
3393 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3394 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3395 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3396 * sysdeps/i386/fpu/e_logf.S: Likewise.
3397 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3398 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3399 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3400 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3401 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3402 * sysdeps/i386/fpu/e_log10.S: Likewise.
3403 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3404 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3405 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3406 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3407 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3408 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3409 * sysdeps/i386/asm-syntax.h: Likewise.
3410 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3411 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3412 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3413 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3414 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3415 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3416 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3417 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3418 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3419 * sysdeps/powerpc/sysdep.h: Likewise.
3420 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3421 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3422
d4a54ac6
JM
34232012-02-06 Joseph Myers <joseph@codesourcery.com>
3424
3425 [BZ #411]
3426 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3427
314054ea
JM
34282012-02-06 Joseph Myers <joseph@codesourcery.com>
3429
3430 * sysdeps/i386/sysdep.h: Include <features.h>.
3431 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3432 version.
3433
d8e0ca50
JM
34342012-02-05 Joseph Myers <joseph@codesourcery.com>
3435
3436 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3437 Define.
3438 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3439 LOAD_PIC_REG_STR.
3440
b1da7dd9
JM
34412012-02-03 Joseph Myers <joseph@codesourcery.com>
3442
3443 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3444 (SETUP_PIC_REG): Use GET_PC_THUNK.
3445 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3446 macro.
3447
9a1d9254
JM
34482012-02-03 Joseph Myers <joseph@codesourcery.com>
3449
3450 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3451 for non-PIC compilation.
3452 (SETUP_PIC_REG): Add .p2align directive.
3453 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3454 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3455 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3456 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3457 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3458 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3459 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3460 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3461 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3462 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3463 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3464 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3465 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3466 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3467 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3468 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3469 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3470 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3471 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3472 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3473 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3474 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3475 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3476 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3477 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3478 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3479 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3480 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3481 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3482 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3483 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3484 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3485 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3486 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3487 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3488 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3489 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3490 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3491 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3492 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3493 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3494
65dc3b75
JM
34952012-02-03 Joseph Myers <joseph@codesourcery.com>
3496
3497 * math/tst-CMPLX.c: Include <stdio.h>.
3498
d55bf177
JM
34992012-01-31 Joseph Myers <joseph@codesourcery.com>
3500
3501 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3502 float.
3503 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3504 * sysdeps/sparc/bits/mathdef.h: Likewise.
3505
69db4f8f
MP
35062012-01-31 Marek Polacek <polacek@redhat.com>
3507
3508 * libio/libio.h: Don't define _PARAMS.
3509 * locale/programs/config.h: Don't define PARAMS.
3510 * stdlib/strtol_l.c: Likewise.
3511 (__strtol_l): Remove PARAMS from the prototype.
3512
41b81892
UD
35132012-01-31 Ulrich Drepper <drepper@gmail.com>
3514
3b49edc0
UD
3515 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3516 names. Just use the correct names. Remove unnecessary wrapper
3517 functions.
3518 * malloc/arena.c: Likewise.
3519 * malloc/hooks.c: Likewise.
3520
41b81892
UD
3521 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3522 ARENA_TEST says not to. Simplify test for creation of a new arena.
3523 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3524
27a25b6e
UD
35252012-01-30 Ulrich Drepper <drepper@gmail.com>
3526
3527 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3528 into tail calls.
3529 (update_get_addr): New function.
3530 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3531 GET_ADDR_MODULE parameter.
3532
c8a89e7d
JM
35332012-01-30 Joseph Myers <joseph@codesourcery.com>
3534
3535 * crypt/cert.c: Remove __STDC__ conditionals.
3536 * crypt/crypt-entry.c: Likewise.
3537 * crypt/crypt_util.c: Likewise.
3538 * libio/filedoalloc.c: Likewise.
3539 * libio/fileops.c: Likewise.
3540 * libio/genops.c: Likewise.
3541 * libio/iofclose.c: Likewise.
3542 * libio/iofdopen.c: Likewise.
3543 * libio/iofopen.c: Likewise.
3544 * libio/iofopen64.c: Likewise.
3545 * libio/iogetdelim.c: Likewise.
3546 * libio/iopopen.c: Likewise.
3547 * libio/obprintf.c: Likewise.
3548 * libio/oldfileops.c: Likewise.
3549 * libio/oldiofclose.c: Likewise.
3550 * libio/oldiofdopen.c: Likewise.
3551 * libio/oldiofopen.c: Likewise.
3552 * libio/oldiopopen.c: Likewise.
3553 * libio/wfiledoalloc.c: Likewise.
3554 * libio/wgenops.c: Likewise.
3555 * locale/programs/xmalloc.c: Likewise.
3556 * misc/syslog.c: Likewise.
3557 * stdio-common/xbug.c: Likewise.
3558 * string/memchr.c: Likewise.
3559 * string/memcmp.c: Likewise.
3560 * string/memrchr.c: Likewise.
3561 * string/rawmemchr.c: Likewise.
3562 * sysdeps/posix/getcwd.c: Likewise.
3563 * time/strftime_l.c: Likewise.
3564
3b100462
JM
35652012-01-30 Joseph Myers <joseph@codesourcery.com>
3566
3567 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
3568 * config.make.in (config-cflags-sse2avx): Define.
3569 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3570 Fix typo.
3571
607998af
CM
35722012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3573
3574 * scripts/config.guess: Update from upstream config git repository.
3575 * scripts/config.sub: Likewise.
3576
3601428f
CM
35772012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3578
3ac8b282
CM
3579 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3580 (EM_NUM): Update.
3581 (R_TILEPRO_*, R_TILEGX_*): New macros.
3582
e034841e
CM
3583 * scripts/firstversions.awk: Fix bug in version range handling.
3584
540d7568
CM
3585 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3586
3601428f
CM
3587 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3588
463de862
CM
3589 * include/sys/epoll.h: New file.
3590 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3591 libc_hidden_def.
3592
73139a76
UD
35932012-01-28 Ulrich Drepper <drepper@gmail.com>
3594
96bc5b45
UD
3595 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3596 Avoid unnecessary __WORDSIZE == 64 test.
3597 (fmaxf): Use VEX format if possible.
3598 (fmax): Likewise.
3599 (fminf): Likewise.
3600 (fmin): Likewise.
3601
56f6f6a2
UD
3602 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3603 * math/math_private.h: Remove libc_fegetround* and
3604 libc_fesetround*.
3605 * sysdeps/i386/configure.in: Check for -msse2avx.
3606 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3607 also if SSE2AVX is defined.
3608 Remove libc_fegetround* and libc_fesetround*.
3609 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3610 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3611 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3612 of HAS_YMM_USABLE.
3613 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3614 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3615 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3616 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3617 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3618
73139a76
UD
3619 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3620
d73f93a4
AZ
36212012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3622
3623 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3624 size is not set.
3625 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3626
6ee65ed6
UD
36272012-01-27 Ulrich Drepper <drepper@gmail.com>
3628
3629 [BZ #13618]
3630 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3631 relocation.
3632 * Makeconfig (libm): Define.
3633 * elf/Makefile: Add rules to build and run tst-relsort1.
3634 * elf/tst-relsort1.c: New file.
3635 * elf/tst-relsort1mod1.c: New file.
3636 * elf/tst-relsort1mod2.c: New file.
3637
8db21882
JM
36382012-01-27 Joseph Myers <joseph@codesourcery.com>
3639
3640 * math/s_ldexp.c: Remove __STDC__ conditionals.
3641 * math/s_ldexpf.c: Likewise.
3642 * math/s_ldexpl.c: Likewise.
3643 * math/s_nextafter.c: Likewise.
3644 * math/s_nexttowardf.c: Likewise.
3645 * math/s_significand.c: Likewise.
3646 * math/s_significandf.c: Likewise.
3647 * math/s_significandl.c: Likewise.
3648 * math/w_jnl.c: Likewise.
3649 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3650 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3651 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3652 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3653 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3654 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3655 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3656 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3657 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3658 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3659 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3660 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3661 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3662 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3663 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3664 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3665 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3666 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3667 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3668 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3669 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3670 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3671 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3672 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3673 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3674 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3675 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3676 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3677 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3678 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3679 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3680 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3681 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3682 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3683 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3684 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3685 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3686 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3687 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3688 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3689 * sysdeps/ieee754/k_standard.c: Likewise.
3690 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3691 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3692 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3693 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3694 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3695 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3696 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3697 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3698 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3699 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3700 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3701 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3702 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3703 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3704 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3705 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3706 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3707 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3708 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3709 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3710 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3711 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3712 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3713 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3714 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3715 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3716 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3717 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3718 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3719 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3720 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3721 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3722 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3723 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3724 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3725 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3726 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3727 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3728 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3729 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3730 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3731 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3732 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3733 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3734 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3735 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3736 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3737 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3738 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3739 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3740 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3741 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3742 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3743 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3744 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3745 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3746 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3747 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3748 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3749 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3750 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3751 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3752 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3753 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3754 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3755 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3756 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3757 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3758 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3759 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3760 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3761 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3762 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3763 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3764 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3765 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3766 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3767 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3768 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3769 * sysdeps/ieee754/s_matherr.c: Likewise.
3770 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3771 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3772 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3773 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3774
965a54a4
JM
37752012-01-26 Joseph Myers <joseph@codesourcery.com>
3776
3777 * crypt/md5.h: Remove __STDC__ conditionals.
3778 * libio/libioP.h: Likewise.
3779 * locale/programs/config.h: Likewise.
3780 * sysdeps/generic/sysdep.h: Likewise.
3781 * sysdeps/i386/asm-syntax.h: Likewise.
3782 * sysdeps/s390/asm-syntax.h: Likewise.
3783 * sysdeps/unix/sysdep.h: Likewise.
3784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3786
7071ad79
JM
37872012-01-26 Joseph Myers <joseph@codesourcery.com>
3788
3789 * libio/libio.h: Remove __STDC__ conditionals.
3790 * malloc/obstack.h: Likewise.
3791 * math/complex.h: Likewise.
3792 * math/math.h: Likewise.
3793 * sysdeps/generic/_G_config.h: Likewise.
3794 * sysdeps/gnu/_G_config.h: Likewise.
3795 * sysdeps/mach/hurd/_G_config.h: Likewise.
3796 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3797 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3798 * sysdeps/sparc/bits/mathdef.h: Likewise.
3799
afc5ed09
UD
38002012-01-26 Ulrich Drepper <drepper@gmail.com>
3801
3802 [BZ #13583]
3803 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 3804 Clean up HAS_* macros.
afc5ed09 3805 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
3806 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3807 possible.
3808 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3809 HAS_AVX.
3810 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3811 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3812 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3813 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3814 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 3815
bdb6de1d
JM
38162012-01-25 Joseph Myers <joseph@codesourcery.com>
3817
3818 * elf/tst-unique3.cc (gets): Remove declaration.
3819 * elf/tst-unique3lib.cc (gets): Likewise.
3820 * elf/tst-unique3lib2.cc (gets): Likewise.
3821 * elf/tst-unique4.cc (gets): Likewise.
3822
b15549e6
UD
38232012-01-24 Ulrich Drepper <drepper@gmail.com>
3824
3825 * include/stdio.h: Add C++ protection. Add gets declarations and
3826 definitions.
3827 * debug/tst-chk1.c: Don't declare gets here.
3828 * stdio-common/tst-gets.c: Likewise.
3829
a037381f
JM
38302012-01-24 Joseph Myers <joseph@codesourcery.com>
3831
3832 * posix/glob: Remove directory.
3833
f1d4aa75
JM
38342012-01-24 Joseph Myers <joseph@codesourcery.com>
3835
3836 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3837
81c0c964
PT
38382012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3839
3840 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3841 of the non-standard EPFNOSUPPORT.
3842
0ea698ae
ST
38432011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3844
3845 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3846 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3847 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3848
d220b117
UD
38492012-01-21 Ulrich Drepper <drepper@gmail.com>
3850
3851 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3852
3e1aa84e
UD
38532012-01-20 Ulrich Drepper <drepper@gmail.com>
3854
3855 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3856 transient errors.
3857 * nscd/grpcache.c (cache_addgr): Likewise.
3858 * nscd/hstcache.c (cache_addhst): Likewise.
3859 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3860 * nscd/pwdcache.c (cache_addpw): Likewise.
3861 * nscd/servicescache.c (cache_addserv): Likewise.
3862
400aa020
UD
38632012-01-16 Ulrich Drepper <drepper@gmail.com>
3864
d77e7869
UD
3865 * malloc/malloc.c: Various cleanups.
3866 * malloc/hooks.c: Likewise.
3867
400aa020
UD
3868 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3869 * stdlib/bug-fmtmsg1.c: New file.
3870
3871 * stdlib/fmtmsg.c (init): Add missing unlock.
3872 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3873
e0a309cf
MP
38742012-01-12 Marek Polacek <polacek@redhat.com>
3875
3876 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3877 and _GNU_SOURCE.
3878
929d11c7
WS
38792012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3880
3881 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3882 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3883 macro to ensure uniqueness of label name.
3884 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3885 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3886
41d0e869
UD
38872012-01-11 Ulrich Drepper <drepper@gmail.com>
3888
0cc5ed3b
UD
3889 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3890
41d0e869
UD
3891 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3892 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3893 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3894 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3895
a47a831a
UD
38962012-01-10 Ulrich Drepper <drepper@gmail.com>
3897
daa891c0
UD
3898 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3899
3900 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3901 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3902 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3903
e58ef0f2
UD
3904 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3905
a47a831a 3906 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
3907 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3908 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 3909 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
3910
3911 * math/bits/math-finite.h: Add ldexp support.
3912
a0bfc9c7
MP
39132012-01-10 Marek Polacek <polacek@redhat.com>
3914
3915 * locale/programs/localedef.h (show_archive_content): Add noreturn
3916 attribute.
3917
d6e97a1d
UD
39182012-01-09 Ulrich Drepper <drepper@gmail.com>
3919
3920 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3921
d5835c26
UD
39222012-01-08 Ulrich Drepper <drepper@gmail.com>
3923
e5f484c6
UD
3924 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3925
d5835c26
UD
3926 * io/Makefile (headers): Add bits/poll2.h.
3927
d1f741e9
WS
39282011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3929
3930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3931 typo #include statement.
3932
ec09c1c4
UD
39332012-01-08 Ulrich Drepper <drepper@gmail.com>
3934
3935 * include/sys/cdefs.h: Define __attribute_alloc_size.
3936 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3937 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3938 * elf/pldd.c: Likewise.
3939 * iconv/iconv_charmap.c: Likewise.
3940 * iconv/iconvconfig.c: Likewise.
3941 * iconv/strtab.c: Likewise.
3942 * locale/programs/locale.c: Likewise.
3943 * locale/programs/localedef.h: Likewise.
3944 * locale/programs/simple-hash.c: Likewise.
3945 * nscd/nscd.h: Likewise.
3946 * nss/makedb.c: Likewise.
3947 * sysdeps/generic/ldconfig.h: Likewise.
3948 * locale/programs/localedef.c: Remove xmalloc prototype.
3949 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3950
20b38e03
PP
39512012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3952
3953 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3954 appropriate.
3955
a0da5fe1
UD
39562012-01-08 Ulrich Drepper <drepper@gmail.com>
3957
1d5a644a 3958 * math/Makefile (tests): Add tst-CMPLX.
669704fd 3959 * math/tst-CMPLX.c: New file.
1d5a644a 3960
8784a6db
UD
3961 * math/complex.h (CMPLXL): Fix typo.
3962
d9a216c0
UD
3963 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3964 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3965 GLIBC_2.16.
3966 * debug/tst-chk1.c: Add poll and ppoll tests.
3967 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3968 * include/sys/poll.h: Add hidden proto for ppoll.
3969 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3970 * sysdeps/mach/hurd/ppoll.c: Likewise.
3971 * io/ppoll.c: Likewise.
3972 * debug/poll_chk.c: New file.
3973 * debug/ppoll_chk.c: New file.
3974 * include/bits/poll2.h: New file.
3975 * io/bits/poll2.h: New file.
3976
ac097f5c
UD
3977 [BZ #1350]
3978 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3979
2119dcfa
UD
3980 * configure.in: static is always set to yes. Remove.
3981 * config.make.in: Don't set build-static.
3982 * Makeconfig: Remove use of build-static.
3983 * dlfcn/Makefile: Likewise.
3984 * elf/Makefile: Likewise.
3985 * math/Makefile: Likewise.
3986 * misc/Makefile: Likewise.
3987 * nptl/Makefile: Likewise.
3988 * sysdeps/mach/hurd/Makefile: Likewise.
3989
121766a9
UD
3990 * configure.in: PWD_P is not used anymore.
3991 * config.make.in: Remove PWD_P entry.
3992
51a1d39c 3993 * configure.in: Remove last remnants of RANLIB.
8720d066 3994 No need to check for signed size_t anymore.
215f4bdc
UD
3995 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3996 and IA-64.
3857022a 3997 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
3998 * aclocal.m4: Likewise.
3999
d3ed7225
UD
4000 * wcsmbs/mbrtoc16.c: Implement using towc function.
4001 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4002 * wcsmbs/wcsmbsload.c: Likewise.
4003 * iconv/gconv_simple.c: Likewise.
4004 * iconv/gconv_int.h: Likewise.
4005 * iconv/gconv_builtin.h: Likewise.
4006 * iconv/iconv_prog.c: Remove CHAR16 handling.
4007
4008 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4009
4010 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4011
a0da5fe1
UD
4012 * configure.in: Remove --with-elf and --enable-bounded options.
4013 Dont set base_machine for ia64. More non-ELF conditions removed.
4014 Remove testing and setting of leading underscore information.
4015 * config.make.in (build-bounded): Set to no.
4016 * config.h.in: Remove NO_UNDERSCORES entry.
4017 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4018 them.
4019 * csu/start.c: Remove !NO_UNDERSCORE code.
4020 * locale/localeinfo.h: Likewise.
4021 * sysdeps/generic/machine-gmon.h: Likewise.
4022 * sysdeps/generic/sysdep.h: Likewise.
4023 * sysdeps/i386/sysdep.h: Likewise.
4024 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4025 * sysdeps/mach/sysdep.h: Likewise.
4026 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4027 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4028 * sysdeps/sh/sysdep.h: Likewise.
4029 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4030 * sysdeps/unix/i386/sysdep.S: Likewise.
4031 * sysdeps/unix/sparc/start.c: Likewise.
4032 * sysdeps/unix/sparc/sysdep.S: Likewise.
4033 * sysdeps/unix/sparc/sysdep.h: Likewise.
4034 * sysdeps/unix/start.c: Likewise.
4035 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4036 * sysdeps/x86_64/sysdep.h: Likewise.
4037
df78418a
UD
40382012-01-07 Ulrich Drepper <drepper@gmail.com>
4039
a784e502
UD
4040 [BZ #13553]
4041 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4042 for non-gcc.
4043 * argp/argp-fmtstream.h: Use const instead __const.
4044 * argp/argp.h: Likewise.
4045 * assert/assert.h: Likewise.
4046 * bits/fenv.h: Likewise.
4047 * bits/sched.h: Likewise.
4048 * bits/sigset.h: Likewise.
4049 * bits/sigthread.h: Likewise.
4050 * catgets/nl_types.h: Likewise.
4051 * conform/data/pthread.h-data: Likewise.
4052 * crypt/crypt-private.h: Likewise.
4053 * crypt/crypt.h: Likewise.
4054 * crypt/crypt_util.c: Likewise.
4055 * ctype/ctype.h: Likewise.
4056 * debug/execinfo.h: Likewise.
4057 * debug/mbsnrtowcs_chk.c: Likewise.
4058 * debug/mbsrtowcs_chk.c: Likewise.
4059 * debug/wcsnrtombs_chk.c: Likewise.
4060 * debug/wcsrtombs_chk.c: Likewise.
4061 * debug/wcstombs_chk.c: Likewise.
4062 * dirent/dirent.h: Likewise.
4063 * dlfcn/dlfcn.h: Likewise.
4064 * elf/neededtest4.c: Likewise.
4065 * grp/grp.h: Likewise.
4066 * gshadow/gshadow.h: Likewise.
4067 * iconv/gconv.h: Likewise.
4068 * iconv/gconv_int.h: Likewise.
4069 * iconv/gconv_simple.c: Likewise.
4070 * iconv/iconv.h: Likewise.
4071 * iconv/loop.c: Likewise.
4072 * iconv/skeleton.c: Likewise.
4073 * include/aio.h: Likewise.
4074 * include/aliases.h: Likewise.
4075 * include/argz.h: Likewise.
4076 * include/arpa/inet.h: Likewise.
4077 * include/assert.h: Likewise.
4078 * include/dirent.h: Likewise.
4079 * include/dlfcn.h: Likewise.
4080 * include/execinfo.h: Likewise.
4081 * include/fcntl.h: Likewise.
4082 * include/fenv.h: Likewise.
4083 * include/glob.h: Likewise.
4084 * include/grp.h: Likewise.
4085 * include/libintl.h: Likewise.
4086 * include/mntent.h: Likewise.
4087 * include/netdb.h: Likewise.
4088 * include/pwd.h: Likewise.
4089 * include/rpc/netdb.h: Likewise.
4090 * include/sched.h: Likewise.
4091 * include/search.h: Likewise.
4092 * include/shadow.h: Likewise.
4093 * include/signal.h: Likewise.
4094 * include/stdio.h: Likewise.
4095 * include/stdlib.h: Likewise.
4096 * include/string.h: Likewise.
4097 * include/sys/socket.h: Likewise.
4098 * include/sys/stat.h: Likewise.
4099 * include/sys/statfs.h: Likewise.
4100 * include/sys/statvfs.h: Likewise.
4101 * include/sys/syslog.h: Likewise.
4102 * include/sys/time.h: Likewise.
4103 * include/sys/uio.h: Likewise.
4104 * include/time.h: Likewise.
4105 * include/unistd.h: Likewise.
4106 * include/utmp.h: Likewise.
4107 * include/wchar.h: Likewise.
4108 * include/wctype.h: Likewise.
4109 * inet/aliases.h: Likewise.
4110 * inet/arpa/inet.h: Likewise.
4111 * inet/netinet/ether.h: Likewise.
4112 * inet/netinet/in.h: Likewise.
4113 * intl/libintl.h: Likewise.
4114 * io/bits/fcntl2.h: Likewise.
4115 * io/fcntl.h: Likewise.
4116 * io/ftw.h: Likewise.
4117 * io/sys/poll.h: Likewise.
4118 * io/sys/stat.h: Likewise.
4119 * io/sys/statfs.h: Likewise.
4120 * io/sys/statvfs.h: Likewise.
4121 * io/utime.h: Likewise.
4122 * libio/bits/stdio.h: Likewise.
4123 * libio/bits/stdio2.h: Likewise.
4124 * libio/libio.h: Likewise.
4125 * libio/libioP.h: Likewise.
4126 * libio/stdio.h: Likewise.
4127 * locale/lc-ctype.c: Likewise.
4128 * locale/locale.h: Likewise.
4129 * login/utmp.h: Likewise.
4130 * malloc/arena.c: Likewise.
4131 * malloc/malloc.c: Likewise.
4132 * malloc/malloc.h: Likewise.
4133 * malloc/mcheck.c: Likewise.
4134 * malloc/mtrace.c: Likewise.
4135 * math/bits/mathcalls.h: Likewise.
4136 * math/fenv.h: Likewise.
4137 * math/math_private.h: Likewise.
4138 * misc/bits/error.h: Likewise.
4139 * misc/bits/syslog.h: Likewise.
4140 * misc/err.h: Likewise.
4141 * misc/error.h: Likewise.
4142 * misc/fstab.h: Likewise.
4143 * misc/mntent.h: Likewise.
4144 * misc/regexp.h: Likewise.
4145 * misc/search.h: Likewise.
4146 * misc/sgtty.h: Likewise.
4147 * misc/sys/mman.h: Likewise.
4148 * misc/sys/syslog.h: Likewise.
4149 * misc/sys/uio.h: Likewise.
4150 * misc/sys/xattr.h: Likewise.
4151 * misc/ttyent.h: Likewise.
4152 * nis/rpcsvc/ypclnt.h: Likewise.
4153 * nss/nss.h: Likewise.
4154 * posix/bits/unistd.h: Likewise.
4155 * posix/fnmatch.h: Likewise.
4156 * posix/glob.h: Likewise.
4157 * posix/sched.h: Likewise.
4158 * posix/spawn.h: Likewise.
4159 * posix/sys/wait.h: Likewise.
4160 * posix/unistd.h: Likewise.
4161 * posix/wordexp.h: Likewise.
4162 * pwd/pwd.h: Likewise.
4163 * resolv/netdb.h: Likewise.
4164 * resource/sys/resource.h: Likewise.
4165 * rt/aio.h: Likewise.
4166 * rt/bits/mqueue2.h: Likewise.
4167 * rt/mqueue.h: Likewise.
4168 * shadow/shadow.h: Likewise.
4169 * signal/signal.h: Likewise.
4170 * socket/send.c: Likewise.
4171 * socket/sendto.c: Likewise.
4172 * socket/sys/socket.h: Likewise.
4173 * stdio-common/printf.h: Likewise.
4174 * stdlib/bits/stdlib.h: Likewise.
4175 * stdlib/fmtmsg.h: Likewise.
4176 * stdlib/monetary.h: Likewise.
4177 * stdlib/stdlib.h: Likewise.
4178 * stdlib/ucontext.h: Likewise.
4179 * streams/stropts.h: Likewise.
4180 * string/argz.h: Likewise.
4181 * string/bits/string2.h: Likewise.
4182 * string/string.h: Likewise.
4183 * string/strings.h: Likewise.
4184 * sunrpc/rpc/auth.h: Likewise.
4185 * sunrpc/rpc/auth_des.h: Likewise.
4186 * sunrpc/rpc/clnt.h: Likewise.
4187 * sunrpc/rpc/netdb.h: Likewise.
4188 * sunrpc/rpc/pmap_clnt.h: Likewise.
4189 * sunrpc/rpc/xdr.h: Likewise.
4190 * sysdeps/generic/inttypes.h: Likewise.
4191 * sysdeps/generic/net/if.h: Likewise.
4192 * sysdeps/generic/sys/swap.h: Likewise.
4193 * sysdeps/gnu/net/if.h: Likewise.
4194 * sysdeps/gnu/utmpx.h: Likewise.
4195 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4196 * sysdeps/i386/i486/bits/string.h: Likewise.
4197 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4198 * sysdeps/s390/bits/string.h: Likewise.
4199 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4200 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4201 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4202 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4203 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4204 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4205 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4206 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4207 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4208 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4209 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4210 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4211 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4212 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4213 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4214 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4215 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4216 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4217 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4218 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4219 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4220 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4221 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4222 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4223 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4224 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4225 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4226 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4227 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4228 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4229 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4230 * sysvipc/sys/ipc.h: Likewise.
4231 * sysvipc/sys/msg.h: Likewise.
4232 * sysvipc/sys/sem.h: Likewise.
4233 * sysvipc/sys/shm.h: Likewise.
4234 * termios/termios.h: Likewise.
4235 * time/sys/time.h: Likewise.
4236 * time/time.h: Likewise.
4237 * wcsmbs/bits/wchar2.h: Likewise.
4238 * wcsmbs/uchar.h: Likewise.
4239 * wcsmbs/wchar.h: Likewise.
4240 * wctype/wctype.h: Likewise.
4241
0269750c
UD
4242 [BZ #13551]
4243 * Makeconfig: Remove all but ELF support including AIX support.
4244 * Makerules: Likewise.
4245 * config.h.in: Likewise.
4246 * config.make.in: Likewise.
4247 * configure: Likewise.
4248 * configure.in: Likewise.
4249 * csu/Makefile: Likewise.
4250 * csu/version.c: Likewise.
4251 * debug/Makefile: Likewise.
4252 * dlfcn/Makefile: Likewise.
4253 * elf/Makefile: Likewise.
4254 * extra-lib.mk: Likewise.
4255 * iconv/Makefile: Likewise.
4256 * include/libc-symbols.h: Likewise.
4257 * include/shlib-compat.h: Likewise.
4258 * resolv/Makefile: Likewise.
4259 * resolv/res_libc.c: Likewise.
4260 * rt/Makefile: Likewise.
4261 * sysdeps/i386/asm-syntax.h: Likewise.
4262 * sysdeps/i386/sysdep.h: Likewise.
4263 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4264 * sysdeps/mach/sysdep.h: Likewise.
4265 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4266 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4267 * sysdeps/s390/asm-syntax.h: Likewise.
4268 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4269 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4270 * sysdeps/sh/sysdep.h: Likewise.
4271 * sysdeps/unix/sparc/sysdep.h: Likewise.
4272 * sysdeps/wordsize-32/divdi3.c: Likewise.
4273 * sysdeps/x86_64/sysdep.h: Likewise.
4274
00bbd29b
UD
4275 * argp/Versions: Remove _argp_unlock_xxx.
4276
4277 [BZ #13559]
4278 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4279 * abilist/libBrokenLocale.abilist: Likewise.
4280 * abilist/libanl.abilist: Likewise.
4281 * abilist/libc.abilist: Likewise.
4282 * abilist/libcrypt.abilist: Likewise.
4283 * abilist/libdl.abilist: Likewise.
4284 * abilist/libm.abilist: Likewise.
4285 * abilist/libnsl.abilist: Likewise.
4286 * abilist/libpthread.abilist: Likewise.
4287 * abilist/libresolv.abilist: Likewise.
4288 * abilist/librt.abilist: Likewise.
4289 * abilist/libthread_db.abilist: Likewise.
4290 * abilist/libutil.abilist: Likewise.
4291 * abilist/libnss_db.abilist: New file.
4292
4293 * scripts/abilist.awk: Add support for indirect functions.
4294
a2693a0e
UD
4295 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4296
3f05895f
UD
4297 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4298
ecb6fb48
UD
4299 * shlib-versions: Remove entries for ports architectures.
4300
664f8cb9
UD
4301 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4302 files in ports.
4303 * elf/stackguard-macros.h: Remove support for IA-64.
4304 * elf/tst-auditmod1.c: Likewise.
4305 * sysdeps/generic/ldsodefs.h: Likewise.
4306
7ae81d88
UD
4307 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4308 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4309 configure files.
4310
bdeba135
UD
4311 [BZ #13552]
4312 * configure.in: Remove --enable-omitfp support.
4313 * FAQ.in: Adjust.
4314 * config.make.in: Likewise.
4315 * Makeconfig: Likewise.
4316 * manual/install.texi: Likewise.
4317
d75a0a62
UD
4318 In case anyone cares, the IA-64 architecture could move to ports.
4319 * sysdeps/ia64/*: Removed.
4320 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 4321 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 4322
dcc9756b
UD
4323 [BZ #13555]
4324 * configure.in: Remove entries for unsupported architectures.
4325
d3761ebc 4326 [BZ #13533]
9954432e
UD
4327 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4328 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4329 routines.
4330 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4331 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4332 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4333 fall back to using wcrtomb.
4334 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4335 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4336 renaming.
4337 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4338 * wcsmbs/tst-c16c32-1.c: New file.
4339
4340 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4341 local variable.
4342
c3a87236
UD
4343 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4344
28926a1b
UD
4345 * elf/tst-unique3.cc: Add explicit declaration of gets.
4346 * elf/tst-unique3lib.cc: Likewise.
4347 * elf/tst-unique3lib2.cc: Likewise.
4348 * elf/tst-unique4.cc: Likewise.
4349
df78418a
UD
4350 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4351
8ecd6b2a
JM
43522012-01-06 Joseph Myers <joseph@codesourcery.com>
4353
4354 [BZ #13566]
4355 * assert/assert.h (static_assert): Don't define for C++.
4356 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4357 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4358
9f115170
UD
43592012-01-03 Ulrich Drepper <drepper@gmail.com>
4360
5e0d0300
UD
4361 * iconv/loop.c (single loop): Fix assertion in storing of
4362 remaining bytes.
4363
9f115170
UD
4364 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4365
81fb02b0
UD
43662012-01-01 Ulrich Drepper <drepper@gmail.com>
4367
4368 * posix/getconf.c: Update copyright year.
4369 * nss/getent.c: Likewise.
a316c1f6 4370 * nss/makedb.c: Likewise.
81fb02b0
UD
4371 * iconv/iconvconfig.c: Likewise.
4372 * iconv/iconv_prog.c: Likewise.
4373 * elf/ldconfig.c: Likewise.
a316c1f6
UD
4374 * elf/pldd.c: Likewise.
4375 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
4376 * catgets/gencat.c: Likewise.
4377 * csu/version.c: Likewise.
4378 * elf/ldd.bash.in: Likewise.
4379 * elf/sprof.c (print_version): Likewise.
4380 * locale/programs/locale.c: Likewise.
4381 * locale/programs/localedef.c: Likewise.
a316c1f6 4382 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4383 * nscd/nscd.c (print_version): Likewise.
4384 * debug/xtrace.sh: Likewise.
4385 * malloc/memusage.sh: Likewise.
4386 * malloc/mtrace.pl: Likewise.
4387 * debug/catchsegv.sh: Likewise.
4388
2ba92745
JJ
43892011-12-30 Jakub Jelinek <jakub@redhat.com>
4390
4391 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4392 pure attribute.
4393
dadebdae
UD
43942011-12-24 Ulrich Drepper <drepper@gmail.com>
4395
d3761ebc 4396 [BZ #13533]
db6af3eb
UD
4397 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4398 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4399 transformations.
4400 * iconv/gconv_int.h: Likewise.
4401 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4402 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4403 from libc for GLIBC_2.16.
4404 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4405 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4406 * wcsmbs/uchar.h: Really define mbstate_t.
4407 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4408 * wcsmbs/c16rtomb.c: New file.
4409 * wcsmbs/mbrtoc16.c: New file.
4410 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4411 for C/POSIX locale.
4412 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4413 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4414
dadebdae
UD
4415 * wcsmbs/wchar.h: Add missing __restrict.
4416
67371b56
UD
44172011-12-23 Ulrich Drepper <drepper@gmail.com>
4418
74033a25
UD
4419 [BZ #13532]
4420 * time/Makefile (routines): Add timespec_get.
4421 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4422 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4423 timespec for ISO C11.
4424 * time/timespec_get.c: New file.
4425 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4426 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4427
380d7e87
UD
4428 [BZ #13531]
4429 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4430 * stdlib/stdlib.h: Declare aligned_alloc.
4431 * Versions.def: Add GLIBC_2.16 for libc.
4432 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4433
4e9e7a35
UD
4434 [BZ 13527]
4435 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4436 ISO C11.
4437
380d7e87 4438 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
4439 code.
4440
03a71829
UD
4441 [BZ #13528]
4442 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4443
839e283e
UD
4444 [BZ #13529]
4445 * assert/assert.h (static_assert): Define.
4446
ce5294e2 4447 * version.h: Update for 2.16 development version.
90fa7312 4448
8d44e150 4449 [BZ #13526]
d7809905
UD
4450 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4451 _ISOC11_SOURCE.
4452
c0da14cd
UD
4453 * version.h (RELEASE): Bump for 2.15 release.
4454 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4455
530a3249
MP
4456 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4457 Patch by Marek Polacek <mpolacek@redhat.com>.
4458
67371b56
UD
4459 * bits/byteswap.h: Protect long long constants with __extension__.
4460 * sysdeps/i386/bits/byteswap.h: Likewise.
4461 * sysdeps/ia64/bits/byteswap.h: Likewise.
4462 * sysdeps/s390/bits/byteswap.h: Likewise.
4463 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4464
15db4de1
LD
44652011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4466
4467 [BZ #13540]
bbe315ea
LD
4468 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4469 destination buffer.
15db4de1
LD
4470 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4471
2b2596b1
MP
44722011-12-23 Marek Polacek <polacek@redhat.com>
4473
4474 * elf/dl-addr.c (determine_info): Add inline keyword.
4475 * elf/tst-auditmod4b.c (check_avx): Likewise.
4476 * elf/tst-auditmod6b.c (check_avx): Likewise.
4477 * elf/tst-auditmod6c.c (check_avx): Likewise.
4478 * elf/tst-auditmod7b.c (check_avx): Likewise.
4479
70c6c246
UD
44802011-12-23 Ulrich Drepper <drepper@gmail.com>
4481
4482 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4483 !__SSE_MATH__.
4484
c044cf14
LD
44852011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4486
15db4de1 4487 [BZ #13540]
c044cf14
LD
4488 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4489 processing for last bytes.
4490
6b13d9d9
BH
44912011-08-06 Bruno Haible <bruno@clisp.org>
4492
d455f537
BH
4493 [BZ #13061]
4494 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4495 U+0385, not to U+1FEE.
4496
6b13d9d9
BH
4497 [BZ #13062]
4498 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4499 entry for U+00A5 U+0301.
4500
db910efd
UD
45012011-12-22 Ulrich Drepper <drepper@gmail.com>
4502
27deeafc
UD
4503 [BZ #13166]
4504 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4505 buffer for the output is too small.
4506
aed9d171
UD
4507 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4508 optimization.
4509
db910efd
UD
4510 [BZ #13185]
4511 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4512 SSE flags if possible.
4513
2bd779ae
LD
45142011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4515
e7f9dac3 4516 [BZ #13540]
2bd779ae
LD
4517 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4518 processing for last bytes.
4519
154bfc16
JM
45202011-12-22 Joseph Myers <joseph@codesourcery.com>
4521
4522 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4523 (syscall-list-default-options, syscall-list-default-condition)
4524 (syscall-list-includes): Define.
4525 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4526 list of ABIs and options and #if conditions for each ABI. Do not
4527 handle common syscalls between ABIs specially.
4528 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4529 Remove.
4530 (syscall-list-variants, syscall-list-32bit-options)
4531 (syscall-list-32bit-condition, syscall-list-64bit-options)
4532 (syscall-list-64bit-condition): Define.
4533 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4534 (syscall-list-variants, syscall-list-32bit-options)
4535 (syscall-list-32bit-condition, syscall-list-64bit-options)
4536 (syscall-list-64bit-condition): Define.
4537 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4538 Remove.
4539 (syscall-list-variants, syscall-list-32bit-options)
4540 (syscall-list-32bit-condition, syscall-list-64bit-options)
4541 (syscall-list-64bit-condition): Define.
4542 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4543 Remove.
4544 (syscall-list-variants, syscall-list-32bit-options)
4545 (syscall-list-32bit-condition, syscall-list-64bit-options)
4546 (syscall-list-64bit-condition): Define.
4547
21eaf3a5
UD
45482011-12-22 Ulrich Drepper <drepper@gmail.com>
4549
16c6f992
UD
4550 * locale/iso-639.def: Add brx entry.
4551
41043168
UD
4552 [BZ #13328]
4553 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4554 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4555
21eaf3a5
UD
4556 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4557 __feraiseexcept_renamed.
4558
e3a851a2
UD
45592011-12-21 Ulrich Drepper <drepper@gmail.com>
4560
4920765e
UD
4561 [BZ #13538]
4562 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4563 EPOLLET with unsigned values.
4564 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4565 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4566
e3a851a2
UD
4567 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4568 to large cancellation.
4569 * math/s_cacoshf.c: Likewise.
4570 * math/s_cacoshl.c: Likewise.
4571
b27e24b8
RK
45722011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4573
4574 [BZ #13305]
aebefeee 4575 [BZ #12786]
b27e24b8
RK
4576 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4577 * math/s_cacoshf.c: Likewise.
4578 * math/s_cacoshl.c: Likewise.
4579
ee190f67
UD
45802011-12-21 Ulrich Drepper <drepper@gmail.com>
4581
4582 [BZ #13439]
4583 * iconv/gconv.h: Define __GCONV_SWAP.
4584 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4585 * iconvdata/utf-16.c: Likewise.
4586 * iconvdata/utf-32.c: Likewise.
4587
707f25df
AS
45882011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4589
4590 [BZ #13524]
4591 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4592 numerator after shifting it by one limb.
4593
d2daaa1e
RÁE
45942011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4595
4596 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4597 under [__USE_EXTERN_INLINES].
4598
a4647e72
UD
45992011-12-17 Ulrich Drepper <drepper@gmail.com>
4600
4601 [BZ #13446]
4602 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4603
f0b264f1
AZ
46042011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4605
4606 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4607 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4608 optimized code.
4609 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4610 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4611 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4612 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4613 for strncasecmp/strncasecmp_l compilation.
4614 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4615 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4616
8ef4f244
MP
46172011-12-08 Marek Polacek <mpolacek@redhat.com>
4618
4619 [BZ #13484]
4620 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4621 of __asm__.
4622
97ac2654
UD
46232011-12-17 Ulrich Drepper <drepper@gmail.com>
4624
4625 [BZ #13506]
4626 * time/tzfile.c (__tzfile_read): Check values from file header.
4627
91d2a845
WS
46282011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4629
4630 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4631 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4632 * powerpc/powerpc32/dl-start.S: Likewise.
4633 * powerpc/powerpc32/elf/start.S: Likewise.
4634 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4635 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4636 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4637 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4638 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4639 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4640 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4641 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4642 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4643 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4644 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4645 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4646 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4647 * powerpc/powerpc32/memset.S: Likewise.
4648 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4649 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4650 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4651 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4652 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4653 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4654 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4655 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4656 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4657 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4658 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4659 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4660 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4661
a1267ba1
AZ
46622011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4663
4664 * math/libm-test.inc: Added more nearbyint tests.
4665 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4666 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4667 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4668 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4669
ad8ac1bd
RL
46702011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4671
4672 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4673 FD_CLOEXEC.
4674
1d3e4b61
UD
46752011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4676
4677 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4678 Add wcscpy-ssse3 wcscpy-c.
4679 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4680 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4681 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4682 * sysdeps/x86_64/wcschr.S: New file.
4683 * sysdeps/x86_64/wcsrchr.S: New file.
4684 * string/test-strcmp.c: Remove checking of wcscmp function for
4685 wrong alignments.
4686 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4687 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4688 wcsrchr-sse2 wcsrchr-c.
4689 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4690 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4691 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4692 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4693 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4694 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4695 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4696 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4697 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4698 * wcsmbc/wcschr.c (WCSCHR): New macro.
4699
5b330a2d
UD
47002011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4701
4702 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4703 * wcsmbs/test-wcsrchr.c: New file.
4704 * string/test-strrchr.c: Add wcsrchr support.
4705 (WIDE): New macro.
4706 * wcsmbs/test-wcscpy.c: New file.
4707 * string/test-strcpy.c: Add wcscpy support.
4708 (WIDE): New macro.
26428b7c 4709
f039c043
UD
47102011-12-10 Ulrich Drepper <drepper@gmail.com>
4711
4712 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4713 the inner loop.
4714
850fb039
AS
47152011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4716
4717 [BZ #13472]
4718 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4719
4efbd5cb
UD
47202011-12-04 Ulrich Drepper <drepper@gmail.com>
4721
52ff5dd0 4722 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 4723 Minor optimizations.
52ff5dd0 4724
4efbd5cb
UD
4725 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4726 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4727 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4728
8a426e12
UD
47292011-12-03 Ulrich Drepper <drepper@gmail.com>
4730
aff2453d
UD
4731 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4732 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4733 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4734 for gcc to avoid warnings.
4735 * inet/Makefile (tests): Add tst-checks.
4736 * inet/tst-checks.c: New file.
4737
4738 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4739 warning.
4740
4741 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4742 __wmemcmp_sse2.
4743
4744 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4745 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4746
8a426e12
UD
4747 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4748
9bea3473
UD
47492011-12-02 Ulrich Drepper <drepper@gmail.com>
4750
3a965496
UD
4751 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4752 problem.
4753
9bea3473
UD
4754 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4755
f101631b
UD
47562011-11-29 Joseph Myers <joseph@codesourcery.com>
4757
4758 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4759 conditional on GCC version.
4760 (__arch_compare_and_exchange_val_8_acq)
4761 (__arch_compare_and_exchange_val_16_acq)
4762 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4763 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4764 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4765
a98275aa
UD
47662011-12-02 Joseph Myers <joseph@codesourcery.com>
4767
4768 * sysdeps/sh/backtrace.c: New file.
4769
d4cc29a2
AS
47702011-12-02 Andreas Schwab <schwab@redhat.com>
4771
4772 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4773 parenthesis.
4774
6257af2d
AS
47752011-12-01 Andreas Schwab <schwab@redhat.com>
4776
4777 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4778 falling back to utime.
4779
b5f44c1a
AS
47802011-11-30 Andreas Schwab <schwab@redhat.com>
4781
4782 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4783 expectations for float.
4784
f3a6cc0a
AS
47852011-11-29 Andreas Schwab <schwab@redhat.com>
4786
4787 * locale/weight.h (findidx): Add parameter len.
4788 * locale/weightwc.h (findidx): Likewise.
4789 * posix/fnmatch_loop.c (FCT): Adjust caller.
4790 * posix/regcomp.c (build_equiv_class): Likewise.
4791 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4792 * posix/regexec.c (check_node_accept_bytes): Likewise.
4793 * string/strcoll_l.c (STRCOLL): Likewise.
4794 * string/strxfrm_l.c (STRXFRM): Likewise.
4795
9d65ea3a
UD
47962011-11-17 Ulrich Drepper <drepper@gmail.com>
4797
4798 * Makefile.in: Remove CVSOPT handling.
4799 * configure.in: Remove use of AC_REVISION.
4800 * iconvdata/Makefile (distribute): No need to filter out CVS.
4801 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4802 handling.
4803
5583a086
AS
48042011-11-16 Andreas Schwab <schwab@redhat.com>
4805
4806 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4807 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4808 [USE_AS_STRNCASECMP_L]: Likewise.
4809 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4810 NO_TLS_DIRECT_SEG_REFS.
4811 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4812 Fix argument offsets for non-PIC.
4813 [USE_AS_STRNCASECMP_L]: Likewise.
4814 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4815 NO_TLS_DIRECT_SEG_REFS.
4816
d62a8200
UD
48172011-11-15 Ulrich Drepper <drepper@gmail.com>
4818
9d65ea3a 4819 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
4820 O_CLOEXEC.
4821 * locale/loadlocale.c (_nl_load_locale): Likewise.
4822
09f93bd3
AS
48232011-11-15 Andreas Schwab <schwab@redhat.com>
4824
446514f9
AS
4825 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4826 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4827 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4828 (SYSCALL_GETTIME): Set errno on error.
4829
09f93bd3
AS
4830 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4831 count references to noai6ai_cached.
4832
312be3f9
UD
48332011-11-15 Ulrich Drepper <drepper@gmail.com>
4834
4835 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4836
4837 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4838 FD_CLOEXEC for /proc/self/maps.
4839
4840 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4841 FD_CLOEXEC for /proc/meminfo.
4842
4843 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4844 gai.conf.
4845
4846 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4847 FD_CLOEXEC for given file.
4848
4849 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4850
4851 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4852 FD_CLOEXEC for /etc/hosts.
4853 (_gethtent): Likewise.
4854
4855 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4856
4857 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4858 cancellation and set FD_CLOEXEC for /etc/netgroup.
4859
4860 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4861 reading /etc/publickey.
4862
4863 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4864 allow cancellation when reading /etc/group.
4865
4866 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4867 cancellation.
4868 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4869
4870 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4871 when using data file.
4872
4873 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4874
4875 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4876 (write_nis_obj): Use "c" and "e" in fopen.
4877
4878 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4879
4880 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4881
4882 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4883
4884 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4885
4886 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4887 locale.alias.
4888
4889 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4890
4891 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4892
4893 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4894
4895 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4896 file parsing and set FD_CLOEXEC.
4897
82af0fa8
UD
48982011-11-14 Ulrich Drepper <drepper@gmail.com>
4899
4900 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4901
a5fb313c
AS
49022011-11-14 Andreas Schwab <schwab@redhat.com>
4903
4904 * malloc/arena.c (arena_get2): Don't call reused_arena when
4905 _int_new_arena failed.
4906
6abf3465
UD
49072011-11-14 Ulrich Drepper <drepper@gmail.com>
4908
4909 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4910 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4911 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4912 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4913 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4914 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4915 to compile strcasecmp and strncasecmp.
4916 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4917 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4918
4919 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4920
76e3966e
UD
49212011-11-13 Ulrich Drepper <drepper@gmail.com>
4922
4923 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4924 locale-defines.sym to gen-as-const-headers.
4925 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4926 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4927 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4928 to compile strcasecmp and strncasecmp.
4929 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4930 strcasecmp_l and strncasecmp_l.
4931 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4932 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4933 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4934 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4935 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4936 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4937 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4938 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4939 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4940 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4941 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4942
ab26144e
UD
49432011-11-12 Ulrich Drepper <drepper@gmail.com>
4944
7edb22ef
UD
4945 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4946 result of SYSDEP_GETTIME_CPU to retval.
4947 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4948 parameter list to macro. Remove trailing semicolon. Adjust users.
4949
9694fc44
UD
4950 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4951 variable.
4952
8ad89ef8
UD
4953 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4954 mantissa words.
4955 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4956
0c822ef9
UD
4957 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4958 from unused variable.
4959
874e0564
UD
4960 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4961 DWARF definitions.
4962 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4963 for assembling.
4964
3a2edc79
UD
4965 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4966 over namespaces.
4967
f3c2577f
UD
4968 * sunrpc/rpc_prot.c (rejected): Fix case value.
4969
294ce126
UD
4970 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4971 unsigned long long int to avoid warnings in shift.
4972
5e2b63c6
UD
4973 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4974 of use of trans.
4975 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4976 variable tmp.
4977
e7f4b08e
UD
4978 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4979 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4980 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4981
ab26144e
UD
4982 * nis/nis_table.c (nis_list): Use variable of correct type for
4983 result of __follow_path call.
4984
8a6d5255
AZ
49852011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4986
4987 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4988 of math functions ceil, trunc, floor, round, and sqrt, when
4989 avaliable on the platform.
4990 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4991 name clash.
4992 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4993 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4994 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4995
aaddc98c
MP
49962011-10-30 Marek Polacek <mpolacek@redhat.com>
4997
4998 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4999 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5000
95b7042b
RM
50012011-11-11 Roland McGrath <roland@hack.frob.com>
5002
5003 * include/unistd.h: Fix __readlink return type.
5004 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5005
57769839
UD
50062011-11-11 Ulrich Drepper <drepper@gmail.com>
5007
5008 * stdlib/ucontext.h: Undo last change for makecontext.
5009
edc5984d
AS
50102011-11-11 Andreas Schwab <schwab@redhat.com>
5011
98591e58
AS
5012 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5013
edc5984d
AS
5014 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5015 * setjmp/setjmp.h: Mark functions as non-leaf.
5016 * setjmp/bits/setjmp2.h: Likewise.
5017 * stdlib/ucontext.h: Likewise.
5018
77cdc054
AS
50192011-11-10 Andreas Schwab <schwab@redhat.com>
5020
5021 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5022 (reused_arena): Don't check arena limit.
5023 (arena_get2): Atomically check arena limit.
5024
fe72eebd
UD
50252011-11-08 Ulrich Drepper <drepper@gmail.com>
5026
5f078c32
UD
5027 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5028 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5029
fe72eebd
UD
5030 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5031 instructions.
5032
ae1bc2fa
AS
50332011-11-07 Andreas Schwab <schwab@redhat.com>
5034
7583a88d
AS
5035 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5036 handler when locking.
5037
ae1bc2fa
AS
5038 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5039 Fix size of allocated buffer.
5040
10fb0bfa
AS
50412011-11-04 Andreas Schwab <schwab@redhat.com>
5042
998832a4
AS
5043 [BZ #10103]
5044 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5045 declarations for long double functions.
5046 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5047
10fb0bfa
AS
5048 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5049
3d7ba52b
AS
50502011-11-03 Andreas Schwab <schwab@redhat.com>
5051
a9ae54a1
AS
5052 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5053 installed.
5054
3d7ba52b
AS
5055 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5056 is disabled.
5057
bc8db248
ST
50582011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5059
5060 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5061
45b96dd6
AS
50622011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5063
647776f6
AS
5064 * include/alloca.h (stackinfo_alloca_round): Define.
5065 (extend_alloca): Use it.
5066 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5067 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5068 here.
5069
d91a8b93
AS
5070 * scripts/check-local-headers.sh: Ignore libaudit.h.
5071
45b96dd6
AS
5072 * nscd/Makefile (extra-objs): Make recursively expanded.
5073
432d41ce
UD
50742011-11-01 Ulrich Drepper <drepper@gmail.com>
5075
34372fc6
UD
5076 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5077 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5078
fadb59f8
UD
5079 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5080 * posix/tst-rfc3484-2.c: Likewise.
5081 * posix/tst-rfc3484-3.c: Likewise.
5082
78239589
UD
5083 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5084 process_vm_writev.
5085 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5086 process_vm_writev.
5087 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5088 process_vm_writev from libc using GLIBC_2.15 version.
5089
432d41ce
UD
5090 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5091
02f9c6cf
PP
50922011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5093
5094 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5095 stack usage.
5096
3a2c0242
UD
50972011-10-31 Ulrich Drepper <drepper@gmail.com>
5098
f4ec4833
UD
5099 [BZ #13367]
5100 * nss/getent.c (initgroups_keys): Show error message in case no group
5101 names are given.
5102
3a2c0242
UD
5103 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5104 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5105 __bump_nl_timestamp.
5106 * nscd/connections (nscd_init): When host database is served open
5107 netlink socket and request notification about configuration changes.
5108 (main_loop_poll): Track netlink file descriptor and bump timestamp
5109 in case data becomes available.
5110 (main_loop_epoll): Likewise.
5111 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5112 (database_pers_head): Add extra_data fileds.
5113 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5114 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5115 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5116 Adjust caller.
5117 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5118 in6ai data, call __free_in6ai.
5119 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5120 Add -DHAVE_NETLINK.
5121 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5122 interface information. Reuse previous data if netlink timestamp
5123 is not changed.
5124 (__bump_nl_timestamp): New function.
5125 (__free_in6ai): New function.
5126
636064eb
UD
51272011-10-30 Ulrich Drepper <drepper@gmail.com>
5128
5129 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5130 close_not_cancel_no_status here.
5131 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5132
9beb2334
UD
51332011-10-29 Ulrich Drepper <drepper@gmail.com>
5134
6ef76f3b
UD
5135 [BZ #13276]
5136 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5137 return value.
5138
0ffc4f3e 5139 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5140 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5141 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5142
cb95113e
UD
51432011-07-03 Andreas Jaeger <aj@suse.de>
5144
5145 [BZ #10709]
5146 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5147 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5148 * math/libm-test.inc (sin_test): Add test case.
5149
a1b560ff
UD
51502011-10-29 Ulrich Drepper <drepper@gmail.com>
5151
c9aaface
UD
5152 [BZ #13337]
5153 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5154 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5155
d272e7f1
UD
5156 * elf/chroot_canon.c (chroot_canon): Cleanups.
5157
1bc33071
UD
5158 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5159
1760874d
TJ
5160 [BZ #13335]
5161 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5162 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5163
51d91b18
UD
5164 * string/test-strchr.c: Make usable for strchrnul testing.
5165 * string/test-strchrnul.c: New file.
5166 * string/Makefile (strop-tests): Add strchrnul.
5167
a1b560ff 5168 * po/it.po: Update from translation team.
b611fb81 5169 * po/es.po: Likewise.
a1b560ff 5170
a5b81e1f
UD
51712011-10-28 Ulrich Drepper <drepper@gmail.com>
5172
fd52bc6d
UD
5173 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5174 the three constants needed as parameters. Drop the others.
5175 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5176 __m128i_strloadu_tolower.
52e4b9eb
UD
5177 Create and initialize variable zero and use it in all the places
5178 where _mm_setzero_si128 was used.
fd52bc6d 5179
a5b81e1f
UD
5180 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5181 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5182 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5183 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5184 anymore.
5185 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5186 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5187 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5188 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5189 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5190 __mpranred, __mptan.
5191 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5192 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5193 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5194 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5195 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5196 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5197 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5198 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5199 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5200
b4343346
AS
52012011-10-28 Andreas Schwab <schwab@redhat.com>
5202
0c92d8a8
AS
5203 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5204 redefine if SHARED.
5205 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5206
b4343346
AS
5207 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5208 wide char related routines to wcsmbs subdir.
5209
3871f58f
AS
52102011-10-27 Andreas Schwab <schwab@redhat.com>
5211
5212 [BZ #13344]
5213 * misc/sys/cdefs.h (__THROWNL): Define.
5214 * posix/unistd.h: Use __THREADNL instead of __THREAD
5215 for memory synchronization functions.
5216
94d44d9f
RM
52172011-10-26 Roland McGrath <roland@hack.frob.com>
5218
21b64b15 5219 [BZ #13349]
94d44d9f
RM
5220 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5221 doesn't exist.
5222 * manual/stdio.texi (Obstack Streams): Node removed.
5223
f6ce9294
AS
52242011-10-26 Andreas Schwab <schwab@redhat.com>
5225
80479147
AS
5226 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5227 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5228 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5229
f6ce9294
AS
5230 * math/math_private.h (math_force_eval): Allow non-addressable
5231 arguments.
5232 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5233
618280a1
UD
52342011-10-25 Ulrich Drepper <drepper@gmail.com>
5235
e0016b11
UD
5236 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5237 file is not needed.
5238
5239 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5240 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5241 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5242 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5243 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5244 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5245 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5246 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5247 Add AVX variants.
5248 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5249 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5250 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5251 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5252 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5253 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5254 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5255 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5256 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5257 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5258 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5259 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5260 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5261 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5262 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5263 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5264 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5265 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5266 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5267
5268 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5269 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5270
618280a1
UD
5271 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5272 place. Use VEX encoding when compiling for AVX.
5273
37822576
AS
52742011-10-25 Andreas Schwab <schwab@redhat.com>
5275
1f1e1947
AS
5276 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5277 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5278
37822576
AS
5279 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5280
31ea014d
UD
52812011-10-25 Ulrich Drepper <drepper@gmail.com>
5282
d7826aa1 5283 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 5284 useless if() expression.
d7826aa1
UD
5285 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5286 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5287 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5288 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5289 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5290 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5291 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5292 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5293 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5294 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5295 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5296 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5297 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5298 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5299 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5300 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5301 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5302 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5303 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5304
31ea014d
UD
5305 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5306
16437fec
AS
53072011-10-25 Andreas Schwab <schwab@redhat.com>
5308
5309 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5310 condition.
5311 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5312
31d3cc00
UD
53132011-10-25 Ulrich Drepper <drepper@gmail.com>
5314
5315 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5316 .text section. Avoid duplicate constants.
5317 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5318 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5319 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5320 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5321 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5322 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5323 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5324 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5325 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5326 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5327 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5328 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5329 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5330 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5331 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5332 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5333 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5334 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5335 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5336 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5337 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5338 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5339 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5340 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5341 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5342 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5343 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5344 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5345 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5346 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5347 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5348 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5349 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5350 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5351 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5352 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5353 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5354 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5355 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5356 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5357 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5358 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5359 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5360 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5361 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5362
58985aa9
UD
53632011-10-24 Ulrich Drepper <drepper@gmail.com>
5364
202c9deb
UD
5365 * sysdeps/x86_64/dla.h: Move to ...
5366 * sysdeps/x86_64/fpu/dla.h: ...here.
5367 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5368 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 5369
af968f62
UD
5370 * config.make.in: Add have-mfma4 entry.
5371 * configure.in: Substitute libc_cv_cc_fma4.
5372 * math/Makefile (dbl-only-routines): Add sincostab.
5373 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5374 Use __sincostab not sincos.
5375 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5376 name is a macro.
5377 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5378 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5379 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5380 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5381 using __copysign.
5382 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5383 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5384 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5385 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5386 and __inv.
5387 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5388 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5389 __copysign.
5390 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5391 define aliases when function name is a macro.
5392 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5393 sysdeps/ieee754/dbl-64/sincos.tbl.
5394 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5395 fma4-enabled routines.
5396 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5397 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5398 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5399 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5400 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5401 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5402 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5403 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5404 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5405 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5406 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5407 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5408 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5409 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5410 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5411 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5412 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5413 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5414 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5415 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5416 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5417 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5418 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5419 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5420 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5421 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5422 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5423 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5424 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5425 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5426
58985aa9
UD
5427 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5428 rename.
5429 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5430 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5431 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5432 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5433 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5434 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5435 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5436 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5437
a201fbcf
AS
54382011-10-24 Andreas Schwab <schwab@redhat.com>
5439
5440 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5441
fc2ee42a
LD
54422011-10-23 Ulrich Drepper <drepper@gmail.com>
5443
bb3129bd
UD
5444 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5445
0275fff8
UD
5446 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5447 prediction.
5448 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5449
2fa2ae85
UD
5450 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5451 Remove unused variable magic_bits.
5452 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5453
fc2ee42a
LD
5454 * string/strnlen.c: Define and use STRNLEN macro.
5455 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5456 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5457 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5458 * wcsmbs/wcslen.c: Define and use WCSLEN.
5459 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5460 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5461 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5462 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5463 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5464 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5465 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5466
ce7dd29f
LD
54672011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5468
5469 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5470 strnlen-sse2-no-bsf.
5471 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5472 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5473 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5474 Add strnlen support.
5475 (USE_AS_STRNLEN): New macro.
5476 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5477 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5478 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5479 * sysdeps/x86_64/wcslen.S: New file.
5480
979c70a3
MZ
54812011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5482
5483 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5484 XMM-moves are used for copying on small sizes.
5485
2d09f82f
LD
54862011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5487
5488 * wcsmbs/Makefile (strop-tests): Add wcschr.
5489 * wcsmbs/test-wcschr.c: New file.
5490 * string/test-strchr.c: Update.
5491 Add wcschr support.
5492 (WIDE): New macro.
5493
619fccca
LD
54942011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5495
2d09f82f 5496 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
5497 * wcsmbs/test-wcslen.c: New file.
5498 * string/test-strlen.c: Update.
5499 Add wcslen support.
5500 (WIDE): New macro.
5501
09f699ea
UD
55022011-10-23 Ulrich Drepper <drepper@gmail.com>
5503
5504 * po/it.po: Update from translation team.
5505
95584d3b
LD
55062011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5507
5508 * sysdeps/x86_64/wcscmp.S: Update.
5509 Fix wrong comparison semantics.
5510 wcscmp shall use signed comparison not unsigned.
5511 Don't use substraction to avoid overflow bug.
5512 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5513 * wcsmbc/wcscmp.c: Likewise.
5514 * string/test-strcmp.c: Likewise.
5515 Add new tests to check cases with negative values.
5516
c8b3296b
UD
55172011-10-23 Ulrich Drepper <drepper@gmail.com>
5518
5519 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5520 * sysdeps/x86_64/dla.h: ...here. New file.
5521 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5522 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5523 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5524 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5525 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5526 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5527 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5528 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5529 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5530
246ad57a
AS
55312011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5532
5533 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5534 __ynl_finite aliases.
5535
a1a87169
UD
55362011-10-22 Ulrich Drepper <drepper@gmail.com>
5537
0d355eb7
UD
5538 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5539
a1a87169
UD
5540 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5541 define DLA_FMA.
5542 [DLA_FMA] (EMULV): Use DLA_FMA.
5543 [DLA_FMA] (MUL12): Use EMULV.
5544 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5545 that are not needed.
5546 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5547 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5548 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5549 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5550 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5551 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5552 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5553
ee2aafe0
AS
55542011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5555
5556 * math/s_nan.c: Undef __nan.
5557 * math/s_nanf.c: Undef __nanf.
5558 * math/s_nanl.c: Undef __nanl.
5559 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5560 "math_private.h".
5561
bc62c2fb
UD
55622011-10-22 Ulrich Drepper <drepper@gmail.com>
5563
77425c63
UD
5564 * math/s_catan.c: Add branch predictions.
5565 * math/s_catanf.c: Likewise.
5566 * math/s_catanh.c: Likewise.
5567 * math/s_catanhf.c: Likewise.
5568 * math/s_catanhl.c: Likewise.
5569 * math/s_catanl.c: Likewise.
5570 * math/s_cexp.c: Likewise.
5571 * math/s_cexpf.c: Likewise.
5572 * math/s_cexpl.c: Likewise.
5573 * math/s_clog.c: Likewise.
5574 * math/s_clog10.c: Likewise.
5575 * math/s_clog10f.c: Likewise.
5576 * math/s_clog10l.c: Likewise.
5577 * math/s_clogf.c: Likewise.
5578 * math/s_clogl.c: Likewise.
5579 * math/s_csqrt.c: Likewise.
5580 * math/s_csqrtf.c: Likewise.
5581 * math/s_csqrtl.c: Likewise.
5582 * math/s_ctanf.c: Likewise.
5583 * math/s_ctanh.c: Likewise.
5584 * math/s_ctanhf.c: Likewise.
5585 * math/s_ctanhl.c: Likewise.
5586 * math/s_ctanl.c: Likewise.
5587
bc62c2fb
UD
5588 * math/math_private.h: Define __nan, __nanf, __nanl.
5589 * math/s_cacosh.c: Include <math_private.h>.
5590 * math/s_cacoshl.c: Likewise.
5591 * math/s_casinh.c: Likewise.
5592 * math/s_casinhf.c: Likewise.
5593 * math/s_casinhl.c: Likewise.
5594 * math/s_ccos.c: Rely entire on ccosh.
5595 * math/s_ccosf.c: Rely entire on ccoshf.
5596 * math/s_ccosl.c: Rely entirely on ccoshl.
5597 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5598 Remove tests for FE_INVALID.
5599 * math/s_ccoshf.c: Likewise.
5600 * math/s_ccoshl.c: Likewise.
5601 * math/s_csin.c: Likewise.
5602 * math/s_csinf.c: Likewise.
5603 * math/s_csinh.c Likewise.
5604 * math/s_csinhf.c: Likewise.
5605 * math/s_csinhl.c: Likewise.
5606 * math/s_csinl.c: Likewise.
5607 * math/s_ctan.c: Likewise.
5608 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5609 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5610 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5611
8ec250a4
UD
56122011-10-21 Ulrich Drepper <drepper@gmail.com>
5613
c196fed8
UD
5614 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5615 compilation problems.
5616
8ec250a4
UD
5617 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5618 __builtin_expect.
5619
8d4f46c6
UD
56202011-10-20 Ulrich Drepper <drepper@gmail.com>
5621
ed72b654
UD
5622 * sysdeps/i386/configure.in: Test for -mfma4 option.
5623 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5624 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5625 COMMON_CPUID_INDEX_80000001.
5626 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5627 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5628 use it if FMA3 is not supported.
5629 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5630
8d4f46c6
UD
5631 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5632 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5633
d45c60c2
AS
56342011-10-20 Andreas Schwab <schwab@redhat.com>
5635
5636 [BZ #12892]
5637 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5638 it would create a cycle with a link time dependency.
5639
d9a4d2ab
UD
56402011-10-19 Ulrich Drepper <drepper@gmail.com>
5641
855d1560
UD
5642 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5643 instruction.
5644 * string/Makefile (strop-tests): Add rawmemchr.
5645 * string/test-rawmemchr.c: New file.
5646
d9a4d2ab
UD
5647 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5648 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5649 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5650 when compiling str{,n}casecmp and when AVX is available. Hook up
5651 new optimized code in initializers.
5652
8f3b1ffe
AS
56532011-10-19 Andreas Schwab <schwab@redhat.com>
5654
5655 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5656 __feraiseexcept instead of feraiseexcept.
5657
d38f1dba
UD
56582011-10-18 Ulrich Drepper <drepper@gmail.com>
5659
d9a8d0ab
UD
5660 * math/math_private.h: Define defaults for libc_fetestexcept and
5661 libc_feupdateenv.
5662 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5663 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5664 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5665 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5666 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5667 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5668 libc_fetestexcept and libc_feupdateenv.
5669
4855e3dd
UD
5670 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5671 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5672 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5673 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5674 libc_feholdexcept_setround.
5675
581d30e3
UD
5676 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5677 Add s_nearbyint-c and s_nearbyintf-c.
5678 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5679 nearbyintf inlines.
5680 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5681 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5682 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5683 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5684
d38f1dba
UD
5685 * math/math_private.h: Define defaults for libc_fegetround,
5686 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5687 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5688 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5689 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5690 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5691 standard functions.
5692 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5693 Remove comments and hacks for old compiler versions.
5694 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5695 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5696 libc_feholdexceptl.
5697
caa6c9d8
AS
56982011-10-18 Andreas Schwab <schwab@redhat.com>
5699
5700 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
5701 (__feraiseexcept_renamed): Add __NTH.
5702 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
5703 namespace violations.
5704
97c066e6
UD
57052011-10-17 Ulrich Drepper <drepper@gmail.com>
5706
99ce7b04
UD
5707 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5708
1004d182
UD
5709 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5710
228a984d
UD
5711 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5712 recently added interfaces.
5713 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5714
c8553a6a
UD
5715 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5716 about macro parameter expansion.
5717
ed22dcf6
UD
5718 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5719 __NO_MATH_INLINES is defined. Cleanups.
5720
5721 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5722 and __floorf is target has SSE4.1.
5723 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5724 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5725 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5726 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5727
b171c137
UD
5728 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5729 name.
5730 (floorf): Likewise.
5731
97c066e6
UD
5732 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5733
629f62ef
AS
57342011-10-17 Andreas Schwab <schwab@redhat.com>
5735
49a43d80
AS
5736 * misc/sys/cdefs.h: Fix last change.
5737
629f62ef
AS
5738 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5739 database lookup.
5740
e453f6cd
UD
57412011-10-16 Ulrich Drepper <drepper@gmail.com>
5742
aa78043a
UD
5743 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5744
ad0f5cad
UD
5745 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5746 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5747 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5748 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5749 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5750 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5751 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5752 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5753 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5754 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5755 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5756 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5757 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5758 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5759 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5760 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5761 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5762 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5763 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5764 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5765 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5766 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5767
5768 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5769 ceil, ceilf, floor, floorf.
5770
5771 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5772 Perform IRELATIVE relocations last.
5773
e453f6cd
UD
5774 * elf/do-rel.h: Add another parameter nrelative, replacing the
5775 local variable with the same name. Change name of the function
5776 to end in Rel or Rela (uppercase).
5777 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5778 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5779 elf_dynamic_do_##reloc function.
5780
fd5bdc09
UD
57812011-10-15 Ulrich Drepper <drepper@gmail.com>
5782
79b195b5
UD
5783 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5784 is sufficient, at least on modern CPUs.
5785
d4a28569
UD
5786 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5787
b61099b5
UD
5788 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5789 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5790
bcf01e6d
UD
5791 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5792 __expl_finite.
5793 * math/bits/math-finite.h: Add entries for exp.
5794 * math/e_expl.c: Add __*_finite alias.
5795 * sysdeps/i386/fpu/e_exp.S: Likewise.
5796 * sysdeps/i386/fpu/e_expf.S: Likewise.
5797 * sysdeps/i386/fpu/e_expl.c: Likewise.
5798 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5799 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5800 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5801 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5802 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5803 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5804 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5805
ba1a0d59
UD
5806 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5807 is sufficient, at least on modern CPUs.
5808
fd5bdc09
UD
5809 * ctype/ctype-info.c (__ctype_init): Define.
5810 * include/ctype.h (__ctype_init): Declare.
5811 (__ctype_b_loc): The variable is always initialized.
5812 (__ctype_toupper_loc): Likewise.
5813 (__ctype_tolower_loc): Likewise.
5814 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5815 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5816
7872cfb0
AS
58172011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5818
b468825a
AS
5819 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5820
7872cfb0
AS
5821 * configure.in: Also look in $cxxmachine/include for C++ system
5822 headers.
5823
be13f7bf
LD
58242011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5825
5826 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5827 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5828 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5829 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5830 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5831 (USE_AS_WMEMCMP): New macro.
5832 Fixing indents.
5833 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5834 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5835 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5836 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5837 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5838 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5839 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5840 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5841 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5842 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5843 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5844 (USE_AS_WMEMCMP): New macro.
5845 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5846 * sysdeps/string/test-memcmp.c: Update.
5847 Fix simple_wmemcmp.
5848 Add new tests.
5849 * wcsmbs/wmemcmp.c: Update.
5850 (WMEMCMP): New macro.
5851 Fix overflow bug.
5852
556a2007
AJ
58532011-10-12 Andreas Jaeger <aj@suse.de>
5854
5855 [BZ #13268]
5856 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5857
538faaa7
UD
58582011-10-15 Ulrich Drepper <drepper@gmail.com>
5859
ab6737ff
UD
5860 * libio/iofwide.c (do_length): Avoid warning.
5861
538faaa7
UD
5862 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5863
396a21b1
UD
58642011-10-14 Ulrich Drepper <drepper@gmail.com>
5865
cdf2901f
UD
5866 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5867
38ad40ce
UD
5868 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5869 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5870 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5871 * sysdeps/i386/i686/fpu/e_log.S: New file.
5872 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5873 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5874
396a21b1
UD
5875 * ctype/ctype.h: Add support for inlined isXXX functions when
5876 compiling C++ code.
5877
6b1f68c9
AS
58782011-10-14 Andreas Schwab <schwab@redhat.com>
5879
349290c0
AS
5880 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5881
6b1f68c9
AS
5882 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5883
f2282d42
RM
58842011-10-13 Roland McGrath <roland@hack.frob.com>
5885
5886 [BZ #13291]
5887 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5888
5298ffa8
AS
58892011-10-13 Andreas Schwab <schwab@redhat.com>
5890
714fad23
AS
5891 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5892 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5893 feraiseexcept.
5894
81dcc7fb
AS
5895 * sysdeps/x86_64/memrchr.S: Check for zero size.
5896
5298ffa8
AS
5897 * string/stratcliff.c: Add memrchr tests.
5898
951fbcec
LD
58992011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5900
5901 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5902 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5903 rawmemchr-sse2 rawmemchr-sse2-bsf.
5904 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5905 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5906 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5907 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5908 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5909 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5910 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5911 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5912 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5913 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5914 * string/memrchr.c (MEMRCHR): New macro.
5915
0ac5ae23
UD
59162011-10-12 Ulrich Drepper <drepper@gmail.com>
5917
5918 Add integration with gcc's -ffinite-math-only and optimize wrapper
5919 functions in libm.
5920 * Versions.def: Define GLIBC_2.15 version for libm.
5921 * math/Makefile (headers): Add bits/math-finite.h.
5922 * math/bits/math-finite.h: New file.
5923 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5924 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5925 * math/e_acoshl.c: Add __*_finite alias.
5926 * math/e_acosl.c: Likewise.
5927 * math/e_asinl.c: Likewise.
5928 * math/e_atan2l.c: Likewise.
5929 * math/e_atanhl.c: Likewise.
5930 * math/e_coshl.c: Likewise.
5931 * math/e_exp10.c: Likewise.
5932 * math/e_exp10f.c: Likewise.
5933 * math/e_exp10l.c: Likewise.
5934 * math/e_exp2l.c: Likewise.
5935 * math/e_fmodl.c: Likewise.
5936 * math/e_gammal_r.c: Likewise.
5937 * math/e_hypotl.c: Likewise.
5938 * math/e_j0l.c: Likewise.
5939 * math/e_j1l.c: Likewise.
5940 * math/e_jnl.c: Likewise.
5941 * math/e_lgammal_r.c: Likewise.
5942 * math/e_log10l.c: Likewise.
5943 * math/e_log2l.c: Likewise.
5944 * math/e_logl.c: Likewise.
5945 * math/e_powl.c: Likewise.
5946 * math/e_sinhl.c: Likewise.
5947 * math/e_sqrtl.c: Likewise.
5948 * math/e_scalb.c: Completely rewritten and optimized.
5949 * math/e_scalbf.c: Likewise.
5950 * math/e_scalbl.c: Likewise.
5951 * math/w_acos.c: Likewise.
5952 * math/w_acosf.c: Likewise.
5953 * math/w_acosl.c: Likewise.
5954 * math/w_acosh.c: Likewise.
5955 * math/w_acoshf.c: Likewise.
5956 * math/w_acoshl.c: Likewise.
5957 * math/w_asin.c: Likewise.
5958 * math/w_asinf.c: Likewise.
5959 * math/w_asinl.c: Likewise.
5960 * math/w_atan2.c: Likewise.
5961 * math/w_atan2f.c: Likewise.
5962 * math/w_atan2l.c: Likewise.
5963 * math/w_atanh.c: Likewise.
5964 * math/w_atanhf.c: Likewise.
5965 * math/w_atanhl.c: Likewise.
5966 * math/w_exp10.c: Likewise.
5967 * math/w_exp10f.c: Likewise.
5968 * math/w_exp10l.c: Likewise.
5969 * math/w_fmod.c: Likewise.
5970 * math/w_fmodf.c: Likewise.
5971 * math/w_fmodl.c: Likewise.
5972 * math/w_j0.c: Likewise.
5973 * math/w_j0f.c: Likewise.
5974 * math/w_j0l.c: Likewise.
5975 * math/w_j1.c: Likewise.
5976 * math/w_j1f.c: Likewise.
5977 * math/w_j1l.c: Likewise.
5978 * math/w_jn.c: Likewise.
5979 * math/w_jnf.c: Likewise.
5980 * math/w_log.c: Likewise.
5981 * math/w_logf.c: Likewise.
5982 * math/w_logl.c: Likewise.
5983 * math/w_log10.c: Likewise.
5984 * math/w_log10f.c: Likewise.
5985 * math/w_log10l.c: Likewise.
5986 * math/w_log2.c: Likewise.
5987 * math/w_log2f.c: Likewise.
5988 * math/w_log2l.c: Likewise.
5989 * math/w_pow.c: Likewise.
5990 * math/w_powf.c: Likewise.
5991 * math/w_powl.c: Likewise.
5992 * math/w_remainder.c: Likewise.
5993 * math/w_remainderf.c: Likewise.
5994 * math/w_remainderl.c: Likewise.
5995 * math/w_scalb.c: Likewise.
5996 * math/w_scalbf.c: Likewise.
5997 * math/w_scalbl.c: Likewise.
5998 * math/w_sqrt.c: Likewise.
5999 * math/w_sqrtf.c: Likewise.
6000 * math/w_sqrtl.c: Likewise.
6001 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6002 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6003 used.
6004 * math/math_private.h: Declare __kernel_standard_f.
6005 * math/w_cosh.c: Remove cruft and optimize a bit.
6006 * math/w_coshf.c: Likewise.
6007 * math/w_coshl.c: Likewise.
6008 * math/w_exp2.c: Likewise.
6009 * math/w_exp2f.c: Likewise.
6010 * math/w_exp2l.c: Likewise.
6011 * math/w_hypot.c: Likewise.
6012 * math/w_hypotf.c: Likewise.
6013 * math/w_hypotl.c: Likewise.
6014 * math/w_lgamma.c: Likewise.
6015 * math/w_lgamma_r.c: Likewise.
6016 * math/w_lgammaf.c: Likewise.
6017 * math/w_lgammaf_r.c: Likewise.
6018 * math/w_lgammal.c: Likewise.
6019 * math/w_lgammal_r.c: Likewise.
6020 * math/w_sinh.c: Likewise.
6021 * math/w_sinhf.c: Likewise.
6022 * math/w_sinhl.c: Likewise.
6023 * math/w_tgamma.c: Likewise.
6024 * math/w_tgammaf.c: Likewise.
6025 * math/w_tgammal.c: Likewise.
6026 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6027 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6028 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6029 Minor optimizations. Pretty printing. Remove cruft.
6030 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6031 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6032 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6033 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6034 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6035 * sysdeps/i386/fpu/e_asin.S: Likewise.
6036 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6037 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6038 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6039 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6040 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6041 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6042 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6043 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6044 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6045 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6046 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6047 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6048 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6049 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6050 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6051 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6052 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6053 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6054 * sysdeps/i386/fpu/e_log.S: Likewise.
6055 * sysdeps/i386/fpu/e_log10.S: Likewise.
6056 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6057 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6058 * sysdeps/i386/fpu/e_log2.S: Likewise.
6059 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6060 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6061 * sysdeps/i386/fpu/e_logf.S: Likewise.
6062 * sysdeps/i386/fpu/e_logl.S: Likewise.
6063 * sysdeps/i386/fpu/e_pow.S: Likewise.
6064 * sysdeps/i386/fpu/e_powf.S: Likewise.
6065 * sysdeps/i386/fpu/e_powl.S: Likewise.
6066 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6067 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6068 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6069 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6070 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6071 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6072 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6073 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6074 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6075 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6076 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6077 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6078 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6079 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6080 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6081 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6082 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6083 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6084 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6085 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6086 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6087 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6088 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6089 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6090 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6091 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6092 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6093 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6094 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6095 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6096 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6097 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6098 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6099 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6100 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6101 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6102 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6103 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6104 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6105 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6106 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6107 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6108 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6109 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6110 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6111 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6112 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6113 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6114 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6115 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6116 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6117 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6118 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6119 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6120 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6121 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6122 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6123 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6124 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6125 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6126 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6127 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6128 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6129 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6130 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6131 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6132 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6133 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6134 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6135 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6136 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6137 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6138 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6139 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6140 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6141 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6142 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6143 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6144 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6145 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6146 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6147 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6148 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6149 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6150 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6151 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6152 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6153 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6154 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6155 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6156 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6157 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6158 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6159 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6160 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6161 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6162 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6163 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6164 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6165 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6166 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6167 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6168 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6169 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6170 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6171 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6172 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6173 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6174 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6175 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6176 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6177 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6178 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6179 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6180 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6181 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6182 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6183 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6184 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6185 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6186 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6187 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6188 (__isnanf): Likewise.
6189 (__isinf_ns): Likewise.
6190 (__isinf_nsf): Likewise.
6191 (__finite): Likewise.
6192 (__finitef): Likewise.
6193 (__ieee754_sqrt): Define as macro.
6194 (__ieee754_sqrtf): Define as macro.
6195 (__ieee754_sqrtl): Define as macro.
6196 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6197 inlined copy.
6198 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6199 __FINITE_MATH_ONLY__ consistent.
6200 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6201
12cc2fcd
AS
62022011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6203
a843a204
AS
6204 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6205 of rawmemchr.
6206
12cc2fcd
AS
6207 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6208
c853acd5
UD
62092011-10-09 Ulrich Drepper <drepper@gmail.com>
6210
6211 * po/ja.po: Update from translation team.
6212
c658d255
RM
62132011-10-08 Roland McGrath <roland@hack.frob.com>
6214
110946e4
RM
6215 * locale/programs/locarchive.c (prepare_address_space): New function.
6216 (create_archive, enlarge_archive, open_archive): Use it.
6217
50604220
RM
6218 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6219 inside [SHARED], where it is used.
6220
c658d255
RM
6221 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6222
6223 * nss/getent.c (netgroup_keys): Remove unused variable.
6224 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6225
6a621eb7
UD
62262011-10-08 Ulrich Drepper <drepper@gmail.com>
6227
7edb55ce
UD
6228 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6229 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6230 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6231 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6232 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6233 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6234 * math/Makefile (libm-calls): Add s_isinf_ns.
6235 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6236 * math/multc3.c: Likewise.
6237 * math/s_casin.c: Likewise.
6238 * math/s_casinf.c: Likewise.
6239 * math/s_casinl.c: Likewise.
6240 * math/s_ccos.c: Likewise.
6241 * math/s_ccosf.c: Likewise.
6242 * math/s_ccosl.c: Likewise.
6243 * math/s_ctan.c: Likewise.
6244 * math/s_ctanf.c: Likewise.
6245 * math/s_ctanh.c: Likewise.
6246 * math/s_ctanhf.c: Likewise.
6247 * math/s_ctanhl.c: Likewise.
6248 * math/s_ctanl.c: Likewise.
6249 * math/w_fmod.c: Likewise.
6250 * math/w_fmodf.c: Likewise.
6251 * math/w_fmodl.c: Likewise.
6252 * math/w_remainder.c: Likewise.
6253 * math/w_remainderf.c: Likewise.
6254 * math/w_remainderl.c: Likewise.
6255 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6256 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6257 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6258 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6259 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6260 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6261 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6262 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6263
187da0ae
UD
6264 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6265 of the number.
6266 * stdio-common/printf_fphex.c: Likewise.
6267 * stdio-common/printf_size.c: Likewise.
6268
9277c064
UD
6269 * math/e_exp10.c: Include math_private.h using <...> not "...".
6270 * math/e_exp10f.c: Likewise.
6271 * math/e_exp10l.c: Likewise.
6272 * math/e_exp2l.c: Likewise.
6273 * math/e_j0l.c: Likewise.
6274 * math/e_j1l.c: Likewise.
6275 * math/e_jnl.c: Likewise.
6276 * math/e_lgammal_r.c: Likewise.
6277 * math/e_rem_pio2l.c: Likewise.
6278 * math/e_scalb.c: Likewise.
6279 * math/e_scalbf.c: Likewise.
6280 * math/e_scalbl.c: Likewise.
6281 * math/k_cosl.c: Likewise.
6282 * math/k_sinl.c: Likewise.
6283 * math/k_tanl.c: Likewise.
6284 * math/s_cacoshf.c: Likewise.
6285 * math/s_catan.c: Likewise.
6286 * math/s_catanf.c: Likewise.
6287 * math/s_catanh.c: Likewise.
6288 * math/s_catanhf.c: Likewise.
6289 * math/s_catanhl.c: Likewise.
6290 * math/s_catanl.c: Likewise.
6291 * math/s_ccosh.c: Likewise.
6292 * math/s_ccoshf.c: Likewise.
6293 * math/s_ccoshl.c: Likewise.
6294 * math/s_cexp.c: Likewise.
6295 * math/s_cexpf.c: Likewise.
6296 * math/s_cexpl.c: Likewise.
6297 * math/s_clog.c: Likewise.
6298 * math/s_clog10.c: Likewise.
6299 * math/s_clog10f.c: Likewise.
6300 * math/s_clog10l.c: Likewise.
6301 * math/s_clogf.c: Likewise.
6302 * math/s_clogl.c: Likewise.
6303 * math/s_csin.c: Likewise.
6304 * math/s_csinf.c: Likewise.
6305 * math/s_csinh.c: Likewise.
6306 * math/s_csinhf.c: Likewise.
6307 * math/s_csinhl.c: Likewise.
6308 * math/s_csinl.c: Likewise.
6309 * math/s_csqrt.c: Likewise.
6310 * math/s_csqrtf.c: Likewise.
6311 * math/s_csqrtl.c: Likewise.
6312 * math/s_ctan.c: Likewise.
6313 * math/s_ctanf.c: Likewise.
6314 * math/s_ctanh.c: Likewise.
6315 * math/s_ctanhf.c: Likewise.
6316 * math/s_ctanhl.c: Likewise.
6317 * math/s_ctanl.c: Likewise.
6318 * math/s_ldexp.c: Likewise.
6319 * math/s_ldexpf.c: Likewise.
6320 * math/s_ldexpl.c: Likewise.
6321 * math/s_significand.c: Likewise.
6322 * math/s_significandf.c: Likewise.
6323 * math/s_significandl.c: Likewise.
6324 * math/w_acos.c: Likewise.
6325 * math/w_acosf.c: Likewise.
6326 * math/w_acosh.c: Likewise.
6327 * math/w_acoshf.c: Likewise.
6328 * math/w_acoshl.c: Likewise.
6329 * math/w_acosl.c: Likewise.
6330 * math/w_asin.c: Likewise.
6331 * math/w_asinf.c: Likewise.
6332 * math/w_asinl.c: Likewise.
6333 * math/w_atan2.c: Likewise.
6334 * math/w_atan2f.c: Likewise.
6335 * math/w_atan2l.c: Likewise.
6336 * math/w_atanh.c: Likewise.
6337 * math/w_atanhf.c: Likewise.
6338 * math/w_atanhl.c: Likewise.
6339 * math/w_cosh.c: Likewise.
6340 * math/w_coshf.c: Likewise.
6341 * math/w_coshl.c: Likewise.
6342 * math/w_dremf.c: Likewise.
6343 * math/w_exp10.c: Likewise.
6344 * math/w_exp10f.c: Likewise.
6345 * math/w_exp10l.c: Likewise.
6346 * math/w_exp2.c: Likewise.
6347 * math/w_exp2f.c: Likewise.
6348 * math/w_fmod.c: Likewise.
6349 * math/w_fmodf.c: Likewise.
6350 * math/w_fmodl.c: Likewise.
6351 * math/w_hypot.c: Likewise.
6352 * math/w_hypotf.c: Likewise.
6353 * math/w_hypotl.c: Likewise.
6354 * math/w_j0.c: Likewise.
6355 * math/w_j0f.c: Likewise.
6356 * math/w_j0l.c: Likewise.
6357 * math/w_j1.c: Likewise.
6358 * math/w_j1f.c: Likewise.
6359 * math/w_j1l.c: Likewise.
6360 * math/w_jn.c: Likewise.
6361 * math/w_jnf.c: Likewise.
6362 * math/w_jnl.c: Likewise.
6363 * math/w_lgamma.c: Likewise.
6364 * math/w_lgamma_r.c: Likewise.
6365 * math/w_lgammaf.c: Likewise.
6366 * math/w_lgammaf_r.c: Likewise.
6367 * math/w_lgammal.c: Likewise.
6368 * math/w_lgammal_r.c: Likewise.
6369 * math/w_log.c: Likewise.
6370 * math/w_log10.c: Likewise.
6371 * math/w_log10f.c: Likewise.
6372 * math/w_log10l.c: Likewise.
6373 * math/w_log2.c: Likewise.
6374 * math/w_log2f.c: Likewise.
6375 * math/w_log2l.c: Likewise.
6376 * math/w_logf.c: Likewise.
6377 * math/w_logl.c: Likewise.
6378 * math/w_pow.c: Likewise.
6379 * math/w_powf.c: Likewise.
6380 * math/w_powl.c: Likewise.
6381 * math/w_remainder.c: Likewise.
6382 * math/w_remainderf.c: Likewise.
6383 * math/w_remainderl.c: Likewise.
6384 * math/w_scalb.c: Likewise.
6385 * math/w_scalbf.c: Likewise.
6386 * math/w_scalbl.c: Likewise.
6387 * math/w_sinh.c: Likewise.
6388 * math/w_sinhf.c: Likewise.
6389 * math/w_sinhl.c: Likewise.
6390 * math/w_sqrt.c: Likewise.
6391 * math/w_sqrtf.c: Likewise.
6392 * math/w_sqrtl.c: Likewise.
6393 * math/w_tgamma.c: Likewise.
6394 * math/w_tgammaf.c: Likewise.
6395 * math/w_tgammal.c: Likewise.
6396
6a621eb7
UD
6397 * po/ja.po: Update from translation team.
6398
bf582445
AJ
63992011-09-29 Andreas Jaeger <aj@suse.de>
6400
f9efbf3a
AJ
6401 [BZ #13179]
6402 * sunrpc/netname.c (netname2host): Fix logic.
6403
bf582445
AJ
6404 [BZ #6779]
6405 [BZ #6783]
6406 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6407 correctly.
6408 * math/w_remainder.c (__remainder): Likewise.
6409 * math/w_remainderf.c (__remainderf): Likewise.
6410 * math/libm-test.inc (remainder_test): Add test cases.
6411
48693bea
AK
64122011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6413
6414 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6415 sdiv_qrnnd.
6416
42622229
LD
64172011-10-07 Ulrich Drepper <drepper@gmail.com>
6418
6419 * string/test-memcmp.c: Avoid unncessary #defines.
6420 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6421
093ecf92
LD
64222011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6423
6424 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6425 Use new sse2 version for core i3 - i7 as it's faster
6426 than sse42 version.
6427 (bit_Prefer_PMINUB_for_stringop): New.
6428 * sysdeps/x86_64/rawmemchr.S: Update.
6429 Replace with faster SSE2 version.
6430 * sysdeps/x86_64/memrchr.S: New file.
6431 * sysdeps/x86_64/memchr.S: Update.
6432 Replace with faster SSE2 version.
6433
fde56e5c
MP
64342011-09-12 Marek Polacek <mpolacek@redhat.com>
6435
6436 * elf/dl-load.c (lose): Add cast to avoid warning.
6437
21fd49a9
UD
64382011-10-07 Ulrich Drepper <drepper@gmail.com>
6439
5a06e643
UD
6440 * po/ca.po: Update from translation team.
6441
684ae515
UD
6442 * inet/getnetgrent_r.c: Hook up nscd.
6443 * nscd/Makefile (routines): Add nscd_netgroup.
6444 (nscd-modules): Add netgroupcache.
6445 (CFLAGS-netgroupcache.c): Define.
6446 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6447 (cache_search): Add const to second parameter.
6448 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6449 INNETGR.
6450 (dbs): Add netgrdb entry.
6451 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6452 (verify_persistent_db): Handle netgrdb.
6453 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6454 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6455 GETFDNETGR.
6456 (netgroup_response_header): Define.
6457 (innetgroup_response_header): Define.
6458 (datahead): Add netgroup_response_header and innetgroup_response_header
6459 elements.
6460 * nscd/nscd.conf: Add entries for netgroup cache.
6461 * nscd/nscd.h (dbtype): Add netgrdb.
6462 (_PATH_NSCD_NETGROUP_DB): Define.
6463 (netgroup_iov_disabled): Declare.
6464 (xmalloc, xcalloc, xrealloc): Move declarations here.
6465 (cache_search): Adjust prototype.
6466 Add netgroup-related prototypes.
6467 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6468 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6469 (__nscd_innetgr): Declare.
6470 * nscd/selinux.c (perms): Use access_vector_t as element type and
6471 add netgroup-related initializers.
6472 * nscd/netgroupcache.c: New file.
6473 * nscd/nscd_netgroup.c: New file.
6474 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6475 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6476 For four parameters use innetgr.
6477 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6478 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6479 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6480 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6481
21fd49a9
UD
6482 * nscd/connections.c (register_traced_file): Don't register file
6483 for disabled databases.
6484
054c0457
UD
64852011-10-06 Ulrich Drepper <drepper@gmail.com>
6486
32b63198
UD
6487 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6488
054c0457
UD
6489 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6490 from tree and freeing node.
6491
64031225
JO
64922011-09-25 Jiri Olsa <jolsa@redhat.com>
6493
6494 * nss/nsswitch.c (__nss_database_lookup): Handle
6495 nss_parse_service_list out of memory case.
6496
0490345c
JO
64972011-09-15 Jiri Olsa <jolsa@redhat.com>
6498
6499 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6500 out of memory case.
6501
3a62d00d
AS
65022011-10-04 Andreas Schwab <schwab@redhat.com>
6503
6504 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6505 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6506 pass it down.
6507 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6508 elf_machine_rela, elf_machine_lazy_rel.
6509 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6510 (ELF_DYNAMIC_DO_REL): Likewise.
6511 (ELF_DYNAMIC_DO_RELA): Likewise.
6512 (ELF_DYNAMIC_RELOCATE): Likewise.
6513 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6514 to ELF_DYNAMIC_DO_REL.
6515 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6516 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6517 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6518 elf_machine_rela.
6519 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6520 skip_ifunc, don't call ifunc function if non-zero.
6521 (elf_machine_rela): Likewise.
6522 (elf_machine_lazy_rel): Likewise.
6523 (elf_machine_lazy_rela): Likewise.
6524 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6525 (elf_machine_lazy_rel): Likewise.
6526 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6527 Likewise.
6528 (elf_machine_lazy_rel): Likewise.
6529 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6530 Likewise.
6531 (elf_machine_lazy_rel): Likewise.
6532 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6533 (elf_machine_lazy_rel): Likewise.
6534 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6535 (elf_machine_lazy_rel): Likewise.
6536 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6537 (elf_machine_lazy_rel): Likewise.
6538 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6539 (elf_machine_lazy_rel): Likewise.
6540 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6541 (elf_machine_lazy_rel): Likewise.
6542 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6543 (elf_machine_lazy_rel): Likewise.
6544
68577918
UD
65452011-09-28 Ulrich Drepper <drepper@gmail.com>
6546
6547 * nss/nss_files/files-init.c (_nss_files_init): Use static
6548 initialization for all the *_traced_file variables.
6549
68822d74
AS
65502011-09-28 Andreas Schwab <schwab@redhat.com>
6551
6552 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6553
2056100b
RM
65542011-09-27 Roland McGrath <roland@hack.frob.com>
6555
6556 [BZ #13226]
6557 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6558
32c76b63
AS
65592011-09-27 Andreas Schwab <schwab@redhat.com>
6560
6561 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6562 Reread the line before reparsing it.
6563
bf972c9d
AS
65642011-09-26 Andreas Schwab <schwab@redhat.com>
6565
6566 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6567
e057a1b5
JM
65682011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6569 Maxim Kuvyrkov <maxim@codesourcery.com>
6570 Joseph Myers <joseph@codesourcery.com>
6571
6572 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6573 if needed for __stack_chk_guard.
6574
bc7e1c36
RM
65752011-09-19 Roland McGrath <roland@hack.frob.com>
6576
ecb1482f
RM
6577 * sysdeps/posix/spawni.c (script_execute): Always define it.
6578 It will be optimized away if unused.
6579 (maybe_script_execute): New function.
6580 (__spawni): Call it.
6581
bc7e1c36
RM
6582 * Makerules: Don't include tls.make.
6583 (config-tls): Always set to thread.
6584 * tls.make.c: File removed.
6585
1c3b002b
MF
65862011-09-19 Mike Frysinger <vapier@gentoo.org>
6587
6588 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6589 * config.make.in (CPPFLAGS-config): New substituted variable.
6590
2840865d
UD
65912011-09-15 Ulrich Drepper <drepper@gmail.com>
6592
88738eb6
UD
6593 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6594
cbf645a6 6595 [BZ #13192]
2840865d
UD
6596 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6597 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6598
b402e91a
RM
65992011-09-15 Roland McGrath <roland@hack.frob.com>
6600
6601 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6602 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6603 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6604 (CALL_FAIL): Likewise.
6605 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6606 (CALL_FAIL): Macro removed.
6607 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6608
4c1a1f71
UD
66092011-09-15 Ulrich Drepper <drepper@gmail.com>
6610
6611 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6612 for __FINITE_MATH_ONLY__ == 1.
6613
edc121be
AS
66142011-09-15 Andreas Schwab <schwab@redhat.com>
6615
6616 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6617 __ieee754_sqrt instead of sqrt.
6618 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6619 __ieee754_sqrtf instead of sqrtf.
6620 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6621 __floorf instead of floorf.
6622 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6623 __floorf, __truncf instead of floorf, truncf.
6624
cd205654
UD
66252011-09-14 Ulrich Drepper <drepper@gmail.com>
6626
ee4d0315
UD
6627 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6628
cd205654
UD
6629 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6630 __extern_always_inline.
6631 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6632 32-bit.
6633
48b67d71
AS
66342011-09-14 Andreas Schwab <schwab@redhat.com>
6635
6636 * elf/rtld.c (dl_main): Also relocate in dependency order when
6637 doing symbol dependency testing.
6638
1ae12c75
AS
66392011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6640
6641 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6642 Always define `refsym'.
6643
995a80df
AS
66442011-09-13 Andreas Schwab <schwab@redhat.com>
6645
e529793b
AS
6646 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6647 (__FD_ELT): Renamed from __FDELT.
6648 * misc/bits/select2.h (__FD_ELT): Likewise.
6649 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6650 __FD_MASK instead of __FDELT, __FDMASK.
6651 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6652 Likewise.
6653 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6654 Likewise.
6655
52d4fef8
AS
6656 * elf/Makefile (gen-ldd): Fix pattern.
6657
995a80df
AS
6658 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6659 (init_tls): Likewise.
6660
8682f8b0
UD
66612011-09-12 Ulrich Drepper <drepper@gmail.com>
6662
6663 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6664
de82006d
AS
66652011-09-12 Andreas Schwab <schwab@redhat.com>
6666
a7c8e6a1
AS
6667 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6668 `struct cmsghdr *' instead of `void *'.
6669 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6670 Likewise.
6671
0f31fe77
AS
66722011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6673
6674 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6675 if non-absolute.
6676 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6677 ldd_rewrite_script.
0f31fe77 6678
32b4c839
UD
66792011-09-11 Ulrich Drepper <drepper@gmail.com>
6680
83cd1420
UD
6681 * configure.in: Remove --with-tls option.
6682 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6683 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6684 out in case it is missing.
6685 * sysdeps/ia64/elf/configure.in: Likewise.
6686 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6687 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6688 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6689 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6690 * sysdeps/sh/elf/configure.in: Likewise.
6691 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6692 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6693 * sysdeps/x86_64/elf/configure.in: Likewise.
6694 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6695 * sysdeps/mach/hurd/tls.h: Likewise.
6696
633f745d
UD
6697 [BZ #13067]
6698 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6699
f318beb8
UD
6700 [BZ #13090]
6701 * configure.in: Fix use of AC_INIT.
6702
32b4c839
UD
6703 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6704
3ce1f295
UD
67052011-09-10 Ulrich Drepper <drepper@gmail.com>
6706
bb016596
UD
6707 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6708 __set_errno.
8e58439c
UD
6709 * malloc/hooks.c: Likewise.
6710
aebae053 6711 [BZ #11929]
02d46fc4
UD
6712 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6713 variables statically.
6714 (narenas): Initialize.
6715 (list_lock): Initialize.
bb016596
UD
6716 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6717 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
6718 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6719 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6720 Add initializers to main_arena and mp_.
6721 (malloc_state): Remove pagesize member. Change all users to use
6722 GLRO(dl_pagesize).
6723
6724 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6725 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6726 is always initialized.
6727
22a89187
UD
6728 * malloc/malloc.c: Removed unused configurations and dead code.
6729 * malloc/arena.c: Likewise.
6730 * malloc/hooks.c: Likewise.
02d46fc4 6731 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 6732
d063d164
UD
6733 * include/tls.h: Removed. USE___THREAD must always be defined.
6734 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6735 * elf/dl-libc.c: Likewise.
6736 * elf/dl-tsd.c: Likewise.
6737 * include/errno.h: Likewise.
6738 * include/netdb.h: Likewise.
6739 * include/resolv.h: Likewise.
6740 * inet/herrno-loc.c: Likewise.
6741 * inet/herrno.c: Likewise.
6742 * malloc/arena.c: Likewise.
6743 * malloc/hooks.c: Likewise.
6744 * malloc/malloc.c: Likewise.
6745 * resolv/res-state.c: Likewise.
6746 * resolv/res_libc.c: Likewise.
6747 * sysdeps/i386/dl-machine.h: Likewise.
6748 * sysdeps/ia64/dl-machine.h: Likewise.
6749 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6750 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6751 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6752 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6753 * sysdeps/sh/dl-machine.h: Likewise.
6754 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6755 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6756 * sysdeps/unix/i386/sysdep.S: Likewise.
6757 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6758 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6759 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6760 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6761 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6762 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6763 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6764 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6765 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6766 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6767 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6768 * sysdeps/x86_64/dl-machine.h: Likewise.
6769 * tls.make.c: Likewise.
6770
3ce1f295
UD
6771 * configure.in: Remove --with-__thread option. Make tests for
6772 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6773 tls_model attribute fail if no support is available. Remove
6774 USE_IN_LIBIO.
6775 * Makeconfig: Adjust for dropped configure option. All features are
6776 now mandatory.
6777 * Makerules: Likewise.
6778 * Versions.def: Likewise.
6779 * argp/argp-fmtstream.c: Likewise.
6780 * argp/argp-fmtstream.h: Likewise.
6781 * argp/argp-help.c: Likewise.
6782 * assert/assert.c: Likewise.
6783 * config.h.in: Likewise.
6784 * config.make.in: Likewise.
6785 * configure: Likewise.
6786 * configure.in: Likewise.
6787 * csu/Versions: Likewise.
6788 * csu/init.c: Likewise.
6789 * elf/tst-audit2.c: Likewise.
6790 * elf/tst-tls10.c: Likewise.
6791 * elf/tst-tls10.h: Likewise.
6792 * elf/tst-tls11.c: Likewise.
6793 * elf/tst-tls12.c: Likewise.
6794 * elf/tst-tls14.c: Likewise.
6795 * elf/tst-tlsmod11.c: Likewise.
6796 * elf/tst-tlsmod12.c: Likewise.
6797 * elf/tst-tlsmod13.c: Likewise.
6798 * elf/tst-tlsmod13a.c: Likewise.
6799 * elf/tst-tlsmod14a.c: Likewise.
6800 * elf/tst-tlsmod15b.c: Likewise.
6801 * elf/tst-tlsmod16a.c: Likewise.
6802 * elf/tst-tlsmod16b.c: Likewise.
6803 * elf/tst-tlsmod7.c: Likewise.
6804 * elf/tst-tlsmod8.c: Likewise.
6805 * elf/tst-tlsmod9.c: Likewise.
6806 * gmon/gmon.c: Likewise.
6807 * grp/fgetgrent_r.c: Likewise.
6808 * grp/putgrent.c: Likewise.
6809 * hurd/fopenport.c: Likewise.
6810 * include/libc-symbols.h: Likewise.
6811 * include/tls.h: Likewise.
6812 * intl/gettextP.h: Likewise.
6813 * intl/loadinfo.h: Likewise.
6814 * locale/global-locale.c: Likewise.
6815 * locale/localeinfo.h: Likewise.
6816 * mach/devstream.c: Likewise.
6817 * malloc/arena.c: Likewise.
6818 * malloc/set-freeres.c: Likewise.
6819 * misc/err.c: Likewise.
6820 * misc/getttyent.c: Likewise.
6821 * misc/mntent_r.c: Likewise.
6822 * posix/getopt.c: Likewise.
6823 * posix/wordexp.c: Likewise.
6824 * pwd/fgetpwent_r.c: Likewise.
6825 * resolv/Versions: Likewise.
6826 * resolv/res_hconf.c: Likewise.
6827 * shadow/fgetspent_r.c: Likewise.
6828 * shadow/putspent.c: Likewise.
6829 * stdio-common/printf_fphex.c: Likewise.
6830 * stdio-common/tmpfile.c: Likewise.
6831 * stdlib/abort.c: Likewise.
6832 * stdlib/fmtmsg.c: Likewise.
6833 * sunrpc/auth_unix.c: Likewise.
6834 * sunrpc/clnt_perr.c: Likewise.
6835 * sunrpc/clnt_tcp.c: Likewise.
6836 * sunrpc/clnt_udp.c: Likewise.
6837 * sunrpc/clnt_unix.c: Likewise.
6838 * sunrpc/openchild.c: Likewise.
6839 * sunrpc/svc_simple.c: Likewise.
6840 * sunrpc/svc_tcp.c: Likewise.
6841 * sunrpc/svc_udp.c: Likewise.
6842 * sunrpc/svc_unix.c: Likewise.
6843 * sunrpc/xdr.c: Likewise.
6844 * sunrpc/xdr_array.c: Likewise.
6845 * sunrpc/xdr_rec.c: Likewise.
6846 * sunrpc/xdr_ref.c: Likewise.
6847 * sunrpc/xdr_stdio.c: Likewise.
6848
1248c1c4
PB
68492011-09-09 Ulrich Drepper <drepper@gmail.com>
6850
6851 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6852
68532011-07-03 Andreas Jaeger <aj@suse.de>
6854
6855 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6856 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6857 regenerate with gen-libm-tests.pl.
6858
68592010-05-12 Petr Baudis <pasky@suse.cz>
6860
6861 [BZ #11589]
6862 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6863 around j0() zero points by switching to j1().
6864 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6865 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6866 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6867 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6868
f22e1074
UD
68692011-09-09 Ulrich Drepper <drepper@gmail.com>
6870
f19009c1
UD
6871 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6872 instead of 0.
6873 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6874 instead of 0. .
6875 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6876 Patch in part by Pavel Roskin <proski@gnu.org>.
6877
3f8cc204
UD
6878 [BZ #13138]
6879 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6880 realloc.
6881 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6882 Free memory block if necessary.
6883
f22e1074
UD
6884 [BZ #12847]
6885 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6886 be NULL. Don't lock in this case.
6887
0a2349f9
RM
68882011-09-09 Roland McGrath <roland@hack.frob.com>
6889
6890 * elf/elf.h (ELFOSABI_GNU): New macro.
6891 (ELFOSABI_LINUX): Define to that.
6892
f3cdd467
DZ
68932011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6894
6895 * string/strncat.c (strncat): Undef the symbol in case it has been
6896 defined in bits/string.h.
6897
74718d13
UD
68982011-09-09 Ulrich Drepper <drepper@gmail.com>
6899
633e9e0f
UD
6900 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6901
0a2349f9 6902 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
6903 link map.
6904
f9924780
AJ
69052011-08-17 Andreas Jaeger <aj@suse.de>
6906
6907 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6908
7f5517aa
PP
69092011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6910 Ian Lance Taylor <iant@google.com>
6911
6912 * math/libm-test.inc (lround_test): New testcase.
6913 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6914
762011fe
UD
69152011-09-08 Ulrich Drepper <drepper@gmail.com>
6916
92963737
UD
6917 * Makefile: Remove support for automatic cvs check-ins.
6918 * Makerules: Likewise.
6919 * config.make.in: Likewise.
6920 * configure.in: Likewise.
6921 * intl/Makefile: Likewise.
6922 * locale/Makefile: Likewise.
6923 * po/Makefile: Likewise.
6924 * posix/Makefile: Likewise.
6925 * sysdeps/gnu/Makefile: Likewise.
6926 * sysdeps/mach/hurd/Makefile: Likewise.
6927 * sysdeps/sparc/sparc32/Makefile: Likewise.
6928
b0727fd8
JS
6929 [BZ #13118]
6930 * posix/Makefile (bug-regex32-ENV): Define.
6931 Patch by John Stanley <jpsinthemix@verizon.net>.
6932
a0f33f99
UD
6933 * misc/Makefile (headers): Add bits/select2.h.
6934 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6935 * misc/bits/select2.h: New file.
6936 * include/bits/select2.h: New file.
6937 * debug/Makefile (routines): Add fdelt_chk.
6938 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6939 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6940 FD_ISSET.
6941 * debug/fdelt_chk.c: New file.
6942
762011fe
UD
6943 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6944 * wcsmbs/test-wmemcmp.c: Likewise.
6945 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 6946 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
6947
69482011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6949
6950 * string/Makefile (strop-tests): Add memcmp.
6951 * string/test-wmemcmp.c: New file.
6952 * string/test-memcmp.c: Add wmemcmp support.
6953
7f513ec8
RM
69542011-09-08 Roland McGrath <roland@hack.frob.com>
6955
0442afb4
RM
6956 [BZ #13153]
6957 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6958 2011-07-19 change.
6959
7f513ec8
RM
6960 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6961 garbage value in a __mach_port_mod_refs call in the cases of the
6962 task-self and thread-self ports.
6963
a12b2239
ST
69642011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6965
6966 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6967
610f9ab4
AS
69682011-09-08 Andreas Schwab <schwab@redhat.com>
6969
7f513ec8 6970 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 6971
48882a1a
LD
69722011-09-07 Ulrich Drepper <drepper@gmail.com>
6973
b49865be
UD
6974 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6975
fdc86bc9
UD
6976 * elf/dl-libc.c (dlerror_run): Pass back error code from
6977 dl_catch_error.
6978
c966526a
UD
6979 [BZ #13123]
6980 * elf/dl-load.c (lose): Free l_origin if it is valid.
6981
48882a1a
LD
6982 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6983 names.
6984 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6985 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6986 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6987 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6988 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6989 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6990
77a2a8b4
AZ
69912011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6992
6993 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6994 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6995 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6996 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6997 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6998 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6999 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7000 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7001 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7002 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7003
24f579d8
AM
70042011-08-15 Alan Modra <amodra@gmail.com>
7005
7006 [BZ #13092]
7007 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7008 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7009 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7010 ppc_mcount to static-only-routines.
7011 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7012 __mcount_internal.
7013 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7014 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7015
3d4837df
UD
70162011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7017
7018 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7019 for finite and infinity parameters.
7020
22700377
WS
70212011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7022
7023 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7024 and add nop instructions for throughput optimization.
7025 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7026
5025581e
WS
70272011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7028
7029 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7030 aligned copy for power7 with vector-scalar instructions.
7031 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7032
08a300c9
L
70332011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7034
7035 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7036 AVX check.
7037
59178ef9
AS
70382011-09-07 Andreas Schwab <schwab@redhat.com>
7039
7040 [BZ #13144]
7041 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7042 last change.
7043
e38ba7ab
UD
70442011-09-07 Ulrich Drepper <drepper@gmail.com>
7045
7046 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7047 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7048 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7049 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7050 clock_gettime.
7051
d53a73ac
UD
70522011-09-06 Ulrich Drepper <drepper@gmail.com>
7053
fc8bffcc
UD
7054 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7055 Forgot to demangle the pointer.
7056
ceaa0c5d
UD
7057 * sysdeps/i386/sysdep.h: Define atom_text_section.
7058 * sysdeps/x86_64/sysdep.h: Likewise.
7059 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7060 section with atom_text_section.
7061 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7062 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7063 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7064 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7065 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7066
a77d3c17
UD
7067 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7068 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7069 already be defined. Change to take two parameters and don't assign
7070 result to variable. Adjust all users.
7071 Define INTERNAL_GETTIME if not already defined.
7072 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7073 call.
7074 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7075 HAVE_CLOCK_GETTIME_VSYSCALL.
7076 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7077
d53a73ac
UD
7078 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7079 gettimeofday vsyscall, just use time.
7080
a8f84144
AS
70812011-09-06 Andreas Schwab <schwab@redhat.com>
7082
7083 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7084 <errno.h>.
7085
ef606249
UD
70862011-09-06 Ulrich Drepper <drepper@gmail.com>
7087
7088 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7089 syscall on x86-64.
7090 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7091 syscall.
7092 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7093 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7094 syscall if possible.
7095
6585cb60
UD
70962011-09-05 Ulrich Drepper <drepper@gmail.com>
7097
7098 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7099 e_ident. Don't pass to find_mapsXX.
7100 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7101
a5f524e4
LD
71022011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7103
7104 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7105 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7106 * sysdeps/x86_64/multiarch/strchr.S: Update.
7107 Check bit_slow_BSF bit.
7108 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7109 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7110 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7111
554881ef
UD
71122011-09-05 Ulrich Drepper <drepper@gmail.com>
7113
d96de963
UD
7114 [BZ #13134]
7115 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7116 before glibc 2.15.
7117 (tryshell): Define.
7118 (__spawni): Change last parameter to be flag. Test
7119 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7120 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7121 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7122 * posix/spawni.c: Likewise.
7123 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7124 * posix/spawnp.c: Likewise. Change normal version to use
7125 SPAWN_XFLAGS_USE_PATH.
7126 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7127 SPAWN_XFLAGS_TRY_SHELL.
7128
d48e5868
UD
7129 [BZ #13150]
7130 * posix/glob.h: Remove gcc 1.x support.
7131
554881ef
UD
7132 [BZ #13068]
7133 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7134
693fb948
LD
71352011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7136
7137 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7138 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7139 strrchr-sse2-bsf
7140 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7141 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7142 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7143 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7144 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7145 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7146
1b48c537
UD
71472011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7148
49d42c37
UD
7149 * sysdeps/x86_64/wcscmp.S: New file.
7150
1b48c537
UD
7151 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7152 wcscmp-c wcscmp-sse2
7153 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7154 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7155 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7156 * wcsmbs/wcscmp.c: Allow renaming.
7157
15c95c5d
DM
71582011-09-05 David S. Miller <davem@davemloft.net>
7159
7160 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7161 stack slot, rather than the struct return pointer slot.
7162 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7163 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7165 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7166
2f0ad8f3
UD
71672011-09-05 Ulrich Drepper <drepper@gmail.com>
7168
d88ae418
UD
7169 * po/ja.po: Update from translation team.
7170
2f0ad8f3
UD
7171 [BZ #13144]
7172 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7173 kernel in 64-bit binaries.
7174
5f4318d1
DM
71752011-09-01 David S. Miller <davem@davemloft.net>
7176
7177 * elf/elf.h (HWCAP_SPARC_*): Move to..
7178 * sysdeps/sparc/sysdep.h: this new file and add new values.
7179 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7180 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7181 _DL_HWCAP_COUNT to 24.
7182 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7183 entries.
7184 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7185 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7186 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7187 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7188 instead of magic constants.
7189 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7190
3ba57516
DM
71912011-08-31 David S. Miller <davem@davemloft.net>
7192
7193 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7194 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7195 Reimplement to do errno handling inline.
7196 (SYSCALL_ERROR_HANDLER): New macro.
7197 (__SYSCALL_STRING): Do not do errno handling in asm.
7198 (__CLONE_SYSCALL_STRING): Delete.
7199 (__INTERNAL_SYSCALL_STRING): Delete.
7200 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7201 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7202 (PSEUDO): Reimplement to do errno handling inline.
7203 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7204 (SYSCALL_ERROR_HANDLER): New macro.
7205 (__SYSCALL_STRING): Do not do errno handling in asm.
7206 (__CLONE_SYSCALL_STRING): Delete.
7207 (__INTERNAL_SYSCALL_STRING): Delete.
7208 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7209 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7210 i386.
7211 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7212 (inline_syscall*): Add 'err' argument.
7213 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7214 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7215 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7216 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7217
7218 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7219 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7220
2bc17433
AS
72212011-08-30 Andreas Schwab <schwab@redhat.com>
7222
7223 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7224
fbeb5f4d
JO
72252011-08-29 Jiri Olsa <jolsa@redhat.com>
7226
7227 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7228 directive.
7229
ad69cc26
DM
72302011-08-24 David S. Miller <davem@davemloft.net>
7231
7232 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7233
39dd69df
AS
72342011-08-24 Andreas Schwab <schwab@redhat.com>
7235
7236 * elf/Makefile: Add rules to build and run unload8 test.
7237 * elf/unload8.c: New file.
7238 * elf/unload8mod1.c: New file.
7239 * elf/unload8mod1x.c: New file.
7240 * elf/unload8mod2.c: New file.
7241 * elf/unload8mod3.c: New file.
7242
7243 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7244 it wasn't used.
7245
2c0b250a
DM
72462011-08-23 David S. Miller <davem@davemloft.net>
7247
7248 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7249 subtract stack bias.
7250 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7251 %sp not %fp in calculations.
7252 (_JMPBUF_UNWINDS_ADJ): Likewise.
7253
22044b48
DM
7254 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7255 (aio_suspend): Call it to force an exception region around the
7256 AIO_MISC_WAIT() invocation.
7257
2cae4995
AS
72582011-08-23 Andreas Schwab <schwab@redhat.com>
7259
7260 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7261 backslash.
7262
873a772e
AJ
72632011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7264
7265 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7266 protection macro.
7267 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7268 and <dl-machine.h>.
7269 (Elf64_FuncDesc): Remove.
7270
25ad0df1
DM
72712011-08-22 David S. Miller <davem@davemloft.net>
7272
7273 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7274 sigaltstack check, add missing cfi directives.
7275 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7276 missing cfi directives, and sigaltstack handling.
7277
e888bcbe
AS
72782011-08-16 Andreas Schwab <schwab@redhat.com>
7279
7280 [BZ #11724]
7281 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7282 object is seen twice.
7283 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7284
7285 * elf/Makefile (distribute): Add tst-initorder2.c.
7286 (tests): Add tst-initorder2.
7287 (modules-names): Add tst-initorder2a tst-initorder2b
7288 tst-initorder2c tst-initorder2d. Add rules to build them.
7289 ($(objpfx)tst-initorder2.out): New rule.
7290 * elf/tst-initorder2.c: New file.
7291 * elf/tst-initorder2.exp: New file.
7292
87162f46
AS
72932011-08-22 Andreas Schwab <schwab@redhat.com>
7294
70538b7f
AS
7295 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7296
f55ffe58
AS
7297 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7298 dependencies back to end of function.
7299
87162f46
AS
7300 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7301 $(elfobjdir)/ld.so.
7302
91b392a4
UD
73032011-08-21 Ulrich Drepper <drepper@gmail.com>
7304
7305 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7306 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7307 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7308 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7309 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7310 of __vdso_gettimeofday.
7311 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7312 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7313 attribute_hidden.
7314 (_libc_vdso_platform_setup): Remove initialization of
7315 __vdso_gettimeofday and __vdso_time.
7316
5c43483f
UD
73172011-08-20 Ulrich Drepper <drepper@gmail.com>
7318
775a77e7
UD
7319 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7320 and fgetc_unlocked.
7321 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7322 getc_unlocked.
89f447ed 7323
49c74ba9
UD
7324 * elf/dl-open.c (add_to_global): Report additions to the global scope
7325 for LD_DEBUG=scopes.
7326 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 7327 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 7328
5c43483f
UD
7329 [BZ #13114]
7330 * stdio-common/Makefile (tests): Add bug24.
7331 * stdio-common/bug24.c: New file.
7332
a101b025
AJ
73332011-08-19 Andreas Jaeger <aj@suse.de>
7334
7335 [BZ #13114]
7336 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7337 non-existant file when using close-on-exec mode.
7338
c88f1766
UD
73392011-08-20 Ulrich Drepper <drepper@gmail.com>
7340
0276a718
UD
7341 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7342 the very first instruction.
7343
c88f1766
UD
7344 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7345 the CFI state in the end.
7346 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7347 inclusion of dl-trampoline.h.
7348 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7349
51ccffa0
AS
73502011-08-19 Andreas Schwab <schwab@redhat.com>
7351
94d7165f
AS
7352 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7353 expectations for long double.
7354
51ccffa0
AS
7355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7356 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7357
fd708658 73582011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
7359
7360 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7361 artificual limit depends upon the system page size.
7362
44f0a71e
UD
73632011-08-17 Ulrich Drepper <drepper@gmail.com>
7364
7365 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7366 * resolv/Makefile: Define CFLAGS-libresolv.
7367
8de79a24
AS
73682011-08-17 Andreas Schwab <schwab@redhat.com>
7369
7370 * nss/makedb.c (compute_tables): Make variables used in nested
7371 function static.
7372
27724598
UD
73732011-08-17 Ulrich Drepper <drepper@gmail.com>
7374
c5305d88
UD
7375 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7376 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7377 if buffer was too small.
7378
27724598
UD
7379 * elf/pldd.c (main): Attach to all threads in the process.
7380 Rewrite /proc handling to use *at functions.
7381
076fe015
UD
73822011-08-16 Ulrich Drepper <drepper@gmail.com>
7383
174baab3
UD
7384 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7385 specifies first scope to show.
7386 (dl_open_worker): Update callers. Move printing scope of new
7387 object to before the relocation.
44f0a71e 7388 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7389 * sysdeps/generic/ldsodefs.h: Update declaration.
7390
076fe015
UD
7391 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7392 string for the scope number.
7393
a60df2c3
UD
73942011-08-14 Ulrich Drepper <drepper@gmail.com>
7395
7396 * nscd/servicescache.c (cache_addserv): Make sure written is always
7397 initialized.
7398
5e4287d1
RM
73992011-08-14 Roland McGrath <roland@hack.frob.com>
7400
85ae0589
RM
7401 * sysdeps/i386/i486/bits/atomic.h
7402 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7403 statement expression, so as to suppress "set but not used" warning.
7404 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7405
69f63097
RM
7406 * string/strncat.c (STRNCAT): Use prototype definition.
7407
675456ef
RM
7408 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7409 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7410 -Iprograms here.
7411 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7412 (localedef-modules): Add localedef.
7413 (locale-modules): Add locale.
7414
5e4287d1
RM
7415 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7416 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7417 to avoid a warning.
7418
9c96ff23
DM
74192011-08-14 David S. Miller <davem@davemloft.net>
7420
7421 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7422 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7423
f9ddf089
UD
74242011-08-13 Ulrich Drepper <drepper@gmail.com>
7425
44f0a71e 7426 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
7427 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7428 * elf/rtld.c (dl_main): Set l_name of vDSO.
7429 Call _dl_show_scope when DL_DEBUG_SCOPES.
7430 (process_dl_debug): Recognize scopes flag and also set it for all.
7431 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7432 Declare _dl_show_scope.
7433
1dc27704
UD
7434 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7435 (do_dlopen): Pass caller_dlopen to dl_open.
7436 (__libc_dlopen_mode): Initialize caller_dlopen.
7437
f9ddf089
UD
7438 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7439 of libc. Make tolower call locale-independent. Optimize a bit by
7440 using isdigit instead of isalnum.
7441 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7442
9ac533d3
UD
74432011-08-12 Ulrich Drepper <drepper@gmail.com>
7444
7445 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7446 was a dependency or dynamically loaded.
7447
89edf2e9
UD
74482011-08-11 Ulrich Drepper <drepper@gmail.com>
7449
8e999d29
UD
7450 * intl/l10nflist.c: Allow architecture-specific pop function.
7451 * sysdeps/x86_64/l10nflist.c: New file.
7452
89edf2e9
UD
7453 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7454 classification.
7455
14d96785
AS
74562011-08-10 Andreas Schwab <schwab@redhat.com>
7457
7458 * include/dirent.h: Add libc_hidden_proto for scandirat and
7459 scandirat64. Don't declare __scandirat64.
7460 * dirent/scandirat.c: Add libc_hidden_def.
7461 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7462 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7463
6761ac04
DM
74642011-08-10 David S. Miller <davem@davemloft.net>
7465
7466 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7467 enum.
7468 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7469 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7470 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7471
c55fbd1e
UD
74722011-08-09 Ulrich Drepper <drepper@gmail.com>
7473
7474 * Versions.def [libc]: Add GLIBC_2.15.
7475 * dirent/Makefile (routines): Add scandirat and scandirat64.
7476 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7477 GLIBC_2.15.
7478 * dirent/dirent.h: Declare scandirat and scandirat64.
7479 * dirent/scandirat.c: New file.
7480 * dirent/scandirat64.c: New file.
7481 * sysdeps/wordsize-64/scandirat.c: New file.
7482 * sysdeps/wordsize-64/scandirat64.c: New file.
7483 * dirent/opendir.c: Define opendirat.
7484 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7485 using scandirat.
7486 * dirent/scandir64.c: Adjust for scandir.c change.
7487 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7488 __scandirat64, and __scandir_cancel_handler.
7489 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7490 additional parameter and use openat instead of open (outside of ld.so).
7491 Add new __opendir as wrapper around __opendirat.
7492 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7493 here without requiring old scandirat implementation.
7494
879165f2
UD
74952011-08-08 Ulrich Drepper <drepper@gmail.com>
7496
7497 * dirent/scandir.c (cancel_handler): Renamed to
7498 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7499 defined. Adjust users.
7500 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7501 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7502
cb7e923b
UD
75032011-08-04 Ulrich Drepper <drepper@gmail.com>
7504
16292edd
UD
7505 * string/test-string.h (IMPL): Use __STRING to expand name and then
7506 stringify it.
7507
cb7e923b
UD
7508 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7509 of cleanups.
7510
cff82933
LD
75112011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7512
7513 * string/Makefile: Update.
7514 (strop-tests): Append strncat.
7515 * string/test-wcscmp.c: New file.
7516 New comprehensive test for wcscmp.
7517 * string/test-strcmp.c: Update.
7518 (WIDE): New define.
7519
9be9bfcc
AS
75202011-07-22 Andreas Schwab <schwab@redhat.com>
7521
7522 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7523 line.
7524
2e96f1c7
AS
75252011-07-26 Andreas Schwab <schwab@redhat.com>
7526
7527 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7528 encoding to ACE if AI_IDN.
7529
85188888
JJ
75302011-08-01 Jakub Jelinek <jakub@redhat.com>
7531
7532 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7533 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7534
5fa16e9b
LD
75352011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7536
7537 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7538 Fix overflow bug in strncat.
7539 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7540
7541 * string/test-strncat.c: Update.
7542 Add new tests for checking overflow bugs.
7543
75442011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7545
7546 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7547 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7548 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7549 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7550 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7551 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7552 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7553 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7554 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7555
7556 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7557 (USE_AS_STRCAT): Define.
7558 Add strcat and strncat support.
7559 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7560
8c1a459f
AS
75612011-07-25 Andreas Schwab <schwab@redhat.com>
7562
7563 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7564 __n bigger than INT_MAX+1.
7565 (__strncmp_g): Likewise.
7566
bba33c28
UD
75672011-07-23 Ulrich Drepper <drepper@gmail.com>
7568
798be72d
UD
7569 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7570 * libio/stido.h: Likewise.
7571
8accd4dc
UD
7572 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7573 (AF_NFC): Define.
7574 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7575 (AF_NFC): Define.
7576
cbff0d96
UD
7577 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7578 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7579 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7580 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7581 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7582
9191c04a
UD
7583 [BZ #13021]
7584 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7585 installed.
7586
bba33c28
UD
7587 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7588 typo.
7589 (_dl_x86_64_save_sse): Likewise.
7590
90f139dd
UD
75912011-07-22 Ulrich Drepper <drepper@gmail.com>
7592
1aae088a
UD
7593 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7594 OSXSAVE.
7595 (_dl_x86_64_save_sse): Likewise.
7596
8e2045f5
UD
7597 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7598
90f139dd
UD
7599 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7600
1d002f25
AS
76012011-07-21 Andreas Schwab <schwab@redhat.com>
7602
7603 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7604 change.
7605 (_dl_x86_64_save_sse): Use correct AVX check.
7606
21137f89
UD
76072011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7608
7609 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7610 bug in strncpy/strncat.
7611 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7612
a65c0b7a
UD
76132011-07-21 Ulrich Drepper <drepper@gmail.com>
7614
7615 * string/tester.c (test_strcat): Add tests for different alignments
7616 of source and destination.
7617 (test_strncat): Likewise.
7618
6986b98a
UD
76192011-07-20 Ulrich Drepper <drepper@gmail.com>
7620
90bb2039
UD
7621 [BZ #12852]
7622 * posix/glob.c (glob): Check passed in values before using them in
7623 expressions to avoid some overflows.
7624 (glob_in_dir): Likewise.
7625
5644ef54
UD
7626 [BZ #13007]
7627 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7628 check for AVX enablement so that we don't crash with old kernels and
7629 new hardware.
7630 * elf/tst-audit4.c: Add same checks here.
7631 * elf/tst-audit6.c: Likewise.
7632
7633 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 7634
bfc9dc9b
AS
76352011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7636
7637 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7638
702e64bb
UD
76392011-07-20 Ulrich Drepper <drepper@gmail.com>
7640
7641 * po/cs.po: Update from translation team.
7642 * po/bg.po: Likewise.
7643
295e904f
MP
76442011-07-12 Marek Polacek <mpolacek@redhat.com>
7645
7646 * misc/sys/cdefs.h: Add support for const attribute.
7647 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7648 to gnu_dev_{major,minor,makedev} functions.
7649
3ff94596
MP
76502011-07-20 Marek Polacek <mpolacek@redhat.com>
7651
7652 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7653
28b59fca
AS
76542011-07-20 Andreas Schwab <schwab@redhat.com>
7655
7656 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7657 strlen results.
7658
19df733e
AK
76592011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7660
7661 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7662 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7663 register in order to avoid conflicts with the soft frame pointer
7664 being held in r11 when necessary.
7665 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7666 (INTERNAL_VSYSCALL_NCS): Likewise.
7667
c8835729
MP
76682011-07-14 Marek Polacek <mpolacek@redhat.com>
7669
7670 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7671 * elf/dl-fini.c (_dl_fini): Adjust caller.
7672 * elf/dl-close.c (_dl_close_worker): Likewise.
7673 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7674
b902330c
MP
76752011-07-15 Marek Polacek <mpolacek@redhat.com>
7676
8991e135
MP
7677 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7678 "aux_cache->nlibs < 0".
7679
b902330c
MP
7680 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7681 in the reload-count case.
7682
99710781
LD
76832011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7684
7685 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7686 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7687 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7688 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7689 * sysdeps/x86_64/multiarch/strcat.S: New file.
7690 * sysdeps/x86_64/multiarch/strncat.S: New file.
7691 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7692 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7693 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7694 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7695 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7696 (USE_AS_STRCAT): Define.
7697 Add strcat and strncat support.
7698 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7699 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7700 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7701 * string/strncat.c: Update.
7702 (USE_AS_STRNCAT): Define.
7703 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7704 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7705 and i7.
7706 * sysdeps/x86_64/multiarch/init-arch.h
7707 (bit_Prefer_PMINUB_for_stringop): New.
7708 (index_Prefer_PMINUB_for_stringop): Likewise.
7709 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7710 bit_Prefer_PMINUB_for_stringop.
7711
7dc6bd90
UD
77122011-07-19 Ulrich Drepper <drepper@gmail.com>
7713
7714 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7715 buffer64.
7716 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7717 of casting of buffer.
7718 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7719 buffer32 and buffer64.
7720 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7721 writes instead of casting of buffer.
7722 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7723 buffer32.
7724 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7725 casting of buffer.
7726
e0e72284
AS
77272011-07-19 Andreas Schwab <schwab@redhat.com>
7728
7729 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7730
feb1eb0b
UD
77312011-07-19 Ulrich Drepper <drepper@gmail.com>
7732
7733 * nscd/nscd.c (termination_handler): Don't do anything for a database
7734 if it has not yet been initialized.
7735
298711ff
UD
77362011-07-18 Ulrich Drepper <drepper@gmail.com>
7737
7738 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7739
77402011-07-15 Marek Polacek <mpolacek@redhat.com>
7741
7742 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7743
f9d68389
UD
77442011-07-18 Ulrich Drepper <drepper@gmail.com>
7745
7746 * po/nl.po: Update from translation team.
7747 * po/sv.po: Likewise.
7748
db290cf5
RM
77492011-07-16 Roland McGrath <roland@hack.frob.com>
7750
7751 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7752 now disallowed by GCC.
5c550700 7753
fd5e21c7
RM
7754 * configure.in (use-default-link): Default to yes if a test -shared
7755 link meets our qualifications.
7756 * configure: Regenerated.
7757
5c550700
RM
7758 * config.make.in (output-format): New variable.
7759 * configure.in: Check for ld --print-output-format support.
7760 * configure: Regenerated.
7761 * Makerules ($(common-objpfx)format.lds)
7762 [$(output-format) != unknown]: Just use $(output-format),
7763 instead of the linker-script munging.
7764
9fa2c032
RM
77652011-07-14 Roland McGrath <roland@hack.frob.com>
7766
a6928d51
RM
7767 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7768 of $(common-objpfx)shlib.lds.
7769 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7770
661607b3
RM
7771 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7772 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7773
9fa2c032
RM
7774 * configure.in (-z relro check): Adjust test code to add a large
7775 writable data section after it.
7776 * configure: Regenerated.
7777
defe9061
RM
77782011-07-11 Roland McGrath <roland@hack.frob.com>
7779
7780 * configure.in (-z relro check): Fix test code to make the variable
7781 truly const.
7782 * configure: Regenerated.
7783
319b9ad4
UD
77842011-07-11 Ulrich Drepper <drepper@gmail.com>
7785
7786 * nscd/nscd.h (struct traced_file): Define.
7787 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7788 elements. Add traced_files.
7789 (inotify_fd): Declare.
7790 (register_traced_file): Declare.
7791 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7792 (inotify_fd): Export.
7793 (resolv_conf_descr): Remove.
7794 (nscd_init): Move inotify descriptor creation to main.
7795 Don't register files for notification here.
7796 (register_traced_file): New function.
7797 (invalidate_cache): Don't use reset_res to determine whether to call
7798 res_init, go through the list of registered files.
7799 (main_loop_poll): The inotify descriptors are now stored in the
7800 structures for the traced files.
7801 (main_loop_epoll): Likewise
7802 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7803 to __nss_disable_nscd.
7804 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7805 for a database anymore. Check the records for all the registered
7806 files instead.
7807 * nss/Makefile (libnss_files-routines): Add files-init.
7808 (libnss_db-routines): Add db-init.
7809 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7810 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7811 * nss/nss_db/db-init.c: New file.
7812 * nss/nss_files/files-init.c: New file.
7813 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7814 __nss_lookup_function.
7815 (__nss_lookup_function): Call nss_load_library.
7816 (nss_load_all_libraries): New function.
7817 (__nss_disable_nscd): Take parameter with callback function for files
7818 to register. Set is_nscd. Load all the DSOs for the NSS modules
7819 used for the cached services.
7820 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7821 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7822 options for features to all the files in nscd.
7823
7824 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7825
23bee3e8
RM
78262011-07-10 Roland McGrath <roland@hack.frob.com>
7827
7828 * csu/elf-init.c (__libc_csu_init): Comment typo.
7829
46a5b7f0
UD
78302011-07-09 Ulrich Drepper <drepper@gmail.com>
7831
7832 * po/pl.po: Update from translation team.
7833 * po/ja.po: Likewise.
7834 * po/ru.po: Likewise.
7835 * po/ko.po: Likewise.
7836 * po/fr.po: Likewise.
7837
d30cf5bb
RM
78382011-07-09 Roland McGrath <roland@hack.frob.com>
7839
113ddea4
RM
7840 * configure.in (.ctors/.dtors header and trailer check):
7841 Use an empirical test on a built program.
7842 * configure: Regenerated.
7843
574920b4
RM
7844 * configure.in (-z relro check): Use an empirical test on a built DSO.
7845 Detect, but do not require, on ia64.
7846 * configure: Regenerated.
7847
d30cf5bb
RM
7848 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7849 Update tests that use readelf to use $READELF instead.
7850 * configure: Regenerated.
7851
8538fdb3
UD
78522011-07-08 Ulrich Drepper <drepper@gmail.com>
7853
7854 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7855 if the result is not used.
7856
04d08991
AJ
78572011-07-05 Andreas Jaeger <aj@suse.de>
7858
7859 [BZ#9696]
7860 * stdlib/tst-strtod.c: Add testcase.
7861
de283087
AD
78622011-07-07 Ulrich Drepper <drepper@gmail.com>
7863
4e5f31c8 7864 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 7865 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
7866 The latter has a higher limit. Take additional parameter to pass to
7867 the new function.
7868 (__pathconf): Pass file to __statfs_link_max.
7869 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7870 __statfs_link_max.
7871 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7872 __statfs_link_max.
7873
de283087
AD
7874 [BZ #12868]
7875 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7876 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7877 Handle Lustre.
7878 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7879 (__statfs_filesize_max): Likewise.
7880 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7881
c75fa153
AJ
78822011-07-05 Andreas Jaeger <aj@suse.de>
7883
7884 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7885
1a544854
UD
78862011-07-06 Marek Polacek <mpolacek@redhat.com>
7887
7888 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7889 `status' variable.
7890 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7891 Likewise.
7892
6f0eec67
UD
78932011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7894
7895 * Makefile (strop-tests): Add strncat.
7896 * string/test-strncat.c: New file.
7897
aae30307
UD
78982011-06-30 Marek Polacek <mpolacek@redhat.com>
7899
7900 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7901
c0cfb5eb
UD
79022011-06-21 Andreas Jaeger <aj@suse.de>
7903
7904 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7905 Copy rule from iconvdata/Makefile.
7906
01636b21
UD
79072011-07-06 Ulrich Drepper <drepper@gmail.com>
7908
7909 [BZ #12922]
7910 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7911 but no long options are defined, just return 'W'.
7912
9895c8bc
UD
79132011-06-22 Marek Polacek <mpolacek@redhat.com>
7914
7915 [BZ #9696]
7916 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7917
5d4cf042
UD
79182011-07-06 Ulrich Drepper <drepper@gmail.com>
7919
7920 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7921 netgroups to read.
960e5535 7922 (innetgr): Likewise.
5d4cf042 7923
751eb97e
RM
79242011-07-05 Roland McGrath <roland@hack.frob.com>
7925
7926 * config.make.in (install_root): Default to $(DESTDIR).
7927
f15f1e45
UD
79282011-07-05 Ulrich Drepper <drepper@gmail.com>
7929
7930 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7931
4e34ac6a
RM
79322011-07-02 Roland McGrath <roland@hack.frob.com>
7933
5e9b6af4
RM
7934 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7935
84f9ea0f
RM
7936 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7937 containing directory rather than embedding absolute directory names.
7938
ea5ee9f7
RM
7939 * scripts/check-local-headers.sh: Rewritten using awk.
7940 Match by word, not by line. Print error messages for matches.
7941 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7942
1b74661a
RM
7943 * Makerules [shlib-lds-flags empty]:
7944 ($(common-objpfx)libc_pic.opts): New target.
7945 ($(common-objpfx)libc_pic.os.clean): New target.
7946 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7947
7948 * config.make.in (OBJCOPY): New variable.
7949 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7950 * configure: Regenerated.
7951
f781ef40
RM
7952 * config.make.in (use-default-link): New variable.
7953 * configure.in (use_default_link): Grok --with-default-link to set it.
7954 * configure: Regenerated.
7955 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7956 (shlib-lds, shlib-lds-flags): Define to empty.
7957
2d4fa81e
RM
7958 * Makerules (shlib-lds): New variable.
7959 (shlib-lds-flags): New variable.
7960 (build-shlib, build-moduile, build-module-asneeded): Use it.
7961 ($(common-objpfx)libc.so): Use $(shlib-lds).
7962 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7963 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7964
31fffa6b
RM
7965 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7966 DT_FLAGS/DT_FLAGS_1 with zero flags.
7967
4e34ac6a
RM
7968 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7969 linker script munging.
7970
fcfc776b
UD
79712011-07-02 Ulrich Drepper <drepper@gmail.com>
7972
7973 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7974 as 128-bit value.
7975 * crypt/sha512.c (sha512_process_block): Perform total addition using
7976 128-bit if possible.
7977 (__sha512_finish_ctx): Likewise.
7978 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7979 as 64-bit value.
7980 * crypt/sha256.c (SWAP64): Define.
7981 (sha256_process_block): Perform total addition using 64-bit if
7982 possible.
7983 (__sha256_finish_ctx): Likewise.
7984
99231d9a
UD
79852011-07-01 Ulrich Drepper <drepper@gmail.com>
7986
7987 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7988 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7989 * nscd/hstcache.c (cache_addhst): Likewise.
7990 * nscd/grpcache.c (cache_addgr): Likewise.
7991 * nscd/aicache.c (addhstaiX): Likewise
7992 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7993
445b4a53
TK
79942011-07-01 Thorsten Kukuk <kukuk@suse.de>
7995
7996 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7997 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7998 * nscd/hstcache.c (cache_addhst): Likewise.
7999 * nscd/grpcache.c (cache_addgr): Likewise.
8000 * nscd/aicache.c (addhstaiX): Likewise
8001
6d4d8e8e
AS
80022011-07-01 Andreas Schwab <schwab@redhat.com>
8003
8004 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8005 domain only when needed.
8006
89f654c5
AS
80072011-06-30 Andreas Schwab <schwab@redhat.com>
8008
8009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8010 is always restored.
8011
cf3b23ff
UD
80122011-06-29 Ulrich Drepper <drepper@gmail.com>
8013
8014 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8015 are re-adding the entry.
8016 * nscd/servicescache.c (cache_addserv): Likewise.
8017
751626f9
AJ
80182011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8019
8020 * sysdeps/generic/dl-irel.h: fix protection against multiple
8021 inclusions.
8022 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8023
9113ea1f
UD
80242011-06-28 Ulrich Drepper <drepper@gmail.com>
8025
5c0b8d90
UD
8026 [BZ #12935]
8027 * malloc/memusage.sh: Fix quoting in message.
8028 * debug/xtrace.sh: Likewise.
8029
9113ea1f
UD
8030 * configure.in: Remove support for --experimental-malloc option, make
8031 it the default.
8032 * config.make.in: Likewise.
8033 * malloc/Makefile: Likewise.
8034
a4172181
AS
80352011-06-27 Andreas Schwab <schwab@redhat.com>
8036
8037 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8038 two-byte characters.
8039
78a7eee7
RM
80402011-06-27 Roland McGrath <roland@hack.frob.com>
8041
62bede13
RM
8042 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8043 AC_CACHE_CHECK invocation.
8044 * configure: Regenerated.
8045
78a7eee7
RM
8046 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8047
5ce33a62
UD
80482011-06-27 Ulrich Drepper <drepper@gmail.com>
8049
034807a9
UD
8050 [BZ #12350]
8051 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8052 bit from old_res_options.
8053
4902da17
UD
8054 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8055
5ce33a62
UD
8056 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8057 value type for setfct.
8058
c2344f56
L
80592011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8060
8061 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8062 __gettimeofday instead of gettimeofday.
8063
68468076
UD
80642011-06-26 Ulrich Drepper <drepper@gmail.com>
8065
8066 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8067
acb0d739
L
80682011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8069
8070 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8071
8072 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8073 info.
8074
8912479f
L
80752011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8076
8077 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8078 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8079 strcpy-sse2-unaligned strncpy-sse2-unaligned
8080 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8081 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8082 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8083 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8084 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8085 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8086 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8087 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8088 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8089 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8090 (STRCPY): Support SSE2 and SSSE3 versions.
8091
d5495a11
UD
80922011-06-24 Ulrich Drepper <drepper@gmail.com>
8093
8094 [BZ #12874]
8095 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8096 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8097 kernels which artificially limit size of requests.
8098
0b1cbaae
L
80992011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8100
8101 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8102 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8103 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8104 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8105 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8106 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8107 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8108 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8109 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8110 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8111 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8112 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8113 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8114 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8115 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8117 Enable unaligned load optimization for Intel Core i3, i5 and i7
8118 processors.
8119 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8120 Define.
8121 (index_Fast_Unaligned_Load): Define.
8122 (HAS_FAST_UNALIGNED_LOAD): Define.
8123
07f494a0
MP
81242011-06-23 Marek Polacek <mpolacek@redhat.com>
8125
8126 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8127
fa3fc0fe
UD
81282011-06-22 Ulrich Drepper <drepper@gmail.com>
8129
8130 [BZ #12907]
8131 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8132 until it is clear that the information is realy needed.
8133 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8134
e12df166
AS
81352011-06-22 Andreas Schwab <schwab@redhat.com>
8136
8137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8138
852eb34d
UD
81392011-06-22 Ulrich Drepper <drepper@gmail.com>
8140
84e2a551
UD
8141 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8142 /sys/devices/system/cpu/online if it is usable.
8143
852eb34d
UD
8144 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8145 reading the information from the /proc filesystem to once a second.
8146
6e502e19
UD
81472011-06-21 Andreas Jaeger <aj@suse.de>
8148
8149 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8150 NULL after inclusion of kernel headers.
8151
75d39ff2
UD
81522011-06-21 Ulrich Drepper <drepper@gmail.com>
8153
51f9aa6a
UD
8154 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8155 calls to internal_setent.
8156
c0244a9d
UD
8157 [BZ #12885]
8158 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8159 addresses using gethostbyname4_r ignore IPv4 addresses.
8160
c5e3c2ae
UD
8161 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8162 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8163
75d39ff2
UD
8164 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8165
42675c6f
DM
81662011-06-20 David S. Miller <davem@davemloft.net>
8167
8168 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8169 inclusions.
8170 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8171
8172 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8173 (elf_irel): Use it.
8174 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8175 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8176 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8177 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8178 * sysdeps/x86_64/dl-irel.h: Likewise.
8179
8180 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8181 * elf/dl-sym.c: Likewise.
8182
57912a71
UD
81832011-06-15 Ulrich Drepper <drepper@gmail.com>
8184
8185 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8186 need to dereference resplen2.
8187
ee22793d
AS
81882011-06-14 Andreas Schwab <schwab@redhat.com>
8189
8190 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8191
a9e836b0
UD
81922011-06-15 Ulrich Drepper <drepper@gmail.com>
8193
77fb9117
UD
8194 * Makeconfig: Define vardbdir and inst_vardbdir.
8195 * nss/Makefile: Add rules to install db-Makefile.
8196
40c1b22c
UD
8197 * nss/nss_db/db-XXX.c: Cleanup.
8198
9f2da732
UD
8199 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8200 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8201 GLIBC_PRIVATE.
8202 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8203 * nss/makedb.c: Implement -g option to specify that value strings
8204 are generated and should not be added to table iterated over for
8205 get*ent calls.
8206 * nss/nss_db/db-initgroups.c: New file.
8207
82e9a1f7
UD
8208 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8209 interface.
8210
c41af17e
UD
8211 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8212 (internal_getgrouplist): Adjust to name change.
8213 Update use_initgroups_entry if this is not the first call.
8214 * nss/databases.def: Add initgroups entry.
8215
a9e836b0
UD
8216 * nss/makedb.c (compute_tables): Check result of multiple hash table
8217 sizes to minimize maximum chain length.
8218
2666d441
UD
82192011-06-14 Ulrich Drepper <drepper@gmail.com>
8220
8221 * Versions.def: Add entry for libnss_db.
8222 * shlib-versions: Likewise.
8223 * nss/Makefile: Add rules to build libnss_db.
8224 * nss/Versions: Add libnss_db information. Organize libnss_files
8225 entries better.
8226 * nss/db-Makefile: Add gshadow support. Change rules for the new
8227 makedb progra. Some minor improvements to generate smaller files.
8228 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8229 here from...
8230 * nss/makedb.c: ...here.
8231 Improve database format to be smaller and require less memory at
8232 runtime.
8233 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8234 db anymore.
8235 * nss/nss_db/db-netgrp.c: Likewise.
8236 * nss/nss_db/db-open.c: Likewise.
8237 * nss/nss_files/flies-XXX.x: Adjust comments.
8238 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8239 * nss/nss_files/files-grp.c: Likewise.
8240 * nss/nss_files/files-hosts.c: Likewise.
8241 * nss/nss_files/files-network.c: Likewise.
8242 * nss/nss_files/files-proto.c: Likewise.
8243 * nss/nss_files/files-pwd.c: Likewise.
8244 * nss/nss_files/files-rpc.c: Likewise.
8245 * nss/nss_files/files-service.c: Likewise.
8246 * nss/nss_files/files-sgrp.c: Likewise.
8247 * nss/nss_files/files-spwd.c: Likewise.
8248 * nss/nss_db/db-alias.c: Removed.
8249 * nss/nss_db/dummy-db.h: Removed.
8250
9ee76b5a
UD
82512011-06-02 Ulrich Drepper <drepper@gmail.com>
8252
8253 * nss/makedb.c: Rewritten to not use database library.
8254 * nss/Makefile: Update to build new makedb program.
8255
c71ca1f8
AJ
82562011-06-14 Andreas Jaeger <aj@suse.de>
8257
8258 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8259 memset declaration.
8260
3154bfb8
UD
82612011-06-10 Andreas Schwab <schwab@redhat.com>
8262
8263 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8264 tmpbuf.
8265
b350afab
RM
82662011-06-10 Roland McGrath <roland@hack.frob.com>
8267
decd4e50
RM
8268 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8269 * elf/Makefile ($(objpfx)ld.so): Likewise.
8270
5615eaf2
RM
8271 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8272 Don't list ld.so twice in dependencies.
8273
8274 * posix/bug-regex31.c: Include <stdlib.h>.
8275
8276 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8277
8278 * nis/nss_compat/compat-spwd.c
8279 (getspent_next_nss_netgr): Remove unused variable.
8280 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8281
8282 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8283 nonmembers" output to use the right array.
8284
8285 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8286
8287 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8288
8289 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8290 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8291 * catgets/gencat.c (read_input_file): Likewise.
8292 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8293
8294 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8295 variable definition inside #if's controlling its use.
8296
8297 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8298
8299 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8300
8301 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8302
8303 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8304 unreachable code.
8305
8306 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8307
b68e08db
RM
8308 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8309 * configure: Regenerated.
8310
b350afab
RM
8311 * Makerules: Revert last change.
8312 * elf/Makefile: Likewise.
8313
28368601
RM
83142011-06-09 Roland McGrath <roland@hack.frob.com>
8315
8316 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8317 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8318 (reloc-link): Likewise.
8319
11988f8f
UD
83202011-06-09 Ulrich Drepper <drepper@gmail.com>
8321
8322 * elf/Makefile: Add rules to build pldd.
8323 * elf/pldd.c: New file.
8324 * elf/pldd-xx.c: New file.
8325
e80fab37
UD
83262011-06-07 Ulrich Drepper <drepper@gmail.com>
8327
8328 * version.h: Update for 2.15 development version.
8329
9b849836
DM
83302011-06-07 David S. Miller <davem@davemloft.net>
8331
8332 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8333 ifuncs.
8334 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8335 elf_machine_lazy_rel): Likewise.
8336 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8337 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8338 elf_machine_lazy_rel): Likewise.
8339 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8340 dl_hwcap via passed in argument.
8341 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8342 Likewise.
8343
5a31b283
AK
83442011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8345
8346 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8347
069e52f8
RM
83482011-06-06 Roland McGrath <roland@hack.frob.com>
8349
8350 [BZ #12849]
8351 * manual/fdl-1.1.texi: New file, verbatim from:
8352 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8353 * manual/lgpl-2.1.texi: New file, verbatim from:
8354 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8355 * manual/Makefile (licenses): New variable, list those new file names.
8356 (texis): Use it.
8357 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8358
8359 * manual/fdl.texi: File removed.
8360 * manual/lesser.texi: File removed.
8361 * manual/libc.texinfo (Copying, Documentation License):
8362 Use new @include file names, put @appendix directive before @include.
8363
f16846a5
JJ
83642011-06-04 Jakub Jelinek <jakub@redhat.com>
8365
8366 [BZ #12841]
8367 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8368 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8369 (mq_open): Add __NTH.
8370
3d29045b
L
83712011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8372
8373 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8374 Assume Intel Core i3/i5/i7 processor if AVX is available.
8375
8c297311
UD
83762011-05-31 Ulrich Drepper <drepper@gmail.com>
8377
8378 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8379 typo.
8380
c8fc0c91
UD
83812011-05-31 Andreas Schwab <schwab@redhat.com>
8382
8383 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8384 memory. Use alloca_account. Fix memory leak when retrying.
8385
5b27a807
UD
83862011-05-31 Ulrich Drepper <drepper@gmail.com>
8387
356f8bc6
UD
8388 * version.h (RELEASE): Bump for 2.14 release.
8389 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8390
5b27a807
UD
8391 * config.make.in (RANLIB): Remove entry.
8392
01f16ab0
UD
83932011-05-30 Ulrich Drepper <drepper@gmail.com>
8394
41fce8bd
UD
8395 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8396 (libc.pot): Work around missing support for .ksh extension in xgettext.
8397
4769ae77
UD
8398 [BZ #12684]
8399 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8400 if both request failed.
8401 (send_dg): In case of server errors clear resplen or *resplen2.
8402
6b1e7d19
UD
8403 [BZ #12454]
8404 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8405 when there are multiple maps.
8406 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8407 (_dl_fini): Remove test here.
8408
01f16ab0
UD
8409 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8410
b1ebd700
UD
84112011-05-29 Ulrich Drepper <drepper@gmail.com>
8412
7ae22829
UD
8413 [BZ #12350]
8414 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8415 bit from old_res_options.
8416 (gaih_inet): Likewise.
8417
553149f6 8418 [BZ #11099]
18a84741 8419 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8420 as signed.
8421
652ffab1
UD
8422 * resolv/res_init.c (res_setoptions): Make the code more compact.
8423
16985fd0
UD
8424 [BZ #11558]
8425 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8426 set RES_USEVC.
8427
0464f746
UD
8428 [BZ #11634]
8429 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8430
7d17596c
UD
8431 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8432
cf6bbbd7
UD
8433 [BZ #11781]
8434 * malloc/malloc.h: Declare malloc hook variables as volatile.
8435
13f1ab36
UD
8436 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8437 in last patch.
8438
b1ebd700
UD
8439 [BZ #11799]
8440 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 8441 raise in the comment.
80e2212d
UD
8442 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8443 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8444 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 8445
ce67228d
UD
84462011-05-28 Ulrich Drepper <drepper@gmail.com>
8447
8887a920
UD
8448 [BZ #12811]
8449 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8450 grow the buffers more if it already has to be sufficient.
8451 (build_wcs_upper_buffer): Likewise.
8452 * posix/regexec.c (check_matching): Likewise.
8453 (clean_state_log_if_needed): Likewise.
8454 (extend_buffers): Don't enlarge buffers beyond size of the input
8455 buffer.
8456 Patches mostly by Emil Wojak <emil@wojak.eu>.
8457 * posix/bug-regex32.c: New file.
8458 * posix/Makefile (tests): Add bug-regex32.
8459
4f031072
UD
8460 * locale/findlocale.c (_nl_find_locale): Return right away if
8461 _nl_explode_name failed.
8462 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8463
d0478f0c
UD
8464 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8465
de81b246
UD
8466 * debug/xtrace.sh: Unify messages.
8467 * malloc/memusage.sh: Likewise.
8468
c738465a
UD
8469 [BZ #12813]
8470 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8471 time symbol from vDSO. Substitute with vsyscall if not available.
8472 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8473 __vdso_time.
8474
f1f929d7
UD
8475 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8476 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8477 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8478 Add sendmmsg and internal_sendmmsg.
8479 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8480 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8481 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8482
ce67228d
UD
8483 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8484 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8485 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8486
e57420c6
UD
84872011-05-27 Ulrich Drepper <drepper@gmail.com>
8488
a8509ca5
UD
8489 [BZ #12813]
8490 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8491 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8492 available.
8493 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8494 __vdso_getcpu.
8495
e57420c6
UD
8496 [BZ #12814]
8497 * iconvdata/Makefile (tests): Add bug-iconv9.
8498 * iconvdata/bug-iconv9.c: New file.
8499
4d07db15
AS
85002011-05-27 Andreas Schwab <schwab@redhat.com>
8501
8502 [BZ #12814]
8503 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8504
ea486f69
JJ
85052011-05-25 Jakub Jelinek <jakub@redhat.com>
8506
8507 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8508 (struct user_regs_struct): Change intcs field back to cs.
8509
6f038433
UD
85102011-05-25 Ulrich Drepper <drepper@gmail.com>
8511
8512 * po/ja.po: Update from translation team.
8513
67f86a25
UD
85142011-05-23 Ulrich Drepper <drepper@gmail.com>
8515
8516 [BZ #12795]
8517 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8518 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8519
def7fbd6
AS
85202011-05-20 Andreas Schwab <schwab@redhat.com>
8521
8522 * stdlib/longlong.h: Update from GCC.
8523
f50ef8f1
AS
85242011-05-23 Andreas Schwab <schwab@redhat.com>
8525
8526 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8527 parameter name.
8528 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8529 Add parameter name.
8530 (__sysconf): Pass it down.
8531
de7ce8f1
UD
85322011-05-22 Ulrich Drepper <drepper@gmail.com>
8533
f2962a71
UD
8534 [BZ #12671]
8535 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8536 some situations.
8537 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8538 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8539 add in in __libc_use_alloca calls. Adjust callers.
8540 (glob): Use malloc in some situations.
8541
de7ce8f1
UD
8542 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8543 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8544 pltexit.
8545
aec84f53
UD
85462011-05-21 Ulrich Drepper <drepper@gmail.com>
8547
05bb4a68
UD
8548 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8549 and CLOCK_BOOTTIME_ALARM.
8550
7ea72f99
UD
8551 [BZ #12782]
8552 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8553 is returned.
8554
7e4afad5
UD
8555 * string/_strerror.c (__strerror_r): Print negative errors as signed
8556 numbers.
8557
8e211fec
UD
8558 [BZ #12777]
8559 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8560 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8561 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8562
f7d82dc9
UD
8563 * configure.in: Fix typo in redirection and correct removal of test
8564 files in two cases.
8565
cc9e536d
UD
8566 [BZ #12788]
8567 * locale/setlocale.c (new_composite_name): Fix test to check for
8568 identical name of all categories.
8569
aec84f53
UD
8570 [BZ #12792]
8571 * libio/filedoalloc.c (local_isatty): New function.
8572 (_IO_file_doallocate): Use local_isatty.
8573 * stdio-common/perror.c (perror): In case a new stream is used
8574 forward the stream error.
8575 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8576 error flag.
8577
78e64fdc
RT
85782011-05-20 Ulrich Drepper <drepper@gmail.com>
8579
34a9094f
UD
8580 [BZ #11869]
8581 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8582 alloca.
8583 * include/alloca.h (extend_alloca_account): Define.
8584
78e64fdc
RT
8585 [BZ #11857]
8586 * posix/regex.h: Fix comments with documentation of user-accessible
8587 fields after compilation and describe correct free'ing of pattern
8588 after re_compile_pattern.
8589 Patch by Reuben Thomas <rrt@sc3d.org>.
8590
457bddfc
RA
85912011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8592
8593 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8594 and -mno-altivec to prevent the compiler from using Altivec and/or
8595 VSX instructions when the corresponding registers are not available.
8596
a4527b51
AS
85972011-05-19 Andreas Schwab <schwab@redhat.com>
8598
8599 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8600
ed690b2f
UD
86012011-05-19 Ulrich Drepper <drepper@gmail.com>
8602
8603 * libio/freopen.c (freopen): Use __dup2, not dup2.
8604 * libio/freopen64.c (freopen64): Likewise.
8605
8db73634
L
86062011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8607
8608 [BZ #12775]
8609 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8610 * math/Makefile (tests): Add test-powl.
8611 (CFLAGS-test-powl.c): Define.
8612 * math/test-powl.c: New file.
8613
0a197a9d
L
86142011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8615
8616 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8617
ee30c380
UD
86182011-05-17 Ulrich Drepper <drepper@gmail.com>
8619
8620 [BZ #11837]
8621 * iconvdata/gb18030.c: Update to GB18020-2005.
8622
6ce75379
UD
86232011-05-16 Ulrich Drepper <drepper@gmail.com>
8624
a4b89fd8
AR
8625 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8626 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8627 Patch by Aharon Robbins <arnold@skeeve.com>.
8628
ea389b12
UD
8629 [BZ #11892]
8630 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8631 on the stack.
8632
68a3f91f
UD
8633 [BZ #11895]
8634 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8635 through underflows.
8636
15cc7dd1
UD
8637 [BZ #12766]
8638 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8639 point to strings before performing equality test for error_one_per_line
8640 mode.
8641
f3799213
UD
8642 [BZ #11697]
8643 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8644
d79a9c94
UD
8645 [BZ #11820]
8646 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8647 (struct user_fpregs_struct): Avoid __uint*_t types.
8648
56e5eb46
UD
8649 [BZ #6420]
8650 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8651 symbol info. Use it instead of calling _dl_addr locally.
8652 (lock_and_info): New function.
8653 (tr_freehook): Call lock_and_info and pass symbol info as additional
8654 parameter to tr_where.
8655 (tr_mallochook): Likewise.
8656 (tr_reallochook): Likewise.
8657 (tr_memalignhook): Likewise.
8658
6ce75379
UD
8659 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8660 used and couldn't be at all thread-safe.
8661
f8a3b5bf
UD
86622011-05-15 Ulrich Drepper <drepper@gmail.com>
8663
94b7cc37
UD
8664 * libio/freopen.c (freopen): Don't close old file descriptor
8665 before the new one is opened. Instead dup the new file descriptor
8666 to the old one after the new stream is created.
8667 * libio/freopen64.c (freopen64): Likewise.
8668 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8669 * libio/fileops.c (_IO_new_file_close_it): Handle new
8670 _IO_FLAGS2_NOCLOSE flag.
8671 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8672 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8673 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8674 _IO_FLAGS2_NOCLOSE flag.
8675 * include/unistd.h: Add hidden_proto for dup3.
8676 Define __have_dup3.
8677 * io/dup3.c: Define hidden symbol.
8678 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8679
bd25564e
UD
8680 [BZ #7101]
8681 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8682 when an incomplete long option is used.
8683 * posix/tst-getopt_long1.c: New file.
8684 * posix/Makefile (tests): Add tst-getopt_long1.
8685
c84cfef4
UD
8686 [BZ #10138]
8687 * scripts/config.guess: Update from autoconf-2.68.
8688 * scripts/config.sub: Likewise.
8689
3b85df27
UD
8690 [BZ #10157]
8691 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8692 tests into ...
8693 (has_cpuclock): ...this. New function.
8694 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8695 macro here based on has_cpuclock code.
8696
15a856b1
UD
8697 [BZ #10149]
8698 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8699 First byte (not low byte) is now always NUL.
8700 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8701
05f399e6
UD
8702 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8703 Use non-cancelable interfaces.
8704
10a52685 8705 [BZ #9809]
94ecc67d
UD
8706 * locale/iso-639.def: Add entry for Sorani.
8707
f8a3b5bf
UD
8708 [BZ #11901]
8709 * include/stdlib.h: Move include protection to the right place.
8710 Define abort_msg_s. Declare __abort_msg with it.
8711 * stdlib/abort.c (__abort_msg): Adjust type.
8712 * assert/assert.c (__assert_fail_base): New function. Majority
8713 of code from __assert_fail. Allocate memory for __abort_msg with
8714 mmap.
8715 (__assert_fail): Now call __assert_fail_base.
8716 * assert/assert-perr.c: Remove bulk of implementation. Use
8717 __assert_fail_base.
8718 * include/assert.hL Declare __assert_fail_base.
8719 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8720 mmap.
8721 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8722
1af4e298
UD
87232011-05-14 Ulrich Drepper <drepper@gmail.com>
8724
f8a3b5bf 8725 [BZ #11952]
d26dfc60
MG
8726 [BZ #12453]
8727 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8728 until all modules are registered in the DTV.
8729 * elf/Makefile: Add rules to build and run tst-tls19.
8730 * elf/tst-tls19.c: New file.
8731 * elf/tst-tls19mod1.c: New file.
8732 * elf/tst-tls19mod2.c: New file.
8733 * elf/tst-tls19mod3.c: New file.
8734 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8735
2fc54d6f
UD
8736 [BZ #12083]
8737 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8738 correctly.
8739
98d76b46
UD
8740 [BZ #12601]
8741 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8742 two-byte sequence errors.
8743 * iconvdata/Makefile (tests): Add bug-iconv8.
8744 * iconvdata/bug-iconv8.c: New file.
8745
da3c19ef
UD
8746 [BZ #12626]
8747 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8748 buf2 definition.
8749
ca408c15
UD
8750 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8751
d6f67f7d
UD
8752 [BZ #12432]
8753 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8754 (dummy_getcfa): New function.
8755 (init): Get _Unwind_GetCFA address, use dummy if not found.
8756 (backtrace_helper): In recursion check, also check whether CFA changes.
8757 (__backtrace): Completely initialize arg.
8758
1af4e298 8759 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
8760 storing incomplete byte sequence in state object. Avoid testing for
8761 guaranteed too small input if we know there is enough data available.
1af4e298 8762
da62f81b
AS
87632011-05-11 Andreas Schwab <schwab@redhat.com>
8764
8765 * Makeconfig (+link-pie): Indent.
8766 * Rules (binaries-pie): Define if $(have-fpie) and
8767 $(build-shared).
8768 (binaries-shared): Also filter out $(binaries-pie).
8769 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8770 * nscd/Makefile (others-pie): Add nscd.
8771 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8772 ($(objpfx)nscd): Remove command override.
8773 * login/Makefile (others-pie): Add pt_chown.
8774 ($(objpfx)pt_chown): Remove command override.
8775 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8776 remove command overrides.
8777
fcabc0f8
UD
87782011-05-13 Ulrich Drepper <drepper@gmail.com>
8779
20030ae6
UD
8780 * libio/tst_putwc.c: Fix error messages.
8781
fcabc0f8
UD
8782 [BZ #12724]
8783 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8784 currently writing and seek to current position when not.
8785 * libio/Makefile (tests): Add bug-fclose1.
8786 * libio/bug-fclose1.c: New file.
8787
320a5dc0
PB
87882011-05-12 Ulrich Drepper <drepper@gmail.com>
8789
8790 [BZ #12511]
8791 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8792 don't set DF_1_NODELETE here.
8793 (do_lookup_x): When entering new entry test for copy relocation
8794 and if necessary set DF_1_NODELETE flag.
8795 * elf/tst-unique4.cc: New file.
8796 * elf/tst-unique4.h: New file.
8797 * elf/tst-unique4lib.cc: New file.
8798 * elf/Makefile: Add rules to build and run tst-unique4.
8799 Patch by Piotr Bury <pbury@goahead.com>.
8800
22836f52
UD
88012011-05-11 Ulrich Drepper <drepper@gmail.com>
8802
f574184a
UD
8803 [BZ #12052]
8804 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8805
e1fb097f
UD
8806 [BZ #12625]
8807 * misc/mntent_r.c (addmntent): Flush the stream after the output
8808
22836f52
UD
8809 [BZ #12393]
8810 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8811 (is_trusted_path_normalize): Skip initial colon. Append slash
8812 to empty buffer. Duplicate is_trusted_path code but allow
8813 constructed patch to be prefix.
8814 (is_dst): Allow $ORIGIN followed by /.
8815 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8816 Correct testing of result of is_trusted_path_normalize
8817 (decompose_rpath): Fix warning.
8818
7b3b0b2a
UD
88192011-05-10 Ulrich Drepper <drepper@gmail.com>
8820
8821 [BZ #11257]
8822 * grp/initgroups.c (internal_getgrouplist): When we found the service
8823 list through the initgroups entry in nsswitch.conf do not always
8824 continue on a successful lookup. Don't always use the
eac80ce2 8825 __nss_group_database value if it is set.
7b3b0b2a
UD
8826 * nss/nsswitch.conf (initgroups): Change action for successful db
8827 lookup to continue for compatibility.
8828
2a81eaa5
UD
88292011-05-09 Ulrich Drepper <drepper@gmail.com>
8830
be97a69e
UD
8831 [BZ #11532]
8832 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8833 and CP774 modules.
8834 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8835 and CP774 modules.
8836 * iconvdata/tst-tables.sh: Likewise.
8837 * iconvdata/cp770.c: New file.
8838 * iconvdata/cp771.c: New file.
8839 * iconvdata/cp772.c: New file.
8840 * iconvdata/cp773.c: New file.
8841 * iconvdata/cp774.c: New file.
8842 * iconvdata/testdata/CP770: New file.
8843 * iconvdata/testdata/CP770..UTF8: New file.
8844 * iconvdata/testdata/CP771: New file.
8845 * iconvdata/testdata/CP771..UTF8: New file.
8846 * iconvdata/testdata/CP772: New file.
8847 * iconvdata/testdata/CP772..UTF8: New file.
8848 * iconvdata/testdata/CP773: New file.
8849 * iconvdata/testdata/CP773..UTF8: New file.
8850 * iconvdata/testdata/CP774: New file.
8851 * iconvdata/testdata/CP774..UTF8: New file.
8852
8853 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8854 END CHARMAP line.
8855 * iconvdata/gen-8bit-gap.sh: Likewise.
8856 * iconvdata/gen-8bit.sh: Likewise.
8857
c1e9e399
UD
8858 * locale/iso-639.def: Add ary entry.
8859
24c55fb3 8860 [BZ #11258]
96b4b1b0
UD
8861 * locale/C-translit.h.in: Add U20A1 transliteration.
8862
bdc2f971
KB
8863 [BZ #12178]
8864 * locale/iso-639.def: Add wae entry.
8865 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8866
2952b117
UD
8867 [BZ #12545]
8868 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8869 for n.
8870
2a81eaa5
UD
8871 [BZ #12711]
8872 * locale/C-translit.h.in: Add entry for U20B9.
8873 Patch by pravin.d.s@gmail.com.
8874
28377d1b
UD
88752011-05-08 Ulrich Drepper <drepper@gmail.com>
8876
7fb90fb8
UD
8877 [BZ #12713]
8878 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8879 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
8880 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8881 in rtld. Use *stat64.
7fb90fb8 8882 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 8883 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 8884 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
8885 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8886 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8887 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8888 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8889 __fstatat64 macros.
7fb90fb8
UD
8890 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8891 * dirent/rewinddir.c: Add libc_hidden_def.
8892 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 8893 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 8894
28377d1b
UD
8895 * include/dirent.h (__alloc_dir): Add flags parameter.
8896 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8897 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8898 __alloc_dir.
8899 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8900 from fdopendir if O_CLOEXEC is already set.
8901
66bdbaa4
AM
89022011-03-15 Alan Modra <amodra@gmail.com>
8903
8904 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8905 l_tls_firstbyte_offset non-zero. Save padding offset in
8906 l_tls_firstbyte_offset for later use.
8907 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8908 freeing static tls block.
8909
95721191
JN
89102011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8911
8912 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8913 where #ifdef was intended. The intent is to prevent ARG_MAX from
8914 being defined by the kernel headers.
8915
f87dfb1f
UD
89162011-05-07 Ulrich Drepper <drepper@gmail.com>
8917
8918 [BZ #12734]
8919 * resolv/resolv.h: Define RES_NOTLDQUERY.
8920 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8921 no-tld-query and set RES_NOTLDQUERY.
8922 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8923 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8924 modern BIND to search name as TLD unless forbidden.
8925
47c3cd7a
UD
89262011-05-07 Petr Baudis <pasky@suse.cz>
8927 Ulrich Drepper <drepper@gmail.com>
8928
8929 [BZ #12393]
8930 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8931 (is_trusted_path): ...to here.
c1e9ea35 8932 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 8933 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 8934 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 8935
8a35c912
PP
89362011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8937
8938 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8939 __BEGIN/__END_DECLS.
8940
acd41f47
UD
89412011-05-06 Ulrich Drepper <drepper@gmail.com>
8942
8943 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8944 NSS_STATUS_NOTFOUND if no record was found.
8945
597df647
AS
89462011-05-05 Andreas Schwab <schwab@redhat.com>
8947
8948 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8949 (headers-not-in-tirpc): Remove rpc/netdb.h
8950 * resolv/netdb.h: Revert last change.
8951
b9af1301
PP
89522011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8953
8954 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8955 circular dependency between libgcc.a and libc.a.
8956
4e34d5f5
AS
89572011-05-05 Andreas Schwab <schwab@redhat.com>
8958
8959 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8960 * nis/Makefile: Don't install rpcsvc/*.
8961 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8962 instead of <rpc/types.h>.
8963 (MAXHOSTNAMELEN): Define.
8964
00ee369c
AS
89652011-05-03 Andreas Schwab <schwab@redhat.com>
8966
8967 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8968
0b592a30
MB
89692011-04-28 Maciej Babinski <mbabinski@google.com>
8970
8971 [BZ #12714]
8972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8973 gethostbyname4_r when IPv6 results are possible.
8974
6e04cbbe
UD
89752011-05-02 Ulrich Drepper <drepper@gmail.com>
8976
8977 [BZ #12723]
8978 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8979 _PC_PIPE_BUF handling.
8980
e4ecafe0
BH
89812011-04-30 Bruno Haible <bruno@clisp.org>
8982
8983 [BZ #12717]
8984 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8985 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8986 to 'int'.
8987 * inet/getnameinfo.c (getnameinfo): Likewise.
8988
125ee683
UD
89892011-04-29 Ulrich Drepper <drepper@gmail.com>
8990
8991 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8992 to groups setting in database lookup.
8993 * nss/nsswitch.conf: Add initgroups entry.
8994
b722481a
EB
89952011-04-22 Ulrich Drepper <drepper@gmail.com>
8996
8997 [BZ #12685]
8998 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8999 mode string.
9000 Patch by Eric Blake <eblake@redhat.com>.
9001
4df46dbd
L
90022011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9003
9004 * sunrpc/Makefile (need-export-routines): Add svc_run.
9005 (routines): Remove svc_run.
9006 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9007 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9008 * sunrpc/svc_run.c (svc_run): Likewise.
9009 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9010
e84142d2
UD
90112011-04-21 Ulrich Drepper <drepper@gmail.com>
9012
9013 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9014 problem in reallocation in last patch.
9015
877175d8
UD
90162011-04-20 Ulrich Drepper <drepper@gmail.com>
9017
9018 * sunrpc/Makefile: Move inclusion of Rules.
9019
ab8eed78
UD
90202011-04-19 Ulrich Drepper <drepper@gmail.com>
9021
9022 * nss/nss_files/files-initgroups.c: New file.
9023 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9024 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9025 _nss_files_initgroups_dyn.
9026
e3d8f584
RS
90272011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9028
9029 * elf/elf.h (R_ARM_IRELATIVE): Define.
9030
af190f45
UD
90312011-04-19 Ulrich Drepper <drepper@gmail.com>
9032
9033 * po/ru.po: Update from translation team.
9034
53cf59ef
UD
90352011-04-17 Ulrich Drepper <drepper@gmail.com>
9036
9037 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9038 dependencies.
9039
4c559bcd
MF
90402011-02-06 Mike Frysinger <vapier@gentoo.org>
9041
9042 [BZ #12653]
9043 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9044 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9045 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9046 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9047 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9048
4420675c
AS
90492011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9050
9051 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9052 differing bytes.
9053 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9054 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9055 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9056
75ea32ab
UD
90572011-04-17 Ulrich Drepper <drepper@gmail.com>
9058
9059 [BZ #12420]
9060 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9061 storing it.
9062 * stdlib/bug-getcontext.c: New file.
9063 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9064
27390476
AK
90652011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9066
9067 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9068 instructions into .machine "z9-109".
9069 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9070 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9071
10442705
AK
90722011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9073
9074 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9075 between environment variables and auxiliary vector.
9076
7b57bfe5
UD
90772011-04-16 Ulrich Drepper <drepper@gmail.com>
9078
9079 * Makefile: Add rules to build linkobj/libc.so.
9080 * include/libc-symbols.h: Define libc_hidden_nolink.
9081 * include/rpc/auth.h: Mark functions which are to be hidden.
9082 * include/rpc/auth_des.h: Likewise.
9083 * include/rpc/auth_unix.h: Likewise.
9084 * include/rpc/clnt.h: Likewise.
9085 * include/rpc/des_crypt.h: Likewise.
9086 * include/rpc/key_prot.h: Likewise.
9087 * include/rpc/pmap_clnt.h: Likewise.
9088 * include/rpc/pmap_prot.h: Likewise.
9089 * include/rpc/pmap_rmt.h: Likewise.
9090 * include/rpc/rpc_msg.h: Likewise.
9091 * include/rpc/svc.h: Likewise.
9092 * include/rpc/svc_auth.h: Likewise.
9093 * include/rpc/xdr.h: Likewise.
9094 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9095 * nss/Makefile: Likewise.
9096 * sunrpc/Makefile: Don't install headers. Build library with normal
9097 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9098 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9099 for the compat linking library. Remove use of INTDEF/INTUSE.
9100 * sunrpc/auth_none.c: Likewise.
9101 * sunrpc/auth_unix.c: Likewise.
9102 * sunrpc/authdes_prot.c: Likewise.
9103 * sunrpc/authuxprot.c: Likewise.
9104 * sunrpc/clnt_gen.c: Likewise.
9105 * sunrpc/clnt_perr.c: Likewise.
9106 * sunrpc/clnt_raw.c: Likewise.
9107 * sunrpc/clnt_simp.c: Likewise.
9108 * sunrpc/clnt_tcp.c: Likewise.
9109 * sunrpc/clnt_udp.c: Likewise.
9110 * sunrpc/clnt_unix.c: Likewise.
9111 * sunrpc/des_crypt.c: Likewise.
9112 * sunrpc/des_soft.c: Likewise.
9113 * sunrpc/get_myaddr.c: Likewise.
9114 * sunrpc/key_call.c: Likewise.
9115 * sunrpc/key_prot.c: Likewise.
9116 * sunrpc/netname.c: Likewise.
9117 * sunrpc/pm_getmaps.c: Likewise.
9118 * sunrpc/pm_getport.c: Likewise.
9119 * sunrpc/pmap_clnt.c: Likewise.
9120 * sunrpc/pmap_prot.c: Likewise.
9121 * sunrpc/pmap_prot2.c: Likewise.
9122 * sunrpc/pmap_rmt.c: Likewise.
9123 * sunrpc/publickey.c: Likewise.
9124 * sunrpc/rpc_cmsg.c: Likewise.
9125 * sunrpc/rpc_common.c: Likewise.
9126 * sunrpc/rpc_dtable.c: Likewise.
9127 * sunrpc/rpc_prot.c: Likewise.
9128 * sunrpc/rpc_thread.c: Likewise.
9129 * sunrpc/rtime.c: Likewise.
9130 * sunrpc/svc.c: Likewise.
9131 * sunrpc/svc_auth.c: Likewise.
9132 * sunrpc/svc_authux.c: Likewise.
9133 * sunrpc/svc_raw.c: Likewise.
9134 * sunrpc/svc_run.c: Likewise.
9135 * sunrpc/svc_simple.c: Likewise.
9136 * sunrpc/svc_tcp.c: Likewise.
9137 * sunrpc/svc_udp.c: Likewise.
9138 * sunrpc/svc_unix.c: Likewise.
9139 * sunrpc/svcauth_des.c: Likewise.
9140 * sunrpc/xcrypt.c: Likewise.
9141 * sunrpc/xdr.c: Likewise.
9142 * sunrpc/xdr_array.c: Likewise.
9143 * sunrpc/xdr_float.c: Likewise.
9144 * sunrpc/xdr_intXX_t.c: Likewise.
9145 * sunrpc/xdr_mem.c: Likewise.
9146 * sunrpc/xdr_rec.c: Likewise.
9147 * sunrpc/xdr_ref.c: Likewise.
9148 * sunrpc/xdr_sizeof.c: Likewise.
9149 * sunrpc/xdr_stdio.c: Likewise.
9150
e6c61494
UD
91512011-04-10 Ulrich Drepper <drepper@gmail.com>
9152
9153 [BZ #12650]
9154 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9155 * sysdeps/ia64/dl-tls.h: Likewise.
9156 * sysdeps/powerpc/dl-tls.h: Likewise.
9157 * sysdeps/s390/dl-tls.h: Likewise.
9158 * sysdeps/sh/dl-tls.h: Likewise.
9159 * sysdeps/sparc/dl-tls.h: Likewise.
9160 * sysdeps/x86_64/dl-tls.h: Likewise.
9161 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9162
34fe483e
AS
91632011-03-14 Andreas Schwab <schwab@redhat.com>
9164
9165 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9166 rpath element also skip the following colon.
9167 (expand_dynamic_string_token): Add is_path parameter and pass
9168 down to DL_DST_REQUIRED and _dl_dst_substitute.
9169 (decompose_rpath): Call expand_dynamic_string_token with
9170 non-zero is_path. Ignore empty rpaths.
9171 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9172 with zero is_path.
9173
f12a32e6
AS
91742011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9175
9176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9177 Make cancelable.
9178
38a7d692
UD
91792011-04-09 Ulrich Drepper <drepper@gmail.com>
9180
9181 [BZ #12655]
9182 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9183 Patch by Filipe David Manana <fdmanana@apache.org>.
9184
e451d22b
AS
91852011-04-07 Andreas Schwab <schwab@redhat.com>
9186
9187 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9188 Maintain aligned stack.
9189 (CHECK_RSP): Remove unused macro.
9190
dedc7c7b
UD
91912011-04-03 Ulrich Drepper <drepper@gmail.com>
9192
9193 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9194 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9195
94521213
UD
91962011-04-02 Ulrich Drepper <drepper@gmail.com>
9197
9198 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9199
8cb700c0 9200 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9201
0354e355
L
92022011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9203
9204 [BZ #12518]
9205 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9206 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9207 * sysdeps/x86_64/memmove.c: New file.
9208 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9209 (memcpy): Renamed to ...
9210 (__new_memcpy): This.
9211 (memcpy): Provide GLIBC_2_14 memcpy.
9212 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9213 (memcpy): Provide GLIBC_2_2_5 memcpy.
9214
8593482f
UD
92152011-04-01 Ulrich Drepper <drepper@gmail.com>
9216
9217 [BZ #12631]
9218 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9219
81a5726b
AS
92202011-03-30 Andreas Schwab <schwab@redhat.com>
9221
9222 * misc/syncfs.c: New file.
9223 * misc/Makefile (routines): Add syncfs.
9224 * posix/unistd.h: Declare syncfs.
9225 * sysdeps/unix/syscalls.list: Add syncfs.
9226
00e5419f
AS
92272011-04-01 Andreas Schwab <schwab@redhat.com>
9228
9229 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9230 open_by_handle_at.
9231 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9232 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9233 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9234 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9235 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9236 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9237 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9238
748876bf
UD
92392011-04-01 Ulrich Drepper <drepper@gmail.com>
9240
658e451d
UD
9241 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9242 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9243 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9244 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9245 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9246 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9247 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9248
748876bf
UD
9249 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9250 sync_file_range.c with -fexceptions.
9251 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9252 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9253 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9254 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9255 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9256 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9257 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
9258 sync_file_range as cancellation point
9259 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9260 now a wrapper around __call_sync_file_range with cancellation handling.
9261 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9262 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9263 function name to __call_sync_file_range.
9264 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9265 Add call_sync_file_range.
748876bf 9266
6e63d5e1
AS
92672011-04-01 Andreas Schwab <schwab@redhat.com>
9268
9269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 9270 bits/timex.h.
6e63d5e1 9271
46998f74
UD
92722011-04-01 Ulrich Drepper <drepper@gmail.com>
9273
4c1423ed
UD
9274 * iconv/iconv.h: Fix typo in comment.
9275 * io/fcntl.h: Likewise.
9276 * libio/stdio.h: Likewise.
9277 * posix/spawn.h: Likewise.
9278 * posix/unistd.h: Likewise.
9279 * stdlib/stdlib.h: Likewise.
9280 * time/time.h: Likewise.
9281 * wcsmbs/wchar.h: Likewise.
9282
158648c0
UD
9283 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9284 open_by_handle): Add.
9285 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9286 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9287 Augment a few comments.
9288 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9289 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9290 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9291 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9292 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9293 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9294 open_by_handle.
9295
46998f74
UD
9296 * io/fcntl.h (AT_EMPTY_PATH): Define.
9297
83fe108b
UD
92982011-03-30 Ulrich Drepper <drepper@gmail.com>
9299
9300 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9301 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9302 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9303 to...
9304 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
9305 * Versions.def: Add GLIBC_2.14.
9306 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9307 Export.
83fe108b 9308
bb242059
UD
93092011-03-22 Ulrich Drepper <drepper@gmail.com>
9310
9311 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9312 round counter.
9313 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9314
c97a1282
L
93152011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9316
9317 [BZ #12597]
9318 * string/test-strncmp.c (do_page_test): New function.
9319 (check2): Likewise.
9320 (test_main): Call check2.
9321 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9322
2a115601
UD
93232011-03-20 Ulrich Drepper <drepper@gmail.com>
9324
9325 [BZ #12587]
9326 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9327 Handle cache information in CPU leaf 4.
9328 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9329
8126d904
UD
93302011-03-18 Ulrich Drepper <drepper@gmail.com>
9331
042c49c6 9332 [BZ #12583]
8126d904
UD
9333 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9334 character representation.
9335 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9336
ccfe366e
RA
93372011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9338
9339 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9340 END(__isnan) to END(__isnanf) to match function entry point/label
9341 EALIGN(__isnanf,...).
9342
c6e13027
JJ
93432011-03-10 Jakub Jelinek <jakub@redhat.com>
9344
9345 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9346
33f85a3f
UD
93472011-03-10 Ulrich Drepper <drepper@gmail.com>
9348
028478fa
UD
9349 [BZ #12510]
9350 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9351 copy from the symbol referenced in the relocation to initialize the
9352 used variable.
9353 Patch by Piotr Bury <pbury@goahead.com>.
9354 * elf/Makefile: Add rules to build and tst-unique3.
9355 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9356 * elf/tst-unique3.cc: New file.
9357 * elf/tst-unique3.h: New file.
9358 * elf/tst-unique3lib.cc: New file.
9359 * elf/tst-unique3lib2.cc: New file.
9360
33f85a3f
UD
9361 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9362
03592fc7
MF
93632011-03-10 Mike Frysinger <vapier@gentoo.org>
9364
9365 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9366 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9367 to _start.
03592fc7 9368
6a5ee102
UD
93692011-03-06 Ulrich Drepper <drepper@gmail.com>
9370
9371 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9372 to-be-loaded object along a path to loader is ld.so.
9373
7e4ba49c
HJ
93742011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9375 Ulrich Drepper <drepper@gmail.com>
9376
9377 * sysdeps/x86_64/memset.S: After aligning destination, code
9378 branches to different locations depending on the value of
9379 misalignment, when multiarch is enabled. Fix this.
9380
93812011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9382
9383 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9384 Set _x86_64_preferred_memory_instruction for AMD processsors.
9385 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9386 Set bit_Prefer_SSE_for_memop for AMD processors.
9387
13a804de
UD
93882011-03-04 Ulrich Drepper <drepper@gmail.com>
9389
9390 * libio/fmemopen.c (fmemopen): Optimize a bit.
9391
9d25c392
AS
93922011-03-03 Andreas Schwab <schwab@redhat.com>
9393
9394 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9395
a5543c6a
RM
93962011-03-03 Roland McGrath <roland@redhat.com>
9397
9398 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9399
012d35f7
DM
94002011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9401
7e4ba49c 9402 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9403 __bzero_ultra1 instead of __memset_ultra1.
9404
4bff6e01
AS
94052011-02-23 Andreas Schwab <schwab@redhat.com>
9406 Ulrich Drepper <drepper@gmail.com>
9407
9408 [BZ #12509]
9409 * include/link.h (struct link_map): Add l_orig_initfini.
9410 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9411 returning unsuccessfully.
9412 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9413 close of a file loaded at startup, restore the original l_initfini
9414 list.
9415 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9416 list, store the pointer.
9417 * elf/Makefile ($(objpfx)noload-mem): New rule.
9418 (noload-ENV): Define.
9419 (tests): Add $(objpfx)noload-mem.
9420 * elf/noload.c: Include <memcheck.h>.
9421 (main): Call mtrace. Close all opened handles.
9422
f2092faf
AS
94232011-02-17 Andreas Schwab <schwab@redhat.com>
9424
9425 [BZ #12454]
9426 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9427 dependencies are missing.
9428
6c8a2e88
ST
94292011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9430
f2092faf 9431 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
9432 Hurd needs munmap.
9433 * sysdeps/mach/hurd/ifreq.h: New file.
9434
84a42118
PB
94352011-01-27 Petr Baudis <pasky@suse.cz>
9436 Ulrich Drepper <drepper@gmail.com>
9437
071f805e 9438 [BZ 12445]#
84a42118
PB
9439 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9440 to extend_alloca().
9441 * stdio-common/bug23.c: New file.
9442 * stdio-common/Makefile (tests): Add bug23.
9443
e23fe25b
AS
94442010-09-28 Andreas Schwab <schwab@redhat.com>
9445 Ulrich Drepper <drepper@gmail.com>
9446
9447 [BZ #12489]
9448 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9449 before performing relro protection. At old place add assertion
9450 to make sure nothing changed.
9451
d3f02e10
NS
94522011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9453 Glauber de Oliveira Costa <glommer@gmail.com>
9454
9455 * elf/elf.h: Add new ARM TLS relocs.
9456
d55fd7a5
RA
94572011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9458
9459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9460 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9461 cast from r3.
9462 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9463 'tests' variable.
9464 * sysdeps/wordsize-64/tst-writev.c: New file.
9465
2206397e
RA
94662011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9467
9468 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9469 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9470 insns in _dl_start to prevent a TOC reference before relocs are
9471 resolved.
9472
e9433893
UD
94732011-02-15 Ulrich Drepper <drepper@gmail.com>
9474
9475 [BZ #12469]
9476 * Makeconfig: Remove RANLIB definition.
9477 * Makerules: Don't use RANLIB.
9478 * aclocal.m4: Remove ranlib test.
9479 * configure.in: No need to check for ranlib.
9480 * elf/rtld-Rules: Don't use RANLIB.
9481
f75286c6
ST
94822011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9483
8e31c82d
ST
9484 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9485 protection macro.
9486 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9487 inclusion protection macro.
9488
f75286c6
ST
9489 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9490 SIGRTMIN and SIGRTMAX and print information in that case only when
9491 SIGRTMIN is defined.
9492
c1d0e639
JJ
94932011-02-11 Jakub Jelinek <jakub@redhat.com>
9494
9495 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9496 arginfo fn returning -1.
9497
9498 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9499 and thousands string is zero terminated.
9500
edf9294e
AS
95012011-02-03 Andreas Schwab <schwab@redhat.com>
9502
9503 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9504 sysdeps/unix/sysv/linux/bits/socket.h.
9505
2b7e92df
ST
95062011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9507
edf9294e
AS
9508 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9509 (__CPU_COUNT): Remove old macros.
9510 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9511 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9512 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
9513 (__sched_cpualloc, __sched_cpufree): Add declarations.
9514
a4c7ea7b
UD
95152011-02-05 Ulrich Drepper <drepper@gmail.com>
9516
9517 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9518 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9519 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9520 (readdhstai): Return value of addhstaiX call.
9521 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9522 (addgrbyX): Return value returned by cache_addgr.
9523 (readdgrbyname): Return value returned by addgrbyX.
9524 (readdgrbygid): Likewise.
9525 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9526 (addpwbyX): Return value returned by cache_addpw.
9527 (readdpwbyname): Return value returned by addhstbyX.
9528 (readdpwbyuid): Likewise.
9529 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9530 (addservbyX): Return value returned by cache_addserv.
9531 (readdservbyname): Return value returned by addservbyX:
9532 (readdservbyport): Likewise.
9533 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9534 (addhstbyX): Return value returned by cache_addhst.
9535 (readdhstbyname): Return value returned by addhstbyX.
9536 (readdhstbyaddr): Likewise.
9537 (readdhstbynamev6): Likewise.
9538 (readdhstbyaddrv6): Likewise.
9539 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9540 (readdinitgroups): Return value returned by addinitgroupsX.
9541 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9542 (prune_cache): Keep track of timeout value of re-added entries.
9543 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9544 * nscd/nscd.h: Adjust prototypes of readd* functions.
9545
a0bf67cc
RM
95462011-02-04 Roland McGrath <roland@redhat.com>
9547
9548 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9549 (nis_stats): Likewise.
9550 * nis/nis_modify.c (nis_modify): Likewise.
9551 * nis/nis_remove.c (nis_remove): Likewise.
9552 * nis/nis_add.c (nis_add): Likewise.
9553
9554 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9555
9556 * posix/fnmatch_loop.c: Add some consts.
9557
9558 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9559
435b95eb
L
95602011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9561
9562 [BZ #12460]
9563 * config.make.in (config-cflags-novzeroupper): Define.
9564 * configure.in: Substitute libc_cv_cc_novzeroupper.
9565 * elf/Makefile (AVX-CFLAGS): Define.
9566 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9567 (CFLAGS-tst-auditmod4a.c): Likewise.
9568 (CFLAGS-tst-auditmod4b.c): Likewise.
9569 (CFLAGS-tst-auditmod6b.c): Likewise.
9570 (CFLAGS-tst-auditmod6c.c): Likewise.
9571 (CFLAGS-tst-auditmod7b.c): Likewise.
9572 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9573
8517b15e
UD
95742011-02-02 Ulrich Drepper <drepper@gmail.com>
9575
9576 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9577 function to the callback.
9578 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9579
10a656fe
AS
95802011-02-02 Andreas Schwab <schwab@redhat.com>
9581
9582 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9583 of errno.
9584
968dad0a
UD
95852011-01-19 Ulrich Drepper <drepper@gmail.com>
9586
9f94d2ea 9587 [BZ #11724]
968dad0a
UD
9588 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9589 of constructors.
9590 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9591 of destructors.
9592 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9593
9594 [BZ #11724]
9595 * elf/Makefile: Add rules to build and run new test.
9596 * elf/tst-initorder.c: New file.
9597 * elf/tst-initorder.exp: New file.
9598 * elf/tst-initordera1.c: New file.
9599 * elf/tst-initordera2.c: New file.
9600 * elf/tst-initordera3.c: New file.
9601 * elf/tst-initordera4.c: New file.
9602 * elf/tst-initorderb1.c: New file.
9603 * elf/tst-initorderb2.c: New file.
9604 * elf/tst-order-a1.c: New file.
9605 * elf/tst-order-a2.c: New file.
9606 * elf/tst-order-a3.c: New file.
9607 * elf/tst-order-a4.c: New file.
9608 * elf/tst-order-b1.c: New file.
9609 * elf/tst-order-b2.c: New file.
9610 * elf/tst-order-main.c: New file.
9611 New test case by George Gensure <werkt0@gmail.com>.
9612
86e92359
UD
96132010-10-01 Andreas Schwab <schwab@redhat.com>
9614
9615 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9616 decoding ACE if AI_CANONIDN.
9617
5d5732b0
UD
96182011-01-18 Ulrich Drepper <drepper@gmail.com>
9619
9620 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9621
a77e8cbc
UD
96222011-01-17 Ulrich Drepper <drepper@gmail.com>
9623
6392473f
UD
9624 * version.h (RELEASE): Bump for 2.13 release.
9625 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9626
620a0529
UD
9627 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9628
18ba70a5
UD
9629 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9630 MADV_NOHUGEPAGE.
32465c3e
UD
9631 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9632 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9633 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9634 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9635 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9636 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9637
c0dafcf1
UD
9638 * posix/getconf.c: Update copyright year.
9639 * catgets/gencat.c: Likewise.
9640 * csu/version.c: Likewise.
9641 * debug/catchsegv.sh: Likewise.
9642 * debug/xtrace.sh: Likewise.
9643 * elf/ldconfig.c: Likewise.
9644 * elf/ldd.bash.in: Likewise.
9645 * elf/sprof.c (print_version): Likewise.
9646 * iconv/iconv_prog.c: Likewise.
9647 * iconv/iconvconfig.c: Likewise.
9648 * locale/programs/locale.c: Likewise.
9649 * locale/programs/localedef.c: Likewise.
9650 * malloc/memusage.sh: Likewise.
9651 * malloc/mtrace.pl: Likewise.
9652 * nscd/nscd.c (print_version): Likewise.
9653 * nss/getent.c: Likewise.
9654
a77e8cbc
UD
9655 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9656 PF_CAIF, and PF_ALG.
9657 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9658
77e8bddf
AS
96592011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9660
1f20b93a
AS
9661 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9662 (modules-names): Use them.
9663 (ifunc-test-modules, ifunc-pie-tests): Define.
9664 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9665 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9666 (test-extras): Likewise.
9667 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9668 $(compile-command.c).
9669 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9670 (all-built-dso): Define.
9671 (check-textrel.out, check-execstack.out): Depend on it.
9672
77e8bddf
AS
9673 * configure.in: Don't override --enable-multi-arch.
9674
bc425b33
UD
96752011-01-15 Ulrich Drepper <drepper@gmail.com>
9676
9677 [BZ #6812]
9678 * nscd/hstcache.c (tryagain): Define.
9679 (cache_addhst): Return tryagain not notfound for temporary errors.
9680 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9681 failed.
9682
794c3ad3
UD
96832011-01-14 Ulrich Drepper <drepper@gmail.com>
9684
70181fdd
UD
9685 [BZ #10563]
9686 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9687 to make the syscall.
9688 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9689
794c3ad3
UD
9690 [BZ #12378]
9691 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9692 and fall back to matching as normal character if the string ends before
9693 the matching ']' is found. This is what POSIX requires.
9694 * posix/testfnm.c: Adjust test result.
9695 * posix/globtest.sh: Adjust test result. Add new test.
9696 * posix/tst-fnmatch.input: Likewise.
9697 * posix/tst-fnmatch2.c: Add new test.
9698
68dc9497
AS
96992010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9700
9701 * elf/Makefile (check-execstack): Revert last change. Depend on
9702 check-execstack.h.
9703 (check-execstack.h): New target.
9704 (generated): Add check-execstack.h.
9705 * elf/check-execstack.c: Include "check-execstack.h".
9706 (main): Revert last change.
9707 (handle_file): Return zero if GNU_STACK is absent and
9708 DEFAULT_STACK_PERMS doesn't include PF_X.
9709
451f001b
UD
97102011-01-13 Ulrich Drepper <drepper@gmail.com>
9711
cfa28e56
UD
9712 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9713 in child fails because the descriptor is already closed.
8cf8ce17
UD
9714 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9715 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9716 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 9717
1086d70d
UD
9718 [BZ #12397]
9719 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9720 syscall.
9721
451f001b
UD
9722 [BZ #10484]
9723 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9724 temporary buffer used to handle multi lookups locally.
a85b5cb4 9725 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 9726
08769175
UD
97272011-01-12 Ulrich Drepper <drepper@gmail.com>
9728
9729 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9730 loader is ld.so.
9731
5e49c52e
UD
97322011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9733
9734 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9735 alignment for SSE2.
9736
60522a5f
UD
97372011-01-12 Ulrich Drepper <drepper@gmail.com>
9738
9739 [BZ #12394]
9740 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9741 characters. When rounding increased number of integer digits recompute
9742 number of groups.
9743 * stdio-common/tst-grouping.c: New file.
9744 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9745
f257bbd7
UD
97462011-01-09 Ulrich Drepper <drepper@gmail.com>
9747
9748 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9749 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9750
9751 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9752 void.
9753 * bits/select.h: Likewise.
9754
fa9c15cb
UD
97552011-01-08 Ulrich Drepper <drepper@gmail.com>
9756
9757 * po/ja.po: Update from translation team.
9758
16c2895f
DM
97592011-01-04 David S. Miller <davem@sunset.davemloft.net>
9760
9761 [BZ #11155]
9762 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9763 implementation just like for lxstat, fxstatat, et al.
9764
2543fef2
JM
97652010-12-27 Jim Meyering <meyering@redhat.com>
9766
9767 [BZ #12348]
9768 * posix/regexec.c (build_trtable): Return failure indication upon
9769 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9770
98727dbe
UD
97712010-12-25 Ulrich Drepper <drepper@gmail.com>
9772
5bd6dc5c
UD
9773 [BZ #12201]
9774 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9775 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9776 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9777 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9778
97983464
UD
9779 [BZ #12207]
9780 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9781
98727dbe
UD
9782 [BZ #12204]
9783 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9784 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9785
4a531bb0
L
97862010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9787
9788 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9789 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9790 script has SORT_BY_INIT_PRIORITY.
9791 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9792 NO_CTORS_DTORS_SECTIONS is defined.
9793 * elf/soinit.c: Likewise.
9794 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9795 NO_CTORS_DTORS_SECTIONS is defined.
9796 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9797 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9798 * sysdeps/sh/init-first.c: Likewise.
9799 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9800
07eb4b71
UD
98012010-12-24 Ulrich Drepper <drepper@gmail.com>
9802
9803 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9804 always use the slow path.
9805
30950a5f
RA
98062010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9807
9808 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9809 similar rule which adds the sysdep directories to the header search in
9810 order to pick up the correct platform stackinfo.h.
9811 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9812 perform test if it is, otherwise return successfully without testing.
9813 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9814 DEFAULT_STACK_PERMS define in stackinfo.h.
9815 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9816 defined in stackinfo.h.
9817 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9818 DEFAULT_STACK_PERMS defined in stackinfo.h.
9819 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9820 * sysdeps/ia64/stackinfo.h: Likewise.
9821 * sysdeps/s390/stackinfo.h: Likewise.
9822 * sysdeps/sh/stackinfo.h: Likewise.
9823 * sysdeps/sparc/stackinfo.h: Likewise.
9824 * sysdeps/x86_64/stackinfo.h: Likewise.
9825 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9826 PF_X for powerpc64. Retain PF_X for powerpc32.
9827
db753e2c
UD
98282010-12-19 Ulrich Drepper <drepper@gmail.com>
9829
14b697f7
UD
9830 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9831 accurately.
db753e2c
UD
9832 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9833 GETDENTS_64BIT_ALIGNED.
9834
28300719
UD
98352010-12-14 Ulrich Drepper <dreper@gmail.com>
9836
14b697f7 9837 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 9838
4f197237
AS
98392010-12-10 Andreas Schwab <schwab@redhat.com>
9840
dbb0472f
AS
9841 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9842 _GNU_SOURCE.
9843
4f197237
AS
9844 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9845 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9846 Remove __restrict.
9847 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9848 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9849
fb88ac72
UD
98502010-12-09 Ulrich Drepper <drepper@gmail.com>
9851
9852 [BZ #11655]
9853 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9854 are initialized.
9855
42acbb92
JJ
98562010-12-09 Jakub Jelinek <jakub@redhat.com>
9857
9858 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9859
c038d98d
UD
98602010-12-03 Ulrich Drepper <drepper@gmail.com>
9861
9862 * po/it.po: Update from translation team.
9863
3a4a2499
L
98642010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9865
9866 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9867 unused codes.
9868
1e24cf6e
UD
98692010-11-30 Ulrich Drepper <drepper@gmail.com>
9870
9871 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9872
a7690819
AS
98732010-11-24 Andreas Schwab <schwab@redhat.com>
9874
9875 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9876 specially.
9877 (gaih_getanswer_slice): Likewise.
9878
3bf8d1b1
JJ
98792010-10-20 Jakub Jelinek <jakub@redhat.com>
9880
9881 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9882
6db52fbb
PB
98832010-05-31 Petr Baudis <pasky@suse.cz>
9884
9885 [BZ #11149]
9886 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9887 silently even in the chroot mode.
9888
eaca7569
UD
98892010-11-22 Ulrich Drepper <drepper@gmail.com>
9890
9891 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9892 last patch a bit. Pretty printing
9893
3056dcdb
UD
98942010-05-31 Petr Baudis <pasky@suse.cz>
9895
9896 [BZ #10085]
9897 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9898 initialization of skip_initgroups_dyn.
9899
cf7c9078
UD
99002010-11-19 Ulrich Drepper <drepper@gmail.com>
9901
9902 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9903 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9904
a1fb5e3e
UD
99052010-11-16 Ulrich Drepper <drepper@gmail.com>
9906
9907 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9908
3540d66b
AS
99092010-11-11 Andreas Schwab <schwab@redhat.com>
9910
9911 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9912 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9913 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9914 ($(objpfx)tst-fnmatch-mem): New rule.
9915 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9916 * posix/tst-fnmatch.c (main): Call mtrace.
9917
13b69574
L
99182010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9919
9920 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9921 Support Intel processor model 6 and model 0x2c.
9922
da93d214
LM
99232010-11-10 Luis Machado <luisgpm@br.ibm.com>
9924
9925 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9926 signed comparison.
9927
8ca52c6e
L
99282010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9929
9930 [BZ #12205]
9931 * string/test-strncasecmp.c (check_result): New function.
9932 (do_one_test): Use it.
9933 (check1): New function.
9934 (test_main): Use it.
9935 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9936 Support strcasecmp and strncasecmp.
9937
69da074d
UD
99382010-11-08 Ulrich Drepper <drepper@gmail.com>
9939
9940 [BZ #12194]
9941 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9942 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9943
ff02d528
L
99442010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9945
9946 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9947 IFUNC support.
9948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9949 memset-x86-64.
9950 * sysdeps/x86_64/multiarch/bzero.S: New file.
9951 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9952 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9953 * sysdeps/x86_64/multiarch/memset.S: New file.
9954 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9956 Set bit_Prefer_SSE_for_memop for Intel processors.
9957 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9958 Define.
9959 (index_Prefer_SSE_for_memop): Define.
9960 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9961
344d0b54
LM
99622010-11-04 Luis Machado <luisgpm@br.ibm.com>
9963
9964 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9965 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9966
c0dde15b
UD
99672010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9968
9969 [BZ #12191]
9970 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9971 (__x86_64_raw_data_cache_size_half): Likewise.
9972 (__x86_64_raw_shared_cache_size): Likewise.
9973 (__x86_64_raw_shared_cache_size_half): Likewise.
9974
9975 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9976 (__x86_64_raw_data_cache_size_half): Likewise.
9977 (__x86_64_raw_shared_cache_size): Likewise.
9978 (__x86_64_raw_shared_cache_size_half): Likewise.
9979 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9980 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9981 and __x86_64_raw_shared_cache_size_half. Round
9982 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9983 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9984 to multiple of 256 bytes.
9985
0e516e0e
MS
99862010-11-03 Ulrich Drepper <drepper@gmail.com>
9987
9988 [BZ #12167]
9989 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9990 of inacessible symlinks. Verify result of symlink before returning it.
9991 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9992 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9993
0e012e87
ER
99942010-10-28 Erich Ritz <erichritz@gmail.com>
9995
9996 * math/math.h (isinf): Fix typo in comment.
9997
de0ff7bc
UD
99982010-11-01 Ulrich Drepper <drepper@gmail.com>
9999
10000 * po/da.po: Update from translation team.
10001
fa41c84d
UD
100022010-10-26 Ulrich Drepper <drepper@gmail.com>
10003
10004 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10005 is added to the list.
10006
f0967738
AK
100072010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10008 Ulrich Drepper <drepper@gmail.com>
10009
10010 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10011 the global list here. Move code to...
10012 (_dl_add_to_namespace_list): ...here. New function.
10013 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10014 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10015 * elf/dl-load.c (lose): Don't remove the element from the list.
10016 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10017 (_dl_map_object): Likewise.
10018
100192010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
10020
10021 [BZ #12159]
10022 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10023 into all bytes of SSE register.
10024 Patch by Richard Li <richardpku@gmail.com>.
10025
f0967738 100262010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
10027
10028 [BZ #12140]
10029 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10030 perturbing.
10031
d0b9e94f
MB
100322010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10033
10034 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10035 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10036 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10037 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10039 submachine.
10040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10041
8e9f92e9
AS
100422010-10-22 Andreas Schwab <schwab@redhat.com>
10043
10044 * include/dlfcn.h (__RTLD_SECURE): Define.
10045 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10046 mode & __RTLD_SECURE instead.
10047 (open_path): Rename preloaded parameter to secure.
10048 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10049 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10050 * elf/dl-deps.c (openaux): Likewise.
10051 * elf/rtld.c (struct map_args): Remove is_preloaded.
10052 (map_doit): Don't use it.
10053 (dl_main): Likewise.
10054 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10055 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10056
bc96fbda
AS
100572010-09-09 Andreas Schwab <schwab@redhat.com>
10058
10059 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10060 (sysd-rules-targets): Remove duplicates.
10061 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10062 rtld-%.$o dependency.
10063
22cd1c9b
AS
100642010-10-18 Andreas Schwab <schwab@redhat.com>
10065
10066 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10067 _dl_map_object do it.
10068
18edac48
UD
100692010-10-19 Ulrich Drepper <drepper@gmail.com>
10070
10071 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10072 fast fma builtins, define the macros in the C99 standard.
10073 (FP_FAST_FMAF): Likewise.
10074 (FP_FAST_FMAL): Likewise.
10075 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10076
10077 * bits/mathdef.h: Update copyright year.
10078 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10079
d2050124
MM
100802010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10081
10082 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10083 builtins, define the macros in the C99 standard.
10084 (FP_FAST_FMAF): Likewise.
10085 (FP_FAST_FMAL): Likewise.
10086 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10087 multiply/add.
10088 (FP_FAST_FMAF): Likewise.
10089
475facd1
JJ
100902010-10-15 Jakub Jelinek <jakub@redhat.com>
10091
10092 [BZ #3268]
10093 * math/libm-test.inc (fma_test): Some new testcases.
10094 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10095 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10096 y and infinite z. Do multiplication by C already in long double.
10097 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10098 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10099 y and infinite z. Do bitwise or of inexact bit into u.d.
10100 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10101 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10102 * sysdeps/i386/fpu/s_fma.S: Removed.
10103 * sysdeps/i386/fpu/s_fmal.S: Removed.
10104
7c08a05c
JJ
101052010-10-16 Jakub Jelinek <jakub@redhat.com>
10106
10107 [BZ #3268]
10108 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10109 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10110 computation is not scheduled after fetestexcept. Fix value
10111 of minimum denormal long double.
10112
f3f7372d
JJ
101132010-10-14 Jakub Jelinek <jakub@redhat.com>
10114
10115 [BZ #3268]
10116 * math/libm-test.inc (fma_test): Add some more tests.
10117 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10118 correctly.
10119
14d43591
AS
101202010-10-15 Andreas Schwab <schwab@redhat.com>
10121
10122 * scripts/data/localplt-s390-linux-gnu.data: New file.
10123 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10124
5e908464
JJ
101252010-10-13 Jakub Jelinek <jakub@redhat.com>
10126
10127 [BZ #3268]
10128 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10129 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10130 instead of dbl-64.
10131 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10132 inlines.
10133 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10134 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10135 if one of x and y is very large and the other is subnormal.
10136 * sysdeps/s390/fpu/s_fmaf.c: New file.
10137 * sysdeps/s390/fpu/s_fma.c: New file.
10138 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10139 * sysdeps/powerpc/fpu/s_fma.S: New file.
10140 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10141 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10142 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10143
101442010-10-12 Jakub Jelinek <jakub@redhat.com>
10145
10146 [BZ #3268]
10147 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10148 fma tests.
10149 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10150 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10151 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10152 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10153 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10154 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10155 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10156
b833d51f
UD
101572010-10-12 Ulrich Drepper <drepper@redhat.com>
10158
10159 [BZ #12078]
10160 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10161 * posix/bug-regex31.input: Add test case.
10162
1751705d
UD
101632010-10-11 Ulrich Drepper <drepper@gmail.com>
10164
e9b9cbf5
UD
10165 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10166 * posix/bug-regex31.input: New file.
10167
10168 [BZ #12078]
10169 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10170 (parse_sub_exp): Fix last change, use postorder.
10171
ef06edbe
UD
10172 * posix/bug-regex31.c: New file.
10173 * posix/Makefile: Add rules to build and run bug-regex31.
10174
a129c80d
UD
10175 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10176
10177 [BZ #12078]
10178 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10179
b76b818e
UD
10180 [BZ #12108]
10181 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10182 to have entries in sys_siglist.
10183
1751705d
UD
10184 [BZ #12093]
10185 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10186 be NULL.
10187
9ff8d36f
JJ
101882010-10-07 Jakub Jelinek <jakub@redhat.com>
10189
10190 [BZ #3268]
10191 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10192 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10193 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10194 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10195 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10196 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10197 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10198 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10199 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10200 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10201 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10202 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10203 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10204 * math/ftestexcept.c (fetestexcept): Likewise.
10205 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10206 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10207 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10208 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10209 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10210 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10211 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10212
af325969
UD
102132010-10-11 Ulrich Drepper <drepper@gmail.com>
10214
c579b202 10215 [BZ #12107]
af325969
UD
10216 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10217 newline.
10218
67a67b95
UD
102192010-10-06 Ulrich Drepper <drepper@gmail.com>
10220
10221 * string/bug-strstr1.c: New file.
10222 * string/Makefile: Add rules to build and run bug-strstr1.
10223
5fb308bc
EB
102242010-10-05 Eric Blake <eblake@redhat.com>
10225
10226 [BZ #12092]
10227 * string/str-two-way.h (two_way_long_needle): Always clear memory
10228 when skipping input due to the shift table.
10229
45db99c7
UD
102302010-10-03 Ulrich Drepper <drepper@gmail.com>
10231
3b111893
UD
10232 [BZ #12005]
10233 * malloc/mcheck.c: Handle large requests.
10234
45db99c7
UD
10235 [BZ #12077]
10236 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10237 for strncmp and strncasecmp.
10238 * string/stratcliff.c: Add tests for strcmp and strncmp.
10239 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10240
cf7a1eb8
NI
102412010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10242
10243 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10244 __set_fpscr.
10245
6484ba5e
AJ
102462010-09-30 Andreas Jaeger <aj@suse.de>
10247
10248 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10249 (CGROUP_SUPER_MAGIC): Define.
10250 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10251 Handle btrfs and cgroup file systems.
10252 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10253 Likewise.
10254
91c42559
LM
102552010-09-27 Luis Machado <luisgpm@br.ibm.com>
10256
10257 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10258 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10259
87a97932
AK
102602010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10261
10262 [BZ #12067]
10263 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10264 trying to locate the ELF header.
10265
c21cc9bc
AS
102662010-09-27 Andreas Schwab <schwab@redhat.com>
10267
10268 [BZ #11611]
10269 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10270 Mask out sign-bit copies when constructing f_fsid.
10271
315970f6
PB
102722010-09-24 Petr Baudis <pasky@suse.cz>
10273
10274 * debug/stack_chk_fail_local.c: Add missing licence exception.
10275 * debug/warning-nop.c: Likewise.
10276
1ac7a2c7
JM
102772010-09-15 Joseph Myers <joseph@codesourcery.com>
10278
10279 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10280 implementing getdents64 using getdents syscall, set d_type if
10281 __ASSUME_GETDENTS32_D_TYPE.
10282
56801c50
AS
102832010-09-16 Andreas Schwab <schwab@redhat.com>
10284
10285 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10286 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10287
dda51327
UD
102882010-09-21 Ulrich Drepper <drepper@redhat.com>
10289
10290 [BZ #12037]
10291 * posix/unistd.h: Undo change of feature selection for ftruncate from
10292 2010-01-11.
10293
8ffcee4a
UD
102942010-09-20 Ulrich Drepper <drepper@redhat.com>
10295
a545ecd9 10296 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
10297 detection.
10298
e24f0a8b
AS
102992010-09-20 Andreas Schwab <schwab@redhat.com>
10300
10301 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10302 fanotify_mark.
10303 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10304
7291c56f
AS
103052010-09-14 Andreas Schwab <schwab@redhat.com>
10306
10307 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10308 variables after CHECK_SP call.
10309 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10310
bc5fb037
AS
103112010-09-13 Andreas Schwab <schwab@redhat.com>
10312 Ulrich Drepper <drepper@redhat.com>
10313
10314 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10315 re-relocationg ld.so.
10316 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10317 _dl_init_paths call.
10318 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10319 here anymore.
10320
e66e7419
UD
103212010-09-14 Ulrich Drepper <drepper@redhat.com>
10322
10323 * resolv/res_init.c (__res_vinit): Count the default server we added.
10324
c044aa75
CLT
103252010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10326 Ulrich Drepper <drepper@redhat.com>
10327
10328 [BZ #11968]
10329 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10330 (____longjmp_chk): Use %ebx for saving value across system call.
10331 Add unwind info.
10332
32cf4069
AS
103332010-09-06 Andreas Schwab <schwab@redhat.com>
10334
10335 * manual/Makefile: Don't mix pattern rules with normal rules.
10336
817328ee
AS
103372010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10338
10339 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10340 operation.
10341 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10342 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10343 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10344 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10345 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10346 Likewise.
10347
29fddf61
UD
103482010-09-04 Ulrich Drepper <drepper@redhat.com>
10349
10350 [BZ #11979]
10351 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10352 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10353
0959ffc9
UD
103542010-09-02 Ulrich Drepper <drepper@redhat.com>
10355
10356 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10357 * sysdeps/x86_64/addmul_1.S: Likewise.
10358 * sysdeps/x86_64/lshift.S: Likewise.
10359 * sysdeps/x86_64/mul_1.S: Likewise.
10360 * sysdeps/x86_64/rshift.S: Likewise.
10361 * sysdeps/x86_64/sub_n.S: Likewise.
10362 * sysdeps/x86_64/submul_1.S: Likewise.
10363
ece29840
ST
103642010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10365
0959ffc9
UD
10366 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10367 Define __sched_param instead of SCHED_* and sched_param when
ece29840 10368 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 10369 * bits/sched.h [__need_schedparam]
ece29840 10370 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
10371 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10372 (__defined_schedparam): Define to 1.
ece29840
ST
10373 (__sched_param): New structure, identical to sched_param.
10374 (__need_schedparam): Undefine.
10375
e53a31fe
MF
103762010-08-31 Mike Frysinger <vapier@gentoo.org>
10377
fdc0c10d
MF
10378 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10379 (epoll_create1): Declare.
10380
e53a31fe
MF
10381 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10382
a726d796
AS
103832010-08-31 Andreas Schwab <schwab@redhat.com>
10384
10385 [BZ #7066]
10386 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10387 shifting retval into place.
10388
2f3e3dc7
UD
103892010-09-01 Ulrich Drepper <drepper@redhat.com>
10390
f2933da9
UD
10391 * nis/rpcsvc/nis.h: Update copyright notice.
10392 * nis/rpcsvc/nis.x: Likewise.
10393 * nis/rpcsvc/nis_callback.h: Likewise.
10394 * nis/rpcsvc/nis_callback.x: Likewise.
10395 * nis/rpcsvc/nis_object.x: Likewise.
10396 * nis/rpcsvc/nis_tags.h: Likewise.
10397 * nis/rpcsvc/yp.h: Likewise.
10398 * nis/rpcsvc/yp.x: Likewise.
10399 * nis/rpcsvc/ypupd.h: Likewise.
10400 * nis/yp_xdr.c: Likewise.
10401 * nis/ypupdate_xdr.c: Likewise.
10402
2f3e3dc7
UD
10403 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10404 mainly the body of pmap_getport. Add parameters to specify timeouts.
10405 (pmap_getport): Use __libc_rpc_getport.
10406 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10407 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10408 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10409
f3dcc2f9
AS
104102010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10411
10412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10413 fanotify_mark.
10414
6d34eb5b
RM
104152010-08-27 Roland McGrath <roland@redhat.com>
10416
10417 * sysdeps/i386/i686/multiarch/Makefile
10418 (CFLAGS-varshift.c): New variable.
10419
9ea3de11
UD
104202010-08-27 Ulrich Drepper <drepper@redhat.com>
10421
c96d23fc
UD
10422 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10423 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10424
9ea3de11
UD
10425 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10426
10427 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10428
623aac7f
L
104292010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10430
10431 * sysdeps/x86_64/strlen.S: Unroll the loop.
10432 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10433 strlen-sse2 strlen-sse2-bsf.
10434 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10435 __strlen_no_bsf if bit_Slow_BSF is set.
10436 (__strlen_sse42): Removed.
10437 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10438 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10439
8b2b7715
RM
104402010-08-25 Roland McGrath <roland@redhat.com>
10441
10442 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10443 * sysdeps/x86_64/multiarch/varshift.c: New file.
10444 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10445 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10446 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10447 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10448
e73015f2
L
104492010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10450
10451 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10452 strlen-sse2 strlen-sse2-bsf.
10453 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10454 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10455 (__strlen_sse2): Removed.
10456 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10457 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10459 bit_Slow_BSF for Atom.
10460 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10461 (index_Slow_BSF): Define.
10462 (HAS_SLOW_BSF): Define.
10463
df24a73e
UD
104642010-08-25 Ulrich Drepper <drepper@redhat.com>
10465
10466 [BZ #10851]
10467 * resolv/res_init.c (__res_vinit): When no server address at all
10468 is given default to loopback.
10469
f2ac4868
RM
104702010-08-24 Roland McGrath <roland@redhat.com>
10471
09055553
RM
10472 * configure.in: Remove config-name.h generation.
10473 * configure: Regenerated.
10474 * config-name.in: File removed.
10475 * scripts/config-uname.sh: New file.
10476 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10477 ($(objdir)config-name.h): New target.
10478
f2ac4868
RM
10479 * sunrpc/rpc_parse.h: Avoid nested comment.
10480
73f27d5e
RH
104812010-08-24 Richard Henderson <rth@redhat.com>
10482 Ulrich Drepper <drepper@redhat.com>
10483 H.J. Lu <hongjiu.lu@intel.com>
10484
10485 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10486 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10487 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10488 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10489 _mm_alignr_epi8 with _mm_loadu_si128.
10490 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10491 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10492 (__m128i_shift_right): Removed.
10493 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10494 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10495 * sysdeps/x86_64/multiarch/varshift.h: New file.
10496 * sysdeps/x86_64/multiarch/varshift.S: New file.
10497
84b9230c
MF
104982010-08-21 Mike Frysinger <vapier@gentoo.org>
10499
10500 * configure.in: Move assembler checks to before sysdep dir checking.
10501
9bbd0ddc
PB
105022010-08-20 Petr Baudis <pasky@suse.cz>
10503
10504 * LICENSES: Sync the sunrpc license.
10505
9da4bb31
UD
105062010-08-19 Ulrich Drepper <drepper@redhat.com>
10507
a7ab6ec8
UD
10508 * sunrpc/auth_des.c: Update copyright notice once again.
10509 * sunrpc/auth_none.c: Likewise.
10510 * sunrpc/auth_unix.c: Likewise.
10511 * sunrpc/authdes_prot.c: Likewise.
10512 * sunrpc/authuxprot.c: Likewise.
10513 * sunrpc/bindrsvprt.c: Likewise.
10514 * sunrpc/clnt_gen.c: Likewise.
10515 * sunrpc/clnt_perr.c: Likewise.
10516 * sunrpc/clnt_raw.c: Likewise.
10517 * sunrpc/clnt_simp.c: Likewise.
10518 * sunrpc/clnt_tcp.c: Likewise.
10519 * sunrpc/clnt_udp.c: Likewise.
10520 * sunrpc/clnt_unix.c: Likewise.
10521 * sunrpc/des_crypt.c: Likewise.
10522 * sunrpc/des_soft.c: Likewise.
10523 * sunrpc/get_myaddr.c: Likewise.
10524 * sunrpc/getrpcport.c: Likewise.
10525 * sunrpc/key_call.c: Likewise.
10526 * sunrpc/key_prot.c: Likewise.
10527 * sunrpc/openchild.c: Likewise.
10528 * sunrpc/pm_getmaps.c: Likewise.
10529 * sunrpc/pm_getport.c: Likewise.
10530 * sunrpc/pmap_clnt.c: Likewise.
10531 * sunrpc/pmap_prot.c: Likewise.
10532 * sunrpc/pmap_prot2.c: Likewise.
10533 * sunrpc/pmap_rmt.c: Likewise.
10534 * sunrpc/rpc/auth.h: Likewise.
10535 * sunrpc/rpc/auth_unix.h: Likewise.
10536 * sunrpc/rpc/clnt.h: Likewise.
10537 * sunrpc/rpc/des_crypt.h: Likewise.
10538 * sunrpc/rpc/key_prot.h: Likewise.
10539 * sunrpc/rpc/netdb.h: Likewise.
10540 * sunrpc/rpc/pmap_clnt.h: Likewise.
10541 * sunrpc/rpc/pmap_prot.h: Likewise.
10542 * sunrpc/rpc/pmap_rmt.h: Likewise.
10543 * sunrpc/rpc/rpc.h: Likewise.
10544 * sunrpc/rpc/rpc_des.h: Likewise.
10545 * sunrpc/rpc/rpc_msg.h: Likewise.
10546 * sunrpc/rpc/svc.h: Likewise.
10547 * sunrpc/rpc/svc_auth.h: Likewise.
10548 * sunrpc/rpc/types.h: Likewise.
10549 * sunrpc/rpc/xdr.h: Likewise.
10550 * sunrpc/rpc_clntout.c: Likewise.
10551 * sunrpc/rpc_cmsg.c: Likewise.
10552 * sunrpc/rpc_common.c: Likewise.
10553 * sunrpc/rpc_cout.c: Likewise.
10554 * sunrpc/rpc_dtable.c: Likewise.
10555 * sunrpc/rpc_hout.c: Likewise.
10556 * sunrpc/rpc_main.c: Likewise.
10557 * sunrpc/rpc_parse.c: Likewise.
10558 * sunrpc/rpc_parse.h: Likewise.
10559 * sunrpc/rpc_prot.c: Likewise.
10560 * sunrpc/rpc_sample.c: Likewise.
10561 * sunrpc/rpc_scan.c: Likewise.
10562 * sunrpc/rpc_scan.h: Likewise.
10563 * sunrpc/rpc_svcout.c: Likewise.
10564 * sunrpc/rpc_tblout.c: Likewise.
10565 * sunrpc/rpc_util.c: Likewise.
10566 * sunrpc/rpc_util.h: Likewise.
10567 * sunrpc/rpcinfo.c: Likewise.
10568 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10569 * sunrpc/rpcsvc/key_prot.x: Likewise.
10570 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10571 * sunrpc/rpcsvc/mount.x: Likewise.
10572 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10573 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10574 * sunrpc/rpcsvc/rex.x: Likewise.
10575 * sunrpc/rpcsvc/rstat.x: Likewise.
10576 * sunrpc/rpcsvc/rusers.x: Likewise.
10577 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10578 * sunrpc/rpcsvc/spray.x: Likewise.
10579 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10580 * sunrpc/rtime.c: Likewise.
10581 * sunrpc/svc.c: Likewise.
10582 * sunrpc/svc_auth.c: Likewise.
10583 * sunrpc/svc_authux.c: Likewise.
10584 * sunrpc/svc_raw.c: Likewise.
10585 * sunrpc/svc_run.c: Likewise.
10586 * sunrpc/svc_simple.c: Likewise.
10587 * sunrpc/svc_tcp.c: Likewise.
10588 * sunrpc/svc_udp.c: Likewise.
10589 * sunrpc/svc_unix.c: Likewise.
10590 * sunrpc/svcauth_des.c: Likewise.
10591 * sunrpc/xcrypt.c: Likewise.
10592 * sunrpc/xdr.c: Likewise.
10593 * sunrpc/xdr_array.c: Likewise.
10594 * sunrpc/xdr_float.c: Likewise.
10595 * sunrpc/xdr_mem.c: Likewise.
10596 * sunrpc/xdr_rec.c: Likewise.
10597 * sunrpc/xdr_ref.c: Likewise.
10598 * sunrpc/xdr_sizeof.c: Likewise.
10599 * sunrpc/xdr_stdio.c: Likewise.
10600
9da4bb31
UD
10601 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10602 handling.
10603
bdaa77bc
AS
106042010-08-19 Andreas Schwab <schwab@redhat.com>
10605
10606 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10607
fe2f79db
LM
106082010-08-19 Luis Machado <luisgpm@br.ibm.com>
10609
10610 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10611 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10612 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10613 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10614 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10615 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10616 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10617 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10618 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10619 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10620 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10621 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10622 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10623 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10624
b9b42ee0
AB
106252010-07-26 Anton Blanchard <anton@samba.org>
10626
10627 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10628 * malloc/arena.c (heap_trim): Likewise.
10629
1c06ba31
UD
106302010-08-16 Ulrich Drepper <drepper@redhat.com>
10631
10632 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10633 here. Not...
10634 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10635 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10636
f8392f40
L
106372010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10638
10639 * sysdeps/i386/elf/Makefile: New file.
10640
3162f12e
AS
106412010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10642
10643 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10644 from fanotify_init.
10645 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10646 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10647
28c90b2c
UD
106482010-08-15 Ulrich Drepper <drepper@redhat.com>
10649
10650 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10651 of strncasecmp_l.
1feccb6c 10652 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 10653
ca6bb004
UD
106542010-08-14 Ulrich Drepper <drepper@redhat.com>
10655
e9f82e0d
UD
10656 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10657 strncase_l-nonascii.
10658 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10659 Add strncase_l-ssse3.
10660 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10661 * sysdeps/x86_64/strcmp.S: Likewise.
10662 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10663 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10664 * sysdeps/x86_64/strncase.S: New file.
10665 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10666 * sysdeps/x86_64/strncase_l.S: New file.
10667 * string/Makefile (strop-tests): Add strncasecmp.
10668 * string/test-strncasecmp.c: New file.
10669
10670 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10671 warning.
10672
ca6bb004
UD
10673 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10674 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10675
052fa7b3
AS
106762010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10677
10678 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10679
962dba78
UD
106802010-08-12 Ulrich Drepper <drepper@redhat.com>
10681
10682 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10683 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10684 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10685
bebff237
AM
106862010-05-01 Alan Modra <amodra@gmail.com>
10687
10688 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10689 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10690 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10691 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10692 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10693 tidying. Don't tail-call __sigjmp_save for static lib.
10694 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10695 save location.
10696 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10697 (CALL_MCOUNT): Add eh info, and nop after bl.
10698 (TAIL_CALL_SYSCALL_ERROR): New macro.
10699 (PSEUDO_RET): Use it.
10700 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10701 Correct save location of integer regs and cr.
10702 (_dl_profile_resolve): Correct cr save location. Delete nops
10703 after bl when SHARED. Reduce cfi size a little by better
10704 placement of cfi directives.
10705 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10706 make a stack frame. Instead use parm save area as a temp.
10707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10708 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10710 Don't make a stack frame for parent, use parm save area.
10711 Increase child stack frame to 112 bytes. Don't save unused reg,
10712 and adjust reg usage. Set up cfi on error recovery and
10713 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10715 (__makecontext): Add dummy nop after jump to exit.
10716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10717 Use correct parm save area and cr save, reduce stack frame.
10718 Correct cfi for possible PSEUDO_RET frame setup.
10719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10720 Branch to local label emitted by PSEUDO_RET rather than
10721 __syscall_error.
10722
02637374
AS
107232010-08-12 Andreas Schwab <schwab@redhat.com>
10724
10725 [BZ #11904]
10726 * locale/programs/locale.c (print_assignment): New function.
10727 (show_locale_vars): Use it.
10728
c3e2f19b
UD
107292010-08-11 Ulrich Drepper <drepper@redhat.com>
10730
3cdaa6ad
UD
10731 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10732 field.
10733 (struct statfs64): Likewise.
10734 (_STATFS_F_FLAGS): Define.
10735 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10736 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10737 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10738 (ST_VALID): Define locally.
10739 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10740 __statvfs_getflags, use the provided value.
10741 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10742 __ASSUME_STATFS_F_FLAGS.
10743
754f7da3
UD
10744 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10745
10b3bedc
UD
10746 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10747 Add sys/fanotify.h.
10748 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10749 fanotify_mask for GLIBC_2.13.
10750 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10751 fanotify_init and fanotify_mark.
10752 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10753 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10754
c08fb0d7
UD
10755 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10756 Add prlimit.
10757 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10758 prlimit64 for GLIBC_2.13.
10759 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10760 prlimit64.
10761 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10762 syscall.
10763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10764 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10765 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10766 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10767 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10768 add prlimit alias.
10769 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10770
15bac72b
UD
10771 [BZ #11903]
10772 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10773 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10774
c3e2f19b
UD
10775 * nss/Makefile: Add rules to build and run tst-nss-test1.
10776 * shlib-versions: Add entry for libnss_test1.
10777 * nss/nss_test1.c: New file.
10778 * nss/tst-nss-test1.c: New file.
10779
10780 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10781 (__nss_configure_lookup): Set appropriate entry in
10782 __nss_configure_lookup to true.
10783 * nss/nsswitch.h: Define enum with indeces of databases in
10784 databases and __nss_database_custom arrays. Declare
10785 __nss_database_custom.
10786 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10787 to avoid using nscd when custom rules are installed.
10788 * nss/getXXbyYY_r.c: Likewise.
10789 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10790
10791 * nss/nss_files/files-parse.c: Whitespace fixes.
10792
f15ce4d8
UD
107932010-08-09 Ulrich Drepper <drepper@redhat.com>
10794
10795 [BZ #11883]
10796 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10797 * posix/fnmatch_loop.c: Likewise.
10798
d22e4cc9
AK
107992010-07-17 Andi Kleen <ak@linux.intel.com>
10800
10801 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10802 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10803 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10804 * Versions.def [GLIBC_2.13]: Add.
10805
805bc17d
UD
108062010-08-06 Ulrich Drepper <drepper@redhat.com>
10807
10808 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10809 Also fail if tpwd after pwuid call is NULL.
10810
5a42321d
ST
108112010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10812
10813 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10814 when converting to ms.
10815
fd3ebeda
ST
108162010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10817
10818 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10819 EOPNOTSUPP errors with ENOTTY.
10820 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10821 EOPNOTSUPP errors with ENOTTY.
10822
73507d3a
UD
108232010-07-31 Ulrich Drepper <drepper@redhat.com>
10824
10825 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10826 Add strcasecmp_l-ssse3.
10827 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10828 strcasecmp.
10829 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10830 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10831 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10832
fe36dd02
UD
108332010-07-30 Ulrich Drepper <drepper@redhat.com>
10834
66f6765a
UD
10835 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10836
42e08a54
UD
10837 * string/Makefile (strop-tests): Add strcasecmp.
10838 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10839 strcasecmp_l-nonascii.
10840 (gen-as-const-headers): Add locale-defines.sym.
10841 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10842 * sysdeps/x86_64/strcasecmp.S: New file.
10843 * sysdeps/x86_64/strcasecmp_l.S: New file.
10844 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10845 * sysdeps/x86_64/locale-defines.sym: New file.
10846 * string/test-strcasecmp.c: New file.
10847
fe36dd02
UD
10848 * string/test-strcasestr.c: Test both ends of the range of characters.
10849 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10850
48cbc0d6
RM
108512010-07-29 Roland McGrath <roland@redhat.com>
10852
76e6d6bc 10853 [BZ #11856]
48cbc0d6
RM
10854 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10855
880113d9
UD
108562010-07-27 Ulrich Drepper <drepper@redhat.com>
10857
10858 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10859 for ld.so.
10860
deb9cabb
AS
108612010-07-27 Andreas Schwab <schwab@redhat.com>
10862
10863 * manual/memory.texi (Malloc Tunable Parameters): Document
10864 M_PERTURB.
10865
1c7570ff
RM
108662010-07-26 Roland McGrath <roland@redhat.com>
10867
10868 [BZ #11840]
10869 * configure.in (-fgnu89-inline check): Set and substitute
10870 gnu89_inline, not libc_cv_gnu89_inline.
10871 * configure: Regenerated.
10872 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10873
24fb0f88
UD
108742010-07-26 Ulrich Drepper <drepper@redhat.com>
10875
10876 * string/test-strnlen.c: New file.
10877 * string/Makefile (strop-tests): Add strnlen.
10878 * string/tester.c (test_strnlen): Add a few more test cases.
10879 * string/tst-strlen.c: Better error reporting.
10880
10881 * sysdeps/x86_64/strnlen.S: New file.
10882
8e96b93a
UD
108832010-07-24 Ulrich Drepper <drepper@redhat.com>
10884
10885 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10886 lower-latency instructions.
10887
dbc676d4
UD
108882010-07-23 Ulrich Drepper <drepper@redhat.com>
10889
10890 * string/test-strcasestr.c: New file.
10891 * string/test-strstr.c: New file.
10892 * string/Makefile (strop-tests): Add strstr and strcasestr.
10893 * string/str-two-way.h: Don't undefine MAX.
10894 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10895
f6a31e0e
AS
108962010-07-21 Andreas Schwab <schwab@redhat.com>
10897
10898 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10899 strcasestr-nonascii.
10900 (CFLAGS-strcasestr-nonascii.c): Define.
10901 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10902 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10903 Remove unused attribute.
10904
5dbc3b6c
RM
109052010-07-20 Roland McGrath <roland@redhat.com>
10906
10907 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10908 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10909 ld.so.cache was broken. With it, there is no way to disable dsocaps
10910 like LD_HWCAP_MASK can disable hwcaps.
10911
23d101d8
EPM
109122010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10913
10914 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10915
cc9f2e47
UD
109162010-07-16 Ulrich Drepper <drepper@redhat.com>
10917
10918 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10919 call in strcasestr.
10920 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10921 __strcasestr_sse42_nonascii.
10922 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10923 strcasestr-nonascii.c.
10924 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10925
77c1b069
LM
109262010-06-15 Luis Machado <luisgpm@br.ibm.com>
10927
10928 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10929 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10930 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10931 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10932
440566c3
UD
109332010-07-09 Ulrich Drepper <drepper@redhat.com>
10934
10935 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10936 fcntl.
10937
5be9d05d
AS
109382010-07-06 Andreas Schwab <schwab@redhat.com>
10939
c30b7ee2 10940 [BZ #11577]
5be9d05d
AS
10941 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10942 dl_signal_cerror.
10943
8a492a67
UD
109442010-07-06 Ulrich Drepper <drepper@redhat.com>
10945
10946 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10947 _PC_PIPE_BUF using F_GETPIPE_SZ.
10948
713df3d5
RM
109492010-07-05 Roland McGrath <roland@redhat.com>
10950
10951 * manual/arith.texi (Rounding Functions): Fix rint description
10952 implicit in round description.
10953
702e8f14
UD
109542010-07-02 Ulrich Drepper <drepper@redhat.com>
10955
10956 * elf/Makefile: Fix linking for a few tests to make recent linker
10957 happy.
10958
52ed8be9
AS
109592010-06-30 Andreas Schwab <schwab@redhat.com>
10960
10961 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10962 $(common-objpfx)libc_nonshared.a.
10963
f47c9a11
LM
109642010-06-21 Luis Machado <luisgpm@br.ibm.com>
10965
10966 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10967 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10968 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10969 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10970 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10971 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10972 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10973 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10988 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10989 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10990 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10991 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10992 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10993 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10994 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10995 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10996 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10997 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10998 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10999 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11014
6fb8cbcb
L
110152010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11016
11017 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11018 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11019 * string/memmove.c (memmove): Renamed to ...
11020 (MEMMOVE): ...this. Default to memmove.
11021 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11022 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11023 (END_CHK): Define.
11024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11025 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11026 mempcpy-ssse3-back memmove-ssse3-back.
11027 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11028 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11029 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11030 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11031 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11032 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11033 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11034 * sysdeps/x86_64/multiarch/memmove.c: New file.
11035 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11036 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11037 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11038 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11039 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11040 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11041 Define.
11042 (index_Fast_Copy_Backward): Define.
11043 (HAS_ARCH_FEATURE): Define.
11044 (HAS_FAST_REP_STRING): Define.
11045 (HAS_FAST_COPY_BACKWARD): Define.
11046
4e733bac 110472010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
11048
11049 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11050 Restore proper fallback handling.
11051
63c4ed22
UD
110522010-06-19 Ulrich Drepper <drepper@redhat.com>
11053
ac2b484c
UD
11054 [BZ #11701]
11055 * posix/group_member.c (__group_member): Correct checking loop.
11056
63c4ed22
UD
11057 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11058 OOM in getpwuid_r correctly. Return error number when the caller
11059 should return, otherwise -1.
11060 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11061 call returning > 0 value.
11062 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11063
765ade4b
AS
110642010-06-07 Andreas Schwab <schwab@redhat.com>
11065
11066 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11067 libc_nonshared.a from targets in modules-names.
11068
80da2e09
KS
110692010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11070
11071 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11072 requires it.
11073
158db122
LM
110742010-06-10 Luis Machado <luisgpm@br.ibm.com>
11075
11076 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11077 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11078 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11079 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11080
caa78cf8
AS
110812010-06-02 Andreas Schwab <schwab@redhat.com>
11082
11083 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11084
b2ef2c01
UD
110852010-06-14 Ulrich Drepper <drepper@redhat.com>
11086
11087 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11088 and F_GETPIPE_SZ.
11089 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11090 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11091 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11092 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11093 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11094 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11095
fbd643b6
RM
110962010-06-14 Roland McGrath <roland@redhat.com>
11097
11098 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11099
f32f2869
JJ
111002010-06-07 Jakub Jelinek <jakub@redhat.com>
11101
11102 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11103 __REDIRECT followed by __THROW.
11104 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11105 * posix/getopt.h (getopt): Likewise.
11106
2a50c078
EPM
111072010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11108
11109 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11110 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11111 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11112 in AT_FLAGS.
11113 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11114 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11115
eb5ad2eb
LM
111162010-05-28 Luis Machado <luisgpm@br.ibm.com>
11117
11118 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11119
3c88fe1e
L
111202010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11121
11122 [BZ #11640]
11123 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11124 Properly check family and model.
11125
d2f73151
TY
111262010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11127
11128 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11129
ebd2e13d
LM
111302010-05-24 Luis Machado <luisgpm@br.ibm.com>
11131
11132 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11133
b32b8b45
UD
111342010-05-21 Ulrich Drepper <drepper@redhat.com>
11135
11136 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11137 symbol reference.
11138
9acbe24d
AS
111392010-05-19 Andreas Schwab <schwab@redhat.com>
11140
11141 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11142 symbol reference.
11143
f0ccf6ea
AS
111442010-05-21 Andreas Schwab <schwab@redhat.com>
11145
3d04ff3a
AS
11146 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11147 and internal_recvmmsg.
11148 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11149 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11150 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11151 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11152
f0ccf6ea
AS
11153 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11154 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11155 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11156
5b08ac57
AS
111572010-05-20 Andreas Schwab <schwab@redhat.com>
11158
11159 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11160
4828935d
LM
111612010-05-17 Luis Machado <luisgpm@br.ibm.com>
11162
11163 POWER7 optimizations.
11164 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11165 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11166
373d545e
UD
111672010-05-19 Ulrich Drepper <drepper@redhat.com>
11168
11169 * version.h: Update for 2.13 development version.
11170
21a2b1ae
AS
111712010-05-12 Andrew Stubbs <ams@codesourcery.com>
11172
11173 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11174 exceptions. Return 0.
11175
3f7dcb2b
RM
111762010-05-07 Roland McGrath <roland@redhat.com>
11177
11178 * elf/ldconfig.c (main): Add a const.
11179
5f24d53a 111802010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11181
a160f8d8
UD
11182 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11183 (args_options): Add no-idn option.
11184 (ahosts_keys_int): Add idn_flags to ai_flags.
11185 (parse_option): Handle 'i' option to clear idn_flags.
11186
5f24d53a
UD
11187 * malloc/malloc.c (_int_free): Possible race in the most recently
11188 added check. Only act on the data if no current modification
11189 happened.
265bb1ce
UD
11190
11191See ChangeLog.17 for earlier changes.