]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
optimize the following memcpy: sysdeps/i386/i686/multiarch/memcpy-ssse3.S
[thirdparty/glibc.git] / ChangeLog
CommitLineData
4b43400f
LD
12012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2
3 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4 Optimize memcpy with prefetch if
5 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6 src, dst pointers have unequal 16 byte alignments.
7
48c41d04
SP
82012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9
10 [BZ #13928]
11 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12 from a CNAME entry and return the minimum ttl for the query.
13 (gaih_getanswer_slice): Likewise.
14
b8dc394d
JL
152012-03-30 Jeff Law <law@redhat.com>
16
17 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
18 due to long keys.
19 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21
2f5a5ed0
JL
22 * resolv/nss_dns/dns-host.c: Update copyright year.
23
1d39e359
UD
242012-03-30 Ulrich Drepper <drepper@gmail.com>
25
c030f70c 26 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 27 requests to save a system call. Fix check that all bytes are sent.
c030f70c 28
1d39e359
UD
29 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
30 comments for sendmmsg.
31
322012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
33
34 [BZ #13691]
35 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36 with only 1 character between 0x0041 and 0x01b0.
37 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38 * wcsmbs/tst-mbsnrtowcs.c: New file.
39
20fde227
DM
402012-03-29 David S. Miller <davem@davemloft.net>
41
42 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43 small copies by hand.
44
984a4237
JL
452012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46
47 [BZ #13761]
48 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
49 _nss_compat_initgroups_dyn): Fall back to malloc/free
50 for large group memberships.
51
18c9d62b
DM
522012-03-28 David S. Miller <davem@davemloft.net>
53
88d85d4f
DM
54 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
55 that branches into memcpy.
56 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
57 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
58 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
59 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
60 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
61 bits.
62 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
63 implementation too.
64 * sysdeps/sparc/mempcpy.S: New file.
65
e5aa83e1
DM
66 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
67 the IFUNC routine in the libc case.
68 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69
88570753
DM
70 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
71 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
72 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
73 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
74 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
75 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
76 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
77 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
78
249d7567
DM
79 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
80 loop to 256 bytes instead of 64 bytes and fix test signedness.
81
18c9d62b
DM
82 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
83 * sysdeps/sparc/sparc32/Makefile: rather than here...
84 * sysdeps/sparc/sparc64/Makefile: and here.
85
05f3d1f6
UD
862012-03-28 Ulrich Drepper <drepper@gmail.com>
87
88 * malloc/mallocbug.c: Avoid warnings about unused variables.
89
86ae07a8
JL
902012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
91
92 [BZ #13760]
93 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
94 in the right place. Discard and retry query if response is
95 larger than input buffer size.
96
41bf21a1
JM
972012-03-28 Joseph Myers <joseph@codesourcery.com>
98
d6270972
JM
99 [BZ #369]
100 [BZ #2678]
101 [BZ #3866]
102 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
103 x for large integer exponent.
104 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
105 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
106 sign of result as needed afterwards.
107 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
108 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
109 result for underflowing pow the same as for overflow.
110 (__kernel_standard_l): Handle powl overflow and underflow here
111 rather than calling __kernel_standard.
112 * math/libm-test.inc (pow_test): Add more tests.
113
414fca03 114 [BZ #3868]
41bf21a1
JM
115 [BZ #13879]
116 [BZ #13910]
117 [BZ #13911]
118 [BZ #13912]
119 [BZ #13913]
120 [BZ #13915]
121 [BZ #13916]
122 [BZ #13917]
123 [BZ #13918]
124 [BZ #13919]
125 [BZ #13920]
126 [BZ #13921]
127 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
128 * sysdeps/ieee754/k_standard.c: Include <float.h>.
129 (__kernel_standard_l): New function.
130 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
131 __kernel_standard.
132 * math/w_acosl.c (__acosl): Likewise.
133 * math/w_asinl.c (__asinl): Likewise.
134 * math/w_atan2l.c (__atan2l): Likewise.
135 * math/w_atanhl.c (__atanhl): Likewise.
136 * math/w_coshl.c (__coshl): Likewise.
137 * math/w_exp10l.c (__exp10l): Likewise.
138 * math/w_exp2l.c (__exp2l): Likewise.
139 * math/w_fmodl.c (__fmodl): Likewise.
140 * math/w_hypotl.c (__hypotl): Likewise.
141 * math/w_j0l.c (__j0l, __y0l): Likewise.
142 * math/w_j1l.c (__j1l, __y1l): Likewise.
143 * math/w_jnl.c (__jnl, __ynl): Likewise.
144 * math/w_lgammal.c (__lgammal): Likewise.
145 * math/w_log10l.c (__log10l): Likewise.
146 * math/w_log2l.c (__log2l): Likewise.
147 * math/w_logl.c (__logl): Likewise.
148 * math/w_powl.c (__powl): Likewise.
149 * math/w_remainderl.c (__remainderl): Likewise.
150 * math/w_scalbl.c (sysv_scalbl): Likewise.
151 * math/w_sinhl.c (__sinhl): Likewise.
152 * math/w_sqrtl.c (__sqrtl): Likewise.
153 * math/w_tgammal.c (__tgammal): Likewise.
154 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
155 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
156 * math/libm-test.inc (acos_test): Add more tests.
157 (acosh_test): Likewise.
158 (asin_test): Likewise.
159 (atanh_test): Likewise.
160 (exp_test): Likewise.
161 (exp10_test): Likewise.
162 (exp2_test): Likewise.
163 (expm1_test): Likewise.
164 (lgamma_test): Likewise.
165 (log_test): Likewise.
166 (log10_test): Likewise.
167 (log1p_test): Likewise.
168 (log2_test): Likewise.
169 (pow_test): Do not allow some spurious overflow exceptions.
170 (sqrt_test): Add more tests.
171 (tgamma_test): Likewise.
172 (y0_test): Likewise.
173 (y1_test): Likewise.
174 (yn_test): Likewise.
175
dd62fda6
AB
1762012-03-27 Anton Blanchard <anton@samba.org>
177
178 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
179 MAP_HUGETLB.
180 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
181 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
182 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
183
1e3cdfda
AJ
1842012-03-27 David S. Miller <davem@davemloft.net>
185
b855ab85
DM
186 * conform/Makefile: Run run-conformtest.sh using $(BASH).
187
1e3cdfda
AJ
188 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
189 have-as-vis3 check.
190
1912012-03-27 Andreas Jaeger <aj@suse.de>
192
193 * sysdeps/x86_64/elf/configure.in: Moved to ...
194 * sysdeps/x86_64/configure.in: ... here.
195 * sysdeps/x86_64/elf/start.S: Moved to ...
196 * sysdeps/x86_64/start.S: ... here.
197 * sysdeps/x86_64/elf/configure: Delete.
198
199 * sysdeps/x86_64/configure.in: Merge contents from
200 sysdeps/i386/configure.in (without i686 check).
201
202 * sysdeps/i386/elf/Versions: Merge into ...
203 * sysdeps/i386/Versions: ... this.
204 * sysdeps/i386/elf/Versions: Delete file.
205 * sysdeps/i386/elf/start.S: Moved to ...
206 * sysdeps/i386/start.S: ...here.
207 * sysdeps/i386/elf/configure.in: Merge into...
208 * sysdeps/i386/configure.in: ...here.
209 * sysdeps/i386/elf/configure.in: Delete file.
210 * sysdeps/i386/elf/configure: Delete file.
211
212 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
213 * debug/backtracesyms.c: ... here.
214 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
215 * debug/backtracesymsfd.c: ... here.
216 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
217 * sysdeps/generic/ifunc-sel.h: ... here.
218
219 * sysdeps/unix/i386/start.c: Delete file.
220 * sysdeps/unix/sparc/start.c: Delete file.
221 * sysdeps/unix/start.c: Delete file.
222
223 * sysdeps/sh/elf/configure.in: Moved to ...
224 * sysdeps/sh/configure.in: ... here.
225 * sysdeps/sh/elf/start.S: Moved to ...
226 * sysdeps/sh/start.S: ... here.
227 * sysdeps/sh/elf/configure: Delete file.
228
229 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
230 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
231 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
232 * sysdeps/powerpc/powerpc64/entry.h: ... here.
233 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
234 * sysdeps/powerpc/powerpc64/start.S: here.
235 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
236 * sysdeps/powerpc/powerpc64/Makefile: ... this.
237 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
238 * sysdeps/powerpc/powerpc64/configure.in: ... this.
239 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
240
241 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
242 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
243 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
244 * sysdeps/powerpc/powerpc32/start.S: ... here.
245 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
246 * sysdeps/powerpc/powerpc32/configure.in: ... this.
247 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
248
249 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
250 * sysdeps/powerpc/ifunc-sel.h: ... here.
251 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
252 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
253
254 * sysdeps/sparc/elf/configure.in: Moved to ...
255 * sysdeps/sparc/configure.in: ... here.
256 * sysdeps/sparc/elf/configure: Delete file.
257 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
258 * sysdeps/sparc/sparc32/start.S: ... here.
259 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
260 * sysdeps/sparc/sparc64/start.S: ... here.
261 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
262 * sysdeps/sparc/sparc32/Makefile: ... this.
263 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
264 * sysdeps/sparc/sparc64/Makefile: ... this.
265
266 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
267 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
268 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
269 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
270 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
271 * sysdeps/s390/s390-32/setjmp.S: ... here.
272 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
273 * sysdeps/s390/s390-32/configure.in: ... here.
274 * sysdeps/s390/s390-32/elf/configure: Delete file.
275 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
276 * sysdeps/s390/s390-32/start.S: ... here.
277
278 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
279 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
280 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
281 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
282 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
283 * sysdeps/s390/s390-64/setjmp.S: ... here.
284 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
285 * sysdeps/s390/s390-64/configure.in: ... here
286 * sysdeps/s390/s390-64/elf/configure: Delete file.
287 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
288 * sysdeps/s390/s390-64/start.S: ... here.
289 * sysdeps/s390/s390-64/elf/configure: Delete.
290
291 * configure.in: Remove support for elf directories in sysdeps.
292
293 * configure: Regenerated.
294 * sysdeps/i386/configure: Regenerated.
295 * sysdeps/powerpc/powerpc32/configure: Regenerated.
296 * sysdeps/powerpc/powerpc64/configure: Regenerated.
297 * sysdeps/s390/s390-32/configure: Regenerated.
298 * sysdeps/s390/s390-64/configure: Regenerated.
299 * sysdeps/sh/configure: Regenerated.
300 * sysdeps/sparc/configure: Regenerated.
301 * sysdeps/x86_64/configure: Regenerated.
302
a3f61311
AS
3032012-03-26 Andreas Schwab <schwab@linux-m68k.org>
304
c876e002
AS
305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
306
a3f61311
AS
307 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
308 denormal result into account.
309
ac4c54f0
RM
3102012-03-25 Roland McGrath <roland@hack.frob.com>
311
312 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
313 Reported by Allan McRae <allan@archlinux.org>.
314
6a9b9c02
JL
3152012-03-23 Jeff Law <law@redhat.com>
316
317 * nss/getnssent.c (__nss_getent): Fix typo.
318
4c42a0c1
DM
3192012-03-23 David S. Miller <davem@davemloft.net>
320
321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
322
1532c7ac
L
3232012-03-23 H.J. Lu <hongjiu.lu@intel.com>
324
325 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
326 to pad to uint64_t for each field.
327 (dl_tls_index): Replace unsigned long with uint64_t.
328
3ff42526
PP
3292012-03-23 Daniel Jacobowitz <dmj@google.com>
330 Paul Pluzhnikov <ppluzhnikov@google.com>
331
332 [BZ #6528]
333 * grp/Makefile (otherlibs): Don't set it.
334 * inet/Makefile (otherlibs): Likewise.
335 * login/Makefile (otherlibs): Likewise.
336 * nscd/Makefile (otherlibs): Likewise.
337 * posix/Makefile (otherlibs): Likewise.
338 * pwd/Makefile (otherlibs): Likewise.
339 * rt/Makefile (otherlibs): Likewise.
340 * sunrpc/Makefile (otherlibs): Likewise.
341 * nss/Makefile (otherlibs): Likewise.
342 Add libnss_files to routines and static-only-routines.
343 ($(objpfx)getent): Remove rule.
344 * resolv/Makefile: Add libnss_dns and libresolv to routines and
345 static-only-routines.
346
7c69cd14
JM
3472012-03-22 Joseph Myers <joseph@codesourcery.com>
348
349 [BZ #13892]
350 * math/s_cexp.c: Include <float.h>.
351 (__cexp): Handle exp result overflowing not necessarily
352 overflowing both real and imaginary parts of result.
353 * math/s_cexpf.c: Likewise.
354 * math/s_cexpl.c: Likewise.
355 * math/libm-test.inc (cexp_test): Add more tests.
356 * sysdeps/i386/fpu/libm-test-ulps: Update.
357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
358
81b035fe
L
3592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
360
361 * include/link.h (ELFW): New macro.
362 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
363 Replace ELF64_R_TYPE with ELFW(R_TYPE).
364
1da7940c
L
3652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
366
367 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
368 with uint64_t.
369
b749dbb9
L
3702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
371
372 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
373 declaration.
374 (struct La_x32_retval): Likewise.
375
2ff87f3f
L
3762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
377
378 * sysdeps/x86_64/preconfigure.in: New file.
379 * sysdeps/x86_64/preconfigure: New generated file.
380
c0df8e69
JM
3812012-03-22 Joseph Myers <joseph@codesourcery.com>
382
48e44791
JM
383 [BZ #13824]
384 * math/e_exp2l.c: Include <float.h>.
385 (__ieee754_exp2l): Handle overflow and underflow cases
386 separately. Only pass fractional part of argument to
387 __ieee754_expl.
388 * math/libm-test.inc (exp2_test): Add more tests.
389
c0df8e69
JM
390 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
391 negating x to take absolute value.
392 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
393 Likewise.
394 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
395 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
396 Likewise.
397 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
398 computing low part if x was negated.
399 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
400
c8e43ba7
L
4012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
402
403 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
404 la_x32_gnu_pltexit.
405 (pltexit): Cast int_retval to ptrdiff_t.
406 * elf/tst-auditmod3b.c: Likewise.
407 * elf/tst-auditmod4b.c: Likewise.
408 * elf/tst-auditmod5b.c: Likewise.
409 * elf/tst-auditmod6b.c: Likewise.
410 * elf/tst-auditmod6c.c: Likewise.
411 * elf/tst-auditmod7b.c: Likewise.
412
413 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
414 and x32_gnu_pltexit.
415
416 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
417 __ELF_NATIVE_CLASS.
418 (La_x32_regs): New macro.
419 (La_x32_retval): Likewise.
420 (la_x32_gnu_pltenter): New function prototype.
421 (la_x32_gnu_pltexit): Likewise.
422
7998fa78
AS
4232012-03-21 Andreas Schwab <schwab@linux-m68k.org>
424
dcb33988
AS
425 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
426 exponent.
427
233fc563
AS
428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
429
7998fa78
AS
430 * configure.in (libc_cv_cc_nofma): Check for option to disable
431 generation of FMA instructions.
432 * configure: Regenerate.
433 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
434 * sysdeps/ieee754/dbl-64/Makefile: New file.
435 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
436 Remove brandred-fma4.
437 (CFLAGS-brandred-fma4.c): Remove.
438 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
439 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
440 define.
441 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
442 define.
443
8e95c99a
L
4442012-03-21 H.J. Lu <hongjiu.lu@intel.com>
445
446 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
447 LLONG_MAX != LONG_MAX.
448 (_itoa_word): Use _ITOA_WORD_TYPE on value.
449 (_fitoa_word): Likewise.
450 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
451 LLONG_MAX != LONG_MAX.
452 * stdio-common/_itowa.h: Include <_itoa.h>.
453 (_itowa_word): Use _ITOA_WORD_TYPE on value.
454 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
455 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
456 only if not defined.
457 (_ITOA_WORD_TYPE): Likewise.
458 (_itoa_word): Use _ITOA_WORD_TYPE on value.
459 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
460
6f4db457
DM
4612012-03-21 David S. Miller <davem@davemloft.net>
462
463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
464
7785fe5a
L
4652012-03-21 H.J. Lu <hongjiu.lu@intel.com>
466
467 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
468 of x86_64 when setting libc_cv_slibdir, libdir and
469 libc_cv_localedir.
470 * sysdeps/unix/sysv/linux/configure: Regenerated.
471
4535cd55
JM
4722012-03-21 Joseph Myers <joseph@codesourcery.com>
473
474 * manual/lang.texi (Old Varargs): Remove section.
475 (How Variadic): Update menu.
476 (va_start): Do not mention varargs.h.
477
17228132
TS
4782012-03-21 Thomas Schwinge <thomas@codesourcery.com>
479 Joseph Myers <joseph@codesourcery.com>
480
481 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
482 link test.
483 * configure: Regenerated.
484
8149f976
TS
4852012-03-21 Thomas Schwinge <thomas@codesourcery.com>
486
05f3d1f6
UD
487 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
488 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
489 conformtest.pl
8149f976 490
1a4ac776
JM
4912012-03-21 Joseph Myers <joseph@codesourcery.com>
492
be22ce65
JM
493 * NOTES: Remove.
494 * Makefile (files-for-dist): Remove NOTES.
495 (NOTES): Remove rule.
496 * README: Don't refer to NOTES.
497 * manual/creature.texi: Don't include macros.texi.
498 * manual/intro.texi (creature.texi): Remove comment referring to
499 NOTES.
500
40b601fb
JM
501 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
502 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
503 * configure: Regenerated.
504 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
505 LIBC_TRY_CC_OPTION.
506 (libc_cv_as_i686): Likewise.
507 (libc_cv_cc_avx): Likewise.
508 (libc_cv_cc_sse2avx): Likewise.
509 (libc_cv_cc_fma4): Likewise.
510 (libc_cv_cc_novzeroupper): Likewise.
511 * sysdeps/i386/configure: Regenerated.
512
1a4ac776
JM
513 [BZ #13883]
514 * sysdeps/i386/fpu/s_cexp.S: Remove.
515 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
516 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
517 * math/libm-test.inc (cexp_test): Add more tests.
518 * sysdeps/i386/fpu/libm-test-ulps: Update.
519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
520
a458e7fe
AM
5212012-03-21 Allan McRae <allan@archlinux.org>
522
523 * timezone/Makefile: Do not install iso3166.tab and zone.tab
524
0cb7efc5
JM
5252012-03-21 Joseph Myers <joseph@codesourcery.com>
526
527 [BZ #13871]
528 * math/w_exp2.c: Do not include <float.h>.
529 (o_threshold, u_threshold): Remove.
530 (__exp2): Calculate result before checking finiteness and calling
531 __kernel_standard.
532 * math/w_exp2f.c: Likewise.
533 * math/w_exp2l.c: Likewise.
534 * math/libm-test.inc (exp2_test): Require overflow exception for
535 1e6 input.
2460d3aa
JM
536
537 [BZ #3866]
538 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
539 range of signed 64-bit integers before using fistpll. Remove
540 checks for whether integers fit in mantissa bits.
541 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
542 the range of signed 32-bit integers before using fistpl. Remove
543 checks for whether integers fit in mantissa bits.
544 * sysdeps/i386/fpu/e_powl.S (p64): New object.
545 (__ieee754_powl): Test for y outside the range of signed 64-bit
546 integers before using fistpll. Reduce 64-bit values to 63-bit
547 ones as needed.
548 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
549 divide-by-zero is raised for zero to large negative powers.
550 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
551 (__ieee754_powl): Test for y outside the range of signed 64-bit
552 integers before using fistpll. Reduce 64-bit values to 63-bit
553 ones as needed.
554 * math/libm-test.inc (pow_test): Add more tests.
555
eb96ffb0
L
5562012-03-20 H.J. Lu <hongjiu.lu@intel.com>
557
558 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
559 <stdio-common/_itoa.h>.
560 * debug/segfault.c: Likewise.
561 * elf/dl-cache.c: Likewise.
562 * elf/dl-minimal.c: Likewise.
563 * elf/dl-misc.c: Likewise.
564 * elf/dl-sysdep.c: Likewise.
565 * elf/dl-version.c: Likewise.
566 * elf/rtld.c: Likewise.
567 * hurd/hurdsock.c: Likewise.
568 * hurd/lookup-retry.c: Likewise.
569 * malloc/malloc.c: Likewise.
570 * malloc/mtrace.c: Likewise.
571 * nscd/nscd_getgr_r.c: Likewise.
572 * nscd/nscd_getpw_r.c: Likewise.
573 * nscd/nscd_getserv_r.c: Likewise.
574 * posix/getopt_init.c: Likewise.
575 * posix/wordexp.c: Likewise.
576 * stdio-common/_itoa.c: Likewise.
577 * stdio-common/printf_fphex.c: Likewise.
578 * stdio-common/vfprintf.c: Likewise.
579 * string/_strerror.c: Likewise.
580 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
581 * sysdeps/i386/i686/hp-timing.h: Likewise.
582 * sysdeps/mach/_strerror.c: Likewise.
583 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
584 * sysdeps/mach/hurd/sethostid.c: Likewise.
585 * sysdeps/mach/hurd/xmknodat.c: Likewise.
586 * sysdeps/mach/xpg-strerror.c: Likewise.
587 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
588 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
589 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
590 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
591 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
592 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
593 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
594 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
595 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
596 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
597 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
598 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
599 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
600 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
601 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
602 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
603 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
604 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
605 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
606 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
607 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
608
609 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
610
611 * stdio-common/_itoa.h: Moved to ...
612 * sysdeps/generic/_itoa.h: Here.
613
614 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
615
616 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
617 instead of "_itoa.h" and "_itowa.h".
618 * stdio-common/vfprintf.: Likewise.
619
d1af992d
L
6202012-03-20 H.J. Lu <hongjiu.lu@intel.com>
621
622 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
623 <bits/wordsize.h>.
624 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
625 (__signbit): Likwise.
626 (llrintf): Likwise.
627 (llrint): Likwise.
628
114883e0
L
6292012-03-20 H.J. Lu <hongjiu.lu@intel.com>
630
631 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
632 __WORDSIZE != 64.
633
c135cc1b
JM
6342012-03-20 Joseph Myers <joseph@codesourcery.com>
635
636 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
637 OVERFLOW_EXCEPTION_OK.
638 * math/libm-test.inc ("Philosophy"): Update comment about
639 exception testing.
640 (OVERFLOW_EXCEPTION): Define.
641 (OVERFLOW_EXCEPTION_OK): Likewise.
642 (INVALID_EXCEPTION_OK): Renumber.
643 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
644 (IGNORE_ZERO_INF_SIGN): Likewise.
645 (test_exceptions): Handle FE_OVERFLOW.
646 (exp10_test): Expect overflow exceptions.
647 (exp2_test): Likewise.
648 (expm1_test): Likewise.
649 (nextafter_test): Likewise.
650 (pow_test): Likewise.
651 (scalbn_test): Likewise.
652 (scalbln_test): Likewise.
653
95443d88
L
6542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
655
656 * sysdeps/x86_64/bits/atomic.h
657 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
658 64bit integer.
659 (atomic_exchange_acq): Likewise.
660 (__arch_exchange_and_add_body): Likewise.
661 (__arch_add_body): Likewise.
662 (atomic_add_negative): Likewise.
663 (atomic_add_zero): Likewise.
664
490df6c4
L
6652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
666
c2722551 667 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
668 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
669
5e52b189
L
6702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
671
672 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
673 Check __x86_64__ instead of __WORDSIZE.
674
a9879d4c
L
6752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
676
677 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
678
5df98260
DM
6792012-03-19 David S. Miller <davem@davemloft.net>
680
e1497744
DM
681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
682
5df98260
DM
683 * sysdeps/sparc/fpu/fenv_private.h: New file.
684 * sysdeps/sparc/fpu/math_private.h: Use it.
685 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
686 Remove.
687 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
688 (libc_feholdexcept_setroundl): Remove.
689 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
690 Remove.
691 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
692 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
693
b4c35121
L
6942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
695
696 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
697 int64_t instead of long int.
698 (INSERT_WORDS64): Likwise.
699
56965fd7
L
7002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
701
702 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
703 _Unwind_GetCFA return to _Unwind_Ptr first.
704
83d1aec8
JM
7052012-03-19 Joseph Myers <joseph@codesourcery.com>
706
1897ad44
JM
707 [BZ #13629]
708 * math/s_clog.c: Include <float.h>.
709 (__clog): Scale large or subnormal inputs.
710 * math/s_clogf.c: Likewise.
711 * math/s_clogl.c: Likewise.
712 * math/s_clog10.c: Include <float.h>.
713 (M_LOG10_2): Define.
714 (__clog10): Scale large or subnormal inputs.
715 * math/s_clog10f.c: Likewise.
716 * math/s_clog10l.c: Likewise.
717 * math/libm-test.inc (clog_test): Add more tests.
718 (clog10_test): Likewise.
719 * sysdeps/i386/fpu/libm-test-ulps: Update.
720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
721
7726d6a9
JM
722 [BZ #11451]
723 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
724 x and y.
725 * math/libm-test.inc (atan2_test): Add another test.
726
83d1aec8
JM
727 * Makerules (common-objdir-compile): Remove.
728 * sysdeps/unix/Makefile (config-generated): Do not add
729 $(unix-generated) to variable.
730 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
731 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
732 Remove rule.
733 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
734 Likewise.
735 [generic bits/local_lim.h] (before-compile): Do not append to
736 variable.
737 [generic bits/local_lim.h] (common-generated): Likewise.
738 [generic sys/param.h] (before-compile): Do not append to variable.
739 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
740 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
741 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
742 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
743 include.
744 [generic sys/param.h] (sys/param.h-includes): Remove variable.
745 [generic sys/param.h] (sys/param.h-includes): Remove rule.
746 [generic sys/param.h] ($(addprefix
747 $(common-objpfx),$(sys/param.h-includes))): Likewise.
748 [generic sys/param.h] (common-generated): Do not append to
749 variable.
750 [generic sys/param.h] (sysdep_headers): Likewise.
751 [generic bits/errno.h] (before-compile): Do not append to
752 variable.
753 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
754 rule.
755 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
756 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
757 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
758 [generic bits/errno.h] (common-generated): Do not append to
759 variable.
760 [generic bits/ioctls.h] (before-compile): Do not append to
761 variable.
762 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
763 rule.
764 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
765 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
766 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
767 rule.
768 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
769 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
770 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
771 [generic bits/ioctls.h] (common-generated): Do not append to
772 variable.
773 [generic sys/syscall.h] (syscall.h): Remove variable.
774 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
775 rule.
776 [generic sys/syscall.h] (before-compile): Do not append to
777 variable.
778 [generic sys/syscall.h] (common-generated): Likewise.
779 * sysdeps/unix/errnos-tmpl.c: Remove file.
780 * sysdeps/unix/errnos.awk: Likewise.
781 * sysdeps/unix/ioctls-tmpl.c: Likewise.
782 * sysdeps/unix/ioctls.awk: Likewise.
783 * sysdeps/unix/mk-local_lim.c: Likewise.
784 * sysdeps/unix/snarf-ioctls: Likewise.
785
4851a949
RH
7862012-03-19 Richard Henderson <rth@twiddle.net>
787
bd37f2ee
RH
788 * sysdeps/i386/fpu/fenv_private.h: New file.
789 * sysdeps/i386/fpu/math_private.h: Use it.
790 (math_opt_barrier, math_force_eval): Remove.
791 (libc_feholdexcept_setround_53bit): Remove.
792 (libc_feupdateenv_53bit): Remove.
793 * sysdeps/x86_64/fpu/math_private.h: Likewise.
794 (math_opt_barrier, math_force_eval): Remove.
795 (libc_feholdexcept): Remove.
796 (libc_feholdexcept_setround): Remove.
797 (libc_fetestexcept, libc_fesetenv): Remove.
798 (libc_feupdateenv_test): Remove.
799 (libc_feupdateenv, libc_feholdsetround): Remove.
800 (libc_feresetround): Remove.
801
d0adc922
RH
802 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
803 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
804
0fe0f1f8
RH
805 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
806 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
807 (libc_feupdateenv_testl): New.
808 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
809 (libc_feupdateenv_testf): New.
810 (libc_feupdateenv): Use libc_feupdateenv_test.
811 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
812 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
813
eb92c487
RH
814 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
815 (libc_feholdsetroundf, libc_feholdsetroundl): New.
816 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
817 (libc_feresetround_noex): New.
818 (libc_feresetround_noexf): New.
819 (libc_feresetround_noexl): New.
820 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
821 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
822 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
823 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
824 SET_RESTORE_ROUND.
825 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
826 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
827 (__cos): Likewise.
828 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
829 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
830 SET_RESTORE_ROUND_NOEX.
831 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
832 SET_RESTORE_ROUND_NOEXF.
833 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
834 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
835 (libc_feholdsetroundf): New.
836 (libc_feresetround, libc_feresetroundf): New.
837
7d2e8012
RH
838 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
839 (libc_feholdexcept_setround_53bit): Convert from macro to function.
840 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
841
b4dabbb4
RH
842 * sysdeps/generic/math_private.h: Include <fenv.h>.
843 (default_libc_feholdexcept): New.
844 (default_libc_feholdexcept_setround): New.
845 (default_libc_fesetenv, default_libc_feupdateenv): New.
846 (libc_feholdexcept): Only define if undefined.
847 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
848 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
849 (libc_feholdexcept_setroundl): Likewise.
850 (libc_feholdexcept_setround_53bit): Likewise.
851 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
852 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
853 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
854 (libc_feupdateenv_53bit): Likewise.
855 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
856 (libc_feholdexcept): Convert from macro to inline function.
857 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
858 (libc_fesetenv, libc_feupdateenv): Likewise.
859
4851a949
RH
860 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
861 not previously defined.
862 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
863 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
864 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
865 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
866 * sysdeps/ieee754/flt-32/math_private.h: New file.
867 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
868 math_private.h below SET_FLOAT_WORD.
869 (__isnan, __isinf_ns, __finite): Remove.
870 (__isnanf, __isinf_nsf, __finitef): Remove.
871
e79d442e
AS
8722012-03-18 Andreas Schwab <schwab@linux-m68k.org>
873
874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
875
90b80344
DM
8762012-03-17 David S. Miller <davem@davemloft.net>
877
878 [BZ #6471]
879 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
880 for 2.16.
881
edc21804
DM
8822012-03-16 David S. Miller <davem@davemloft.net>
883
77e927af
DM
884 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
885 warnings.
886
374976dd
DM
887 [BZ #6471]
888 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
889 properly.
890 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
891 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
892 sysdep_routines when subdir is sysvipc.
893 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
894 __getshmlba helper.
895
edc21804
DM
896 * sysdeps/sparc/fpu/libm-test/ulps: Update.
897
473c3ef3
L
8982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
899
900 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
901 [__LP64__].
902
eb0f39b6
L
9032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
904
905 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
906 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
907 (__lround): Renamed to ...
908 (__llround): This. Replace long int with long long int.
909 Define lround functions as aliases of llround functions.
910 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
911
6b6cd74b
L
9122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
913
914 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
915 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
916 adresses to uintptr_t. Replace "long int" and "unsigned long
917 int" with "greg_t" on va_arg.
918
f1a77b01
L
9192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
920
921 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
922 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
923
924 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
925 Move e_machine check before EI_CLASS check. Handle x32
926 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
927 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
928 SKIP_EM_IA_64 and include
929 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
930
931 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
932 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
933 (add_system_dir): New macro.
934
935 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
936 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
937
11b90b9f
JM
9382012-03-16 Joseph Myers <joseph@codesourcery.com>
939
c36e1d23
JM
940 [BZ #2551]
941 [BZ #2552]
942 [BZ #2553]
943 [BZ #2554]
944 [BZ #2562]
945 [BZ #2563]
946 [BZ #2565]
947 [BZ #2566]
948 [BZ #2576]
949 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
950 (y0): Likewise.
951 * math/w_j0f.c (j0f): Likewise.
952 (y0f): Likewise.
953 * math/w_j0l.c (__j0l): Likewise.
954 (__y0l): Likewise.
955 * math/w_j1.c (j1): Likewise.
956 (y1): Likewise.
957 * math/w_j1f.c (j1f): Likewise.
958 (y1f): Likewise.
959 * math/w_j1l.c (__j1l): Likewise.
960 (__y1l): Likewise.
961 * math/w_jn.c (jn): Likewise.
962 (yn): Likewise.
963 * math/w_jnf.c (jnf): Likewise.
964 (ynf): Likewise.
965 * math/w_jnl.c (__jnl): Likewise.
966 (__ynl): Likewise.
967 * math/libm-test.inc (j0_test): Add more tests.
968 (j1_test): Likewise.
969 (jn_test): Likewise. Add trailing semicolon to existing test.
970 (y0_test): Likewise.
971 (y1_test): Likewise.
972 * sysdeps/i386/fpu/libm-test-ulps: Update.
973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
974
11b90b9f
JM
975 [BZ #13851]
976 [BZ #13854]
977 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
978 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
979 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
980 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
981 (__tanl): Set errno for infinite argument.
982 * sysdeps/i386/fpu/mptan.c: Remove.
983 * sysdeps/i386/fpu/s_tan.S: Likewise.
984 * sysdeps/i386/fpu/s_tanl.S: Likewise.
985 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
986 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
987 * math/libm-test.inc (tan_test): Add more tests and enable more
988 tests for double and long double.
989 * sysdeps/i386/fpu/libm-test-ulps: Update.
990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
991
6a1bd2a1
JK
9922012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
993
994 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
995 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
996
10a803e0
RM
9972012-03-16 Roland McGrath <roland@hack.frob.com>
998
999 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1000 * configure.in: Use it for both main tree and add-ons.
1001 * configure: Regenerated.
1002
f196c7f7
L
10032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1004
1005 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1006
8848d99d
JM
10072012-03-16 Joseph Myers <joseph@codesourcery.com>
1008
96cbe7f4
JM
1009 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1010 in comment.
1011
8848d99d
JM
1012 [BZ #13851]
1013 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1014 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1015 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1016 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1017 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1018 infinite argument.
1019 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1020 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1021 != 0 for prec == 2.
1022 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1023 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1024 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1025 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1026 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1027 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1028 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1029 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1030 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1031 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1032 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1033 * math/libm-test.inc (cos_test): Add more tests and enable more
1034 tests for long double.
1035 (sin_test): Likewise.
1036 (sincos_test): Likewise.
1037 * sysdeps/i386/fpu/libm-test-ulps: Update.
1038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1039
dd7f4703
DM
10402012-03-16 David S. Miller <davem@davemloft.net>
1041
1042 * sysdeps/sparc/fpu/math_private.h: New file.
1043
006f1daa
DM
10442012-03-15 David S. Miller <davem@davemloft.net>
1045
c0c83bc8
DM
1046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1047 file.
e6a62e18 1048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
1049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1050 file.
e6a62e18
DM
1051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1054 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1055 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1056 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1057 sysdep routines.
1058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1059
88cb87d9
DM
1060 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1061 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1062
006f1daa 1063 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
1064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1065 sparc-ifunc.h
006f1daa 1066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
1067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1068 Likewise.
1069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1070 Likewise.
006f1daa
DM
1071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
1074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1075 Likewise.
006f1daa
DM
1076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
1080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1081 Likewise.
1082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1083 Likewise.
006f1daa
DM
1084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1088 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1089 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1090 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1091 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1092 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1093 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1094 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1095 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1096 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1097 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1098 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1099 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1100 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1101 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1102 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1103 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1104 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1105 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1106 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1107 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1108
11e0098e
AS
11092012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1110
1111 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1112 scaling.
1113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1114
e85b09d0
AJ
11152012-03-15 Andreas Jaeger <aj@suse.de>
1116
1117 [BZ #13852]
1118 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1119 ieee754/flt-32 implementation for sin, cos and sincos.
1120 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1121 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1122 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1123 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1124 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1125 ieee754/flt-32 implementation for tan.
1126
1127 * math/libm-test.inc (cos_test): Enable some large input tests for
1128 float as well
1129 (sin_test): Likewise.
1130 (sincos_test): Likewise.
1131 (tan_test): Add tests for large input.
1132
1133 * sysdeps/i386/fpu/libm-test-ulps: Update.
1134
81c64153
AJ
11352012-03-15 Andreas Jaeger <aj@suse.de>
1136
1137 [BZ #13658]
1138 * math/libm-test.inc (cos_test): Add more test cases.
1139 (sin_test): Likewise.
1140 (sincos_test): Likewise.
1141
7bbfa5c6
AJ
11422012-03-15 Andreas Jaeger <aj@suse.de>
1143
1144 [BZ #13837]
1145 * math/libm-test.inc (cos_test): Add a test case for large input
1146 value.
1147 (sin_test): Likewise.
1148 (sincos_test): Likewise.
1149
11502012-03-15 Andreas Jaeger <aj@suse.de>,
1151 Joseph Myers <joseph@codesourcery.com>
1152
1153 [BZ #13658]
0671f479 1154 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1155 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1156 * sysdeps/i386/fpu/branred.c: Likewise.
1157 * sysdeps/i386/fpu/dosincos.c: Likewise.
1158 * sysdeps/i386/fpu/mpa.c: Likewise.
1159 * sysdeps/i386/fpu/s_cos.S: Likewise.
1160 * sysdeps/i386/fpu/s_sin.S: Likewise.
1161 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1162 * sysdeps/i386/fpu/sincos32.c: Likewise.
1163
1164 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1165 Define.
1166 (libc_feupdateenv_53bit): Define.
1167 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1168 Define.
1169 (libc_feupdateenv_53bit): Define.
1170
1171 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1172 53 bit (without extend i386 double precision).
1173
1174 * math/libm-test.inc (sincos_test): Add tests for large input.
1175 (sin): Likewise.
1176 (cos): Likewise.
1177
1178 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1179
9cad04ea
AS
11802012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1181
1182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1183
f7062b9a
DM
11842012-03-15 David S. Miller <davem@davemloft.net>
1185
1186 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1187 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1188 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1189 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1195 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1196 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1197 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1198 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1199 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1200 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1202 file.
f7062b9a 1203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1205 file.
f7062b9a 1206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1208 file.
f7062b9a 1209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1211 file.
f7062b9a
DM
1212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1213 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1214 fmin/fmax sysdep routines.
1215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1216
7bd951ff
DM
12172012-03-14 David S. Miller <davem@davemloft.net>
1218
559398ab
DM
1219 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1220 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1221 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1222 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1223 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1224 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1225 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1226 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1227 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1228 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1229 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1230 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1231 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1232 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1233 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1234 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1235 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1236 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1237 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1238 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1239 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1240 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1241 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1242 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1243 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1244 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1245 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1246 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1247 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1248 routines.
1249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1250 file.
559398ab 1251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
1252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1253 file.
559398ab 1254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
1255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1256 file.
559398ab 1257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
1258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1259 file.
559398ab 1260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
1261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1262 file.
559398ab 1263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
1264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1265 file.
1266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1267 file.
1268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1269 file.
1270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1271 file.
1272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1273 New file.
1274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1275 file.
1276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1277 file.
559398ab 1278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
1279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1280 file.
559398ab 1281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1283 file.
559398ab 1284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
1285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1286 file.
559398ab 1287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
1288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1289 VIS3 routines.
559398ab
DM
1290
1291 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1292 New file.
1293
5a1c1e32
DM
1294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1295
eae47a36
DM
1296 * sysdeps/sparc/configure.in: New file.
1297 * sysdeps/sparc/configure: Generate.
1298 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1299 * configure: Regenerate.
1300 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1301 * config.make.in (have-as-vis3): New.
1302 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1303 available use -Av9d instead of -Av9a.
1304 * sysdeps/sparc/sparc64/Makefile: Likewise.
1305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
1306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1307 New file.
1308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1309 file.
1310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1311 New file.
1312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1313 file.
eae47a36
DM
1314 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1315 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1316 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1317 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1318 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1319
c0c83bc8
DM
1320 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1321 fzeros/fnegs to load 0x80000000 into a float register instead of
1322 using the stack.
7bd951ff
DM
1323 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1324
bd951ccb
JM
13252012-03-14 Joseph Myers <joseph@codesourcery.com>
1326
1327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1328 bits/syscall.h.
1329 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1330 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1331 ($(inst_includedir)/bits/syscall.h): Remove rule.
1332 ($(objpfx)bits/syscall.d): Include instead of
1333 $(objpfx)syscall-list.d.
1334 (generated): Change syscall-list.h and syscall-list.d to
1335 bits/syscall.h and bits/syscall.d.
1336
bb4e6db2
RM
13372012-03-14 Roland McGrath <roland@hack.frob.com>
1338
1339 [BZ #13846]
1340 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1341
aa4a2ae1
JM
13422012-03-14 Joseph Myers <joseph@codesourcery.com>
1343
e456826d
JM
1344 [BZ #13841]
1345 * math/s_csqrt.c: Include <float.h>.
1346 (__csqrt): Scale large or subnormal inputs.
1347 * math/s_csqrtf.c: Likewise.
1348 * math/s_csqrtl.c: Likewise.
1349 * math/libm-test.inc (csqrt_test): Add more tests.
1350 * sysdeps/i386/fpu/libm-test-ulps: Update.
1351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1352
aa4a2ae1
JM
1353 [BZ #13840]
1354 * math/libm-test.inc (hypot_test): Add more tests.
1355
7c10fd35
DM
13562012-03-13 David S. Miller <davem@davemloft.net>
1357
1358 [BZ #13840]
1359 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1360 double-precision for the calculation instead of scaling.
1361
f453b98b
JM
13622012-03-13 Joseph Myers <joseph@codesourcery.com>
1363
1364 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1365 manipulate bits before adding and subtracting TWO52[sx].
1366 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1367 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1368 Likewise.
1369 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1370
09a3453f
DM
13712012-03-13 David S. Miller <davem@davemloft.net>
1372
8e59da90
DM
1373 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1374 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1375 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1376 rtld-global-offsets.h
1377 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1378
2a8ab7f2
DM
1379 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1380 large parameters.
1381
10f62770
DM
1382 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1383
5f0bdb18
DM
1384 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1385 'err' in the ifdef scope in which it is actually used.
1386
09a3453f
DM
1387 * nss/nss_db/db-init.c: Include string.h
1388
b4b2eb5e
DM
13892012-03-12 David S. Miller <davem@davemloft.net>
1390
98bb2f1c
DM
1391 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1392 masking out of the most significant byte of random value used.
1393 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1394 Fix coding style in previous change.
1395
b4b2eb5e
DM
1396 * sysdeps/unix/sysv/linux/kernel-features.h
1397 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1398 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1399 expression.
1400 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1401 later.
1402
6e226b09
DM
14032012-03-11 David S. Miller <davem@davemloft.net>
1404
a1bcbd40
DM
1405 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1406 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1407 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1408 for 'resultvar' otherwise things get truncated on 64-bit.
1409
cb9d6174
DM
1410 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1411 Fix masking out of the most significant byte of random value used.
1412
6e226b09
DM
1413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1414
058c132d
AS
14152012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1416
1417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1418
2d2cd515
DM
14192012-03-09 David S. Miller <davem@davemloft.net>
1420
1421 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1422 variables with appropriate CPP guards.
1423 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1424 frame pointer, not the stack pointer. Correct layout comments. Fix test
1425 on resulting framesize and the management of the outregs buffer for pltexit.
1426 Preserve floating point return values across _dl_call_pltexit call.
1427 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1428 framesize and the management of the outregs buffer for pltexit.
1429 Preserve floating point return values across _dl_call_pltexit
1430 call.
1431 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1432 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1433 (print_exit): Fix format string for return register value.
1434
9a07f9d0
JM
14352012-03-10 Joseph Myers <joseph@codesourcery.com>
1436
1437 * sunrpc/Makefile (others): Add rpcgen.
1438 ($(objpfx)rpcgen): Remove special build rule and dependency on
1439 libc.
1440 * sunrpc/rpcgen.c: New file.
1441
547b5e30
PE
14422012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1443
c524201a
PE
1444 [BZ #13673]
1445 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1446 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1447 * sysdeps/i386/crti.S: Likewise.
1448 * sysdeps/i386/crtn.S: Likewise.
1449 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1450 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1451 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1452 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1453 * sysdeps/sh/crti.S: Likewise.
1454 * sysdeps/sh/crtn.S: Likewise.
1455 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1456
7b6235f2
PE
1457 [BZ #13673]
1458 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1459 with URL.
1460 * locale/programs/locfile-kw.gperf: Likewise.
1461 * locale/programs/charmap-kw.h: Regenerated.
1462 * locale/programs/locfile-kw.h: Likewise.
1463
547b5e30
PE
1464 [BZ #13673]
1465 * intl/plural.y: Replace FSF snail mail address with URL.
1466 * intl/plural.c: Regenerated.
1467
5f0a5dae
RH
14682012-03-09 Richard Henderson <rth@twiddle.net>
1469
1470 * include/math_private.h: Remove file.
1471 * math/math_private.h: Move file ...
1472 * sysdeps/generic/math_private.h: ... here.
1473
b8c03620
RH
1474 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1475 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1476 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1477
4e234f5d 1478 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
1479 and <math_private.h>.
1480 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1481 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1482 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1483 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1484 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1485 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1486 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1487 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1488 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1489 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1490 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1491 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1492 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1493 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1494 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1495 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1496 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1497 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1498 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1499 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1500 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1501 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1502 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1503 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1504 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1505 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1506 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1507 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1508 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1509 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1510 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1511 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1512 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1513 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1514 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1515 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1516 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1517 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1518 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1519 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1520 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1521 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1522 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1523 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1524 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1525 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1526 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1527 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1528 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1529 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1530 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1531 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1532 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1533 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1534 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1535 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1536 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1537 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1538 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1539 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1540 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1541 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1542 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1543 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1544 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1545 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1546 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1547 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1548 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1549 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1550 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1551 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1552 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1553 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1554 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1555 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1556 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1557 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1558 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1559 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1560 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1561 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1562 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1563 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1564 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1565 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1566 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1567 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1568 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1569 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1570 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1571 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1572 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1573 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1574 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1575 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1576 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1577 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1578 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1579 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1580 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1581 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1582 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1583 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1584 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1585 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1586 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1587 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1588 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1589 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1590 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1591 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1592 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1593 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1594 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1595 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1596 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1597 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1598 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1599 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1600 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1601 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1602 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1603 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1604 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1605 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1606 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1607 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1608 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1609 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1610 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1611 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1612 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1613 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1614 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1615 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1616 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1617 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1618 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1619 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1620 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1621 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1622 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1623 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1624 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1625 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1626 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1627 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1628 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1629 * sysdeps/ieee754/k_standard.c: Likewise.
1630 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1631 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1632 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1633 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1634 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1635 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1636 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1637 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1638 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1639 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1640 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1641 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1642 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1643 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1644 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1645 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1646 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1647 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1648 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1649 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1650 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1651 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1652 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1653 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1654 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1655 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1656 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1657 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1658 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1659 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1660 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1661 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1662 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1663 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1664 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1665 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1666 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1667 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1668 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1669 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1670 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1671 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1672 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1673 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1674 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1675 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1676 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1677 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1678 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1679 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1680 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1681 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1682 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1683 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1684 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1685 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1686 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1687 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1688 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1689 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1690 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1691 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1692 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1693 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1694 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1695 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1696 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1697 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1698 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1699 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1700 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1701 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1702 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1703 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1704 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1705 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1706 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1707 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1708 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1709 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1710 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1711 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1712 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1713 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1714 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1715 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1716 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1717 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1718 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1719 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1720 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1721 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1722 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1723 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1724 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1725 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1726 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1727 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1728 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1729 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1730 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1731 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1732 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1733 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1734 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1735 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1736 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1737 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1738 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1739 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1740 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1741 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1742 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1743 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1744 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1745 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1746 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1747 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1748 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1749 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1750 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1751 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1752 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1753 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1754 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1755 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1756 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1757 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1758 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1759 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1760 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1761 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1762 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1763 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1764 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1765 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1766 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1767 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1768 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1769 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1770 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1771 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1772 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1773 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1774 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1775 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1776 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1777 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1778 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1779 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1780 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1781 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1782 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1783 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1784 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1785 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1786 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1787 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1788 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1789 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1790 * sysdeps/ieee754/s_lib_version.c: Likewise.
1791 * sysdeps/ieee754/s_matherr.c: Likewise.
1792 * sysdeps/ieee754/s_signgam.c: Likewise.
1793 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1794 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1795 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1796 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1797 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1798 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1799 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1800 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1801 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1802 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1803 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1804 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1805 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1806 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1807 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1808 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1809 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1810 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1811 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1812 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1813 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 1814
1991fa03
JM
18152012-03-09 Joseph Myers <joseph@codesourcery.com>
1816
1817 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1818 * sunrpc/rpc_main.c: Likewise.
1819 * sunrpc/rpc_svcout.c: Likewise.
1820
60d6f5a6
DM
18212012-03-09 David S. Miller <davem@davemloft.net>
1822
1823 * include/math_private.h: New file.
1824
4962050e
JM
18252012-03-09 Joseph Myers <joseph@codesourcery.com>
1826
02a6f887
JM
1827 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1828 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1829 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1830 from <bits/socket_type.h>.
1831 (enum __socket_type): Don't define here.
1832 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1833 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1834 bits/socket_type.h.
1835
c6e013c1
JM
1836 [BZ #13566]
1837 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1838 checking __USE_GNU.
1839
4962050e
JM
1840 * Makerules ($(inst_includedir)/%.h): New rule.
1841 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1842 (install-others): Remove variable setting.
1843 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1844
38842f45
RH
18452012-03-08 Richard Henderson <rth@twiddle.net>
1846
67bb6da6
RH
1847 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1848 from macro to inline function; merge with the
1849 !__LIBC_INTERNAL_MATH_INLINES version.
1850 (__ieee754_sqrtf): Likewise.
1851
15194b4b
RH
1852 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1853 to inline function.
1854 (__rintf, __floor, __floorf): Likewise.
1855
64e21ede
RH
1856 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1857 macro to inline function.
1858 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1859
38842f45
RH
1860 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1861 not <math/math_private.h>.
1862
c64bf5fe
DM
18632012-03-08 David S. Miller <davem@davemloft.net>
1864
1865 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1866 copyright year.
1867 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1868
82d86f28
TS
18692012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1870
1871 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1872 normalization.
1873 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1874 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1875
aea5d727
UD
18762012-03-08 Ulrich Drepper <drepper@gmail.com>
1877
1878 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1879 be defined individually, they must be defined as a block. Define
1880 S for printing a string instead of hidint the different by using a
1881 macro for adding the 'l'.
1882 * stdio-common/tst-fphex-wide.c: Adjust.
1883
70bca0a3
MP
18842012-03-07 Marek Polacek <polacek@redhat.com>
1885
1886 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1887
65b81130
MP
18882012-03-08 Marek Polacek <polacek@redhat.com>
1889
1890 [BZ #13806]
1891 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1892 * stdio-common/tst-fphex.c: Define a few macros to make the
1893 test reusable. Use them.
1894 * stdio-common/tst-fphex-wide.c: New file.
1895
07037eeb
JM
18962012-03-08 Joseph Myers <joseph@codesourcery.com>
1897
a7a93d50
JM
1898 [BZ #6911]
1899 * manual/macros.texi (gnusystems): New macro.
1900 (nongnusystems): Likewise.
1901 (gnulinuxhurdsystems): Likewise.
1902 (gnuhurdsystems): Likewise..
1903 (gnulinuxsystems): Likewise.
1904 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1905 variants of the GNU system, not "GNU system".
1906 * manual/conf.texi: Likewise.
1907 * manual/errno.texi: Likewise. Update example of errno macro
1908 expansion.
1909 * manual/filesys.texi: Likewise.
1910 (getumask): Document as specific to GNU/Hurd.
1911 * manual/install.texi: Likewise. Reword some references to
1912 GNU/Linux.
1913 * manual/intro.texi: Likewise.
1914 * manual/io.texi: Likewise.
1915 (File Name Portability): Detail which constraints are inapplicable
1916 to all GNU systems and which are only inapplicable to GNU/Hurd.
1917 * manual/job.texi: Likewise.
1918 * manual/llio.texi: Likewise.
1919 (O_NOCTTY): Document as present on GNU/Linux.
1920 * manual/maint.texi: Likewise.
1921 * manual/memory.texi: Likewise.
1922 * manual/pattern.texi: Likewise.
1923 * manual/pipe.texi: Likewise.
1924 * manual/process.texi: Likewise.
1925 * manual/resource.texi: Likewise.
1926 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1927 child on GNU/Hurd.
1928 * manual/setjmp.texi: Likewise.
1929 * manual/signal.texi: Likewise.
1930 * manual/startup.texi: Likewise.
1931 * manual/stdio.texi: Likewise.
1932 * manual/terminal.texi: Likewise.
1933 (ONLCR): Document as POSIX.
1934 (OXTABS): Document availability on GNU/Linux as XTABS.
1935 (ONOEOT): Document availability separately from other bits.
1936 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1937 * manual/time.texi: Likewise.
1938 * manual/users.texi: Likewise.
1939 * INSTALL: Regenerated.
1940 * sysdeps/gnu/errlist.c: Regenerated.
1941
07037eeb
JM
1942 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1943 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1944 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1945 puts.
1946 * configure: Regenerated.
1947
d1d3431a
JM
19482012-03-07 Joseph Myers <joseph@codesourcery.com>
1949
af6a1e37
JM
1950 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1951 default includes instead of AC_HEADER_CHECK.
1952 * sysdeps/i386/configure: Regenerated.
1953
d1d3431a
JM
1954 [BZ #10716]
1955 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1956 * math/s_cacoshf.c (__cacoshf): Likewise.
1957 * math/s_cacoshl.c (__cacoshl): Likewise.
1958 * math/s_casinh.c (__casinh): Set signs of result from argument.
1959 * math/s_casinhf.c (__casinhf): Likewise.
1960 * math/s_casinhl.c (__casinhl): Likewise.
1961 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1962 (casinh_test): Add more tests.
1963 * sysdeps/i386/fpu/libm-test-ulps: Update.
1964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1965
482ff4da
UD
19662012-03-07 Ulrich Drepper <drepper@gmail.com>
1967
872fda05
UD
1968 * po/zh_TW.po: Update from translation team.
1969
a4300c7a
UD
1970 * login/Makefile (distribute): Remove variable.
1971 * catgets/Makefile: Likewise.
1972 * mach/Makefile: Likewise.
1973 * malloc/Makefile: Likewise.
1974 * misc/Makefile: Likewise.
1975 * iconv/Makefile: Likewise.
1976 * nscd/Makefile: Likewise.
1977 * hurd/Makefile: Likewise.
1978 * manual/Makefile: Likewise.
1979 * locale/Makefile: Likewise.
1980 * intl/Makefile: Likewise.
1981 * conform/Makefile: Likewise.
1982 * nss/Makefile: Likewise.
1983 * time/Makefile: Likewise.
1984 * soft-fp/Makefile: Likewise.
1985 * dirent/Makefile: Likewise.
1986 * gmon/Makefile: Likewise.
1987 * po/Makefile: Likewise.
1988 * rt/Makefile: Likewise.
1989 * socket/Makefile: Likewise.
1990 * math/Makefile: Likewise.
1991 * signal/Makefile: Likewise.
1992 * debug/Makefile: Likewise.
1993 * elf/Makefile: Likewise.
1994 * timezone/Makefile: Likewise.
1995 * stdlib/Makefile: Likewise.
1996 * iconvdata/Makefile: Likewise.
1997 * sunrpc/Makefile: Likewise.
1998 * io/Makefile: Likewise.
1999 * argp/Makefile: Likewise.
2000 * inet/Makefile: Likewise.
2001 * hesiod/Makefile: Likewise.
2002 * grp/Makefile: Likewise.
2003 * csu/Makefile: Likewise.
2004 * wctype/Makefile: Likewise.
2005 * crypt/Makefile: Likewise.
2006 * libio/Makefile: Likewise.
2007 * string/Makefile: Likewise.
2008 * nis/Makefile: Likewise.
2009 * resolv/Makefile: Likewise.
2010 * stdio-common/Makefile: Likewise.
2011 * wcsmbs/Makefile: Likewise.
2012 * dlfcn/Makefile: Likewise.
2013 * posix/Makefile: Likewise.
2014
482ff4da
UD
2015 * timezone/Makefile: Don't install timezone files, just the programs
2016 and scripts.
2017
f72ed77d
UD
20182012-03-06 Ulrich Drepper <drepper@gmail.com>
2019
a000466f
UD
2020 * nss/databases.def: Add missing gshadow entry.
2021
f72ed77d
UD
2022 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2023
a53b7a4e
MP
20242012-03-06 Marek Polacek <polacek@redhat.com>
2025
2026 [BZ #13726]
2027 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2028 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2029 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2030 * stdio-common/tst-long-dbl-fphex.c: New file.
2031
e9258400
DM
20322012-03-06 David S. Miller <davem@davemloft.net>
2033
2034 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2035 (set_obp_int): New function.
2036 (get_obp_int): New function.
2037 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
2038 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2039 Avoid unused variable warnings on 'val' and use builtin_expect.
2040 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2041 __builtin_expect.
e9258400
DM
2042 (INLINE_CLONE_SYSCALL): Likewise.
2043
3bd2c723
DM
20442012-03-05 David S. Miller <davem@davemloft.net>
2045
2046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2047
bbb78d03
AS
20482012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2049
884c5db4
AS
2050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2051
bbb78d03
AS
2052 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2053 only for |x| >= 40.
2054 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2055
1c9f702a 20562012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
2057
2058 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2059 Replace gettimeofday with __vdso_gettimeofday.
2060
7be16f82
RM
2061 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2062 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2063 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
2064
2065 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2066 time with __vdso_time.
2067
ed58a00f
JM
20682012-03-05 Joseph Myers <joseph@codesourcery.com>
2069
2070 * manual/lang.texi (size_t): Note types to which size_t may be
2071 equivalent with the GNU C Library, but do not describe when
2072 differences between them are significant.
2073
30ee4ced
AJ
20742012-03-05 Andreas Jaeger <aj@suse.de>
2075
2076 * sysdeps/i386/fpu/libm-test-ulps: Update.
2077
b7cd39e8
JM
20782012-03-05 Joseph Myers <joseph@codesourcery.com>
2079
2080 [BZ #3976]
2081 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2082 (__ieee754_pow): Save and restore rounding mode and use
2083 round-to-nearest for main computations.
2084 * math/libm-test.inc (pow_test_tonearest): New function.
2085 (pow_test_towardzero): Likewise.
2086 (pow_test_downward): Likewise.
2087 (pow_test_upward): Likewise.
2088 (main): Call the new functions.
2089 * sysdeps/i386/fpu/libm-test-ulps: Update.
2090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
2091
2092 [BZ #3976]
2093 * math/libm-test.inc (cosh_test_tonearest): New function.
2094 (cosh_test_towardzero): Likewise.
2095 (cosh_test_downward): Likewise.
2096 (cosh_test_upward): Likewise.
2097 (sinh_test_tonearest): Likewise.
2098 (sinh_test_towardzero): Likewise.
2099 (sinh_test_downward): Likewise.
2100 (sinh_test_upward): Likewise.
2101 (main): Call the new functions.
2102 * sysdeps/i386/fpu/libm-test-ulps: Update.
2103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2104
6c6a98c9
TV
21052012-03-05 Tom de Vries <tom@codesourcery.com>
2106
2107 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2108 default stack guard is set in last bytes.
2109 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2110
21bb2d2e 21112012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2112
21bb2d2e 2113 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2114
21bb2d2e
AJ
2115 [BZ #13656]
2116 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2117 possibly allocate from heap instead of stack.
2118 * stdio-common/bug-vfprintf-nargs.c: New file.
2119 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2120
c6922934
AS
21212012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2122
2123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2124
bc957d53
MP
21252012-03-03 Marek Polacek <polacek@redhat.com>
2126
2127 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2128 * math/math_private.h: Likewise.
2129 * stdlib/tst-strtod.c: Likewise.
2130 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2131 * sysdeps/x86_64/bits/atomic.h: Likewise.
2132
6358490d
DM
21332012-03-02 David S. Miller <davem@davemloft.net>
2134
2135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2139 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2140 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2141 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2142 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2143
01ae168d
RM
21442012-03-02 Roland McGrath <roland@hack.frob.com>
2145
d9a17c07
RM
2146 [BZ #13792]
2147 * manual/examples/README: New file, says the example source files
2148 can be used under GPL>=2.
2149 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2150 line containing just "*/".
2151 * manual/examples/add.c: Add copyright header (GPL>=2).
2152 * manual/examples/argp-ex1.c: Likewise.
2153 * manual/examples/argp-ex2.c: Likewise.
2154 * manual/examples/argp-ex3.c: Likewise.
2155 * manual/examples/argp-ex4.c: Likewise.
2156 * manual/examples/atexit.c: Likewise.
2157 * manual/examples/db.c: Likewise.
2158 * manual/examples/dir.c: Likewise.
2159 * manual/examples/dir2.c: Likewise.
2160 * manual/examples/execinfo.c: Likewise.
2161 * manual/examples/filecli.c: Likewise.
2162 * manual/examples/filesrv.c: Likewise.
2163 * manual/examples/fmtmsgexpl.c: Likewise.
2164 * manual/examples/genpass.c: Likewise.
2165 * manual/examples/inetcli.c: Likewise.
2166 * manual/examples/inetsrv.c: Likewise.
2167 * manual/examples/isockad.c: Likewise.
2168 * manual/examples/longopt.c: Likewise.
2169 * manual/examples/memopen.c: Likewise.
2170 * manual/examples/memstrm.c: Likewise.
2171 * manual/examples/mkfsock.c: Likewise.
2172 * manual/examples/mkisock.c: Likewise.
2173 * manual/examples/mygetpass.c: Likewise.
2174 * manual/examples/pipe.c: Likewise.
2175 * manual/examples/popen.c: Likewise.
2176 * manual/examples/rprintf.c: Likewise.
2177 * manual/examples/search.c: Likewise.
2178 * manual/examples/select.c: Likewise.
2179 * manual/examples/setjmp.c: Likewise.
2180 * manual/examples/sigh1.c: Likewise.
2181 * manual/examples/sigusr.c: Likewise.
2182 * manual/examples/stpcpy.c: Likewise.
2183 * manual/examples/strdupa.c: Likewise.
2184 * manual/examples/strftim.c: Likewise.
2185 * manual/examples/strncat.c: Likewise.
2186 * manual/examples/subopt.c: Likewise.
2187 * manual/examples/swapcontext.c: Likewise.
2188 * manual/examples/termios.c: Likewise.
2189 * manual/examples/testopt.c: Likewise.
2190 * manual/examples/testpass.c: Likewise.
2191 * manual/examples/timeval_subtract.c: Likewise.
2192
01ae168d
RM
2193 [BZ #13792]
2194 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2195 function to ...
2196 * manual/timeval_subtract.c.texi: ... here, new file.
2197
49efa33d
DM
21982012-03-02 David S. Miller <davem@davemloft.net>
2199
2200 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2201
28afd92d
JM
22022012-03-02 Joseph Myers <joseph@codesourcery.com>
2203
804360ed
JM
2204 [BZ #3976]
2205 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2206 (__sin): Save and restore rounding mode and use round-to-nearest
2207 for all computations.
2208 (__cos): Save and restore rounding mode and use round-to-nearest
2209 for all computations.
2210 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2211 <fenv.h>.
2212 (tan): Save and restore rounding mode and use round-to-nearest for
2213 all computations.
2214 * math/libm-test.inc (cos_test_tonearest): New function.
2215 (cos_test_towardzero): Likewise.
2216 (cos_test_downward): Likewise.
2217 (cos_test_upward): Likewise.
2218 (sin_test_tonearest): Likewise.
2219 (sin_test_towardzero): Likewise.
2220 (sin_test_downward): Likewise.
2221 (sin_test_upward): Likewise.
2222 (tan_test_tonearest): Likewise.
2223 (tan_test_towardzero): Likewise.
2224 (tan_test_downward): Likewise.
2225 (tan_test_upward): Likewise.
2226 (main): Call the new functions.
2227 * sysdeps/i386/fpu/libm-test-ulps: Update.
2228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2229
a6d06d7b
JM
2230 [BZ #10135]
2231 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2232 small n, then large n, before computing and testing k+n.
2233 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2234 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2235 Likewise.
2236 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2237 Likewise.
2238 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2239 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2240 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2241 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2242 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2243 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2244 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2245 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2246 * math/libm-test.inc (scalbn_test): Add more tests.
2247 (scalbln_test): Likewise.
2248
07e12bb3
JM
2249 * manual/filesys.texi (mode_t): Describe constraints on size and
2250 signedness, not exact equivalence to a particular type.
2251 (ino_t): Likewise.
2252 (ino64_t): Likewise.
2253 (dev_t): Likewise.
2254 (nlink_t): Likewise.
2255 (blkcnt_t): Likewise.
2256 (blkcnt64_t): Likewise.
2257 * manual/llio.texi (off_t): Likewise.
2258
28afd92d
JM
2259 [BZ #3976]
2260 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2261 (__ieee754_exp): Save and restore rounding mode and use
2262 round-to-nearest for all computations.
2263 * math/libm-test.inc (exp_test_tonearest): New function.
2264 (exp_test_towardzero): Likewise.
2265 (exp_test_downward): Likewise.
2266 (exp_test_upward): Likewise.
2267 (main): Call the new functions.
2268 * sysdeps/i386/fpu/libm-test-ulps: Update.
2269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2270
b1eeb65d
CD
22712012-03-01 Chris Demetriou <cgd@google.com>
2272
2273 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2274 have predictable order.
2275
53362a4b
DM
22762012-03-01 David S. Miller <davem@davemloft.net>
2277
3c969083
DM
2278 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2279
759707de
DM
2280 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2281 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2282 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2283 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2284
dfdb8ff2
DM
2285 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2286 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2287 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2289 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2290 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2291 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2292 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2293 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2294
ead89f96
DM
2295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2296
7f66bd07
DM
2297 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2298 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2299 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2300
53362a4b
DM
2301 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2302 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2303 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2304 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2305 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2306 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2307 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2308 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2309 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2310 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2311 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2312 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2313 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2314 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2315 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2316 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2317 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2318 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2319 * sysdeps/sparc/elf/configure: Regenerated.
2320
7b1902cb
JM
23212012-03-01 Joseph Myers <joseph@codesourcery.com>
2322
bec039bc
JM
2323 * configure.in (AS, LD): Require binutils 2.20 or later.
2324 * configure: Regenerated.
2325 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2326 as required minimum version.
2327 * INSTALL: Regenerated.
2328
7b1902cb
JM
2329 [BZ #2541]
2330 [BZ #4108]
2331 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2332 before squaring exponent.
2333 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2334 bottom long double and 27 bits of top long double before squaring
2335 exponent.
2336 * math/libm-test.inc (erfc_test): Add more tests.
2337 * sysdeps/i386/fpu/libm-test-ulps: Update.
2338 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2340
f775c276
KT
23412012-03-01 Kai Tietz <ktietz@redhat.com>
2342
2343 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2344 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2345 containing bit-fields.
2346 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2347 * soft-fp/single.h (_FP_UNION_S): Likewise.
2348 * soft-fp/double.h (_FP_UNION_D): Likewise.
2349
5b8a4d4a
JM
23502012-02-29 Joseph Myers <joseph@codesourcery.com>
2351
0bab47b6
JM
2352 [BZ #13786]
2353 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2354 not include ../strcmp.S.
2355 [USE_AS_STRNCASECMP_L]: Likewise.
2356 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2357 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2358 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2359 (__strncasecmp_l_ia32): Define as alias to
2360 __strncasecmp_l_nonascii.
2361
0fcad3e2
JM
2362 [BZ #5794]
2363 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2364 * sysdeps/i386/fpu/libm-test-ulps: Update.
2365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2366
5b8a4d4a
JM
2367 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2369
8fdceb2e
JL
23702012-02-29 Jeff Law <law@redhat.com>
2371
2372 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2373 out of bounds read.
2374
1f393a11
MP
23752012-02-29 Marek Polacek <polacek@redhat.com>
2376
2377 [BZ #13706]
2378 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2379 * elf/Makefile: Add rules to run tst-unused-dep.out.
2380
8847f037
DM
23812012-02-28 David S. Miller <davem@davemloft.net>
2382
2383 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2384 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2385 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2386 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2387 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2388 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2389
169d7f11
JM
23902012-02-29 Joseph Myers <joseph@codesourcery.com>
2391
2392 * math/libm-test.inc (llround_test): Move one test from
2393 lround_test. Use TEST_f_L in moved test.
2394 (lround_test): Move misplaced test to llround_test. Add testcase
2395 from bug 2561.
2396
39adf059
UD
23972012-02-28 Ulrich Drepper <drepper@gmail.com>
2398
2399 * sysdeps/x86_64/fpu/e_expf.S: New file.
2400 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2401
71b5d1c5
SB
24022012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2403
2404 [BZ #13637]
2405 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2406 of remain_len that may cause incomplete multi-byte character and
2407 false match.
2408 * posix/bug-regex33.c: New file.
2409 * posix/Makefile (tests): Add bug-regex33.
2410
1f77f049
JM
24112012-02-28 Joseph Myers <joseph@codesourcery.com>
2412
2413 * manual/macros.texi: New file.
2414 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2415 * manual/libc.texinfo: Include macros.texi.
2416 * manual/creatute.texi: Likewise.
2417 * manual/install.texi: Likewise.
2418 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2419 @glibcadj{} in references to the GNU C Library.
2420 * manual/charset.texi: Likewise.
2421 * manual/conf.texi: Likewise.
2422 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2423 when not using those macros.
2424 * manual/creature.texi: Likewise.
2425 * manual/crypt.texi: Likewise.
2426 * manual/errno.texi: Likewise.
2427 * manual/filesys.texi: Likewise.
2428 * manual/header.texi: Likewise.
2429 * manual/install.texi: Likewise.
2430 * manual/intro.texi: Likewise.
2431 * manual/io.texi: Likewise.
2432 * manual/job.texi: Likewise.
2433 * manual/lang.texi: Likewise.
2434 * manual/libc.texiinfo: Likewise.
2435 * manual/llio.texi: Likewise.
2436 * manual/locale.texi: Likewise.
2437 * manual/maint.texi: Likewise.
2438 * manual/math.texi: Likewise.
2439 * manual/memory.texi: Likewise.
2440 * manual/message.texi: Likewise.
2441 * manual/nss.texi: Likewise.
2442 * manual/pattern.texi: Likewise.
2443 * manual/process.texi: Likewise.
2444 * manual/resource.texi: Likewise.
2445 * manual/search.texi: Likewise.
2446 * manual/setjmp.texi: Likewise.
2447 * manual/signal.texi: Likewise.
2448 * manual/socket.texi: Likewise.
2449 * manual/startup.texi: Likewise.
2450 * manual/stdio.texi: Likewise.
2451 * manual/string.texi: Likewise.
2452 * manual/sysinfo.texi: Likewise.
2453 * manual/syslog.texi: Likewise.
2454 * manual/terminal.texi: Likewise.
2455 * manual/time.texi: Likewise.
2456 * manual/users.texi: Likewise.
2457 * INSTALL: Regenerated.
2458 * NOTES: Regenerated.
d40c5d54 2459 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 2460
450bf206
AS
24612012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2462
2463 * include/dirent.h: Include <dirstream.h> before
2464 <dirent/dirent.h>.
2465
741a235b
DM
24662012-02-28 David S. Miller <davem@davemloft.net>
2467
2468 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2469 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2470 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2471 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2472
d6b5aa58
DM
24732012-02-27 David S. Miller <davem@davemloft.net>
2474
1aff59a3
DM
2475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2477 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2478 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2479
d6b5aa58
DM
2480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2481 frame pointer instead of stack pointer relative arg slot.
2482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2483 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2484 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2485
433f48bf
CD
24862012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2487
2488 [BZ #3992]
2489 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2490
d674b76d
DM
24912012-02-27 David S. Miller <davem@davemloft.net>
2492
2493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2497 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2498 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2499 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2500 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2501
0e7727f7
JM
25022012-02-27 Joseph Myers <joseph@codesourcery.com>
2503
2504 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2505 later. Allow versions 5-9.
43be4ca2 2506 * configure: Regenerated.
0e7727f7
JM
2507 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2508 required minimum version and 4.6 as recommended version. Do not
2509 mention bugs in GCC 2.7 and 2.8.
43be4ca2 2510 * INSTALL: Regenerated.
0e7727f7 2511
a78bc654
DM
25122012-02-27 David S. Miller <davem@davemloft.net>
2513
428d5830
DM
2514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2518 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2519 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2520 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2521 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2522
a78bc654
DM
2523 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2524 manipulate bits before adding and subtracting TWO112[sx].
2525 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2526
4579f81c
RM
25272012-02-27 Roland McGrath <roland@hack.frob.com>
2528
36c8acb4
RM
2529 [BZ #13775]
2530 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2531 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2532 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2533 being in POSIX, because they are in 1003.1-2008.
2534
84ad622b
RM
2535 * rt/tst-aio.c: Include <fcntl.h>.
2536 * rt/tst-aio7.c: Likewise.
2537 * rt/tst-aio64.c: Likewise.
2538
4579f81c
RM
2539 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2540
abd923db
JM
25412012-02-27 Joseph Myers <joseph@codesourcery.com>
2542
2543 * manual/install.texi (--with-headers): Describe headers as
2544 interface headers, not private headers.
2545 (Specific advice for GNU/Linux systems): Describe use of headers
2546 from "make headers_install", not private headers from older
2547 kernels.
43be4ca2 2548 * INSTALL: Regenerated.
abd923db
JM
2549 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2550 Change to 2.6.19.
2551 * sysdeps/unix/sysv/linux/configure: Regenerated.
2552
6664049b
JM
2553 * manual/llio.texi (fclean): Remove documentation.
2554
bb8b6697
JM
2555 * manual/Makefile (libc-texi-generated): New variable. Include
2556 version.texi.
2557 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2558 $(libc-texi-generated), not duplicated list of files.
2559 (version.texi, stamp-version): New rules.
2560 (realclean): Remove $(libc-texi-generated), not individual files
2561 from that list. Do not remove dir-add.texinfo.
2562 * manual/libc.texinfo: Comment out uses of edition numbers and
2563 references to printed manual. Remove last-updated dates.
2564 (EDITION): Comment out.
2565 (ISBN): Likewise.
2566 (VERSION, UPDATED): Remove.
2567 (version.texi): Include.
2568
12e5c3b9
AS
25692012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2570
2571 * sysdeps/posix/spawni.c: Include <signal.h>.
2572 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2573 * sysdeps/pthread/aio_fsync.c: Likewise.
2574
4efeffc1 25752012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 2576
ba63ba08
UD
2577 * conform/Makefile (tests): Run only when not cross-compiling and
2578 when fast-check is not defined.
2579
d94a4670
UD
2580 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2581 * conform/data/limits.h-data: Fixes for POSIX2008.
2582 * conform/run-conformtest.sh: Run all tests.
2583 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2584 headers.
2585 * include/bits/dlfcn.h: Likewise.
2586 * include/langinfo.h: Likewise.
2587 * include/monetary.h: Likewise.
2588 * include/sys/poll.h: Likewise.
2589
2590 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2591 for __USE_GNU.
2592 * posix/spawn.h: Define __need_sigset_t.
2593 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2594 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2595 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2596 to get sigevent_t only.
2597 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2598 only for __USE_GNU.
2599 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2600 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2601 process_vm_writev only for __USE_GNU.
2602 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
2603
2604 * conform/Makefile: For now ignore errors from run-conformtest.
2605 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2606 POSIX to avoid namespace pollution. Don't prepend headers.
2607 * conform/data/aio.h-data: Fixes for POSIX testing.
2608 * conform/data/fcntl.h-data: Likewise.
2609 * conform/data/glob.h-data: Likewise.
2610 * conform/data/grp.h-data: Likewise.
2611 * conform/data/pthread.h-data: Likewise.
2612 * conform/data/pwd.h-data: Likewise.
2613 * conform/data/signal.h-data: Likewise.
2614 * conform/data/spawn.h-data: Likewise.
2615 * conform/data/stdio.h-data: Likewise.
2616 * conform/data/stdlib.h-data: Likewise.
2617 * conform/data/stropts.h-data: Likewise.
2618 * conform/data/sys/mman.h-data: Likewise.
2619 * conform/data/sys/stat.h-data: Likewise.
2620 * conform/data/sys/types.h-data: Likewise.
2621 * conform/data/sys/wait.h-data: Likewise.
2622 * conform/data/time.h-data: Likewise.
2623 * conform/data/unistd.h-data: Likewise.
2624 * conform/data/utime.h-data: Likewise.
2625
2626 * io/sys/stat.h: fchmod was always in POSIX.
2627 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2628 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2629 * rt/aio.h: Define __need_timespec before including <time.h>.
2630 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2631 struct. Add forward declaration of pthread_attr_t and use it in
2632 sigevent.
2633 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2634 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2635 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2636 always remove CLK_TCK definition.
2637
c20105c3
AS
26382012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2639
2640 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2641
7a270350
UD
26422012-02-25 Ulrich Drepper <drepper@gmail.com>
2643
31341567
UD
2644 * conform/run-conformtest.sh: New file.
2645 * conform/Makefile: Run run-conformtest for tests.
2646 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2647 support.
2648
2649 * conform/data/uchar.h-data: New file.
2650 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2651 * conform/data/arpa/inet.h-data: Likewise.
2652 * conform/data/assert.h-data: Likewise.
2653 * conform/data/complex.h-data: Likewise.
2654 * conform/data/cpio.h-data: Likewise.
2655 * conform/data/ctype.h-data: Likewise.
2656 * conform/data/dirent.h-data: Likewise.
2657 * conform/data/dlfcn.h-data: Likewise.
2658 * conform/data/errno.h-data: Likewise.
2659 * conform/data/fcntl.h-data: Likewise.
2660 * conform/data/float.h-data: Likewise.
2661 * conform/data/fmtmsg.h-data: Likewise.
2662 * conform/data/fnmatch.h-data: Likewise.
2663 * conform/data/ftw.h-data: Likewise.
2664 * conform/data/glob.h-data: Likewise.
2665 * conform/data/grp.h-data: Likewise.
2666 * conform/data/iconv.h-data: Likewise.
2667 * conform/data/inttypes.h-data: Likewise.
2668 * conform/data/langinfo.h-data: Likewise.
2669 * conform/data/libgen.h-data: Likewise.
2670 * conform/data/limits.h-data: Likewise.
2671 * conform/data/locale.h-data: Likewise.
2672 * conform/data/math.h-data: Likewise.
2673 * conform/data/monetary.h-data: Likewise.
2674 * conform/data/mqueue.h-data: Likewise.
2675 * conform/data/ndbm.h-data: Likewise.
2676 * conform/data/net/if.h-data: Likewise.
2677 * conform/data/netdb.h-data: Likewise.
2678 * conform/data/netinet/in.h-data: Likewise.
2679 * conform/data/nl_types.h-data: Likewise.
2680 * conform/data/poll.h-data: Likewise.
2681 * conform/data/pthread.h-data: Likewise.
2682 * conform/data/pwd.h-data: Likewise.
2683 * conform/data/regex.h-data: Likewise.
2684 * conform/data/sched.h-data: Likewise.
2685 * conform/data/search.h-data: Likewise.
2686 * conform/data/semaphore.h-data: Likewise.
2687 * conform/data/setjmp.h-data: Likewise.
2688 * conform/data/signal.h-data: Likewise.
2689 * conform/data/spawn.h-data: Likewise.
2690 * conform/data/stdarg.h-data: Likewise.
2691 * conform/data/stdio.h-data: Likewise.
2692 * conform/data/stdlib.h-data: Likewise.
2693 * conform/data/string.h-data: Likewise.
2694 * conform/data/strings.h-data: Likewise.
2695 * conform/data/stropts.h-data: Likewise.
2696 * conform/data/sys/ipc.h-data: Likewise.
2697 * conform/data/sys/mman.h-data: Likewise.
2698 * conform/data/sys/msg.h-data: Likewise.
2699 * conform/data/sys/resource.h-data: Likewise.
2700 * conform/data/sys/select.h-data: Likewise.
2701 * conform/data/sys/sem.h-data: Likewise.
2702 * conform/data/sys/shm.h-data: Likewise.
2703 * conform/data/sys/socket.h-data: Likewise.
2704 * conform/data/sys/stat.h-data: Likewise.
2705 * conform/data/sys/statvfs.h-data: Likewise.
2706 * conform/data/sys/time.h-data: Likewise.
2707 * conform/data/sys/timeb.h-data: Likewise.
2708 * conform/data/sys/times.h-data: Likewise.
2709 * conform/data/sys/types.h-data: Likewise.
2710 * conform/data/sys/uio.h-data: Likewise.
2711 * conform/data/sys/un.h-data: Likewise.
2712 * conform/data/sys/utsname.h-data: Likewise.
2713 * conform/data/sys/wait.h-data: Likewise.
2714 * conform/data/syslog.h-data: Likewise.
2715 * conform/data/tar.h-data: Likewise.
2716 * conform/data/termios.h-data: Likewise.
2717 * conform/data/utime.h-data: Likewise.
2718 * conform/data/utmpx.h-data: Likewise.
2719 * conform/data/varargs.h-data: Likewise.
2720 * conform/data/wchar.h-data: Likewise.
2721 * conform/data/wctype.h-data: Likewise.
2722 * conform/data/wordexp.h-data: Likewise.
2723
2724 * include/stropts.h: New file.
2725 * include/uchar.h: New file.
2726 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2727 * include/assert.h: Likewise.
2728 * include/ctype.h: Likewise.
2729 * include/dirent.h: Likewise.
2730 * include/dlfcn.h: Likewise.
2731 * include/fcntl.h: Likewise.
2732 * include/fnmatch.h: Likewise.
2733 * include/glob.h: Likewise.
2734 * include/grp.h: Likewise.
2735 * include/libio.h: Likewise.
2736 * include/locale.h: Likewise.
2737 * include/math.h: Likewise.
2738 * include/net/if.h: Likewise.
2739 * include/netdb.h: Likewise.
2740 * include/netinet/in.h: Likewise.
2741 * include/pthread.h: Likewise.
2742 * include/pwd.h: Likewise.
2743 * include/regex.h: Likewise.
2744 * include/sched.h: Likewise.
2745 * include/search.h: Likewise.
2746 * include/setjmp.h: Likewise.
2747 * include/signal.h: Likewise.
2748 * include/stdio.h: Likewise.
2749 * include/stdlib.h: Likewise.
2750 * include/string.h: Likewise.
2751 * include/sys/cdefs.h: Likewise.
2752 * include/sys/mman.h: Likewise.
2753 * include/sys/msg.h: Likewise.
2754 * include/sys/resource.h: Likewise.
2755 * include/sys/select.h: Likewise.
2756 * include/sys/socket.h: Likewise.
2757 * include/sys/stat.h: Likewise.
2758 * include/sys/statvfs.h: Likewise.
2759 * include/sys/time.h: Likewise.
2760 * include/sys/times.h: Likewise.
2761 * include/sys/uio.h: Likewise.
2762 * include/sys/utsname.h: Likewise.
2763 * include/sys/wait.h: Likewise.
2764 * include/termios.h: Likewise.
2765 * include/time.h: Likewise.
2766 * include/ulimit.h: Likewise.
2767 * include/unistd.h: Likewise.
2768 * include/utime.h: Likewise.
2769 * include/wchar.h: Likewise.
2770 * include/wctype.h: Likewise.
2771 * include/wordexp.h: Likewise.
2772
2773 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2774
7a270350
UD
2775 * time/time.h: TIME_UTC must be a macro.
2776 Make timespec_get available for ISO C11 only as well.
2777
7724defc
UD
27782012-02-24 Ulrich Drepper <drepper@gmail.com>
2779
2780 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2781 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2782
6b1d1d46
JM
27832012-02-24 Joseph Myers <joseph@codesourcery.com>
2784
2785 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 2786
0f8bbd69
JM
27872012-02-24 Joseph Myers <joseph@codesourcery.com>
2788
2789 * manual/texinfo.tex: Update to version 2012-01-19.16.
2790
66ab80bc
JM
27912012-02-24 Joseph Myers <joseph@codesourcery.com>
2792
2793 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2794
74981cc5
RM
27952012-02-24 Roland McGrath <roland@hack.frob.com>
2796
ee968201
RM
2797 [BZ #13738]
2798 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2799 * manual/fdl-1.3.texi: New file.
2800 * manual/fdl-1.1.texi: File removed.
2801
74981cc5
RM
2802 [BZ #13738]
2803 * manual/libc.texinfo (FDL_VERSION): New @set.
2804 Use it for mention of FDL in cover text.
2805 (Documentation License): Use it in @include file name.
2806
7bb764bc
JM
28072012-02-22 Joseph Myers <joseph@codesourcery.com>
2808 Roland McGrath <roland@hack.frob.com>
2809
2810 [BZ #5461]
2811 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2812 not LONG_LONG_MAX and LONG_LONG_MIN.
2813 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2814 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2815 name.
2816 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2817
6cbeae47
JM
28182012-02-22 Joseph Myers <joseph@codesourcery.com>
2819
2820 [BZ #2547]
2821 [BZ #11365]
2822 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2823 manipulate bits before adding and subtracting TWO23[sx].
2824 * math/libm-test.inc (nearbyint_test): Add more tests.
2825
fe45ce09
JM
28262012-02-22 Joseph Myers <joseph@codesourcery.com>
2827
2828 [BZ #2548]
2829 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2830 bits before adding and subtracting TWO23[sx].
2831 * math/libm-test.inc (rint_test): Add more tests.
2832 (rint_test_tonearest): Likewise.
2833 (rint_test_towardzero): Likewise.
2834 (rint_test_downward): Likewise.
2835 (rint_test_upward: Likewise.
2836
ff3b3d82
JM
28372012-02-22 Joseph Myers <joseph@codesourcery.com>
2838
2839 [BZ #10110]
2840 * include/stdc-predef.h: New file. Extracted from features.h.
2841 * include/features.h: Include stdc-predef.h.
2842 * Makefile (headers): Add stdc-predef.h.
2843 * CONFORMANCE (Compiler limitations): Update.
2844
ef0aab35
JM
28452012-02-22 Joseph Myers <joseph@codesourcery.com>
2846
2847 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2848
58639409
DM
28492012-02-21 David S. Miller <davem@davemloft.net>
2850
2851 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2852 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2853
c0e70b25
DM
28542012-02-20 David S. Miller <davem@davemloft.net>
2855
2856 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2857 using a normal save/restore sequence, rather than allocating a
2858 dummy stack frame just to store a frame pointer and restore.
2859 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2860
fb06851d
JM
28612012-02-21 Joseph Myers <joseph@codesourcery.com>
2862
2863 * manual/install.texi: Fix stray word in line-wrapped comment.
2864
7a8b71c3
DM
28652012-02-20 David S. Miller <davem@davemloft.net>
2866
d510c123
DM
2867 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2868 both binutils and gcc support GOTDATA.
2869
0722d7c2
DM
2870 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2871 "rd %pc" in the PIC register setup sequences.
2872
3d2b3019
DM
2873 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2874 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2875 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2876 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2877 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2878 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2879 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2880 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2881 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2882 (SYSCALL_ERROR_HANDLER): Likewise.
2883 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2884 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2885 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2886 (SYSCALL_ERROR_HANDLER): Likewise.
2887
c80098a9
DM
2888 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2889 (HAVE_GCC_GOTDATA): New.
2890 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2891 relocation support in both binutils and gcc.
2892 * sysdeps/sparc/elf/configure: Regenerate.
2893
3a2545a0
DM
2894 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2895 * sysdeps/sparc/sparc32/elf/configure: Delete.
2896 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2897 * sysdeps/sparc/sparc64/elf/configure: Delete.
2898 * sysdeps/sparc/elf/configure.in: New file.
2899 * sysdeps/sparc/elf/configure: Generate.
2900
7a8b71c3
DM
2901 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2902 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2903 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2904 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2905 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2906
f1e86fca
JM
29072012-02-21 Joseph Myers <joseph@codesourcery.com>
2908
2909 * manual/install.texi: Do not mention specific glibc version
2910 numbers.
2911 * manual/libc.texinfo (VERSION, UPDATED): Update.
2912 (@copying): Use @copyright{} and range of years.
2913
0e7dfaef
JM
29142012-02-21 Joseph Myers <joseph@codesourcery.com>
2915
2916 [BZ #13695]
2917 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2918 [crti.S not in sysdirs] (generated): Do not append.
2919 [crti.S not in sysdirs] (omit-deps): Likewise.
2920 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2921 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2922 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2923 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2924 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2925 Likewise.
2926 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2927 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2928 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2929 * csu/defs.awk: Remove file.
2930 * sysdeps/generic/initfini.c: Likewise.
2931 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2932 variable.
2933 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2934 Likewise.
2935
599af3ca
JM
29362012-02-20 Joseph Myers <joseph@codesourcery.com>
2937
2938 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2939 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2940 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2941 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2942 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2943 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2944 <bits/epoll.h>.
2945 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2946 (__EPOLL_PACKED): Define to empty if not defined by
2947 <bits/epoll.h>.
2948 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2949 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2950 bits/epoll.h.
2951
0e499750
JM
29522012-02-20 Joseph Myers <joseph@codesourcery.com>
2953
2954 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2955 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2956 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2957 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2958 <bits/timerfd.h>.
2959 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2960 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2961 bits/timerfd.h.
2962
5ad91f6e
JM
29632012-02-20 Joseph Myers <joseph@codesourcery.com>
2964
2965 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2966 in C locale.
2967 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2968 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2969 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2971
06b99b02
AJ
29722012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2973
2974 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2975 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2976
7638c0fd
AS
29772012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2978
2979 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2980 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2981 defined.
2982 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2983 Likewise.
2984 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2985 entry for 2.16.
2986
92221550
AJ
29872012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2988
2989 * math/w_acos.c: Use non-signaling floating-point comparisons.
2990 * math/w_acosf.c: Likewise.
2991 * math/w_acosh.c: Likewise.
2992 * math/w_acoshf.c: Likewise.
2993 * math/w_acoshl.c: Likewise.
2994 * math/w_acosl.c: Likewise.
2995 * math/w_asin.c: Likewise.
2996 * math/w_asinf.c: Likewise.
2997 * math/w_asinl.c: Likewise.
2998 * math/w_atanh.c: Likewise.
2999 * math/w_atanhf.c: Likewise.
3000 * math/w_atanhl.c: Likewise.
3001 * math/w_exp2.c: Likewise.
3002 * math/w_exp2f.c: Likewise.
3003 * math/w_exp2l.c: Likewise.
3004 * math/w_j0.c: Likewise.
3005 * math/w_j0f.c: Likewise.
3006 * math/w_j0l.c: Likewise.
3007 * math/w_j1.c: Likewise.
3008 * math/w_j1f.c: Likewise.
3009 * math/w_j1l.c: Likewise.
3010 * math/w_jn.c: Likewise.
3011 * math/w_jnf.c: Likewise.
3012 * math/w_log.c: Likewise.
3013 * math/w_log10.c: Likewise.
3014 * math/w_log10f.c: Likewise.
3015 * math/w_log10l.c: Likewise.
3016 * math/w_log2.c: Likewise.
3017 * math/w_log2f.c: Likewise.
3018 * math/w_log2l.c: Likewise.
3019 * math/w_logf.c: Likewise.
3020 * math/w_logl.c: Likewise.
3021 * math/w_sqrt.c: Likewise.
3022 * math/w_sqrtf.c: Likewise.
3023 * math/w_sqrtl.c: Likewise.
3024 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3025 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3026 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3027 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3028 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3029
ebaf36eb
JM
30302012-02-19 Joseph Myers <joseph@codesourcery.com>
3031
3032 [BZ #9739]
3033 * manual/string.texi (strnlen): Use correct parameter name in
3034 equivalent expression.
3035
71c254a6
JM
30362012-02-19 Joseph Myers <joseph@codesourcery.com>
3037
3038 [BZ #11174]
3039 * manual/users.texi (seteuid): Consistently use neweuid for
3040 argument name.
3041
16d2c631
JM
30422012-02-19 Joseph Myers <joseph@codesourcery.com>
3043
3044 [BZ #13704]
3045 * manual/nss.texi (Services in the NSS configuration): Correct
3046 list of services in example configuration file.
3047
cd837b09
NB
30482012-02-19 Nick Bowler <nbowler@draconx.ca>
3049
3050 [BZ #11322]
3051 * manual/arith.texi: Remove statements about negative zero
3052 behaving identically to zero.
3053
02c4bbad
JM
30542012-02-18 Joseph Myers <joseph@codesourcery.com>
3055
3056 [BZ #5993]
3057 * manual/install.texi: Do not document upgrading from libc5.
3058
366842e7
JM
30592012-02-18 Joseph Myers <joseph@codesourcery.com>
3060
3061 [BZ #4596]
3062 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3063
dd54084d
DM
30642012-02-18 David S. Miller <davem@davemloft.net>
3065
3066 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3067 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3068 %o7 across the call.
3069 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3070 instead.
3071 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3072 SETUP_PIC_REG_LEAF.
3073 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3074 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3075 * sysdeps/sparc/crtn.S: Likewise.
3076
2bcc53a3
UD
30772012-02-17 Ulrich Drepper <drepper@gmail.com>
3078
3079 * aout/Makefile: Remove.
3080
09c093b5
RK
30812012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3082
3083 [BZ #13058]
3084 * manual/examples/argp-ex1.c (main): Format definition in GNU
3085 style.
3086 * manual/examples/argp-ex2.c (main): Likewise.
3087 * manual/examples/argp-ex3.c (main): Likewise.
3088 * manual/examples/argp-ex4.c (main): Likewise.
3089 * manual/examples/longopt.c (main): Use new-style prototype
3090 definition.
3091 * manual/examples/strncat.c (main): Specify return type and use
3092 (void) for arguments.
3093 * manual/examples/subopt.c (main): Use char **argv argument.
3094
2ee633a2
JM
30952012-02-17 Joseph Myers <joseph@codesourcery.com>
3096
3097 [BZ #5077]
3098 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3099 rounding modes.
3100
0520adde
FB
31012012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3102
3103 [BZ #6907]
3104 * manual/string.texi (strchr): Change when strchrnul is
3105 recommended.
3106
3f4081cd
DGM
31072012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3108
3109 [BZ #174]
3110 * manual/locale.texi (setlocale): Document LOCPATH.
3111
d1b10e78
JM
31122012-02-17 Joseph Myers <joseph@codesourcery.com>
3113
3114 [BZ #10210]
3115 * manual/process.texi (execle): Move @dots{} before last argument.
3116
79c6869c
PB
31172012-02-17 Paul Bolle <pebolle@tiscali.nl>
3118
3119 [BZ #12047]
3120 * manual/charset.texi (Generic Charset Conversion): Fix typo
3121 (LC_TYPE -> LC_CTYPE).
3122
cc6e48bc
NB
31232012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3124
3125 [BZ #5805]
3126 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3127 (scalbnf): Likewise.
3128 (scalbnl): Likewise.
3129 (scalbln): Likewise.
3130 (scalblnf): Likewise.
3131 (scalblnl): Likewise.
3132 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3133 (vwarnx): Likewise.
3134 (verr): Likewise.
3135 (verrx): Likewise.
3136 * manual/filesys.texi (telldir): Use braces around return type.
3137 * manual/llio.texi (mmap): Add space after comma.
3138 (mmap64): Likewise.
3139 * manual/math.texi (jn): Use @var{} on parameter names.
3140 (jnf): Likewise.
3141 (jnl): Likewise.
3142 (yn): Likewise.
3143 (ynf): Likewise.
3144 (ynl): Likewise.
3145 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3146 line.
3147 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3148 "...".
3149 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3150 (sched_get_priority_max): Likewise.
3151 * manual/signal.texi (sigvec): Add space after comma.
3152 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3153 names.
3154 (if_indextoname): Likewise.
3155 (if_freenameindex): Likewise.
3156 (sendto): Use ',' instead of '.' in prototype.
3157 * manual/startup.texi (syscall): Use @dots{} instead of literal
3158 "...".
3159 * manual/stdio.texi (__fpending): Separate initial words of
3160 paragraph from @deftypefun line.
3161 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3162 "...".
3163 (vsyslog): Use @var{} on parameter names.
3164 * manual/terminal.texi (stty): Use @var{} on parameter names.
3165 * manual/users.texi (getutmp): Use @var{} on parameter names.
3166 (getutmpx): Likewise.
3167
5b23062f
JM
31682012-02-17 Joseph Myers <joseph@codesourcery.com>
3169
3170 [BZ #6884]
3171 * manual/stdio.texi (fopen): Fix typos in description of
3172 ",ccs=STRING".
3173
8dee4833
AJ
31742012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3175
3176 [BZ #4026]
3177 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3178 get clock_id definition.
3179
9078ce93
TS
31802012-02-17 Thomas Schwinge <thomas@schwinge.name>
3181
3182 [BZ #4822]
3183 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3184 (madvise): Cast every argument to void on its own.
3185
3835c55f
JM
31862012-02-17 Joseph Myers <joseph@codesourcery.com>
3187
3188 [BZ #9902]
3189 * manual/startup.texi (Exit Status): Fix typo.
3190
35c47e37
JM
31912012-02-17 Joseph Myers <joseph@codesourcery.com>
3192
3193 [BZ #10140]
3194 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3195 * manual/examples/argp-ex2.c: Likewise.
3196 * manual/examples/argp-ex3.c: Likewise.
3197
e3b69ca7
RH
31982012-02-16 Richard Henderson <rth@redhat.com>
3199
3200 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3201 * sysdeps/s390/s390-32/initfini.c: Remove.
3202 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3203 * sysdeps/s390/s390-64/initfini.c: Remove.
3204
df83af67
KK
32052012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3206
3207 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3208 compiler output for sysdeps/generic/initfini.c.
3209 * sysdeps/sh/elf/initfini.c: Remove file.
3210
f63f3380
DM
32112012-02-16 David S. Miller <davem@davemloft.net>
3212
fb59b3a4
DM
3213 [BZ #11494]
3214 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3215
f63f3380
DM
3216 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3217 * sysdeps/sparc/crti.S: New file.
3218 * sysdeps/sparc/crtn.S: New file.
3219 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3220 * sysdeps/sparc/sparc64/Makefile: Likewise.
3221
df6a4a4a
MF
32222012-02-15 Mike Frysinger <vapier@gentoo.org>
3223
6dd8f3dc 3224 [BZ #3335]
df6a4a4a
MF
3225 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3226
1cac7236
RM
32272012-02-15 Roland McGrath <roland@hack.frob.com>
3228
d2c736f8
RM
3229 [BZ #4822]
3230 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3231
1cac7236
RM
3232 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3233 (write, read, close): Likewise.
3234 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3235
8e475601
JM
32362012-02-15 Joseph Myers <joseph@codesourcery.com>
3237
3238 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3239 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3240 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3241 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3242 <bits/signalfd.h>.
3243 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3244 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3245 bits/signalfd.h.
3246
ed656b40
MP
32472012-02-14 Marek Polacek <polacek@redhat.com>
3248
3249 * sysdeps/x86_64/crti.S: New file.
3250 * sysdeps/x86_64/crtn.S: New file.
3251 * sysdeps/x86_64/elf/initfini.c: Remove file.
3252
2a979d3a
JM
32532012-02-13 Joseph Myers <joseph@codesourcery.com>
3254
3255 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3256 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3257 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3258 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3259 <bits/inotify.h>.
3260 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3261 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3262 bits/inotify.h.
3263
2a418ac3
JM
32642012-02-13 Joseph Myers <joseph@codesourcery.com>
3265
3266 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3267 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3268 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3269 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3270 <bits/eventfd.h>.
3271 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3272 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3273 bits/eventfd.h.
3274
fb779be7
TS
32752012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3276
e19e83c5
RM
3277 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3278 __feraiseexcept instead of feraiseexcept.
7c35ffed 3279
fb779be7
TS
3280 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3281 nanosleep invocations.
3282 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3283 strings, and add error checking for a nanosleep invocations.
3284
59ba27a6
PE
32852012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3286
3287 Replace FSF snail mail address with URLs, as per GNU coding standards.
3288 Most of the snail mail addresses were wrong anyway, and omitting
3289 them makes the source code easier to maintain. Almost all of the
3290 changes are to license notices and to locale LC_IDENTIFICATION
3291 addresses, except for this one:
3292 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3293 not its snail mail address.
3294
57b957eb
RH
32952012-02-09 Richard Henderson <rth@twiddle.net>
3296
af850b1c
RH
3297 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3298 of kernel-features.h.
3299
57b957eb
RH
3300 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3301
6b73181a
MP
33022012-02-08 Marek Polacek <polacek@redhat.com>
3303
3304 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3305 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3306 * sysdeps/gnu/_G_config.h: Likewise.
3307 * sysdeps/generic/_G_config.h: Likewise.
3308
26ecc33a
AS
33092012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3310
6c6dbc63
AS
3311 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3312 tests.
3313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3314
e216c012
AS
3315 * sysdeps/powerpc/powerpc32/crti.S: New file.
3316 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3317 * sysdeps/powerpc/powerpc64/crti.S: New file.
3318 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3319
26ecc33a
AS
3320 * Makeconfig (have-initfini): Don't set.
3321 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3322 * configure.in (nopic_initfini): Don't substitute.
3323 * config.h.in (HAVE_INITFINI): Don't #undef.
3324 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3325 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3326
3add8e13
JM
33272012-02-08 Joseph Myers <joseph@codesourcery.com>
3328
3329 Support crti.S and crtn.S provided directly by architectures.
3330 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3331 [crti.S in sysdirs] (omit-deps): Likewise.
3332 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3333 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3334 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3335 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3336 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3337 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3338 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3339 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3340 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3341 compiler output for sysdeps/generic/initfini.c.
3342 * sysdeps/i386/elf/Makefile: Remove file.
3343 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3344
a22f12b4
MP
33452012-02-07 Marek Polacek <polacek@redhat.com>
3346
3347 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3348 * sysdeps/gnu/_G_config.h: Likewise.
3349 * sysdeps/mach/hurd/_G_config.h: Likewise.
3350
148cf100
MP
33512012-02-07 Marek Polacek <polacek@redhat.com>
3352
3353 * math/Makefile (tests): Add tst-CMPLX2.
3354 * math/tst-CMPLX2.c: New file.
3355
cfdc0dd7
AS
33562012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3357
84ba42c4
AS
3358 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3359
cfdc0dd7
AS
3360 * math/libm-test.inc (jn_test): Add missing L suffix.
3361
622c86f4
MP
33622012-02-06 Marek Polacek <polacek@redhat.com>
3363
3364 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3365 * sysdeps/i386/fpu/e_powf.S: Likewise.
3366 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3367 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3368 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3369 * sysdeps/i386/fpu/e_pow.S: Likewise.
3370 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3371 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3372 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3373 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3374 * sysdeps/i386/fpu/e_log2.S: Likewise.
3375 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3376 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3377 * sysdeps/i386/fpu/e_powl.S: Likewise.
3378 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3379 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3380 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3381 * sysdeps/i386/fpu/e_logl.S: Likewise.
3382 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3383 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3384 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3385 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3386 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3387 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3388 * sysdeps/i386/fpu/e_log.S: Likewise.
3389 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3390 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3391 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3392 * sysdeps/i386/fpu/e_logf.S: Likewise.
3393 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3394 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3395 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3396 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3397 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3398 * sysdeps/i386/fpu/e_log10.S: Likewise.
3399 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3400 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3401 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3402 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3403 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3404 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3405 * sysdeps/i386/asm-syntax.h: Likewise.
3406 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3407 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3408 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3409 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3410 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3411 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3412 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3413 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3414 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3415 * sysdeps/powerpc/sysdep.h: Likewise.
3416 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3417 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3418
d4a54ac6
JM
34192012-02-06 Joseph Myers <joseph@codesourcery.com>
3420
3421 [BZ #411]
3422 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3423
314054ea
JM
34242012-02-06 Joseph Myers <joseph@codesourcery.com>
3425
3426 * sysdeps/i386/sysdep.h: Include <features.h>.
3427 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3428 version.
3429
d8e0ca50
JM
34302012-02-05 Joseph Myers <joseph@codesourcery.com>
3431
3432 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3433 Define.
3434 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3435 LOAD_PIC_REG_STR.
3436
b1da7dd9
JM
34372012-02-03 Joseph Myers <joseph@codesourcery.com>
3438
3439 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3440 (SETUP_PIC_REG): Use GET_PC_THUNK.
3441 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3442 macro.
3443
9a1d9254
JM
34442012-02-03 Joseph Myers <joseph@codesourcery.com>
3445
3446 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3447 for non-PIC compilation.
3448 (SETUP_PIC_REG): Add .p2align directive.
3449 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3450 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3451 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3452 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3453 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3454 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3455 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3456 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3457 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3458 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3459 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3460 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3461 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3462 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3463 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3464 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3465 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3466 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3467 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3468 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3469 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3470 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3471 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3472 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3473 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3474 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3475 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3476 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3477 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3478 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3479 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3480 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3481 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3482 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3483 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3484 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3485 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3486 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3487 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3488 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3489 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3490
65dc3b75
JM
34912012-02-03 Joseph Myers <joseph@codesourcery.com>
3492
3493 * math/tst-CMPLX.c: Include <stdio.h>.
3494
d55bf177
JM
34952012-01-31 Joseph Myers <joseph@codesourcery.com>
3496
3497 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3498 float.
3499 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3500 * sysdeps/sparc/bits/mathdef.h: Likewise.
3501
69db4f8f
MP
35022012-01-31 Marek Polacek <polacek@redhat.com>
3503
3504 * libio/libio.h: Don't define _PARAMS.
3505 * locale/programs/config.h: Don't define PARAMS.
3506 * stdlib/strtol_l.c: Likewise.
3507 (__strtol_l): Remove PARAMS from the prototype.
3508
41b81892
UD
35092012-01-31 Ulrich Drepper <drepper@gmail.com>
3510
3b49edc0
UD
3511 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3512 names. Just use the correct names. Remove unnecessary wrapper
3513 functions.
3514 * malloc/arena.c: Likewise.
3515 * malloc/hooks.c: Likewise.
3516
41b81892
UD
3517 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3518 ARENA_TEST says not to. Simplify test for creation of a new arena.
3519 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3520
27a25b6e
UD
35212012-01-30 Ulrich Drepper <drepper@gmail.com>
3522
3523 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3524 into tail calls.
3525 (update_get_addr): New function.
3526 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3527 GET_ADDR_MODULE parameter.
3528
c8a89e7d
JM
35292012-01-30 Joseph Myers <joseph@codesourcery.com>
3530
3531 * crypt/cert.c: Remove __STDC__ conditionals.
3532 * crypt/crypt-entry.c: Likewise.
3533 * crypt/crypt_util.c: Likewise.
3534 * libio/filedoalloc.c: Likewise.
3535 * libio/fileops.c: Likewise.
3536 * libio/genops.c: Likewise.
3537 * libio/iofclose.c: Likewise.
3538 * libio/iofdopen.c: Likewise.
3539 * libio/iofopen.c: Likewise.
3540 * libio/iofopen64.c: Likewise.
3541 * libio/iogetdelim.c: Likewise.
3542 * libio/iopopen.c: Likewise.
3543 * libio/obprintf.c: Likewise.
3544 * libio/oldfileops.c: Likewise.
3545 * libio/oldiofclose.c: Likewise.
3546 * libio/oldiofdopen.c: Likewise.
3547 * libio/oldiofopen.c: Likewise.
3548 * libio/oldiopopen.c: Likewise.
3549 * libio/wfiledoalloc.c: Likewise.
3550 * libio/wgenops.c: Likewise.
3551 * locale/programs/xmalloc.c: Likewise.
3552 * misc/syslog.c: Likewise.
3553 * stdio-common/xbug.c: Likewise.
3554 * string/memchr.c: Likewise.
3555 * string/memcmp.c: Likewise.
3556 * string/memrchr.c: Likewise.
3557 * string/rawmemchr.c: Likewise.
3558 * sysdeps/posix/getcwd.c: Likewise.
3559 * time/strftime_l.c: Likewise.
3560
3b100462
JM
35612012-01-30 Joseph Myers <joseph@codesourcery.com>
3562
3563 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
3564 * config.make.in (config-cflags-sse2avx): Define.
3565 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3566 Fix typo.
3567
607998af
CM
35682012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3569
3570 * scripts/config.guess: Update from upstream config git repository.
3571 * scripts/config.sub: Likewise.
3572
3601428f
CM
35732012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3574
3ac8b282
CM
3575 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3576 (EM_NUM): Update.
3577 (R_TILEPRO_*, R_TILEGX_*): New macros.
3578
e034841e
CM
3579 * scripts/firstversions.awk: Fix bug in version range handling.
3580
540d7568
CM
3581 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3582
3601428f
CM
3583 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3584
463de862
CM
3585 * include/sys/epoll.h: New file.
3586 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3587 libc_hidden_def.
3588
73139a76
UD
35892012-01-28 Ulrich Drepper <drepper@gmail.com>
3590
96bc5b45
UD
3591 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3592 Avoid unnecessary __WORDSIZE == 64 test.
3593 (fmaxf): Use VEX format if possible.
3594 (fmax): Likewise.
3595 (fminf): Likewise.
3596 (fmin): Likewise.
3597
56f6f6a2
UD
3598 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3599 * math/math_private.h: Remove libc_fegetround* and
3600 libc_fesetround*.
3601 * sysdeps/i386/configure.in: Check for -msse2avx.
3602 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3603 also if SSE2AVX is defined.
3604 Remove libc_fegetround* and libc_fesetround*.
3605 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3606 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3607 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3608 of HAS_YMM_USABLE.
3609 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3610 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3611 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3612 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3613 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3614
73139a76
UD
3615 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3616
d73f93a4
AZ
36172012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3618
3619 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3620 size is not set.
3621 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3622
6ee65ed6
UD
36232012-01-27 Ulrich Drepper <drepper@gmail.com>
3624
3625 [BZ #13618]
3626 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3627 relocation.
3628 * Makeconfig (libm): Define.
3629 * elf/Makefile: Add rules to build and run tst-relsort1.
3630 * elf/tst-relsort1.c: New file.
3631 * elf/tst-relsort1mod1.c: New file.
3632 * elf/tst-relsort1mod2.c: New file.
3633
8db21882
JM
36342012-01-27 Joseph Myers <joseph@codesourcery.com>
3635
3636 * math/s_ldexp.c: Remove __STDC__ conditionals.
3637 * math/s_ldexpf.c: Likewise.
3638 * math/s_ldexpl.c: Likewise.
3639 * math/s_nextafter.c: Likewise.
3640 * math/s_nexttowardf.c: Likewise.
3641 * math/s_significand.c: Likewise.
3642 * math/s_significandf.c: Likewise.
3643 * math/s_significandl.c: Likewise.
3644 * math/w_jnl.c: Likewise.
3645 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3646 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3647 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3648 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3649 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3650 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3651 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3652 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3653 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3654 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3655 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3656 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3657 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3658 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3659 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3660 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3661 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3662 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3663 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3664 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3665 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3666 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3667 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3668 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3669 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3670 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3671 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3672 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3673 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3674 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3675 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3676 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3677 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3678 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3679 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3680 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3681 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3682 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3683 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3684 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3685 * sysdeps/ieee754/k_standard.c: Likewise.
3686 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3687 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3688 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3689 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3690 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3691 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3692 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3693 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3694 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3695 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3696 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3697 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3698 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3699 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3700 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3701 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3702 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3703 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3704 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3705 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3706 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3707 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3708 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3709 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3710 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3711 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3712 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3713 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3714 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3715 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3716 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3717 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3718 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3719 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3720 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3721 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3722 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3723 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3724 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3725 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3726 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3727 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3728 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3729 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3730 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3731 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3732 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3733 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3734 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3735 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3736 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3737 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3738 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3739 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3740 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3741 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3742 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3743 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3744 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3745 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3746 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3747 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3748 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3749 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3750 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3751 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3752 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3753 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3754 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3755 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3756 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3757 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3758 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3759 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3760 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3761 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3762 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3763 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3764 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3765 * sysdeps/ieee754/s_matherr.c: Likewise.
3766 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3767 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3768 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3769 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3770
965a54a4
JM
37712012-01-26 Joseph Myers <joseph@codesourcery.com>
3772
3773 * crypt/md5.h: Remove __STDC__ conditionals.
3774 * libio/libioP.h: Likewise.
3775 * locale/programs/config.h: Likewise.
3776 * sysdeps/generic/sysdep.h: Likewise.
3777 * sysdeps/i386/asm-syntax.h: Likewise.
3778 * sysdeps/s390/asm-syntax.h: Likewise.
3779 * sysdeps/unix/sysdep.h: Likewise.
3780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3782
7071ad79
JM
37832012-01-26 Joseph Myers <joseph@codesourcery.com>
3784
3785 * libio/libio.h: Remove __STDC__ conditionals.
3786 * malloc/obstack.h: Likewise.
3787 * math/complex.h: Likewise.
3788 * math/math.h: Likewise.
3789 * sysdeps/generic/_G_config.h: Likewise.
3790 * sysdeps/gnu/_G_config.h: Likewise.
3791 * sysdeps/mach/hurd/_G_config.h: Likewise.
3792 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3793 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3794 * sysdeps/sparc/bits/mathdef.h: Likewise.
3795
afc5ed09
UD
37962012-01-26 Ulrich Drepper <drepper@gmail.com>
3797
3798 [BZ #13583]
3799 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 3800 Clean up HAS_* macros.
afc5ed09 3801 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
3802 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3803 possible.
3804 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3805 HAS_AVX.
3806 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3807 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3808 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3809 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3810 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 3811
bdb6de1d
JM
38122012-01-25 Joseph Myers <joseph@codesourcery.com>
3813
3814 * elf/tst-unique3.cc (gets): Remove declaration.
3815 * elf/tst-unique3lib.cc (gets): Likewise.
3816 * elf/tst-unique3lib2.cc (gets): Likewise.
3817 * elf/tst-unique4.cc (gets): Likewise.
3818
b15549e6
UD
38192012-01-24 Ulrich Drepper <drepper@gmail.com>
3820
3821 * include/stdio.h: Add C++ protection. Add gets declarations and
3822 definitions.
3823 * debug/tst-chk1.c: Don't declare gets here.
3824 * stdio-common/tst-gets.c: Likewise.
3825
a037381f
JM
38262012-01-24 Joseph Myers <joseph@codesourcery.com>
3827
3828 * posix/glob: Remove directory.
3829
f1d4aa75
JM
38302012-01-24 Joseph Myers <joseph@codesourcery.com>
3831
3832 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3833
81c0c964
PT
38342012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3835
3836 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3837 of the non-standard EPFNOSUPPORT.
3838
0ea698ae
ST
38392011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3840
3841 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3842 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3843 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3844
d220b117
UD
38452012-01-21 Ulrich Drepper <drepper@gmail.com>
3846
3847 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3848
3e1aa84e
UD
38492012-01-20 Ulrich Drepper <drepper@gmail.com>
3850
3851 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3852 transient errors.
3853 * nscd/grpcache.c (cache_addgr): Likewise.
3854 * nscd/hstcache.c (cache_addhst): Likewise.
3855 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3856 * nscd/pwdcache.c (cache_addpw): Likewise.
3857 * nscd/servicescache.c (cache_addserv): Likewise.
3858
400aa020
UD
38592012-01-16 Ulrich Drepper <drepper@gmail.com>
3860
d77e7869
UD
3861 * malloc/malloc.c: Various cleanups.
3862 * malloc/hooks.c: Likewise.
3863
400aa020
UD
3864 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3865 * stdlib/bug-fmtmsg1.c: New file.
3866
3867 * stdlib/fmtmsg.c (init): Add missing unlock.
3868 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3869
e0a309cf
MP
38702012-01-12 Marek Polacek <polacek@redhat.com>
3871
3872 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3873 and _GNU_SOURCE.
3874
929d11c7
WS
38752012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3876
3877 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3878 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3879 macro to ensure uniqueness of label name.
3880 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3881 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3882
41d0e869
UD
38832012-01-11 Ulrich Drepper <drepper@gmail.com>
3884
0cc5ed3b
UD
3885 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3886
41d0e869
UD
3887 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3888 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3889 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3890 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3891
a47a831a
UD
38922012-01-10 Ulrich Drepper <drepper@gmail.com>
3893
daa891c0
UD
3894 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3895
3896 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3897 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3898 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3899
e58ef0f2
UD
3900 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3901
a47a831a 3902 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
3903 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3904 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 3905 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
3906
3907 * math/bits/math-finite.h: Add ldexp support.
3908
a0bfc9c7
MP
39092012-01-10 Marek Polacek <polacek@redhat.com>
3910
3911 * locale/programs/localedef.h (show_archive_content): Add noreturn
3912 attribute.
3913
d6e97a1d
UD
39142012-01-09 Ulrich Drepper <drepper@gmail.com>
3915
3916 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3917
d5835c26
UD
39182012-01-08 Ulrich Drepper <drepper@gmail.com>
3919
e5f484c6
UD
3920 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3921
d5835c26
UD
3922 * io/Makefile (headers): Add bits/poll2.h.
3923
d1f741e9
WS
39242011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3925
3926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3927 typo #include statement.
3928
ec09c1c4
UD
39292012-01-08 Ulrich Drepper <drepper@gmail.com>
3930
3931 * include/sys/cdefs.h: Define __attribute_alloc_size.
3932 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3933 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3934 * elf/pldd.c: Likewise.
3935 * iconv/iconv_charmap.c: Likewise.
3936 * iconv/iconvconfig.c: Likewise.
3937 * iconv/strtab.c: Likewise.
3938 * locale/programs/locale.c: Likewise.
3939 * locale/programs/localedef.h: Likewise.
3940 * locale/programs/simple-hash.c: Likewise.
3941 * nscd/nscd.h: Likewise.
3942 * nss/makedb.c: Likewise.
3943 * sysdeps/generic/ldconfig.h: Likewise.
3944 * locale/programs/localedef.c: Remove xmalloc prototype.
3945 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3946
20b38e03
PP
39472012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3948
3949 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3950 appropriate.
3951
a0da5fe1
UD
39522012-01-08 Ulrich Drepper <drepper@gmail.com>
3953
1d5a644a 3954 * math/Makefile (tests): Add tst-CMPLX.
669704fd 3955 * math/tst-CMPLX.c: New file.
1d5a644a 3956
8784a6db
UD
3957 * math/complex.h (CMPLXL): Fix typo.
3958
d9a216c0
UD
3959 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3960 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3961 GLIBC_2.16.
3962 * debug/tst-chk1.c: Add poll and ppoll tests.
3963 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3964 * include/sys/poll.h: Add hidden proto for ppoll.
3965 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3966 * sysdeps/mach/hurd/ppoll.c: Likewise.
3967 * io/ppoll.c: Likewise.
3968 * debug/poll_chk.c: New file.
3969 * debug/ppoll_chk.c: New file.
3970 * include/bits/poll2.h: New file.
3971 * io/bits/poll2.h: New file.
3972
ac097f5c
UD
3973 [BZ #1350]
3974 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3975
2119dcfa
UD
3976 * configure.in: static is always set to yes. Remove.
3977 * config.make.in: Don't set build-static.
3978 * Makeconfig: Remove use of build-static.
3979 * dlfcn/Makefile: Likewise.
3980 * elf/Makefile: Likewise.
3981 * math/Makefile: Likewise.
3982 * misc/Makefile: Likewise.
3983 * nptl/Makefile: Likewise.
3984 * sysdeps/mach/hurd/Makefile: Likewise.
3985
121766a9
UD
3986 * configure.in: PWD_P is not used anymore.
3987 * config.make.in: Remove PWD_P entry.
3988
51a1d39c 3989 * configure.in: Remove last remnants of RANLIB.
8720d066 3990 No need to check for signed size_t anymore.
215f4bdc
UD
3991 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3992 and IA-64.
3857022a 3993 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
3994 * aclocal.m4: Likewise.
3995
d3ed7225
UD
3996 * wcsmbs/mbrtoc16.c: Implement using towc function.
3997 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3998 * wcsmbs/wcsmbsload.c: Likewise.
3999 * iconv/gconv_simple.c: Likewise.
4000 * iconv/gconv_int.h: Likewise.
4001 * iconv/gconv_builtin.h: Likewise.
4002 * iconv/iconv_prog.c: Remove CHAR16 handling.
4003
4004 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4005
4006 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4007
a0da5fe1
UD
4008 * configure.in: Remove --with-elf and --enable-bounded options.
4009 Dont set base_machine for ia64. More non-ELF conditions removed.
4010 Remove testing and setting of leading underscore information.
4011 * config.make.in (build-bounded): Set to no.
4012 * config.h.in: Remove NO_UNDERSCORES entry.
4013 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4014 them.
4015 * csu/start.c: Remove !NO_UNDERSCORE code.
4016 * locale/localeinfo.h: Likewise.
4017 * sysdeps/generic/machine-gmon.h: Likewise.
4018 * sysdeps/generic/sysdep.h: Likewise.
4019 * sysdeps/i386/sysdep.h: Likewise.
4020 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4021 * sysdeps/mach/sysdep.h: Likewise.
4022 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4023 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4024 * sysdeps/sh/sysdep.h: Likewise.
4025 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4026 * sysdeps/unix/i386/sysdep.S: Likewise.
4027 * sysdeps/unix/sparc/start.c: Likewise.
4028 * sysdeps/unix/sparc/sysdep.S: Likewise.
4029 * sysdeps/unix/sparc/sysdep.h: Likewise.
4030 * sysdeps/unix/start.c: Likewise.
4031 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4032 * sysdeps/x86_64/sysdep.h: Likewise.
4033
df78418a
UD
40342012-01-07 Ulrich Drepper <drepper@gmail.com>
4035
a784e502
UD
4036 [BZ #13553]
4037 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4038 for non-gcc.
4039 * argp/argp-fmtstream.h: Use const instead __const.
4040 * argp/argp.h: Likewise.
4041 * assert/assert.h: Likewise.
4042 * bits/fenv.h: Likewise.
4043 * bits/sched.h: Likewise.
4044 * bits/sigset.h: Likewise.
4045 * bits/sigthread.h: Likewise.
4046 * catgets/nl_types.h: Likewise.
4047 * conform/data/pthread.h-data: Likewise.
4048 * crypt/crypt-private.h: Likewise.
4049 * crypt/crypt.h: Likewise.
4050 * crypt/crypt_util.c: Likewise.
4051 * ctype/ctype.h: Likewise.
4052 * debug/execinfo.h: Likewise.
4053 * debug/mbsnrtowcs_chk.c: Likewise.
4054 * debug/mbsrtowcs_chk.c: Likewise.
4055 * debug/wcsnrtombs_chk.c: Likewise.
4056 * debug/wcsrtombs_chk.c: Likewise.
4057 * debug/wcstombs_chk.c: Likewise.
4058 * dirent/dirent.h: Likewise.
4059 * dlfcn/dlfcn.h: Likewise.
4060 * elf/neededtest4.c: Likewise.
4061 * grp/grp.h: Likewise.
4062 * gshadow/gshadow.h: Likewise.
4063 * iconv/gconv.h: Likewise.
4064 * iconv/gconv_int.h: Likewise.
4065 * iconv/gconv_simple.c: Likewise.
4066 * iconv/iconv.h: Likewise.
4067 * iconv/loop.c: Likewise.
4068 * iconv/skeleton.c: Likewise.
4069 * include/aio.h: Likewise.
4070 * include/aliases.h: Likewise.
4071 * include/argz.h: Likewise.
4072 * include/arpa/inet.h: Likewise.
4073 * include/assert.h: Likewise.
4074 * include/dirent.h: Likewise.
4075 * include/dlfcn.h: Likewise.
4076 * include/execinfo.h: Likewise.
4077 * include/fcntl.h: Likewise.
4078 * include/fenv.h: Likewise.
4079 * include/glob.h: Likewise.
4080 * include/grp.h: Likewise.
4081 * include/libintl.h: Likewise.
4082 * include/mntent.h: Likewise.
4083 * include/netdb.h: Likewise.
4084 * include/pwd.h: Likewise.
4085 * include/rpc/netdb.h: Likewise.
4086 * include/sched.h: Likewise.
4087 * include/search.h: Likewise.
4088 * include/shadow.h: Likewise.
4089 * include/signal.h: Likewise.
4090 * include/stdio.h: Likewise.
4091 * include/stdlib.h: Likewise.
4092 * include/string.h: Likewise.
4093 * include/sys/socket.h: Likewise.
4094 * include/sys/stat.h: Likewise.
4095 * include/sys/statfs.h: Likewise.
4096 * include/sys/statvfs.h: Likewise.
4097 * include/sys/syslog.h: Likewise.
4098 * include/sys/time.h: Likewise.
4099 * include/sys/uio.h: Likewise.
4100 * include/time.h: Likewise.
4101 * include/unistd.h: Likewise.
4102 * include/utmp.h: Likewise.
4103 * include/wchar.h: Likewise.
4104 * include/wctype.h: Likewise.
4105 * inet/aliases.h: Likewise.
4106 * inet/arpa/inet.h: Likewise.
4107 * inet/netinet/ether.h: Likewise.
4108 * inet/netinet/in.h: Likewise.
4109 * intl/libintl.h: Likewise.
4110 * io/bits/fcntl2.h: Likewise.
4111 * io/fcntl.h: Likewise.
4112 * io/ftw.h: Likewise.
4113 * io/sys/poll.h: Likewise.
4114 * io/sys/stat.h: Likewise.
4115 * io/sys/statfs.h: Likewise.
4116 * io/sys/statvfs.h: Likewise.
4117 * io/utime.h: Likewise.
4118 * libio/bits/stdio.h: Likewise.
4119 * libio/bits/stdio2.h: Likewise.
4120 * libio/libio.h: Likewise.
4121 * libio/libioP.h: Likewise.
4122 * libio/stdio.h: Likewise.
4123 * locale/lc-ctype.c: Likewise.
4124 * locale/locale.h: Likewise.
4125 * login/utmp.h: Likewise.
4126 * malloc/arena.c: Likewise.
4127 * malloc/malloc.c: Likewise.
4128 * malloc/malloc.h: Likewise.
4129 * malloc/mcheck.c: Likewise.
4130 * malloc/mtrace.c: Likewise.
4131 * math/bits/mathcalls.h: Likewise.
4132 * math/fenv.h: Likewise.
4133 * math/math_private.h: Likewise.
4134 * misc/bits/error.h: Likewise.
4135 * misc/bits/syslog.h: Likewise.
4136 * misc/err.h: Likewise.
4137 * misc/error.h: Likewise.
4138 * misc/fstab.h: Likewise.
4139 * misc/mntent.h: Likewise.
4140 * misc/regexp.h: Likewise.
4141 * misc/search.h: Likewise.
4142 * misc/sgtty.h: Likewise.
4143 * misc/sys/mman.h: Likewise.
4144 * misc/sys/syslog.h: Likewise.
4145 * misc/sys/uio.h: Likewise.
4146 * misc/sys/xattr.h: Likewise.
4147 * misc/ttyent.h: Likewise.
4148 * nis/rpcsvc/ypclnt.h: Likewise.
4149 * nss/nss.h: Likewise.
4150 * posix/bits/unistd.h: Likewise.
4151 * posix/fnmatch.h: Likewise.
4152 * posix/glob.h: Likewise.
4153 * posix/sched.h: Likewise.
4154 * posix/spawn.h: Likewise.
4155 * posix/sys/wait.h: Likewise.
4156 * posix/unistd.h: Likewise.
4157 * posix/wordexp.h: Likewise.
4158 * pwd/pwd.h: Likewise.
4159 * resolv/netdb.h: Likewise.
4160 * resource/sys/resource.h: Likewise.
4161 * rt/aio.h: Likewise.
4162 * rt/bits/mqueue2.h: Likewise.
4163 * rt/mqueue.h: Likewise.
4164 * shadow/shadow.h: Likewise.
4165 * signal/signal.h: Likewise.
4166 * socket/send.c: Likewise.
4167 * socket/sendto.c: Likewise.
4168 * socket/sys/socket.h: Likewise.
4169 * stdio-common/printf.h: Likewise.
4170 * stdlib/bits/stdlib.h: Likewise.
4171 * stdlib/fmtmsg.h: Likewise.
4172 * stdlib/monetary.h: Likewise.
4173 * stdlib/stdlib.h: Likewise.
4174 * stdlib/ucontext.h: Likewise.
4175 * streams/stropts.h: Likewise.
4176 * string/argz.h: Likewise.
4177 * string/bits/string2.h: Likewise.
4178 * string/string.h: Likewise.
4179 * string/strings.h: Likewise.
4180 * sunrpc/rpc/auth.h: Likewise.
4181 * sunrpc/rpc/auth_des.h: Likewise.
4182 * sunrpc/rpc/clnt.h: Likewise.
4183 * sunrpc/rpc/netdb.h: Likewise.
4184 * sunrpc/rpc/pmap_clnt.h: Likewise.
4185 * sunrpc/rpc/xdr.h: Likewise.
4186 * sysdeps/generic/inttypes.h: Likewise.
4187 * sysdeps/generic/net/if.h: Likewise.
4188 * sysdeps/generic/sys/swap.h: Likewise.
4189 * sysdeps/gnu/net/if.h: Likewise.
4190 * sysdeps/gnu/utmpx.h: Likewise.
4191 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4192 * sysdeps/i386/i486/bits/string.h: Likewise.
4193 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4194 * sysdeps/s390/bits/string.h: Likewise.
4195 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4196 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4197 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4198 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4199 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4200 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4201 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4202 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4203 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4204 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4205 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4206 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4207 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4208 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4209 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4210 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4211 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4212 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4213 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4214 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4215 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4216 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4217 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4218 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4219 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4220 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4221 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4222 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4223 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4224 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4225 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4226 * sysvipc/sys/ipc.h: Likewise.
4227 * sysvipc/sys/msg.h: Likewise.
4228 * sysvipc/sys/sem.h: Likewise.
4229 * sysvipc/sys/shm.h: Likewise.
4230 * termios/termios.h: Likewise.
4231 * time/sys/time.h: Likewise.
4232 * time/time.h: Likewise.
4233 * wcsmbs/bits/wchar2.h: Likewise.
4234 * wcsmbs/uchar.h: Likewise.
4235 * wcsmbs/wchar.h: Likewise.
4236 * wctype/wctype.h: Likewise.
4237
0269750c
UD
4238 [BZ #13551]
4239 * Makeconfig: Remove all but ELF support including AIX support.
4240 * Makerules: Likewise.
4241 * config.h.in: Likewise.
4242 * config.make.in: Likewise.
4243 * configure: Likewise.
4244 * configure.in: Likewise.
4245 * csu/Makefile: Likewise.
4246 * csu/version.c: Likewise.
4247 * debug/Makefile: Likewise.
4248 * dlfcn/Makefile: Likewise.
4249 * elf/Makefile: Likewise.
4250 * extra-lib.mk: Likewise.
4251 * iconv/Makefile: Likewise.
4252 * include/libc-symbols.h: Likewise.
4253 * include/shlib-compat.h: Likewise.
4254 * resolv/Makefile: Likewise.
4255 * resolv/res_libc.c: Likewise.
4256 * rt/Makefile: Likewise.
4257 * sysdeps/i386/asm-syntax.h: Likewise.
4258 * sysdeps/i386/sysdep.h: Likewise.
4259 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4260 * sysdeps/mach/sysdep.h: Likewise.
4261 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4262 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4263 * sysdeps/s390/asm-syntax.h: Likewise.
4264 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4265 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4266 * sysdeps/sh/sysdep.h: Likewise.
4267 * sysdeps/unix/sparc/sysdep.h: Likewise.
4268 * sysdeps/wordsize-32/divdi3.c: Likewise.
4269 * sysdeps/x86_64/sysdep.h: Likewise.
4270
00bbd29b
UD
4271 * argp/Versions: Remove _argp_unlock_xxx.
4272
4273 [BZ #13559]
4274 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4275 * abilist/libBrokenLocale.abilist: Likewise.
4276 * abilist/libanl.abilist: Likewise.
4277 * abilist/libc.abilist: Likewise.
4278 * abilist/libcrypt.abilist: Likewise.
4279 * abilist/libdl.abilist: Likewise.
4280 * abilist/libm.abilist: Likewise.
4281 * abilist/libnsl.abilist: Likewise.
4282 * abilist/libpthread.abilist: Likewise.
4283 * abilist/libresolv.abilist: Likewise.
4284 * abilist/librt.abilist: Likewise.
4285 * abilist/libthread_db.abilist: Likewise.
4286 * abilist/libutil.abilist: Likewise.
4287 * abilist/libnss_db.abilist: New file.
4288
4289 * scripts/abilist.awk: Add support for indirect functions.
4290
a2693a0e
UD
4291 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4292
3f05895f
UD
4293 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4294
ecb6fb48
UD
4295 * shlib-versions: Remove entries for ports architectures.
4296
664f8cb9
UD
4297 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4298 files in ports.
4299 * elf/stackguard-macros.h: Remove support for IA-64.
4300 * elf/tst-auditmod1.c: Likewise.
4301 * sysdeps/generic/ldsodefs.h: Likewise.
4302
7ae81d88
UD
4303 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4304 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4305 configure files.
4306
bdeba135
UD
4307 [BZ #13552]
4308 * configure.in: Remove --enable-omitfp support.
4309 * FAQ.in: Adjust.
4310 * config.make.in: Likewise.
4311 * Makeconfig: Likewise.
4312 * manual/install.texi: Likewise.
4313
d75a0a62
UD
4314 In case anyone cares, the IA-64 architecture could move to ports.
4315 * sysdeps/ia64/*: Removed.
4316 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 4317 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 4318
dcc9756b
UD
4319 [BZ #13555]
4320 * configure.in: Remove entries for unsupported architectures.
4321
d3761ebc 4322 [BZ #13533]
9954432e
UD
4323 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4324 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4325 routines.
4326 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4327 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4328 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4329 fall back to using wcrtomb.
4330 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4331 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4332 renaming.
4333 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4334 * wcsmbs/tst-c16c32-1.c: New file.
4335
4336 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4337 local variable.
4338
c3a87236
UD
4339 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4340
28926a1b
UD
4341 * elf/tst-unique3.cc: Add explicit declaration of gets.
4342 * elf/tst-unique3lib.cc: Likewise.
4343 * elf/tst-unique3lib2.cc: Likewise.
4344 * elf/tst-unique4.cc: Likewise.
4345
df78418a
UD
4346 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4347
8ecd6b2a
JM
43482012-01-06 Joseph Myers <joseph@codesourcery.com>
4349
4350 [BZ #13566]
4351 * assert/assert.h (static_assert): Don't define for C++.
4352 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4353 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4354
9f115170
UD
43552012-01-03 Ulrich Drepper <drepper@gmail.com>
4356
5e0d0300
UD
4357 * iconv/loop.c (single loop): Fix assertion in storing of
4358 remaining bytes.
4359
9f115170
UD
4360 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4361
81fb02b0
UD
43622012-01-01 Ulrich Drepper <drepper@gmail.com>
4363
4364 * posix/getconf.c: Update copyright year.
4365 * nss/getent.c: Likewise.
a316c1f6 4366 * nss/makedb.c: Likewise.
81fb02b0
UD
4367 * iconv/iconvconfig.c: Likewise.
4368 * iconv/iconv_prog.c: Likewise.
4369 * elf/ldconfig.c: Likewise.
a316c1f6
UD
4370 * elf/pldd.c: Likewise.
4371 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
4372 * catgets/gencat.c: Likewise.
4373 * csu/version.c: Likewise.
4374 * elf/ldd.bash.in: Likewise.
4375 * elf/sprof.c (print_version): Likewise.
4376 * locale/programs/locale.c: Likewise.
4377 * locale/programs/localedef.c: Likewise.
a316c1f6 4378 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4379 * nscd/nscd.c (print_version): Likewise.
4380 * debug/xtrace.sh: Likewise.
4381 * malloc/memusage.sh: Likewise.
4382 * malloc/mtrace.pl: Likewise.
4383 * debug/catchsegv.sh: Likewise.
4384
2ba92745
JJ
43852011-12-30 Jakub Jelinek <jakub@redhat.com>
4386
4387 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4388 pure attribute.
4389
dadebdae
UD
43902011-12-24 Ulrich Drepper <drepper@gmail.com>
4391
d3761ebc 4392 [BZ #13533]
db6af3eb
UD
4393 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4394 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4395 transformations.
4396 * iconv/gconv_int.h: Likewise.
4397 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4398 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4399 from libc for GLIBC_2.16.
4400 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4401 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4402 * wcsmbs/uchar.h: Really define mbstate_t.
4403 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4404 * wcsmbs/c16rtomb.c: New file.
4405 * wcsmbs/mbrtoc16.c: New file.
4406 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4407 for C/POSIX locale.
4408 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4409 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4410
dadebdae
UD
4411 * wcsmbs/wchar.h: Add missing __restrict.
4412
67371b56
UD
44132011-12-23 Ulrich Drepper <drepper@gmail.com>
4414
74033a25
UD
4415 [BZ #13532]
4416 * time/Makefile (routines): Add timespec_get.
4417 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4418 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4419 timespec for ISO C11.
4420 * time/timespec_get.c: New file.
4421 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4422 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4423
380d7e87
UD
4424 [BZ #13531]
4425 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4426 * stdlib/stdlib.h: Declare aligned_alloc.
4427 * Versions.def: Add GLIBC_2.16 for libc.
4428 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4429
4e9e7a35
UD
4430 [BZ 13527]
4431 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4432 ISO C11.
4433
380d7e87 4434 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
4435 code.
4436
03a71829
UD
4437 [BZ #13528]
4438 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4439
839e283e
UD
4440 [BZ #13529]
4441 * assert/assert.h (static_assert): Define.
4442
ce5294e2 4443 * version.h: Update for 2.16 development version.
90fa7312 4444
8d44e150 4445 [BZ #13526]
d7809905
UD
4446 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4447 _ISOC11_SOURCE.
4448
c0da14cd
UD
4449 * version.h (RELEASE): Bump for 2.15 release.
4450 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4451
530a3249
MP
4452 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4453 Patch by Marek Polacek <mpolacek@redhat.com>.
4454
67371b56
UD
4455 * bits/byteswap.h: Protect long long constants with __extension__.
4456 * sysdeps/i386/bits/byteswap.h: Likewise.
4457 * sysdeps/ia64/bits/byteswap.h: Likewise.
4458 * sysdeps/s390/bits/byteswap.h: Likewise.
4459 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4460
15db4de1
LD
44612011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4462
4463 [BZ #13540]
bbe315ea
LD
4464 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4465 destination buffer.
15db4de1
LD
4466 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4467
2b2596b1
MP
44682011-12-23 Marek Polacek <polacek@redhat.com>
4469
4470 * elf/dl-addr.c (determine_info): Add inline keyword.
4471 * elf/tst-auditmod4b.c (check_avx): Likewise.
4472 * elf/tst-auditmod6b.c (check_avx): Likewise.
4473 * elf/tst-auditmod6c.c (check_avx): Likewise.
4474 * elf/tst-auditmod7b.c (check_avx): Likewise.
4475
70c6c246
UD
44762011-12-23 Ulrich Drepper <drepper@gmail.com>
4477
4478 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4479 !__SSE_MATH__.
4480
c044cf14
LD
44812011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4482
15db4de1 4483 [BZ #13540]
c044cf14
LD
4484 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4485 processing for last bytes.
4486
6b13d9d9
BH
44872011-08-06 Bruno Haible <bruno@clisp.org>
4488
d455f537
BH
4489 [BZ #13061]
4490 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4491 U+0385, not to U+1FEE.
4492
6b13d9d9
BH
4493 [BZ #13062]
4494 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4495 entry for U+00A5 U+0301.
4496
db910efd
UD
44972011-12-22 Ulrich Drepper <drepper@gmail.com>
4498
27deeafc
UD
4499 [BZ #13166]
4500 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4501 buffer for the output is too small.
4502
aed9d171
UD
4503 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4504 optimization.
4505
db910efd
UD
4506 [BZ #13185]
4507 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4508 SSE flags if possible.
4509
2bd779ae
LD
45102011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4511
e7f9dac3 4512 [BZ #13540]
2bd779ae
LD
4513 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4514 processing for last bytes.
4515
154bfc16
JM
45162011-12-22 Joseph Myers <joseph@codesourcery.com>
4517
4518 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4519 (syscall-list-default-options, syscall-list-default-condition)
4520 (syscall-list-includes): Define.
4521 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4522 list of ABIs and options and #if conditions for each ABI. Do not
4523 handle common syscalls between ABIs specially.
4524 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4525 Remove.
4526 (syscall-list-variants, syscall-list-32bit-options)
4527 (syscall-list-32bit-condition, syscall-list-64bit-options)
4528 (syscall-list-64bit-condition): Define.
4529 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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/sparc/Makefile (64bit-predefine):
4534 Remove.
4535 (syscall-list-variants, syscall-list-32bit-options)
4536 (syscall-list-32bit-condition, syscall-list-64bit-options)
4537 (syscall-list-64bit-condition): Define.
4538 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4539 Remove.
4540 (syscall-list-variants, syscall-list-32bit-options)
4541 (syscall-list-32bit-condition, syscall-list-64bit-options)
4542 (syscall-list-64bit-condition): Define.
4543
21eaf3a5
UD
45442011-12-22 Ulrich Drepper <drepper@gmail.com>
4545
16c6f992
UD
4546 * locale/iso-639.def: Add brx entry.
4547
41043168
UD
4548 [BZ #13328]
4549 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4550 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4551
21eaf3a5
UD
4552 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4553 __feraiseexcept_renamed.
4554
e3a851a2
UD
45552011-12-21 Ulrich Drepper <drepper@gmail.com>
4556
4920765e
UD
4557 [BZ #13538]
4558 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4559 EPOLLET with unsigned values.
4560 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4561 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4562
e3a851a2
UD
4563 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4564 to large cancellation.
4565 * math/s_cacoshf.c: Likewise.
4566 * math/s_cacoshl.c: Likewise.
4567
b27e24b8
RK
45682011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4569
4570 [BZ #13305]
aebefeee 4571 [BZ #12786]
b27e24b8
RK
4572 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4573 * math/s_cacoshf.c: Likewise.
4574 * math/s_cacoshl.c: Likewise.
4575
ee190f67
UD
45762011-12-21 Ulrich Drepper <drepper@gmail.com>
4577
4578 [BZ #13439]
4579 * iconv/gconv.h: Define __GCONV_SWAP.
4580 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4581 * iconvdata/utf-16.c: Likewise.
4582 * iconvdata/utf-32.c: Likewise.
4583
707f25df
AS
45842011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4585
4586 [BZ #13524]
4587 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4588 numerator after shifting it by one limb.
4589
d2daaa1e
RÁE
45902011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4591
4592 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4593 under [__USE_EXTERN_INLINES].
4594
a4647e72
UD
45952011-12-17 Ulrich Drepper <drepper@gmail.com>
4596
4597 [BZ #13446]
4598 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4599
f0b264f1
AZ
46002011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4601
4602 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4603 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4604 optimized code.
4605 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4606 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4607 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4608 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4609 for strncasecmp/strncasecmp_l compilation.
4610 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4611 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4612
8ef4f244
MP
46132011-12-08 Marek Polacek <mpolacek@redhat.com>
4614
4615 [BZ #13484]
4616 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4617 of __asm__.
4618
97ac2654
UD
46192011-12-17 Ulrich Drepper <drepper@gmail.com>
4620
4621 [BZ #13506]
4622 * time/tzfile.c (__tzfile_read): Check values from file header.
4623
91d2a845
WS
46242011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4625
4626 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4627 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4628 * powerpc/powerpc32/dl-start.S: Likewise.
4629 * powerpc/powerpc32/elf/start.S: Likewise.
4630 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4631 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4632 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4633 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4634 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4635 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4636 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4637 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4638 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4639 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4640 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4641 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4642 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4643 * powerpc/powerpc32/memset.S: Likewise.
4644 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4645 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4646 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4647 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4648 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4649 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4650 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4651 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4652 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4653 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4654 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4655 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4656 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4657
a1267ba1
AZ
46582011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4659
4660 * math/libm-test.inc: Added more nearbyint tests.
4661 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4662 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4663 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4664 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4665
ad8ac1bd
RL
46662011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4667
4668 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4669 FD_CLOEXEC.
4670
1d3e4b61
UD
46712011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4672
4673 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4674 Add wcscpy-ssse3 wcscpy-c.
4675 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4676 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4677 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4678 * sysdeps/x86_64/wcschr.S: New file.
4679 * sysdeps/x86_64/wcsrchr.S: New file.
4680 * string/test-strcmp.c: Remove checking of wcscmp function for
4681 wrong alignments.
4682 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4683 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4684 wcsrchr-sse2 wcsrchr-c.
4685 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4686 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4687 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4688 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4689 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4690 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4691 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4692 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4693 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4694 * wcsmbc/wcschr.c (WCSCHR): New macro.
4695
5b330a2d
UD
46962011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4697
4698 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4699 * wcsmbs/test-wcsrchr.c: New file.
4700 * string/test-strrchr.c: Add wcsrchr support.
4701 (WIDE): New macro.
4702 * wcsmbs/test-wcscpy.c: New file.
4703 * string/test-strcpy.c: Add wcscpy support.
4704 (WIDE): New macro.
26428b7c 4705
f039c043
UD
47062011-12-10 Ulrich Drepper <drepper@gmail.com>
4707
4708 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4709 the inner loop.
4710
850fb039
AS
47112011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4712
4713 [BZ #13472]
4714 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4715
4efbd5cb
UD
47162011-12-04 Ulrich Drepper <drepper@gmail.com>
4717
52ff5dd0 4718 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 4719 Minor optimizations.
52ff5dd0 4720
4efbd5cb
UD
4721 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4722 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4723 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4724
8a426e12
UD
47252011-12-03 Ulrich Drepper <drepper@gmail.com>
4726
aff2453d
UD
4727 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4728 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4729 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4730 for gcc to avoid warnings.
4731 * inet/Makefile (tests): Add tst-checks.
4732 * inet/tst-checks.c: New file.
4733
4734 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4735 warning.
4736
4737 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4738 __wmemcmp_sse2.
4739
4740 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4741 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4742
8a426e12
UD
4743 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4744
9bea3473
UD
47452011-12-02 Ulrich Drepper <drepper@gmail.com>
4746
3a965496
UD
4747 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4748 problem.
4749
9bea3473
UD
4750 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4751
f101631b
UD
47522011-11-29 Joseph Myers <joseph@codesourcery.com>
4753
4754 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4755 conditional on GCC version.
4756 (__arch_compare_and_exchange_val_8_acq)
4757 (__arch_compare_and_exchange_val_16_acq)
4758 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4759 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4760 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4761
a98275aa
UD
47622011-12-02 Joseph Myers <joseph@codesourcery.com>
4763
4764 * sysdeps/sh/backtrace.c: New file.
4765
d4cc29a2
AS
47662011-12-02 Andreas Schwab <schwab@redhat.com>
4767
4768 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4769 parenthesis.
4770
6257af2d
AS
47712011-12-01 Andreas Schwab <schwab@redhat.com>
4772
4773 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4774 falling back to utime.
4775
b5f44c1a
AS
47762011-11-30 Andreas Schwab <schwab@redhat.com>
4777
4778 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4779 expectations for float.
4780
f3a6cc0a
AS
47812011-11-29 Andreas Schwab <schwab@redhat.com>
4782
4783 * locale/weight.h (findidx): Add parameter len.
4784 * locale/weightwc.h (findidx): Likewise.
4785 * posix/fnmatch_loop.c (FCT): Adjust caller.
4786 * posix/regcomp.c (build_equiv_class): Likewise.
4787 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4788 * posix/regexec.c (check_node_accept_bytes): Likewise.
4789 * string/strcoll_l.c (STRCOLL): Likewise.
4790 * string/strxfrm_l.c (STRXFRM): Likewise.
4791
9d65ea3a
UD
47922011-11-17 Ulrich Drepper <drepper@gmail.com>
4793
4794 * Makefile.in: Remove CVSOPT handling.
4795 * configure.in: Remove use of AC_REVISION.
4796 * iconvdata/Makefile (distribute): No need to filter out CVS.
4797 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4798 handling.
4799
5583a086
AS
48002011-11-16 Andreas Schwab <schwab@redhat.com>
4801
4802 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4803 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4804 [USE_AS_STRNCASECMP_L]: Likewise.
4805 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4806 NO_TLS_DIRECT_SEG_REFS.
4807 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4808 Fix argument offsets for non-PIC.
4809 [USE_AS_STRNCASECMP_L]: Likewise.
4810 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4811 NO_TLS_DIRECT_SEG_REFS.
4812
d62a8200
UD
48132011-11-15 Ulrich Drepper <drepper@gmail.com>
4814
9d65ea3a 4815 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
4816 O_CLOEXEC.
4817 * locale/loadlocale.c (_nl_load_locale): Likewise.
4818
09f93bd3
AS
48192011-11-15 Andreas Schwab <schwab@redhat.com>
4820
446514f9
AS
4821 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4822 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4823 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4824 (SYSCALL_GETTIME): Set errno on error.
4825
09f93bd3
AS
4826 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4827 count references to noai6ai_cached.
4828
312be3f9
UD
48292011-11-15 Ulrich Drepper <drepper@gmail.com>
4830
4831 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4832
4833 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4834 FD_CLOEXEC for /proc/self/maps.
4835
4836 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4837 FD_CLOEXEC for /proc/meminfo.
4838
4839 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4840 gai.conf.
4841
4842 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4843 FD_CLOEXEC for given file.
4844
4845 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4846
4847 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4848 FD_CLOEXEC for /etc/hosts.
4849 (_gethtent): Likewise.
4850
4851 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4852
4853 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4854 cancellation and set FD_CLOEXEC for /etc/netgroup.
4855
4856 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4857 reading /etc/publickey.
4858
4859 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4860 allow cancellation when reading /etc/group.
4861
4862 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4863 cancellation.
4864 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4865
4866 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4867 when using data file.
4868
4869 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4870
4871 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4872 (write_nis_obj): Use "c" and "e" in fopen.
4873
4874 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4875
4876 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4877
4878 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4879
4880 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4881
4882 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4883 locale.alias.
4884
4885 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4886
4887 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4888
4889 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4890
4891 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4892 file parsing and set FD_CLOEXEC.
4893
82af0fa8
UD
48942011-11-14 Ulrich Drepper <drepper@gmail.com>
4895
4896 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4897
a5fb313c
AS
48982011-11-14 Andreas Schwab <schwab@redhat.com>
4899
4900 * malloc/arena.c (arena_get2): Don't call reused_arena when
4901 _int_new_arena failed.
4902
6abf3465
UD
49032011-11-14 Ulrich Drepper <drepper@gmail.com>
4904
4905 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4906 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4907 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4908 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4909 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4910 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4911 to compile strcasecmp and strncasecmp.
4912 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4913 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4914
4915 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4916
76e3966e
UD
49172011-11-13 Ulrich Drepper <drepper@gmail.com>
4918
4919 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4920 locale-defines.sym to gen-as-const-headers.
4921 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4922 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4923 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4924 to compile strcasecmp and strncasecmp.
4925 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4926 strcasecmp_l and strncasecmp_l.
4927 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4928 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4929 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4930 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4931 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4932 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4933 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4934 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4935 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4936 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4937 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4938
ab26144e
UD
49392011-11-12 Ulrich Drepper <drepper@gmail.com>
4940
7edb22ef
UD
4941 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4942 result of SYSDEP_GETTIME_CPU to retval.
4943 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4944 parameter list to macro. Remove trailing semicolon. Adjust users.
4945
9694fc44
UD
4946 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4947 variable.
4948
8ad89ef8
UD
4949 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4950 mantissa words.
4951 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4952
0c822ef9
UD
4953 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4954 from unused variable.
4955
874e0564
UD
4956 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4957 DWARF definitions.
4958 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4959 for assembling.
4960
3a2edc79
UD
4961 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4962 over namespaces.
4963
f3c2577f
UD
4964 * sunrpc/rpc_prot.c (rejected): Fix case value.
4965
294ce126
UD
4966 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4967 unsigned long long int to avoid warnings in shift.
4968
5e2b63c6
UD
4969 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4970 of use of trans.
4971 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4972 variable tmp.
4973
e7f4b08e
UD
4974 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4975 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4976 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4977
ab26144e
UD
4978 * nis/nis_table.c (nis_list): Use variable of correct type for
4979 result of __follow_path call.
4980
8a6d5255
AZ
49812011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4982
4983 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4984 of math functions ceil, trunc, floor, round, and sqrt, when
4985 avaliable on the platform.
4986 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4987 name clash.
4988 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4989 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4990 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4991
aaddc98c
MP
49922011-10-30 Marek Polacek <mpolacek@redhat.com>
4993
4994 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4995 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4996
95b7042b
RM
49972011-11-11 Roland McGrath <roland@hack.frob.com>
4998
4999 * include/unistd.h: Fix __readlink return type.
5000 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5001
57769839
UD
50022011-11-11 Ulrich Drepper <drepper@gmail.com>
5003
5004 * stdlib/ucontext.h: Undo last change for makecontext.
5005
edc5984d
AS
50062011-11-11 Andreas Schwab <schwab@redhat.com>
5007
98591e58
AS
5008 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5009
edc5984d
AS
5010 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5011 * setjmp/setjmp.h: Mark functions as non-leaf.
5012 * setjmp/bits/setjmp2.h: Likewise.
5013 * stdlib/ucontext.h: Likewise.
5014
77cdc054
AS
50152011-11-10 Andreas Schwab <schwab@redhat.com>
5016
5017 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5018 (reused_arena): Don't check arena limit.
5019 (arena_get2): Atomically check arena limit.
5020
fe72eebd
UD
50212011-11-08 Ulrich Drepper <drepper@gmail.com>
5022
5f078c32
UD
5023 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5024 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5025
fe72eebd
UD
5026 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5027 instructions.
5028
ae1bc2fa
AS
50292011-11-07 Andreas Schwab <schwab@redhat.com>
5030
7583a88d
AS
5031 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5032 handler when locking.
5033
ae1bc2fa
AS
5034 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5035 Fix size of allocated buffer.
5036
10fb0bfa
AS
50372011-11-04 Andreas Schwab <schwab@redhat.com>
5038
998832a4
AS
5039 [BZ #10103]
5040 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5041 declarations for long double functions.
5042 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5043
10fb0bfa
AS
5044 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5045
3d7ba52b
AS
50462011-11-03 Andreas Schwab <schwab@redhat.com>
5047
a9ae54a1
AS
5048 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5049 installed.
5050
3d7ba52b
AS
5051 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5052 is disabled.
5053
bc8db248
ST
50542011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5055
5056 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5057
45b96dd6
AS
50582011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5059
647776f6
AS
5060 * include/alloca.h (stackinfo_alloca_round): Define.
5061 (extend_alloca): Use it.
5062 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5063 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5064 here.
5065
d91a8b93
AS
5066 * scripts/check-local-headers.sh: Ignore libaudit.h.
5067
45b96dd6
AS
5068 * nscd/Makefile (extra-objs): Make recursively expanded.
5069
432d41ce
UD
50702011-11-01 Ulrich Drepper <drepper@gmail.com>
5071
34372fc6
UD
5072 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5073 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5074
fadb59f8
UD
5075 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5076 * posix/tst-rfc3484-2.c: Likewise.
5077 * posix/tst-rfc3484-3.c: Likewise.
5078
78239589
UD
5079 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5080 process_vm_writev.
5081 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5082 process_vm_writev.
5083 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5084 process_vm_writev from libc using GLIBC_2.15 version.
5085
432d41ce
UD
5086 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5087
02f9c6cf
PP
50882011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5089
5090 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5091 stack usage.
5092
3a2c0242
UD
50932011-10-31 Ulrich Drepper <drepper@gmail.com>
5094
f4ec4833
UD
5095 [BZ #13367]
5096 * nss/getent.c (initgroups_keys): Show error message in case no group
5097 names are given.
5098
3a2c0242
UD
5099 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5100 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5101 __bump_nl_timestamp.
5102 * nscd/connections (nscd_init): When host database is served open
5103 netlink socket and request notification about configuration changes.
5104 (main_loop_poll): Track netlink file descriptor and bump timestamp
5105 in case data becomes available.
5106 (main_loop_epoll): Likewise.
5107 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5108 (database_pers_head): Add extra_data fileds.
5109 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5110 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5111 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5112 Adjust caller.
5113 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5114 in6ai data, call __free_in6ai.
5115 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5116 Add -DHAVE_NETLINK.
5117 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5118 interface information. Reuse previous data if netlink timestamp
5119 is not changed.
5120 (__bump_nl_timestamp): New function.
5121 (__free_in6ai): New function.
5122
636064eb
UD
51232011-10-30 Ulrich Drepper <drepper@gmail.com>
5124
5125 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5126 close_not_cancel_no_status here.
5127 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5128
9beb2334
UD
51292011-10-29 Ulrich Drepper <drepper@gmail.com>
5130
6ef76f3b
UD
5131 [BZ #13276]
5132 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5133 return value.
5134
0ffc4f3e 5135 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5136 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5137 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5138
cb95113e
UD
51392011-07-03 Andreas Jaeger <aj@suse.de>
5140
5141 [BZ #10709]
5142 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5143 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5144 * math/libm-test.inc (sin_test): Add test case.
5145
a1b560ff
UD
51462011-10-29 Ulrich Drepper <drepper@gmail.com>
5147
c9aaface
UD
5148 [BZ #13337]
5149 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5150 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5151
d272e7f1
UD
5152 * elf/chroot_canon.c (chroot_canon): Cleanups.
5153
1bc33071
UD
5154 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5155
1760874d
TJ
5156 [BZ #13335]
5157 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5158 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5159
51d91b18
UD
5160 * string/test-strchr.c: Make usable for strchrnul testing.
5161 * string/test-strchrnul.c: New file.
5162 * string/Makefile (strop-tests): Add strchrnul.
5163
a1b560ff 5164 * po/it.po: Update from translation team.
b611fb81 5165 * po/es.po: Likewise.
a1b560ff 5166
a5b81e1f
UD
51672011-10-28 Ulrich Drepper <drepper@gmail.com>
5168
fd52bc6d
UD
5169 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5170 the three constants needed as parameters. Drop the others.
5171 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5172 __m128i_strloadu_tolower.
52e4b9eb
UD
5173 Create and initialize variable zero and use it in all the places
5174 where _mm_setzero_si128 was used.
fd52bc6d 5175
a5b81e1f
UD
5176 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5177 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5178 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5179 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5180 anymore.
5181 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5182 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5183 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5184 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5185 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5186 __mpranred, __mptan.
5187 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5188 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5189 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5190 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5191 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5192 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5193 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5194 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5195 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5196
b4343346
AS
51972011-10-28 Andreas Schwab <schwab@redhat.com>
5198
0c92d8a8
AS
5199 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5200 redefine if SHARED.
5201 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5202
b4343346
AS
5203 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5204 wide char related routines to wcsmbs subdir.
5205
3871f58f
AS
52062011-10-27 Andreas Schwab <schwab@redhat.com>
5207
5208 [BZ #13344]
5209 * misc/sys/cdefs.h (__THROWNL): Define.
5210 * posix/unistd.h: Use __THREADNL instead of __THREAD
5211 for memory synchronization functions.
5212
94d44d9f
RM
52132011-10-26 Roland McGrath <roland@hack.frob.com>
5214
21b64b15 5215 [BZ #13349]
94d44d9f
RM
5216 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5217 doesn't exist.
5218 * manual/stdio.texi (Obstack Streams): Node removed.
5219
f6ce9294
AS
52202011-10-26 Andreas Schwab <schwab@redhat.com>
5221
80479147
AS
5222 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5223 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5224 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5225
f6ce9294
AS
5226 * math/math_private.h (math_force_eval): Allow non-addressable
5227 arguments.
5228 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5229
618280a1
UD
52302011-10-25 Ulrich Drepper <drepper@gmail.com>
5231
e0016b11
UD
5232 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5233 file is not needed.
5234
5235 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5236 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5237 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5238 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5239 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5240 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5241 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5242 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5243 Add AVX variants.
5244 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5245 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5246 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5247 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5248 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5249 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5250 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5251 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5252 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5253 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5254 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5255 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5256 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5257 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5258 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5259 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5260 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5261 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5262 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5263
5264 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5265 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5266
618280a1
UD
5267 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5268 place. Use VEX encoding when compiling for AVX.
5269
37822576
AS
52702011-10-25 Andreas Schwab <schwab@redhat.com>
5271
1f1e1947
AS
5272 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5273 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5274
37822576
AS
5275 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5276
31ea014d
UD
52772011-10-25 Ulrich Drepper <drepper@gmail.com>
5278
d7826aa1 5279 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 5280 useless if() expression.
d7826aa1
UD
5281 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5282 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5283 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5284 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5285 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5286 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5287 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5288 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5289 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5290 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5291 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5292 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5293 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5294 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5295 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5296 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5297 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5298 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5299 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5300
31ea014d
UD
5301 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5302
16437fec
AS
53032011-10-25 Andreas Schwab <schwab@redhat.com>
5304
5305 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5306 condition.
5307 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5308
31d3cc00
UD
53092011-10-25 Ulrich Drepper <drepper@gmail.com>
5310
5311 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5312 .text section. Avoid duplicate constants.
5313 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5314 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5315 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5316 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5317 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5318 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5319 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5320 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5321 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5322 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5323 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5324 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5325 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5326 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5327 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5328 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5329 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5330 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5331 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5332 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5333 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5334 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5335 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5336 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5337 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5338 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5339 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5340 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5341 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5342 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5343 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5344 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5345 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5346 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5347 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5348 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5349 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5350 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5351 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5352 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5353 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5354 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5355 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5356 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5357 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5358
58985aa9
UD
53592011-10-24 Ulrich Drepper <drepper@gmail.com>
5360
202c9deb
UD
5361 * sysdeps/x86_64/dla.h: Move to ...
5362 * sysdeps/x86_64/fpu/dla.h: ...here.
5363 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5364 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 5365
af968f62
UD
5366 * config.make.in: Add have-mfma4 entry.
5367 * configure.in: Substitute libc_cv_cc_fma4.
5368 * math/Makefile (dbl-only-routines): Add sincostab.
5369 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5370 Use __sincostab not sincos.
5371 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5372 name is a macro.
5373 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5374 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5375 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5376 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5377 using __copysign.
5378 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5379 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5380 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5381 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5382 and __inv.
5383 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5384 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5385 __copysign.
5386 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5387 define aliases when function name is a macro.
5388 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5389 sysdeps/ieee754/dbl-64/sincos.tbl.
5390 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5391 fma4-enabled routines.
5392 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5393 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5394 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5395 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5396 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5397 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5398 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5399 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5400 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5401 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5402 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5403 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5404 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5405 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5406 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5407 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5408 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5409 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5410 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5411 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5412 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5413 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5414 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5415 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5416 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5417 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5418 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5419 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5420 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5421 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5422
58985aa9
UD
5423 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5424 rename.
5425 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5426 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5427 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5428 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5429 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5430 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5431 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5432 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5433
a201fbcf
AS
54342011-10-24 Andreas Schwab <schwab@redhat.com>
5435
5436 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5437
fc2ee42a
LD
54382011-10-23 Ulrich Drepper <drepper@gmail.com>
5439
bb3129bd
UD
5440 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5441
0275fff8
UD
5442 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5443 prediction.
5444 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5445
2fa2ae85
UD
5446 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5447 Remove unused variable magic_bits.
5448 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5449
fc2ee42a
LD
5450 * string/strnlen.c: Define and use STRNLEN macro.
5451 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5452 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5453 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5454 * wcsmbs/wcslen.c: Define and use WCSLEN.
5455 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5456 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5457 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5458 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5459 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5460 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5461 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5462
ce7dd29f
LD
54632011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5464
5465 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5466 strnlen-sse2-no-bsf.
5467 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5468 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5469 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5470 Add strnlen support.
5471 (USE_AS_STRNLEN): New macro.
5472 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5473 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5474 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5475 * sysdeps/x86_64/wcslen.S: New file.
5476
979c70a3
MZ
54772011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5478
5479 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5480 XMM-moves are used for copying on small sizes.
5481
2d09f82f
LD
54822011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5483
5484 * wcsmbs/Makefile (strop-tests): Add wcschr.
5485 * wcsmbs/test-wcschr.c: New file.
5486 * string/test-strchr.c: Update.
5487 Add wcschr support.
5488 (WIDE): New macro.
5489
619fccca
LD
54902011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5491
2d09f82f 5492 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
5493 * wcsmbs/test-wcslen.c: New file.
5494 * string/test-strlen.c: Update.
5495 Add wcslen support.
5496 (WIDE): New macro.
5497
09f699ea
UD
54982011-10-23 Ulrich Drepper <drepper@gmail.com>
5499
5500 * po/it.po: Update from translation team.
5501
95584d3b
LD
55022011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5503
5504 * sysdeps/x86_64/wcscmp.S: Update.
5505 Fix wrong comparison semantics.
5506 wcscmp shall use signed comparison not unsigned.
5507 Don't use substraction to avoid overflow bug.
5508 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5509 * wcsmbc/wcscmp.c: Likewise.
5510 * string/test-strcmp.c: Likewise.
5511 Add new tests to check cases with negative values.
5512
c8b3296b
UD
55132011-10-23 Ulrich Drepper <drepper@gmail.com>
5514
5515 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5516 * sysdeps/x86_64/dla.h: ...here. New file.
5517 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5518 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5519 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5520 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5521 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5522 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5523 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5524 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5525 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5526
246ad57a
AS
55272011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5528
5529 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5530 __ynl_finite aliases.
5531
a1a87169
UD
55322011-10-22 Ulrich Drepper <drepper@gmail.com>
5533
0d355eb7
UD
5534 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5535
a1a87169
UD
5536 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5537 define DLA_FMA.
5538 [DLA_FMA] (EMULV): Use DLA_FMA.
5539 [DLA_FMA] (MUL12): Use EMULV.
5540 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5541 that are not needed.
5542 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5543 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5544 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5545 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5546 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5547 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5548 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5549
ee2aafe0
AS
55502011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5551
5552 * math/s_nan.c: Undef __nan.
5553 * math/s_nanf.c: Undef __nanf.
5554 * math/s_nanl.c: Undef __nanl.
5555 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5556 "math_private.h".
5557
bc62c2fb
UD
55582011-10-22 Ulrich Drepper <drepper@gmail.com>
5559
77425c63
UD
5560 * math/s_catan.c: Add branch predictions.
5561 * math/s_catanf.c: Likewise.
5562 * math/s_catanh.c: Likewise.
5563 * math/s_catanhf.c: Likewise.
5564 * math/s_catanhl.c: Likewise.
5565 * math/s_catanl.c: Likewise.
5566 * math/s_cexp.c: Likewise.
5567 * math/s_cexpf.c: Likewise.
5568 * math/s_cexpl.c: Likewise.
5569 * math/s_clog.c: Likewise.
5570 * math/s_clog10.c: Likewise.
5571 * math/s_clog10f.c: Likewise.
5572 * math/s_clog10l.c: Likewise.
5573 * math/s_clogf.c: Likewise.
5574 * math/s_clogl.c: Likewise.
5575 * math/s_csqrt.c: Likewise.
5576 * math/s_csqrtf.c: Likewise.
5577 * math/s_csqrtl.c: Likewise.
5578 * math/s_ctanf.c: Likewise.
5579 * math/s_ctanh.c: Likewise.
5580 * math/s_ctanhf.c: Likewise.
5581 * math/s_ctanhl.c: Likewise.
5582 * math/s_ctanl.c: Likewise.
5583
bc62c2fb
UD
5584 * math/math_private.h: Define __nan, __nanf, __nanl.
5585 * math/s_cacosh.c: Include <math_private.h>.
5586 * math/s_cacoshl.c: Likewise.
5587 * math/s_casinh.c: Likewise.
5588 * math/s_casinhf.c: Likewise.
5589 * math/s_casinhl.c: Likewise.
5590 * math/s_ccos.c: Rely entire on ccosh.
5591 * math/s_ccosf.c: Rely entire on ccoshf.
5592 * math/s_ccosl.c: Rely entirely on ccoshl.
5593 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5594 Remove tests for FE_INVALID.
5595 * math/s_ccoshf.c: Likewise.
5596 * math/s_ccoshl.c: Likewise.
5597 * math/s_csin.c: Likewise.
5598 * math/s_csinf.c: Likewise.
5599 * math/s_csinh.c Likewise.
5600 * math/s_csinhf.c: Likewise.
5601 * math/s_csinhl.c: Likewise.
5602 * math/s_csinl.c: Likewise.
5603 * math/s_ctan.c: Likewise.
5604 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5605 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5606 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5607
8ec250a4
UD
56082011-10-21 Ulrich Drepper <drepper@gmail.com>
5609
c196fed8
UD
5610 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5611 compilation problems.
5612
8ec250a4
UD
5613 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5614 __builtin_expect.
5615
8d4f46c6
UD
56162011-10-20 Ulrich Drepper <drepper@gmail.com>
5617
ed72b654
UD
5618 * sysdeps/i386/configure.in: Test for -mfma4 option.
5619 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5620 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5621 COMMON_CPUID_INDEX_80000001.
5622 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5623 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5624 use it if FMA3 is not supported.
5625 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5626
8d4f46c6
UD
5627 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5628 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5629
d45c60c2
AS
56302011-10-20 Andreas Schwab <schwab@redhat.com>
5631
5632 [BZ #12892]
5633 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5634 it would create a cycle with a link time dependency.
5635
d9a4d2ab
UD
56362011-10-19 Ulrich Drepper <drepper@gmail.com>
5637
855d1560
UD
5638 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5639 instruction.
5640 * string/Makefile (strop-tests): Add rawmemchr.
5641 * string/test-rawmemchr.c: New file.
5642
d9a4d2ab
UD
5643 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5644 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5645 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5646 when compiling str{,n}casecmp and when AVX is available. Hook up
5647 new optimized code in initializers.
5648
8f3b1ffe
AS
56492011-10-19 Andreas Schwab <schwab@redhat.com>
5650
5651 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5652 __feraiseexcept instead of feraiseexcept.
5653
d38f1dba
UD
56542011-10-18 Ulrich Drepper <drepper@gmail.com>
5655
d9a8d0ab
UD
5656 * math/math_private.h: Define defaults for libc_fetestexcept and
5657 libc_feupdateenv.
5658 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5659 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5660 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5661 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5662 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5663 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5664 libc_fetestexcept and libc_feupdateenv.
5665
4855e3dd
UD
5666 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5667 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5668 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5669 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5670 libc_feholdexcept_setround.
5671
581d30e3
UD
5672 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5673 Add s_nearbyint-c and s_nearbyintf-c.
5674 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5675 nearbyintf inlines.
5676 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5677 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5678 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5679 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5680
d38f1dba
UD
5681 * math/math_private.h: Define defaults for libc_fegetround,
5682 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5683 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5684 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5685 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5686 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5687 standard functions.
5688 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5689 Remove comments and hacks for old compiler versions.
5690 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5691 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5692 libc_feholdexceptl.
5693
caa6c9d8
AS
56942011-10-18 Andreas Schwab <schwab@redhat.com>
5695
5696 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
5697 (__feraiseexcept_renamed): Add __NTH.
5698 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
5699 namespace violations.
5700
97c066e6
UD
57012011-10-17 Ulrich Drepper <drepper@gmail.com>
5702
99ce7b04
UD
5703 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5704
1004d182
UD
5705 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5706
228a984d
UD
5707 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5708 recently added interfaces.
5709 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5710
c8553a6a
UD
5711 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5712 about macro parameter expansion.
5713
ed22dcf6
UD
5714 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5715 __NO_MATH_INLINES is defined. Cleanups.
5716
5717 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5718 and __floorf is target has SSE4.1.
5719 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5720 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5721 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5722 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5723
b171c137
UD
5724 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5725 name.
5726 (floorf): Likewise.
5727
97c066e6
UD
5728 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5729
629f62ef
AS
57302011-10-17 Andreas Schwab <schwab@redhat.com>
5731
49a43d80
AS
5732 * misc/sys/cdefs.h: Fix last change.
5733
629f62ef
AS
5734 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5735 database lookup.
5736
e453f6cd
UD
57372011-10-16 Ulrich Drepper <drepper@gmail.com>
5738
aa78043a
UD
5739 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5740
ad0f5cad
UD
5741 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5742 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5743 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5744 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5745 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5746 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5747 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5748 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5749 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5750 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5751 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5752 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5753 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5754 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5755 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5756 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5757 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5758 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5759 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5760 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5761 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5762 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5763
5764 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5765 ceil, ceilf, floor, floorf.
5766
5767 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5768 Perform IRELATIVE relocations last.
5769
e453f6cd
UD
5770 * elf/do-rel.h: Add another parameter nrelative, replacing the
5771 local variable with the same name. Change name of the function
5772 to end in Rel or Rela (uppercase).
5773 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5774 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5775 elf_dynamic_do_##reloc function.
5776
fd5bdc09
UD
57772011-10-15 Ulrich Drepper <drepper@gmail.com>
5778
79b195b5
UD
5779 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5780 is sufficient, at least on modern CPUs.
5781
d4a28569
UD
5782 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5783
b61099b5
UD
5784 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5785 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5786
bcf01e6d
UD
5787 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5788 __expl_finite.
5789 * math/bits/math-finite.h: Add entries for exp.
5790 * math/e_expl.c: Add __*_finite alias.
5791 * sysdeps/i386/fpu/e_exp.S: Likewise.
5792 * sysdeps/i386/fpu/e_expf.S: Likewise.
5793 * sysdeps/i386/fpu/e_expl.c: Likewise.
5794 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5795 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5796 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5797 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5798 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5799 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5800 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5801
ba1a0d59
UD
5802 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5803 is sufficient, at least on modern CPUs.
5804
fd5bdc09
UD
5805 * ctype/ctype-info.c (__ctype_init): Define.
5806 * include/ctype.h (__ctype_init): Declare.
5807 (__ctype_b_loc): The variable is always initialized.
5808 (__ctype_toupper_loc): Likewise.
5809 (__ctype_tolower_loc): Likewise.
5810 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5811 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5812
7872cfb0
AS
58132011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5814
b468825a
AS
5815 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5816
7872cfb0
AS
5817 * configure.in: Also look in $cxxmachine/include for C++ system
5818 headers.
5819
be13f7bf
LD
58202011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5821
5822 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5823 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5824 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5825 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5826 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5827 (USE_AS_WMEMCMP): New macro.
5828 Fixing indents.
5829 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5830 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5831 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5832 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5833 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5834 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5835 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5836 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5837 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5838 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5839 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5840 (USE_AS_WMEMCMP): New macro.
5841 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5842 * sysdeps/string/test-memcmp.c: Update.
5843 Fix simple_wmemcmp.
5844 Add new tests.
5845 * wcsmbs/wmemcmp.c: Update.
5846 (WMEMCMP): New macro.
5847 Fix overflow bug.
5848
556a2007
AJ
58492011-10-12 Andreas Jaeger <aj@suse.de>
5850
5851 [BZ #13268]
5852 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5853
538faaa7
UD
58542011-10-15 Ulrich Drepper <drepper@gmail.com>
5855
ab6737ff
UD
5856 * libio/iofwide.c (do_length): Avoid warning.
5857
538faaa7
UD
5858 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5859
396a21b1
UD
58602011-10-14 Ulrich Drepper <drepper@gmail.com>
5861
cdf2901f
UD
5862 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5863
38ad40ce
UD
5864 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5865 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5866 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5867 * sysdeps/i386/i686/fpu/e_log.S: New file.
5868 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5869 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5870
396a21b1
UD
5871 * ctype/ctype.h: Add support for inlined isXXX functions when
5872 compiling C++ code.
5873
6b1f68c9
AS
58742011-10-14 Andreas Schwab <schwab@redhat.com>
5875
349290c0
AS
5876 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5877
6b1f68c9
AS
5878 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5879
f2282d42
RM
58802011-10-13 Roland McGrath <roland@hack.frob.com>
5881
5882 [BZ #13291]
5883 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5884
5298ffa8
AS
58852011-10-13 Andreas Schwab <schwab@redhat.com>
5886
714fad23
AS
5887 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5888 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5889 feraiseexcept.
5890
81dcc7fb
AS
5891 * sysdeps/x86_64/memrchr.S: Check for zero size.
5892
5298ffa8
AS
5893 * string/stratcliff.c: Add memrchr tests.
5894
951fbcec
LD
58952011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5896
5897 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5898 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5899 rawmemchr-sse2 rawmemchr-sse2-bsf.
5900 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5901 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5902 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5903 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5904 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5905 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5906 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5907 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5908 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5909 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5910 * string/memrchr.c (MEMRCHR): New macro.
5911
0ac5ae23
UD
59122011-10-12 Ulrich Drepper <drepper@gmail.com>
5913
5914 Add integration with gcc's -ffinite-math-only and optimize wrapper
5915 functions in libm.
5916 * Versions.def: Define GLIBC_2.15 version for libm.
5917 * math/Makefile (headers): Add bits/math-finite.h.
5918 * math/bits/math-finite.h: New file.
5919 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5920 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5921 * math/e_acoshl.c: Add __*_finite alias.
5922 * math/e_acosl.c: Likewise.
5923 * math/e_asinl.c: Likewise.
5924 * math/e_atan2l.c: Likewise.
5925 * math/e_atanhl.c: Likewise.
5926 * math/e_coshl.c: Likewise.
5927 * math/e_exp10.c: Likewise.
5928 * math/e_exp10f.c: Likewise.
5929 * math/e_exp10l.c: Likewise.
5930 * math/e_exp2l.c: Likewise.
5931 * math/e_fmodl.c: Likewise.
5932 * math/e_gammal_r.c: Likewise.
5933 * math/e_hypotl.c: Likewise.
5934 * math/e_j0l.c: Likewise.
5935 * math/e_j1l.c: Likewise.
5936 * math/e_jnl.c: Likewise.
5937 * math/e_lgammal_r.c: Likewise.
5938 * math/e_log10l.c: Likewise.
5939 * math/e_log2l.c: Likewise.
5940 * math/e_logl.c: Likewise.
5941 * math/e_powl.c: Likewise.
5942 * math/e_sinhl.c: Likewise.
5943 * math/e_sqrtl.c: Likewise.
5944 * math/e_scalb.c: Completely rewritten and optimized.
5945 * math/e_scalbf.c: Likewise.
5946 * math/e_scalbl.c: Likewise.
5947 * math/w_acos.c: Likewise.
5948 * math/w_acosf.c: Likewise.
5949 * math/w_acosl.c: Likewise.
5950 * math/w_acosh.c: Likewise.
5951 * math/w_acoshf.c: Likewise.
5952 * math/w_acoshl.c: Likewise.
5953 * math/w_asin.c: Likewise.
5954 * math/w_asinf.c: Likewise.
5955 * math/w_asinl.c: Likewise.
5956 * math/w_atan2.c: Likewise.
5957 * math/w_atan2f.c: Likewise.
5958 * math/w_atan2l.c: Likewise.
5959 * math/w_atanh.c: Likewise.
5960 * math/w_atanhf.c: Likewise.
5961 * math/w_atanhl.c: Likewise.
5962 * math/w_exp10.c: Likewise.
5963 * math/w_exp10f.c: Likewise.
5964 * math/w_exp10l.c: Likewise.
5965 * math/w_fmod.c: Likewise.
5966 * math/w_fmodf.c: Likewise.
5967 * math/w_fmodl.c: Likewise.
5968 * math/w_j0.c: Likewise.
5969 * math/w_j0f.c: Likewise.
5970 * math/w_j0l.c: Likewise.
5971 * math/w_j1.c: Likewise.
5972 * math/w_j1f.c: Likewise.
5973 * math/w_j1l.c: Likewise.
5974 * math/w_jn.c: Likewise.
5975 * math/w_jnf.c: Likewise.
5976 * math/w_log.c: Likewise.
5977 * math/w_logf.c: Likewise.
5978 * math/w_logl.c: Likewise.
5979 * math/w_log10.c: Likewise.
5980 * math/w_log10f.c: Likewise.
5981 * math/w_log10l.c: Likewise.
5982 * math/w_log2.c: Likewise.
5983 * math/w_log2f.c: Likewise.
5984 * math/w_log2l.c: Likewise.
5985 * math/w_pow.c: Likewise.
5986 * math/w_powf.c: Likewise.
5987 * math/w_powl.c: Likewise.
5988 * math/w_remainder.c: Likewise.
5989 * math/w_remainderf.c: Likewise.
5990 * math/w_remainderl.c: Likewise.
5991 * math/w_scalb.c: Likewise.
5992 * math/w_scalbf.c: Likewise.
5993 * math/w_scalbl.c: Likewise.
5994 * math/w_sqrt.c: Likewise.
5995 * math/w_sqrtf.c: Likewise.
5996 * math/w_sqrtl.c: Likewise.
5997 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5998 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5999 used.
6000 * math/math_private.h: Declare __kernel_standard_f.
6001 * math/w_cosh.c: Remove cruft and optimize a bit.
6002 * math/w_coshf.c: Likewise.
6003 * math/w_coshl.c: Likewise.
6004 * math/w_exp2.c: Likewise.
6005 * math/w_exp2f.c: Likewise.
6006 * math/w_exp2l.c: Likewise.
6007 * math/w_hypot.c: Likewise.
6008 * math/w_hypotf.c: Likewise.
6009 * math/w_hypotl.c: Likewise.
6010 * math/w_lgamma.c: Likewise.
6011 * math/w_lgamma_r.c: Likewise.
6012 * math/w_lgammaf.c: Likewise.
6013 * math/w_lgammaf_r.c: Likewise.
6014 * math/w_lgammal.c: Likewise.
6015 * math/w_lgammal_r.c: Likewise.
6016 * math/w_sinh.c: Likewise.
6017 * math/w_sinhf.c: Likewise.
6018 * math/w_sinhl.c: Likewise.
6019 * math/w_tgamma.c: Likewise.
6020 * math/w_tgammaf.c: Likewise.
6021 * math/w_tgammal.c: Likewise.
6022 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6023 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6024 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6025 Minor optimizations. Pretty printing. Remove cruft.
6026 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6027 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6028 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6029 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6030 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6031 * sysdeps/i386/fpu/e_asin.S: Likewise.
6032 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6033 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6034 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6035 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6036 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6037 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6038 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6039 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6040 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6041 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6042 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6043 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6044 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6045 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6046 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6047 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6048 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6049 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6050 * sysdeps/i386/fpu/e_log.S: Likewise.
6051 * sysdeps/i386/fpu/e_log10.S: Likewise.
6052 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6053 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6054 * sysdeps/i386/fpu/e_log2.S: Likewise.
6055 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6056 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6057 * sysdeps/i386/fpu/e_logf.S: Likewise.
6058 * sysdeps/i386/fpu/e_logl.S: Likewise.
6059 * sysdeps/i386/fpu/e_pow.S: Likewise.
6060 * sysdeps/i386/fpu/e_powf.S: Likewise.
6061 * sysdeps/i386/fpu/e_powl.S: Likewise.
6062 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6063 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6064 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6065 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6066 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6067 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6068 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6069 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6070 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6071 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6072 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6073 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6074 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6075 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6076 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6077 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6078 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6079 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6080 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6081 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6082 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6083 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6084 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6085 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6086 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6087 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6088 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6089 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6090 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6091 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6092 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6093 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6094 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6095 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6096 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6097 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6098 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6099 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6100 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6101 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6102 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6103 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6104 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6105 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6106 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6107 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6108 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6109 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6110 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6111 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6112 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6113 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6114 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6115 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6116 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6117 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6118 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6119 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6120 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6121 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6122 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6123 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6124 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6125 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6126 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6127 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6128 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6129 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6130 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6131 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6132 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6133 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6134 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6135 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6136 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6137 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6138 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6139 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6140 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6141 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6142 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6143 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6144 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6145 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6146 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6147 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6148 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6149 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6150 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6151 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6152 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6153 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6154 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6155 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6156 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6157 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6158 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6159 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6160 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6161 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6162 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6163 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6164 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6165 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6166 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6167 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6168 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6169 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6170 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6171 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6172 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6173 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6174 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6175 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6176 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6177 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6178 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6179 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6180 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6181 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6182 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6183 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6184 (__isnanf): Likewise.
6185 (__isinf_ns): Likewise.
6186 (__isinf_nsf): Likewise.
6187 (__finite): Likewise.
6188 (__finitef): Likewise.
6189 (__ieee754_sqrt): Define as macro.
6190 (__ieee754_sqrtf): Define as macro.
6191 (__ieee754_sqrtl): Define as macro.
6192 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6193 inlined copy.
6194 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6195 __FINITE_MATH_ONLY__ consistent.
6196 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6197
12cc2fcd
AS
61982011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6199
a843a204
AS
6200 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6201 of rawmemchr.
6202
12cc2fcd
AS
6203 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6204
c853acd5
UD
62052011-10-09 Ulrich Drepper <drepper@gmail.com>
6206
6207 * po/ja.po: Update from translation team.
6208
c658d255
RM
62092011-10-08 Roland McGrath <roland@hack.frob.com>
6210
110946e4
RM
6211 * locale/programs/locarchive.c (prepare_address_space): New function.
6212 (create_archive, enlarge_archive, open_archive): Use it.
6213
50604220
RM
6214 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6215 inside [SHARED], where it is used.
6216
c658d255
RM
6217 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6218
6219 * nss/getent.c (netgroup_keys): Remove unused variable.
6220 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6221
6a621eb7
UD
62222011-10-08 Ulrich Drepper <drepper@gmail.com>
6223
7edb55ce
UD
6224 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6225 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6226 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6227 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6228 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6229 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6230 * math/Makefile (libm-calls): Add s_isinf_ns.
6231 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6232 * math/multc3.c: Likewise.
6233 * math/s_casin.c: Likewise.
6234 * math/s_casinf.c: Likewise.
6235 * math/s_casinl.c: Likewise.
6236 * math/s_ccos.c: Likewise.
6237 * math/s_ccosf.c: Likewise.
6238 * math/s_ccosl.c: Likewise.
6239 * math/s_ctan.c: Likewise.
6240 * math/s_ctanf.c: Likewise.
6241 * math/s_ctanh.c: Likewise.
6242 * math/s_ctanhf.c: Likewise.
6243 * math/s_ctanhl.c: Likewise.
6244 * math/s_ctanl.c: Likewise.
6245 * math/w_fmod.c: Likewise.
6246 * math/w_fmodf.c: Likewise.
6247 * math/w_fmodl.c: Likewise.
6248 * math/w_remainder.c: Likewise.
6249 * math/w_remainderf.c: Likewise.
6250 * math/w_remainderl.c: Likewise.
6251 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6252 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6253 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6254 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6255 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6256 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6257 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6258 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6259
187da0ae
UD
6260 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6261 of the number.
6262 * stdio-common/printf_fphex.c: Likewise.
6263 * stdio-common/printf_size.c: Likewise.
6264
9277c064
UD
6265 * math/e_exp10.c: Include math_private.h using <...> not "...".
6266 * math/e_exp10f.c: Likewise.
6267 * math/e_exp10l.c: Likewise.
6268 * math/e_exp2l.c: Likewise.
6269 * math/e_j0l.c: Likewise.
6270 * math/e_j1l.c: Likewise.
6271 * math/e_jnl.c: Likewise.
6272 * math/e_lgammal_r.c: Likewise.
6273 * math/e_rem_pio2l.c: Likewise.
6274 * math/e_scalb.c: Likewise.
6275 * math/e_scalbf.c: Likewise.
6276 * math/e_scalbl.c: Likewise.
6277 * math/k_cosl.c: Likewise.
6278 * math/k_sinl.c: Likewise.
6279 * math/k_tanl.c: Likewise.
6280 * math/s_cacoshf.c: Likewise.
6281 * math/s_catan.c: Likewise.
6282 * math/s_catanf.c: Likewise.
6283 * math/s_catanh.c: Likewise.
6284 * math/s_catanhf.c: Likewise.
6285 * math/s_catanhl.c: Likewise.
6286 * math/s_catanl.c: Likewise.
6287 * math/s_ccosh.c: Likewise.
6288 * math/s_ccoshf.c: Likewise.
6289 * math/s_ccoshl.c: Likewise.
6290 * math/s_cexp.c: Likewise.
6291 * math/s_cexpf.c: Likewise.
6292 * math/s_cexpl.c: Likewise.
6293 * math/s_clog.c: Likewise.
6294 * math/s_clog10.c: Likewise.
6295 * math/s_clog10f.c: Likewise.
6296 * math/s_clog10l.c: Likewise.
6297 * math/s_clogf.c: Likewise.
6298 * math/s_clogl.c: Likewise.
6299 * math/s_csin.c: Likewise.
6300 * math/s_csinf.c: Likewise.
6301 * math/s_csinh.c: Likewise.
6302 * math/s_csinhf.c: Likewise.
6303 * math/s_csinhl.c: Likewise.
6304 * math/s_csinl.c: Likewise.
6305 * math/s_csqrt.c: Likewise.
6306 * math/s_csqrtf.c: Likewise.
6307 * math/s_csqrtl.c: Likewise.
6308 * math/s_ctan.c: Likewise.
6309 * math/s_ctanf.c: Likewise.
6310 * math/s_ctanh.c: Likewise.
6311 * math/s_ctanhf.c: Likewise.
6312 * math/s_ctanhl.c: Likewise.
6313 * math/s_ctanl.c: Likewise.
6314 * math/s_ldexp.c: Likewise.
6315 * math/s_ldexpf.c: Likewise.
6316 * math/s_ldexpl.c: Likewise.
6317 * math/s_significand.c: Likewise.
6318 * math/s_significandf.c: Likewise.
6319 * math/s_significandl.c: Likewise.
6320 * math/w_acos.c: Likewise.
6321 * math/w_acosf.c: Likewise.
6322 * math/w_acosh.c: Likewise.
6323 * math/w_acoshf.c: Likewise.
6324 * math/w_acoshl.c: Likewise.
6325 * math/w_acosl.c: Likewise.
6326 * math/w_asin.c: Likewise.
6327 * math/w_asinf.c: Likewise.
6328 * math/w_asinl.c: Likewise.
6329 * math/w_atan2.c: Likewise.
6330 * math/w_atan2f.c: Likewise.
6331 * math/w_atan2l.c: Likewise.
6332 * math/w_atanh.c: Likewise.
6333 * math/w_atanhf.c: Likewise.
6334 * math/w_atanhl.c: Likewise.
6335 * math/w_cosh.c: Likewise.
6336 * math/w_coshf.c: Likewise.
6337 * math/w_coshl.c: Likewise.
6338 * math/w_dremf.c: Likewise.
6339 * math/w_exp10.c: Likewise.
6340 * math/w_exp10f.c: Likewise.
6341 * math/w_exp10l.c: Likewise.
6342 * math/w_exp2.c: Likewise.
6343 * math/w_exp2f.c: Likewise.
6344 * math/w_fmod.c: Likewise.
6345 * math/w_fmodf.c: Likewise.
6346 * math/w_fmodl.c: Likewise.
6347 * math/w_hypot.c: Likewise.
6348 * math/w_hypotf.c: Likewise.
6349 * math/w_hypotl.c: Likewise.
6350 * math/w_j0.c: Likewise.
6351 * math/w_j0f.c: Likewise.
6352 * math/w_j0l.c: Likewise.
6353 * math/w_j1.c: Likewise.
6354 * math/w_j1f.c: Likewise.
6355 * math/w_j1l.c: Likewise.
6356 * math/w_jn.c: Likewise.
6357 * math/w_jnf.c: Likewise.
6358 * math/w_jnl.c: Likewise.
6359 * math/w_lgamma.c: Likewise.
6360 * math/w_lgamma_r.c: Likewise.
6361 * math/w_lgammaf.c: Likewise.
6362 * math/w_lgammaf_r.c: Likewise.
6363 * math/w_lgammal.c: Likewise.
6364 * math/w_lgammal_r.c: Likewise.
6365 * math/w_log.c: Likewise.
6366 * math/w_log10.c: Likewise.
6367 * math/w_log10f.c: Likewise.
6368 * math/w_log10l.c: Likewise.
6369 * math/w_log2.c: Likewise.
6370 * math/w_log2f.c: Likewise.
6371 * math/w_log2l.c: Likewise.
6372 * math/w_logf.c: Likewise.
6373 * math/w_logl.c: Likewise.
6374 * math/w_pow.c: Likewise.
6375 * math/w_powf.c: Likewise.
6376 * math/w_powl.c: Likewise.
6377 * math/w_remainder.c: Likewise.
6378 * math/w_remainderf.c: Likewise.
6379 * math/w_remainderl.c: Likewise.
6380 * math/w_scalb.c: Likewise.
6381 * math/w_scalbf.c: Likewise.
6382 * math/w_scalbl.c: Likewise.
6383 * math/w_sinh.c: Likewise.
6384 * math/w_sinhf.c: Likewise.
6385 * math/w_sinhl.c: Likewise.
6386 * math/w_sqrt.c: Likewise.
6387 * math/w_sqrtf.c: Likewise.
6388 * math/w_sqrtl.c: Likewise.
6389 * math/w_tgamma.c: Likewise.
6390 * math/w_tgammaf.c: Likewise.
6391 * math/w_tgammal.c: Likewise.
6392
6a621eb7
UD
6393 * po/ja.po: Update from translation team.
6394
bf582445
AJ
63952011-09-29 Andreas Jaeger <aj@suse.de>
6396
f9efbf3a
AJ
6397 [BZ #13179]
6398 * sunrpc/netname.c (netname2host): Fix logic.
6399
bf582445
AJ
6400 [BZ #6779]
6401 [BZ #6783]
6402 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6403 correctly.
6404 * math/w_remainder.c (__remainder): Likewise.
6405 * math/w_remainderf.c (__remainderf): Likewise.
6406 * math/libm-test.inc (remainder_test): Add test cases.
6407
48693bea
AK
64082011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6409
6410 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6411 sdiv_qrnnd.
6412
42622229
LD
64132011-10-07 Ulrich Drepper <drepper@gmail.com>
6414
6415 * string/test-memcmp.c: Avoid unncessary #defines.
6416 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6417
093ecf92
LD
64182011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6419
6420 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6421 Use new sse2 version for core i3 - i7 as it's faster
6422 than sse42 version.
6423 (bit_Prefer_PMINUB_for_stringop): New.
6424 * sysdeps/x86_64/rawmemchr.S: Update.
6425 Replace with faster SSE2 version.
6426 * sysdeps/x86_64/memrchr.S: New file.
6427 * sysdeps/x86_64/memchr.S: Update.
6428 Replace with faster SSE2 version.
6429
fde56e5c
MP
64302011-09-12 Marek Polacek <mpolacek@redhat.com>
6431
6432 * elf/dl-load.c (lose): Add cast to avoid warning.
6433
21fd49a9
UD
64342011-10-07 Ulrich Drepper <drepper@gmail.com>
6435
5a06e643
UD
6436 * po/ca.po: Update from translation team.
6437
684ae515
UD
6438 * inet/getnetgrent_r.c: Hook up nscd.
6439 * nscd/Makefile (routines): Add nscd_netgroup.
6440 (nscd-modules): Add netgroupcache.
6441 (CFLAGS-netgroupcache.c): Define.
6442 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6443 (cache_search): Add const to second parameter.
6444 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6445 INNETGR.
6446 (dbs): Add netgrdb entry.
6447 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6448 (verify_persistent_db): Handle netgrdb.
6449 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6450 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6451 GETFDNETGR.
6452 (netgroup_response_header): Define.
6453 (innetgroup_response_header): Define.
6454 (datahead): Add netgroup_response_header and innetgroup_response_header
6455 elements.
6456 * nscd/nscd.conf: Add entries for netgroup cache.
6457 * nscd/nscd.h (dbtype): Add netgrdb.
6458 (_PATH_NSCD_NETGROUP_DB): Define.
6459 (netgroup_iov_disabled): Declare.
6460 (xmalloc, xcalloc, xrealloc): Move declarations here.
6461 (cache_search): Adjust prototype.
6462 Add netgroup-related prototypes.
6463 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6464 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6465 (__nscd_innetgr): Declare.
6466 * nscd/selinux.c (perms): Use access_vector_t as element type and
6467 add netgroup-related initializers.
6468 * nscd/netgroupcache.c: New file.
6469 * nscd/nscd_netgroup.c: New file.
6470 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6471 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6472 For four parameters use innetgr.
6473 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6474 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6475 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6476 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6477
21fd49a9
UD
6478 * nscd/connections.c (register_traced_file): Don't register file
6479 for disabled databases.
6480
054c0457
UD
64812011-10-06 Ulrich Drepper <drepper@gmail.com>
6482
32b63198
UD
6483 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6484
054c0457
UD
6485 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6486 from tree and freeing node.
6487
64031225
JO
64882011-09-25 Jiri Olsa <jolsa@redhat.com>
6489
6490 * nss/nsswitch.c (__nss_database_lookup): Handle
6491 nss_parse_service_list out of memory case.
6492
0490345c
JO
64932011-09-15 Jiri Olsa <jolsa@redhat.com>
6494
6495 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6496 out of memory case.
6497
3a62d00d
AS
64982011-10-04 Andreas Schwab <schwab@redhat.com>
6499
6500 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6501 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6502 pass it down.
6503 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6504 elf_machine_rela, elf_machine_lazy_rel.
6505 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6506 (ELF_DYNAMIC_DO_REL): Likewise.
6507 (ELF_DYNAMIC_DO_RELA): Likewise.
6508 (ELF_DYNAMIC_RELOCATE): Likewise.
6509 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6510 to ELF_DYNAMIC_DO_REL.
6511 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6512 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6513 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6514 elf_machine_rela.
6515 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6516 skip_ifunc, don't call ifunc function if non-zero.
6517 (elf_machine_rela): Likewise.
6518 (elf_machine_lazy_rel): Likewise.
6519 (elf_machine_lazy_rela): Likewise.
6520 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6521 (elf_machine_lazy_rel): Likewise.
6522 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6523 Likewise.
6524 (elf_machine_lazy_rel): Likewise.
6525 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6526 Likewise.
6527 (elf_machine_lazy_rel): Likewise.
6528 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6529 (elf_machine_lazy_rel): Likewise.
6530 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6531 (elf_machine_lazy_rel): Likewise.
6532 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6533 (elf_machine_lazy_rel): Likewise.
6534 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6535 (elf_machine_lazy_rel): Likewise.
6536 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6537 (elf_machine_lazy_rel): Likewise.
6538 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6539 (elf_machine_lazy_rel): Likewise.
6540
68577918
UD
65412011-09-28 Ulrich Drepper <drepper@gmail.com>
6542
6543 * nss/nss_files/files-init.c (_nss_files_init): Use static
6544 initialization for all the *_traced_file variables.
6545
68822d74
AS
65462011-09-28 Andreas Schwab <schwab@redhat.com>
6547
6548 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6549
2056100b
RM
65502011-09-27 Roland McGrath <roland@hack.frob.com>
6551
6552 [BZ #13226]
6553 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6554
32c76b63
AS
65552011-09-27 Andreas Schwab <schwab@redhat.com>
6556
6557 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6558 Reread the line before reparsing it.
6559
bf972c9d
AS
65602011-09-26 Andreas Schwab <schwab@redhat.com>
6561
6562 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6563
e057a1b5
JM
65642011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6565 Maxim Kuvyrkov <maxim@codesourcery.com>
6566 Joseph Myers <joseph@codesourcery.com>
6567
6568 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6569 if needed for __stack_chk_guard.
6570
bc7e1c36
RM
65712011-09-19 Roland McGrath <roland@hack.frob.com>
6572
ecb1482f
RM
6573 * sysdeps/posix/spawni.c (script_execute): Always define it.
6574 It will be optimized away if unused.
6575 (maybe_script_execute): New function.
6576 (__spawni): Call it.
6577
bc7e1c36
RM
6578 * Makerules: Don't include tls.make.
6579 (config-tls): Always set to thread.
6580 * tls.make.c: File removed.
6581
1c3b002b
MF
65822011-09-19 Mike Frysinger <vapier@gentoo.org>
6583
6584 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6585 * config.make.in (CPPFLAGS-config): New substituted variable.
6586
2840865d
UD
65872011-09-15 Ulrich Drepper <drepper@gmail.com>
6588
88738eb6
UD
6589 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6590
cbf645a6 6591 [BZ #13192]
2840865d
UD
6592 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6593 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6594
b402e91a
RM
65952011-09-15 Roland McGrath <roland@hack.frob.com>
6596
6597 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6598 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6599 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6600 (CALL_FAIL): Likewise.
6601 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6602 (CALL_FAIL): Macro removed.
6603 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6604
4c1a1f71
UD
66052011-09-15 Ulrich Drepper <drepper@gmail.com>
6606
6607 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6608 for __FINITE_MATH_ONLY__ == 1.
6609
edc121be
AS
66102011-09-15 Andreas Schwab <schwab@redhat.com>
6611
6612 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6613 __ieee754_sqrt instead of sqrt.
6614 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6615 __ieee754_sqrtf instead of sqrtf.
6616 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6617 __floorf instead of floorf.
6618 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6619 __floorf, __truncf instead of floorf, truncf.
6620
cd205654
UD
66212011-09-14 Ulrich Drepper <drepper@gmail.com>
6622
ee4d0315
UD
6623 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6624
cd205654
UD
6625 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6626 __extern_always_inline.
6627 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6628 32-bit.
6629
48b67d71
AS
66302011-09-14 Andreas Schwab <schwab@redhat.com>
6631
6632 * elf/rtld.c (dl_main): Also relocate in dependency order when
6633 doing symbol dependency testing.
6634
1ae12c75
AS
66352011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6636
6637 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6638 Always define `refsym'.
6639
995a80df
AS
66402011-09-13 Andreas Schwab <schwab@redhat.com>
6641
e529793b
AS
6642 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6643 (__FD_ELT): Renamed from __FDELT.
6644 * misc/bits/select2.h (__FD_ELT): Likewise.
6645 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6646 __FD_MASK instead of __FDELT, __FDMASK.
6647 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6648 Likewise.
6649 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6650 Likewise.
6651
52d4fef8
AS
6652 * elf/Makefile (gen-ldd): Fix pattern.
6653
995a80df
AS
6654 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6655 (init_tls): Likewise.
6656
8682f8b0
UD
66572011-09-12 Ulrich Drepper <drepper@gmail.com>
6658
6659 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6660
de82006d
AS
66612011-09-12 Andreas Schwab <schwab@redhat.com>
6662
a7c8e6a1
AS
6663 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6664 `struct cmsghdr *' instead of `void *'.
6665 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6666 Likewise.
6667
0f31fe77
AS
66682011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6669
6670 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6671 if non-absolute.
6672 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6673 ldd_rewrite_script.
0f31fe77 6674
32b4c839
UD
66752011-09-11 Ulrich Drepper <drepper@gmail.com>
6676
83cd1420
UD
6677 * configure.in: Remove --with-tls option.
6678 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6679 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6680 out in case it is missing.
6681 * sysdeps/ia64/elf/configure.in: Likewise.
6682 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6683 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6684 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6685 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6686 * sysdeps/sh/elf/configure.in: Likewise.
6687 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6688 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6689 * sysdeps/x86_64/elf/configure.in: Likewise.
6690 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6691 * sysdeps/mach/hurd/tls.h: Likewise.
6692
633f745d
UD
6693 [BZ #13067]
6694 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6695
f318beb8
UD
6696 [BZ #13090]
6697 * configure.in: Fix use of AC_INIT.
6698
32b4c839
UD
6699 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6700
3ce1f295
UD
67012011-09-10 Ulrich Drepper <drepper@gmail.com>
6702
bb016596
UD
6703 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6704 __set_errno.
8e58439c
UD
6705 * malloc/hooks.c: Likewise.
6706
aebae053 6707 [BZ #11929]
02d46fc4
UD
6708 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6709 variables statically.
6710 (narenas): Initialize.
6711 (list_lock): Initialize.
bb016596
UD
6712 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6713 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
6714 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6715 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6716 Add initializers to main_arena and mp_.
6717 (malloc_state): Remove pagesize member. Change all users to use
6718 GLRO(dl_pagesize).
6719
6720 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6721 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6722 is always initialized.
6723
22a89187
UD
6724 * malloc/malloc.c: Removed unused configurations and dead code.
6725 * malloc/arena.c: Likewise.
6726 * malloc/hooks.c: Likewise.
02d46fc4 6727 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 6728
d063d164
UD
6729 * include/tls.h: Removed. USE___THREAD must always be defined.
6730 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6731 * elf/dl-libc.c: Likewise.
6732 * elf/dl-tsd.c: Likewise.
6733 * include/errno.h: Likewise.
6734 * include/netdb.h: Likewise.
6735 * include/resolv.h: Likewise.
6736 * inet/herrno-loc.c: Likewise.
6737 * inet/herrno.c: Likewise.
6738 * malloc/arena.c: Likewise.
6739 * malloc/hooks.c: Likewise.
6740 * malloc/malloc.c: Likewise.
6741 * resolv/res-state.c: Likewise.
6742 * resolv/res_libc.c: Likewise.
6743 * sysdeps/i386/dl-machine.h: Likewise.
6744 * sysdeps/ia64/dl-machine.h: Likewise.
6745 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6746 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6747 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6748 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6749 * sysdeps/sh/dl-machine.h: Likewise.
6750 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6751 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6752 * sysdeps/unix/i386/sysdep.S: Likewise.
6753 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6754 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6755 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6756 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6757 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6758 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6759 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6760 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6761 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6762 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6763 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6764 * sysdeps/x86_64/dl-machine.h: Likewise.
6765 * tls.make.c: Likewise.
6766
3ce1f295
UD
6767 * configure.in: Remove --with-__thread option. Make tests for
6768 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6769 tls_model attribute fail if no support is available. Remove
6770 USE_IN_LIBIO.
6771 * Makeconfig: Adjust for dropped configure option. All features are
6772 now mandatory.
6773 * Makerules: Likewise.
6774 * Versions.def: Likewise.
6775 * argp/argp-fmtstream.c: Likewise.
6776 * argp/argp-fmtstream.h: Likewise.
6777 * argp/argp-help.c: Likewise.
6778 * assert/assert.c: Likewise.
6779 * config.h.in: Likewise.
6780 * config.make.in: Likewise.
6781 * configure: Likewise.
6782 * configure.in: Likewise.
6783 * csu/Versions: Likewise.
6784 * csu/init.c: Likewise.
6785 * elf/tst-audit2.c: Likewise.
6786 * elf/tst-tls10.c: Likewise.
6787 * elf/tst-tls10.h: Likewise.
6788 * elf/tst-tls11.c: Likewise.
6789 * elf/tst-tls12.c: Likewise.
6790 * elf/tst-tls14.c: Likewise.
6791 * elf/tst-tlsmod11.c: Likewise.
6792 * elf/tst-tlsmod12.c: Likewise.
6793 * elf/tst-tlsmod13.c: Likewise.
6794 * elf/tst-tlsmod13a.c: Likewise.
6795 * elf/tst-tlsmod14a.c: Likewise.
6796 * elf/tst-tlsmod15b.c: Likewise.
6797 * elf/tst-tlsmod16a.c: Likewise.
6798 * elf/tst-tlsmod16b.c: Likewise.
6799 * elf/tst-tlsmod7.c: Likewise.
6800 * elf/tst-tlsmod8.c: Likewise.
6801 * elf/tst-tlsmod9.c: Likewise.
6802 * gmon/gmon.c: Likewise.
6803 * grp/fgetgrent_r.c: Likewise.
6804 * grp/putgrent.c: Likewise.
6805 * hurd/fopenport.c: Likewise.
6806 * include/libc-symbols.h: Likewise.
6807 * include/tls.h: Likewise.
6808 * intl/gettextP.h: Likewise.
6809 * intl/loadinfo.h: Likewise.
6810 * locale/global-locale.c: Likewise.
6811 * locale/localeinfo.h: Likewise.
6812 * mach/devstream.c: Likewise.
6813 * malloc/arena.c: Likewise.
6814 * malloc/set-freeres.c: Likewise.
6815 * misc/err.c: Likewise.
6816 * misc/getttyent.c: Likewise.
6817 * misc/mntent_r.c: Likewise.
6818 * posix/getopt.c: Likewise.
6819 * posix/wordexp.c: Likewise.
6820 * pwd/fgetpwent_r.c: Likewise.
6821 * resolv/Versions: Likewise.
6822 * resolv/res_hconf.c: Likewise.
6823 * shadow/fgetspent_r.c: Likewise.
6824 * shadow/putspent.c: Likewise.
6825 * stdio-common/printf_fphex.c: Likewise.
6826 * stdio-common/tmpfile.c: Likewise.
6827 * stdlib/abort.c: Likewise.
6828 * stdlib/fmtmsg.c: Likewise.
6829 * sunrpc/auth_unix.c: Likewise.
6830 * sunrpc/clnt_perr.c: Likewise.
6831 * sunrpc/clnt_tcp.c: Likewise.
6832 * sunrpc/clnt_udp.c: Likewise.
6833 * sunrpc/clnt_unix.c: Likewise.
6834 * sunrpc/openchild.c: Likewise.
6835 * sunrpc/svc_simple.c: Likewise.
6836 * sunrpc/svc_tcp.c: Likewise.
6837 * sunrpc/svc_udp.c: Likewise.
6838 * sunrpc/svc_unix.c: Likewise.
6839 * sunrpc/xdr.c: Likewise.
6840 * sunrpc/xdr_array.c: Likewise.
6841 * sunrpc/xdr_rec.c: Likewise.
6842 * sunrpc/xdr_ref.c: Likewise.
6843 * sunrpc/xdr_stdio.c: Likewise.
6844
1248c1c4
PB
68452011-09-09 Ulrich Drepper <drepper@gmail.com>
6846
6847 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6848
68492011-07-03 Andreas Jaeger <aj@suse.de>
6850
6851 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6852 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6853 regenerate with gen-libm-tests.pl.
6854
68552010-05-12 Petr Baudis <pasky@suse.cz>
6856
6857 [BZ #11589]
6858 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6859 around j0() zero points by switching to j1().
6860 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6861 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6862 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6863 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6864
f22e1074
UD
68652011-09-09 Ulrich Drepper <drepper@gmail.com>
6866
f19009c1
UD
6867 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6868 instead of 0.
6869 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6870 instead of 0. .
6871 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6872 Patch in part by Pavel Roskin <proski@gnu.org>.
6873
3f8cc204
UD
6874 [BZ #13138]
6875 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6876 realloc.
6877 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6878 Free memory block if necessary.
6879
f22e1074
UD
6880 [BZ #12847]
6881 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6882 be NULL. Don't lock in this case.
6883
0a2349f9
RM
68842011-09-09 Roland McGrath <roland@hack.frob.com>
6885
6886 * elf/elf.h (ELFOSABI_GNU): New macro.
6887 (ELFOSABI_LINUX): Define to that.
6888
f3cdd467
DZ
68892011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6890
6891 * string/strncat.c (strncat): Undef the symbol in case it has been
6892 defined in bits/string.h.
6893
74718d13
UD
68942011-09-09 Ulrich Drepper <drepper@gmail.com>
6895
633e9e0f
UD
6896 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6897
0a2349f9 6898 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
6899 link map.
6900
f9924780
AJ
69012011-08-17 Andreas Jaeger <aj@suse.de>
6902
6903 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6904
7f5517aa
PP
69052011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6906 Ian Lance Taylor <iant@google.com>
6907
6908 * math/libm-test.inc (lround_test): New testcase.
6909 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6910
762011fe
UD
69112011-09-08 Ulrich Drepper <drepper@gmail.com>
6912
92963737
UD
6913 * Makefile: Remove support for automatic cvs check-ins.
6914 * Makerules: Likewise.
6915 * config.make.in: Likewise.
6916 * configure.in: Likewise.
6917 * intl/Makefile: Likewise.
6918 * locale/Makefile: Likewise.
6919 * po/Makefile: Likewise.
6920 * posix/Makefile: Likewise.
6921 * sysdeps/gnu/Makefile: Likewise.
6922 * sysdeps/mach/hurd/Makefile: Likewise.
6923 * sysdeps/sparc/sparc32/Makefile: Likewise.
6924
b0727fd8
JS
6925 [BZ #13118]
6926 * posix/Makefile (bug-regex32-ENV): Define.
6927 Patch by John Stanley <jpsinthemix@verizon.net>.
6928
a0f33f99
UD
6929 * misc/Makefile (headers): Add bits/select2.h.
6930 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6931 * misc/bits/select2.h: New file.
6932 * include/bits/select2.h: New file.
6933 * debug/Makefile (routines): Add fdelt_chk.
6934 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6935 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6936 FD_ISSET.
6937 * debug/fdelt_chk.c: New file.
6938
762011fe
UD
6939 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6940 * wcsmbs/test-wmemcmp.c: Likewise.
6941 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 6942 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
6943
69442011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6945
6946 * string/Makefile (strop-tests): Add memcmp.
6947 * string/test-wmemcmp.c: New file.
6948 * string/test-memcmp.c: Add wmemcmp support.
6949
7f513ec8
RM
69502011-09-08 Roland McGrath <roland@hack.frob.com>
6951
0442afb4
RM
6952 [BZ #13153]
6953 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6954 2011-07-19 change.
6955
7f513ec8
RM
6956 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6957 garbage value in a __mach_port_mod_refs call in the cases of the
6958 task-self and thread-self ports.
6959
a12b2239
ST
69602011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6961
6962 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6963
610f9ab4
AS
69642011-09-08 Andreas Schwab <schwab@redhat.com>
6965
7f513ec8 6966 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 6967
48882a1a
LD
69682011-09-07 Ulrich Drepper <drepper@gmail.com>
6969
b49865be
UD
6970 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6971
fdc86bc9
UD
6972 * elf/dl-libc.c (dlerror_run): Pass back error code from
6973 dl_catch_error.
6974
c966526a
UD
6975 [BZ #13123]
6976 * elf/dl-load.c (lose): Free l_origin if it is valid.
6977
48882a1a
LD
6978 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6979 names.
6980 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6981 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6982 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6983 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6984 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6985 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6986
77a2a8b4
AZ
69872011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6988
6989 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6990 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6991 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6992 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6993 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6994 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6995 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6996 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6997 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6998 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6999
24f579d8
AM
70002011-08-15 Alan Modra <amodra@gmail.com>
7001
7002 [BZ #13092]
7003 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7004 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7005 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7006 ppc_mcount to static-only-routines.
7007 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7008 __mcount_internal.
7009 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7010 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7011
3d4837df
UD
70122011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7013
7014 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7015 for finite and infinity parameters.
7016
22700377
WS
70172011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7018
7019 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7020 and add nop instructions for throughput optimization.
7021 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7022
5025581e
WS
70232011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7024
7025 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7026 aligned copy for power7 with vector-scalar instructions.
7027 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7028
08a300c9
L
70292011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7030
7031 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7032 AVX check.
7033
59178ef9
AS
70342011-09-07 Andreas Schwab <schwab@redhat.com>
7035
7036 [BZ #13144]
7037 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7038 last change.
7039
e38ba7ab
UD
70402011-09-07 Ulrich Drepper <drepper@gmail.com>
7041
7042 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7043 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7044 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7045 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7046 clock_gettime.
7047
d53a73ac
UD
70482011-09-06 Ulrich Drepper <drepper@gmail.com>
7049
fc8bffcc
UD
7050 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7051 Forgot to demangle the pointer.
7052
ceaa0c5d
UD
7053 * sysdeps/i386/sysdep.h: Define atom_text_section.
7054 * sysdeps/x86_64/sysdep.h: Likewise.
7055 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7056 section with atom_text_section.
7057 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7058 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7059 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7060 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7061 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7062
a77d3c17
UD
7063 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7064 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7065 already be defined. Change to take two parameters and don't assign
7066 result to variable. Adjust all users.
7067 Define INTERNAL_GETTIME if not already defined.
7068 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7069 call.
7070 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7071 HAVE_CLOCK_GETTIME_VSYSCALL.
7072 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7073
d53a73ac
UD
7074 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7075 gettimeofday vsyscall, just use time.
7076
a8f84144
AS
70772011-09-06 Andreas Schwab <schwab@redhat.com>
7078
7079 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7080 <errno.h>.
7081
ef606249
UD
70822011-09-06 Ulrich Drepper <drepper@gmail.com>
7083
7084 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7085 syscall on x86-64.
7086 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7087 syscall.
7088 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7089 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7090 syscall if possible.
7091
6585cb60
UD
70922011-09-05 Ulrich Drepper <drepper@gmail.com>
7093
7094 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7095 e_ident. Don't pass to find_mapsXX.
7096 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7097
a5f524e4
LD
70982011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7099
7100 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7101 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7102 * sysdeps/x86_64/multiarch/strchr.S: Update.
7103 Check bit_slow_BSF bit.
7104 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7105 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7106 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7107
554881ef
UD
71082011-09-05 Ulrich Drepper <drepper@gmail.com>
7109
d96de963
UD
7110 [BZ #13134]
7111 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7112 before glibc 2.15.
7113 (tryshell): Define.
7114 (__spawni): Change last parameter to be flag. Test
7115 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7116 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7117 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7118 * posix/spawni.c: Likewise.
7119 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7120 * posix/spawnp.c: Likewise. Change normal version to use
7121 SPAWN_XFLAGS_USE_PATH.
7122 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7123 SPAWN_XFLAGS_TRY_SHELL.
7124
d48e5868
UD
7125 [BZ #13150]
7126 * posix/glob.h: Remove gcc 1.x support.
7127
554881ef
UD
7128 [BZ #13068]
7129 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7130
693fb948
LD
71312011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7132
7133 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7134 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7135 strrchr-sse2-bsf
7136 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7137 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7138 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7139 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7140 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7141 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7142
1b48c537
UD
71432011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7144
49d42c37
UD
7145 * sysdeps/x86_64/wcscmp.S: New file.
7146
1b48c537
UD
7147 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7148 wcscmp-c wcscmp-sse2
7149 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7150 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7151 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7152 * wcsmbs/wcscmp.c: Allow renaming.
7153
15c95c5d
DM
71542011-09-05 David S. Miller <davem@davemloft.net>
7155
7156 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7157 stack slot, rather than the struct return pointer slot.
7158 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7159 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7161 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7162
2f0ad8f3
UD
71632011-09-05 Ulrich Drepper <drepper@gmail.com>
7164
d88ae418
UD
7165 * po/ja.po: Update from translation team.
7166
2f0ad8f3
UD
7167 [BZ #13144]
7168 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7169 kernel in 64-bit binaries.
7170
5f4318d1
DM
71712011-09-01 David S. Miller <davem@davemloft.net>
7172
7173 * elf/elf.h (HWCAP_SPARC_*): Move to..
7174 * sysdeps/sparc/sysdep.h: this new file and add new values.
7175 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7176 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7177 _DL_HWCAP_COUNT to 24.
7178 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7179 entries.
7180 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7181 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7182 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7183 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7184 instead of magic constants.
7185 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7186
3ba57516
DM
71872011-08-31 David S. Miller <davem@davemloft.net>
7188
7189 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7190 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7191 Reimplement to do errno handling inline.
7192 (SYSCALL_ERROR_HANDLER): New macro.
7193 (__SYSCALL_STRING): Do not do errno handling in asm.
7194 (__CLONE_SYSCALL_STRING): Delete.
7195 (__INTERNAL_SYSCALL_STRING): Delete.
7196 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7197 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7198 (PSEUDO): Reimplement to do errno handling inline.
7199 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7200 (SYSCALL_ERROR_HANDLER): New macro.
7201 (__SYSCALL_STRING): Do not do errno handling in asm.
7202 (__CLONE_SYSCALL_STRING): Delete.
7203 (__INTERNAL_SYSCALL_STRING): Delete.
7204 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7205 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7206 i386.
7207 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7208 (inline_syscall*): Add 'err' argument.
7209 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7210 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7211 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7212 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7213
7214 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7215 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7216
2bc17433
AS
72172011-08-30 Andreas Schwab <schwab@redhat.com>
7218
7219 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7220
fbeb5f4d
JO
72212011-08-29 Jiri Olsa <jolsa@redhat.com>
7222
7223 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7224 directive.
7225
ad69cc26
DM
72262011-08-24 David S. Miller <davem@davemloft.net>
7227
7228 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7229
39dd69df
AS
72302011-08-24 Andreas Schwab <schwab@redhat.com>
7231
7232 * elf/Makefile: Add rules to build and run unload8 test.
7233 * elf/unload8.c: New file.
7234 * elf/unload8mod1.c: New file.
7235 * elf/unload8mod1x.c: New file.
7236 * elf/unload8mod2.c: New file.
7237 * elf/unload8mod3.c: New file.
7238
7239 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7240 it wasn't used.
7241
2c0b250a
DM
72422011-08-23 David S. Miller <davem@davemloft.net>
7243
7244 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7245 subtract stack bias.
7246 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7247 %sp not %fp in calculations.
7248 (_JMPBUF_UNWINDS_ADJ): Likewise.
7249
22044b48
DM
7250 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7251 (aio_suspend): Call it to force an exception region around the
7252 AIO_MISC_WAIT() invocation.
7253
2cae4995
AS
72542011-08-23 Andreas Schwab <schwab@redhat.com>
7255
7256 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7257 backslash.
7258
873a772e
AJ
72592011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7260
7261 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7262 protection macro.
7263 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7264 and <dl-machine.h>.
7265 (Elf64_FuncDesc): Remove.
7266
25ad0df1
DM
72672011-08-22 David S. Miller <davem@davemloft.net>
7268
7269 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7270 sigaltstack check, add missing cfi directives.
7271 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7272 missing cfi directives, and sigaltstack handling.
7273
e888bcbe
AS
72742011-08-16 Andreas Schwab <schwab@redhat.com>
7275
7276 [BZ #11724]
7277 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7278 object is seen twice.
7279 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7280
7281 * elf/Makefile (distribute): Add tst-initorder2.c.
7282 (tests): Add tst-initorder2.
7283 (modules-names): Add tst-initorder2a tst-initorder2b
7284 tst-initorder2c tst-initorder2d. Add rules to build them.
7285 ($(objpfx)tst-initorder2.out): New rule.
7286 * elf/tst-initorder2.c: New file.
7287 * elf/tst-initorder2.exp: New file.
7288
87162f46
AS
72892011-08-22 Andreas Schwab <schwab@redhat.com>
7290
70538b7f
AS
7291 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7292
f55ffe58
AS
7293 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7294 dependencies back to end of function.
7295
87162f46
AS
7296 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7297 $(elfobjdir)/ld.so.
7298
91b392a4
UD
72992011-08-21 Ulrich Drepper <drepper@gmail.com>
7300
7301 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7302 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7303 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7304 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7305 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7306 of __vdso_gettimeofday.
7307 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7308 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7309 attribute_hidden.
7310 (_libc_vdso_platform_setup): Remove initialization of
7311 __vdso_gettimeofday and __vdso_time.
7312
5c43483f
UD
73132011-08-20 Ulrich Drepper <drepper@gmail.com>
7314
775a77e7
UD
7315 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7316 and fgetc_unlocked.
7317 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7318 getc_unlocked.
89f447ed 7319
49c74ba9
UD
7320 * elf/dl-open.c (add_to_global): Report additions to the global scope
7321 for LD_DEBUG=scopes.
7322 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 7323 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 7324
5c43483f
UD
7325 [BZ #13114]
7326 * stdio-common/Makefile (tests): Add bug24.
7327 * stdio-common/bug24.c: New file.
7328
a101b025
AJ
73292011-08-19 Andreas Jaeger <aj@suse.de>
7330
7331 [BZ #13114]
7332 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7333 non-existant file when using close-on-exec mode.
7334
c88f1766
UD
73352011-08-20 Ulrich Drepper <drepper@gmail.com>
7336
0276a718
UD
7337 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7338 the very first instruction.
7339
c88f1766
UD
7340 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7341 the CFI state in the end.
7342 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7343 inclusion of dl-trampoline.h.
7344 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7345
51ccffa0
AS
73462011-08-19 Andreas Schwab <schwab@redhat.com>
7347
94d7165f
AS
7348 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7349 expectations for long double.
7350
51ccffa0
AS
7351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7352 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7353
fd708658 73542011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
7355
7356 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7357 artificual limit depends upon the system page size.
7358
44f0a71e
UD
73592011-08-17 Ulrich Drepper <drepper@gmail.com>
7360
7361 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7362 * resolv/Makefile: Define CFLAGS-libresolv.
7363
8de79a24
AS
73642011-08-17 Andreas Schwab <schwab@redhat.com>
7365
7366 * nss/makedb.c (compute_tables): Make variables used in nested
7367 function static.
7368
27724598
UD
73692011-08-17 Ulrich Drepper <drepper@gmail.com>
7370
c5305d88
UD
7371 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7372 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7373 if buffer was too small.
7374
27724598
UD
7375 * elf/pldd.c (main): Attach to all threads in the process.
7376 Rewrite /proc handling to use *at functions.
7377
076fe015
UD
73782011-08-16 Ulrich Drepper <drepper@gmail.com>
7379
174baab3
UD
7380 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7381 specifies first scope to show.
7382 (dl_open_worker): Update callers. Move printing scope of new
7383 object to before the relocation.
44f0a71e 7384 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7385 * sysdeps/generic/ldsodefs.h: Update declaration.
7386
076fe015
UD
7387 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7388 string for the scope number.
7389
a60df2c3
UD
73902011-08-14 Ulrich Drepper <drepper@gmail.com>
7391
7392 * nscd/servicescache.c (cache_addserv): Make sure written is always
7393 initialized.
7394
5e4287d1
RM
73952011-08-14 Roland McGrath <roland@hack.frob.com>
7396
85ae0589
RM
7397 * sysdeps/i386/i486/bits/atomic.h
7398 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7399 statement expression, so as to suppress "set but not used" warning.
7400 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7401
69f63097
RM
7402 * string/strncat.c (STRNCAT): Use prototype definition.
7403
675456ef
RM
7404 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7405 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7406 -Iprograms here.
7407 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7408 (localedef-modules): Add localedef.
7409 (locale-modules): Add locale.
7410
5e4287d1
RM
7411 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7412 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7413 to avoid a warning.
7414
9c96ff23
DM
74152011-08-14 David S. Miller <davem@davemloft.net>
7416
7417 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7418 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7419
f9ddf089
UD
74202011-08-13 Ulrich Drepper <drepper@gmail.com>
7421
44f0a71e 7422 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
7423 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7424 * elf/rtld.c (dl_main): Set l_name of vDSO.
7425 Call _dl_show_scope when DL_DEBUG_SCOPES.
7426 (process_dl_debug): Recognize scopes flag and also set it for all.
7427 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7428 Declare _dl_show_scope.
7429
1dc27704
UD
7430 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7431 (do_dlopen): Pass caller_dlopen to dl_open.
7432 (__libc_dlopen_mode): Initialize caller_dlopen.
7433
f9ddf089
UD
7434 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7435 of libc. Make tolower call locale-independent. Optimize a bit by
7436 using isdigit instead of isalnum.
7437 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7438
9ac533d3
UD
74392011-08-12 Ulrich Drepper <drepper@gmail.com>
7440
7441 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7442 was a dependency or dynamically loaded.
7443
89edf2e9
UD
74442011-08-11 Ulrich Drepper <drepper@gmail.com>
7445
8e999d29
UD
7446 * intl/l10nflist.c: Allow architecture-specific pop function.
7447 * sysdeps/x86_64/l10nflist.c: New file.
7448
89edf2e9
UD
7449 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7450 classification.
7451
14d96785
AS
74522011-08-10 Andreas Schwab <schwab@redhat.com>
7453
7454 * include/dirent.h: Add libc_hidden_proto for scandirat and
7455 scandirat64. Don't declare __scandirat64.
7456 * dirent/scandirat.c: Add libc_hidden_def.
7457 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7458 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7459
6761ac04
DM
74602011-08-10 David S. Miller <davem@davemloft.net>
7461
7462 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7463 enum.
7464 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7465 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7466 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7467
c55fbd1e
UD
74682011-08-09 Ulrich Drepper <drepper@gmail.com>
7469
7470 * Versions.def [libc]: Add GLIBC_2.15.
7471 * dirent/Makefile (routines): Add scandirat and scandirat64.
7472 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7473 GLIBC_2.15.
7474 * dirent/dirent.h: Declare scandirat and scandirat64.
7475 * dirent/scandirat.c: New file.
7476 * dirent/scandirat64.c: New file.
7477 * sysdeps/wordsize-64/scandirat.c: New file.
7478 * sysdeps/wordsize-64/scandirat64.c: New file.
7479 * dirent/opendir.c: Define opendirat.
7480 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7481 using scandirat.
7482 * dirent/scandir64.c: Adjust for scandir.c change.
7483 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7484 __scandirat64, and __scandir_cancel_handler.
7485 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7486 additional parameter and use openat instead of open (outside of ld.so).
7487 Add new __opendir as wrapper around __opendirat.
7488 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7489 here without requiring old scandirat implementation.
7490
879165f2
UD
74912011-08-08 Ulrich Drepper <drepper@gmail.com>
7492
7493 * dirent/scandir.c (cancel_handler): Renamed to
7494 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7495 defined. Adjust users.
7496 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7497 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7498
cb7e923b
UD
74992011-08-04 Ulrich Drepper <drepper@gmail.com>
7500
16292edd
UD
7501 * string/test-string.h (IMPL): Use __STRING to expand name and then
7502 stringify it.
7503
cb7e923b
UD
7504 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7505 of cleanups.
7506
cff82933
LD
75072011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7508
7509 * string/Makefile: Update.
7510 (strop-tests): Append strncat.
7511 * string/test-wcscmp.c: New file.
7512 New comprehensive test for wcscmp.
7513 * string/test-strcmp.c: Update.
7514 (WIDE): New define.
7515
9be9bfcc
AS
75162011-07-22 Andreas Schwab <schwab@redhat.com>
7517
7518 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7519 line.
7520
2e96f1c7
AS
75212011-07-26 Andreas Schwab <schwab@redhat.com>
7522
7523 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7524 encoding to ACE if AI_IDN.
7525
85188888
JJ
75262011-08-01 Jakub Jelinek <jakub@redhat.com>
7527
7528 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7529 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7530
5fa16e9b
LD
75312011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7532
7533 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7534 Fix overflow bug in strncat.
7535 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7536
7537 * string/test-strncat.c: Update.
7538 Add new tests for checking overflow bugs.
7539
75402011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7541
7542 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7543 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7544 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7545 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7546 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7547 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7548 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7549 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7550 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7551
7552 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7553 (USE_AS_STRCAT): Define.
7554 Add strcat and strncat support.
7555 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7556
8c1a459f
AS
75572011-07-25 Andreas Schwab <schwab@redhat.com>
7558
7559 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7560 __n bigger than INT_MAX+1.
7561 (__strncmp_g): Likewise.
7562
bba33c28
UD
75632011-07-23 Ulrich Drepper <drepper@gmail.com>
7564
798be72d
UD
7565 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7566 * libio/stido.h: Likewise.
7567
8accd4dc
UD
7568 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7569 (AF_NFC): Define.
7570 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7571 (AF_NFC): Define.
7572
cbff0d96
UD
7573 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7574 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7575 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7576 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7577 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7578
9191c04a
UD
7579 [BZ #13021]
7580 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7581 installed.
7582
bba33c28
UD
7583 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7584 typo.
7585 (_dl_x86_64_save_sse): Likewise.
7586
90f139dd
UD
75872011-07-22 Ulrich Drepper <drepper@gmail.com>
7588
1aae088a
UD
7589 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7590 OSXSAVE.
7591 (_dl_x86_64_save_sse): Likewise.
7592
8e2045f5
UD
7593 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7594
90f139dd
UD
7595 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7596
1d002f25
AS
75972011-07-21 Andreas Schwab <schwab@redhat.com>
7598
7599 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7600 change.
7601 (_dl_x86_64_save_sse): Use correct AVX check.
7602
21137f89
UD
76032011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7604
7605 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7606 bug in strncpy/strncat.
7607 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7608
a65c0b7a
UD
76092011-07-21 Ulrich Drepper <drepper@gmail.com>
7610
7611 * string/tester.c (test_strcat): Add tests for different alignments
7612 of source and destination.
7613 (test_strncat): Likewise.
7614
6986b98a
UD
76152011-07-20 Ulrich Drepper <drepper@gmail.com>
7616
90bb2039
UD
7617 [BZ #12852]
7618 * posix/glob.c (glob): Check passed in values before using them in
7619 expressions to avoid some overflows.
7620 (glob_in_dir): Likewise.
7621
5644ef54
UD
7622 [BZ #13007]
7623 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7624 check for AVX enablement so that we don't crash with old kernels and
7625 new hardware.
7626 * elf/tst-audit4.c: Add same checks here.
7627 * elf/tst-audit6.c: Likewise.
7628
7629 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 7630
bfc9dc9b
AS
76312011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7632
7633 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7634
702e64bb
UD
76352011-07-20 Ulrich Drepper <drepper@gmail.com>
7636
7637 * po/cs.po: Update from translation team.
7638 * po/bg.po: Likewise.
7639
295e904f
MP
76402011-07-12 Marek Polacek <mpolacek@redhat.com>
7641
7642 * misc/sys/cdefs.h: Add support for const attribute.
7643 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7644 to gnu_dev_{major,minor,makedev} functions.
7645
3ff94596
MP
76462011-07-20 Marek Polacek <mpolacek@redhat.com>
7647
7648 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7649
28b59fca
AS
76502011-07-20 Andreas Schwab <schwab@redhat.com>
7651
7652 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7653 strlen results.
7654
19df733e
AK
76552011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7656
7657 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7658 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7659 register in order to avoid conflicts with the soft frame pointer
7660 being held in r11 when necessary.
7661 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7662 (INTERNAL_VSYSCALL_NCS): Likewise.
7663
c8835729
MP
76642011-07-14 Marek Polacek <mpolacek@redhat.com>
7665
7666 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7667 * elf/dl-fini.c (_dl_fini): Adjust caller.
7668 * elf/dl-close.c (_dl_close_worker): Likewise.
7669 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7670
b902330c
MP
76712011-07-15 Marek Polacek <mpolacek@redhat.com>
7672
8991e135
MP
7673 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7674 "aux_cache->nlibs < 0".
7675
b902330c
MP
7676 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7677 in the reload-count case.
7678
99710781
LD
76792011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7680
7681 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7682 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7683 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7684 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7685 * sysdeps/x86_64/multiarch/strcat.S: New file.
7686 * sysdeps/x86_64/multiarch/strncat.S: New file.
7687 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7688 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7689 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7690 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7691 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7692 (USE_AS_STRCAT): Define.
7693 Add strcat and strncat support.
7694 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7695 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7696 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7697 * string/strncat.c: Update.
7698 (USE_AS_STRNCAT): Define.
7699 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7700 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7701 and i7.
7702 * sysdeps/x86_64/multiarch/init-arch.h
7703 (bit_Prefer_PMINUB_for_stringop): New.
7704 (index_Prefer_PMINUB_for_stringop): Likewise.
7705 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7706 bit_Prefer_PMINUB_for_stringop.
7707
7dc6bd90
UD
77082011-07-19 Ulrich Drepper <drepper@gmail.com>
7709
7710 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7711 buffer64.
7712 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7713 of casting of buffer.
7714 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7715 buffer32 and buffer64.
7716 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7717 writes instead of casting of buffer.
7718 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7719 buffer32.
7720 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7721 casting of buffer.
7722
e0e72284
AS
77232011-07-19 Andreas Schwab <schwab@redhat.com>
7724
7725 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7726
feb1eb0b
UD
77272011-07-19 Ulrich Drepper <drepper@gmail.com>
7728
7729 * nscd/nscd.c (termination_handler): Don't do anything for a database
7730 if it has not yet been initialized.
7731
298711ff
UD
77322011-07-18 Ulrich Drepper <drepper@gmail.com>
7733
7734 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7735
77362011-07-15 Marek Polacek <mpolacek@redhat.com>
7737
7738 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7739
f9d68389
UD
77402011-07-18 Ulrich Drepper <drepper@gmail.com>
7741
7742 * po/nl.po: Update from translation team.
7743 * po/sv.po: Likewise.
7744
db290cf5
RM
77452011-07-16 Roland McGrath <roland@hack.frob.com>
7746
7747 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7748 now disallowed by GCC.
5c550700 7749
fd5e21c7
RM
7750 * configure.in (use-default-link): Default to yes if a test -shared
7751 link meets our qualifications.
7752 * configure: Regenerated.
7753
5c550700
RM
7754 * config.make.in (output-format): New variable.
7755 * configure.in: Check for ld --print-output-format support.
7756 * configure: Regenerated.
7757 * Makerules ($(common-objpfx)format.lds)
7758 [$(output-format) != unknown]: Just use $(output-format),
7759 instead of the linker-script munging.
7760
9fa2c032
RM
77612011-07-14 Roland McGrath <roland@hack.frob.com>
7762
a6928d51
RM
7763 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7764 of $(common-objpfx)shlib.lds.
7765 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7766
661607b3
RM
7767 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7768 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7769
9fa2c032
RM
7770 * configure.in (-z relro check): Adjust test code to add a large
7771 writable data section after it.
7772 * configure: Regenerated.
7773
defe9061
RM
77742011-07-11 Roland McGrath <roland@hack.frob.com>
7775
7776 * configure.in (-z relro check): Fix test code to make the variable
7777 truly const.
7778 * configure: Regenerated.
7779
319b9ad4
UD
77802011-07-11 Ulrich Drepper <drepper@gmail.com>
7781
7782 * nscd/nscd.h (struct traced_file): Define.
7783 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7784 elements. Add traced_files.
7785 (inotify_fd): Declare.
7786 (register_traced_file): Declare.
7787 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7788 (inotify_fd): Export.
7789 (resolv_conf_descr): Remove.
7790 (nscd_init): Move inotify descriptor creation to main.
7791 Don't register files for notification here.
7792 (register_traced_file): New function.
7793 (invalidate_cache): Don't use reset_res to determine whether to call
7794 res_init, go through the list of registered files.
7795 (main_loop_poll): The inotify descriptors are now stored in the
7796 structures for the traced files.
7797 (main_loop_epoll): Likewise
7798 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7799 to __nss_disable_nscd.
7800 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7801 for a database anymore. Check the records for all the registered
7802 files instead.
7803 * nss/Makefile (libnss_files-routines): Add files-init.
7804 (libnss_db-routines): Add db-init.
7805 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7806 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7807 * nss/nss_db/db-init.c: New file.
7808 * nss/nss_files/files-init.c: New file.
7809 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7810 __nss_lookup_function.
7811 (__nss_lookup_function): Call nss_load_library.
7812 (nss_load_all_libraries): New function.
7813 (__nss_disable_nscd): Take parameter with callback function for files
7814 to register. Set is_nscd. Load all the DSOs for the NSS modules
7815 used for the cached services.
7816 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7817 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7818 options for features to all the files in nscd.
7819
7820 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7821
23bee3e8
RM
78222011-07-10 Roland McGrath <roland@hack.frob.com>
7823
7824 * csu/elf-init.c (__libc_csu_init): Comment typo.
7825
46a5b7f0
UD
78262011-07-09 Ulrich Drepper <drepper@gmail.com>
7827
7828 * po/pl.po: Update from translation team.
7829 * po/ja.po: Likewise.
7830 * po/ru.po: Likewise.
7831 * po/ko.po: Likewise.
7832 * po/fr.po: Likewise.
7833
d30cf5bb
RM
78342011-07-09 Roland McGrath <roland@hack.frob.com>
7835
113ddea4
RM
7836 * configure.in (.ctors/.dtors header and trailer check):
7837 Use an empirical test on a built program.
7838 * configure: Regenerated.
7839
574920b4
RM
7840 * configure.in (-z relro check): Use an empirical test on a built DSO.
7841 Detect, but do not require, on ia64.
7842 * configure: Regenerated.
7843
d30cf5bb
RM
7844 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7845 Update tests that use readelf to use $READELF instead.
7846 * configure: Regenerated.
7847
8538fdb3
UD
78482011-07-08 Ulrich Drepper <drepper@gmail.com>
7849
7850 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7851 if the result is not used.
7852
04d08991
AJ
78532011-07-05 Andreas Jaeger <aj@suse.de>
7854
7855 [BZ#9696]
7856 * stdlib/tst-strtod.c: Add testcase.
7857
de283087
AD
78582011-07-07 Ulrich Drepper <drepper@gmail.com>
7859
4e5f31c8 7860 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 7861 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
7862 The latter has a higher limit. Take additional parameter to pass to
7863 the new function.
7864 (__pathconf): Pass file to __statfs_link_max.
7865 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7866 __statfs_link_max.
7867 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7868 __statfs_link_max.
7869
de283087
AD
7870 [BZ #12868]
7871 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7872 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7873 Handle Lustre.
7874 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7875 (__statfs_filesize_max): Likewise.
7876 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7877
c75fa153
AJ
78782011-07-05 Andreas Jaeger <aj@suse.de>
7879
7880 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7881
1a544854
UD
78822011-07-06 Marek Polacek <mpolacek@redhat.com>
7883
7884 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7885 `status' variable.
7886 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7887 Likewise.
7888
6f0eec67
UD
78892011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7890
7891 * Makefile (strop-tests): Add strncat.
7892 * string/test-strncat.c: New file.
7893
aae30307
UD
78942011-06-30 Marek Polacek <mpolacek@redhat.com>
7895
7896 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7897
c0cfb5eb
UD
78982011-06-21 Andreas Jaeger <aj@suse.de>
7899
7900 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7901 Copy rule from iconvdata/Makefile.
7902
01636b21
UD
79032011-07-06 Ulrich Drepper <drepper@gmail.com>
7904
7905 [BZ #12922]
7906 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7907 but no long options are defined, just return 'W'.
7908
9895c8bc
UD
79092011-06-22 Marek Polacek <mpolacek@redhat.com>
7910
7911 [BZ #9696]
7912 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7913
5d4cf042
UD
79142011-07-06 Ulrich Drepper <drepper@gmail.com>
7915
7916 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7917 netgroups to read.
960e5535 7918 (innetgr): Likewise.
5d4cf042 7919
751eb97e
RM
79202011-07-05 Roland McGrath <roland@hack.frob.com>
7921
7922 * config.make.in (install_root): Default to $(DESTDIR).
7923
f15f1e45
UD
79242011-07-05 Ulrich Drepper <drepper@gmail.com>
7925
7926 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7927
4e34ac6a
RM
79282011-07-02 Roland McGrath <roland@hack.frob.com>
7929
5e9b6af4
RM
7930 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7931
84f9ea0f
RM
7932 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7933 containing directory rather than embedding absolute directory names.
7934
ea5ee9f7
RM
7935 * scripts/check-local-headers.sh: Rewritten using awk.
7936 Match by word, not by line. Print error messages for matches.
7937 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7938
1b74661a
RM
7939 * Makerules [shlib-lds-flags empty]:
7940 ($(common-objpfx)libc_pic.opts): New target.
7941 ($(common-objpfx)libc_pic.os.clean): New target.
7942 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7943
7944 * config.make.in (OBJCOPY): New variable.
7945 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7946 * configure: Regenerated.
7947
f781ef40
RM
7948 * config.make.in (use-default-link): New variable.
7949 * configure.in (use_default_link): Grok --with-default-link to set it.
7950 * configure: Regenerated.
7951 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7952 (shlib-lds, shlib-lds-flags): Define to empty.
7953
2d4fa81e
RM
7954 * Makerules (shlib-lds): New variable.
7955 (shlib-lds-flags): New variable.
7956 (build-shlib, build-moduile, build-module-asneeded): Use it.
7957 ($(common-objpfx)libc.so): Use $(shlib-lds).
7958 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7959 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7960
31fffa6b
RM
7961 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7962 DT_FLAGS/DT_FLAGS_1 with zero flags.
7963
4e34ac6a
RM
7964 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7965 linker script munging.
7966
fcfc776b
UD
79672011-07-02 Ulrich Drepper <drepper@gmail.com>
7968
7969 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7970 as 128-bit value.
7971 * crypt/sha512.c (sha512_process_block): Perform total addition using
7972 128-bit if possible.
7973 (__sha512_finish_ctx): Likewise.
7974 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7975 as 64-bit value.
7976 * crypt/sha256.c (SWAP64): Define.
7977 (sha256_process_block): Perform total addition using 64-bit if
7978 possible.
7979 (__sha256_finish_ctx): Likewise.
7980
99231d9a
UD
79812011-07-01 Ulrich Drepper <drepper@gmail.com>
7982
7983 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7984 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7985 * nscd/hstcache.c (cache_addhst): Likewise.
7986 * nscd/grpcache.c (cache_addgr): Likewise.
7987 * nscd/aicache.c (addhstaiX): Likewise
7988 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7989
445b4a53
TK
79902011-07-01 Thorsten Kukuk <kukuk@suse.de>
7991
7992 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7993 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7994 * nscd/hstcache.c (cache_addhst): Likewise.
7995 * nscd/grpcache.c (cache_addgr): Likewise.
7996 * nscd/aicache.c (addhstaiX): Likewise
7997
6d4d8e8e
AS
79982011-07-01 Andreas Schwab <schwab@redhat.com>
7999
8000 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8001 domain only when needed.
8002
89f654c5
AS
80032011-06-30 Andreas Schwab <schwab@redhat.com>
8004
8005 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8006 is always restored.
8007
cf3b23ff
UD
80082011-06-29 Ulrich Drepper <drepper@gmail.com>
8009
8010 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8011 are re-adding the entry.
8012 * nscd/servicescache.c (cache_addserv): Likewise.
8013
751626f9
AJ
80142011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8015
8016 * sysdeps/generic/dl-irel.h: fix protection against multiple
8017 inclusions.
8018 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8019
9113ea1f
UD
80202011-06-28 Ulrich Drepper <drepper@gmail.com>
8021
5c0b8d90
UD
8022 [BZ #12935]
8023 * malloc/memusage.sh: Fix quoting in message.
8024 * debug/xtrace.sh: Likewise.
8025
9113ea1f
UD
8026 * configure.in: Remove support for --experimental-malloc option, make
8027 it the default.
8028 * config.make.in: Likewise.
8029 * malloc/Makefile: Likewise.
8030
a4172181
AS
80312011-06-27 Andreas Schwab <schwab@redhat.com>
8032
8033 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8034 two-byte characters.
8035
78a7eee7
RM
80362011-06-27 Roland McGrath <roland@hack.frob.com>
8037
62bede13
RM
8038 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8039 AC_CACHE_CHECK invocation.
8040 * configure: Regenerated.
8041
78a7eee7
RM
8042 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8043
5ce33a62
UD
80442011-06-27 Ulrich Drepper <drepper@gmail.com>
8045
034807a9
UD
8046 [BZ #12350]
8047 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8048 bit from old_res_options.
8049
4902da17
UD
8050 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8051
5ce33a62
UD
8052 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8053 value type for setfct.
8054
c2344f56
L
80552011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8056
8057 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8058 __gettimeofday instead of gettimeofday.
8059
68468076
UD
80602011-06-26 Ulrich Drepper <drepper@gmail.com>
8061
8062 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8063
acb0d739
L
80642011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8065
8066 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8067
8068 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8069 info.
8070
8912479f
L
80712011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8072
8073 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8074 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8075 strcpy-sse2-unaligned strncpy-sse2-unaligned
8076 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8077 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8078 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8079 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8080 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8081 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8082 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8083 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8084 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8085 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8086 (STRCPY): Support SSE2 and SSSE3 versions.
8087
d5495a11
UD
80882011-06-24 Ulrich Drepper <drepper@gmail.com>
8089
8090 [BZ #12874]
8091 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8092 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8093 kernels which artificially limit size of requests.
8094
0b1cbaae
L
80952011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8096
8097 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8098 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8099 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8100 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8101 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8102 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8103 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8104 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8105 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8106 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8107 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8108 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8109 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8110 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8111 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8112 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8113 Enable unaligned load optimization for Intel Core i3, i5 and i7
8114 processors.
8115 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8116 Define.
8117 (index_Fast_Unaligned_Load): Define.
8118 (HAS_FAST_UNALIGNED_LOAD): Define.
8119
07f494a0
MP
81202011-06-23 Marek Polacek <mpolacek@redhat.com>
8121
8122 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8123
fa3fc0fe
UD
81242011-06-22 Ulrich Drepper <drepper@gmail.com>
8125
8126 [BZ #12907]
8127 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8128 until it is clear that the information is realy needed.
8129 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8130
e12df166
AS
81312011-06-22 Andreas Schwab <schwab@redhat.com>
8132
8133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8134
852eb34d
UD
81352011-06-22 Ulrich Drepper <drepper@gmail.com>
8136
84e2a551
UD
8137 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8138 /sys/devices/system/cpu/online if it is usable.
8139
852eb34d
UD
8140 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8141 reading the information from the /proc filesystem to once a second.
8142
6e502e19
UD
81432011-06-21 Andreas Jaeger <aj@suse.de>
8144
8145 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8146 NULL after inclusion of kernel headers.
8147
75d39ff2
UD
81482011-06-21 Ulrich Drepper <drepper@gmail.com>
8149
51f9aa6a
UD
8150 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8151 calls to internal_setent.
8152
c0244a9d
UD
8153 [BZ #12885]
8154 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8155 addresses using gethostbyname4_r ignore IPv4 addresses.
8156
c5e3c2ae
UD
8157 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8158 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8159
75d39ff2
UD
8160 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8161
42675c6f
DM
81622011-06-20 David S. Miller <davem@davemloft.net>
8163
8164 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8165 inclusions.
8166 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8167
8168 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8169 (elf_irel): Use it.
8170 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8171 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8172 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8173 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8174 * sysdeps/x86_64/dl-irel.h: Likewise.
8175
8176 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8177 * elf/dl-sym.c: Likewise.
8178
57912a71
UD
81792011-06-15 Ulrich Drepper <drepper@gmail.com>
8180
8181 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8182 need to dereference resplen2.
8183
ee22793d
AS
81842011-06-14 Andreas Schwab <schwab@redhat.com>
8185
8186 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8187
a9e836b0
UD
81882011-06-15 Ulrich Drepper <drepper@gmail.com>
8189
77fb9117
UD
8190 * Makeconfig: Define vardbdir and inst_vardbdir.
8191 * nss/Makefile: Add rules to install db-Makefile.
8192
40c1b22c
UD
8193 * nss/nss_db/db-XXX.c: Cleanup.
8194
9f2da732
UD
8195 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8196 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8197 GLIBC_PRIVATE.
8198 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8199 * nss/makedb.c: Implement -g option to specify that value strings
8200 are generated and should not be added to table iterated over for
8201 get*ent calls.
8202 * nss/nss_db/db-initgroups.c: New file.
8203
82e9a1f7
UD
8204 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8205 interface.
8206
c41af17e
UD
8207 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8208 (internal_getgrouplist): Adjust to name change.
8209 Update use_initgroups_entry if this is not the first call.
8210 * nss/databases.def: Add initgroups entry.
8211
a9e836b0
UD
8212 * nss/makedb.c (compute_tables): Check result of multiple hash table
8213 sizes to minimize maximum chain length.
8214
2666d441
UD
82152011-06-14 Ulrich Drepper <drepper@gmail.com>
8216
8217 * Versions.def: Add entry for libnss_db.
8218 * shlib-versions: Likewise.
8219 * nss/Makefile: Add rules to build libnss_db.
8220 * nss/Versions: Add libnss_db information. Organize libnss_files
8221 entries better.
8222 * nss/db-Makefile: Add gshadow support. Change rules for the new
8223 makedb progra. Some minor improvements to generate smaller files.
8224 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8225 here from...
8226 * nss/makedb.c: ...here.
8227 Improve database format to be smaller and require less memory at
8228 runtime.
8229 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8230 db anymore.
8231 * nss/nss_db/db-netgrp.c: Likewise.
8232 * nss/nss_db/db-open.c: Likewise.
8233 * nss/nss_files/flies-XXX.x: Adjust comments.
8234 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8235 * nss/nss_files/files-grp.c: Likewise.
8236 * nss/nss_files/files-hosts.c: Likewise.
8237 * nss/nss_files/files-network.c: Likewise.
8238 * nss/nss_files/files-proto.c: Likewise.
8239 * nss/nss_files/files-pwd.c: Likewise.
8240 * nss/nss_files/files-rpc.c: Likewise.
8241 * nss/nss_files/files-service.c: Likewise.
8242 * nss/nss_files/files-sgrp.c: Likewise.
8243 * nss/nss_files/files-spwd.c: Likewise.
8244 * nss/nss_db/db-alias.c: Removed.
8245 * nss/nss_db/dummy-db.h: Removed.
8246
9ee76b5a
UD
82472011-06-02 Ulrich Drepper <drepper@gmail.com>
8248
8249 * nss/makedb.c: Rewritten to not use database library.
8250 * nss/Makefile: Update to build new makedb program.
8251
c71ca1f8
AJ
82522011-06-14 Andreas Jaeger <aj@suse.de>
8253
8254 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8255 memset declaration.
8256
3154bfb8
UD
82572011-06-10 Andreas Schwab <schwab@redhat.com>
8258
8259 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8260 tmpbuf.
8261
b350afab
RM
82622011-06-10 Roland McGrath <roland@hack.frob.com>
8263
decd4e50
RM
8264 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8265 * elf/Makefile ($(objpfx)ld.so): Likewise.
8266
5615eaf2
RM
8267 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8268 Don't list ld.so twice in dependencies.
8269
8270 * posix/bug-regex31.c: Include <stdlib.h>.
8271
8272 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8273
8274 * nis/nss_compat/compat-spwd.c
8275 (getspent_next_nss_netgr): Remove unused variable.
8276 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8277
8278 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8279 nonmembers" output to use the right array.
8280
8281 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8282
8283 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8284
8285 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8286 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8287 * catgets/gencat.c (read_input_file): Likewise.
8288 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8289
8290 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8291 variable definition inside #if's controlling its use.
8292
8293 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8294
8295 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8296
8297 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8298
8299 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8300 unreachable code.
8301
8302 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8303
b68e08db
RM
8304 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8305 * configure: Regenerated.
8306
b350afab
RM
8307 * Makerules: Revert last change.
8308 * elf/Makefile: Likewise.
8309
28368601
RM
83102011-06-09 Roland McGrath <roland@hack.frob.com>
8311
8312 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8313 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8314 (reloc-link): Likewise.
8315
11988f8f
UD
83162011-06-09 Ulrich Drepper <drepper@gmail.com>
8317
8318 * elf/Makefile: Add rules to build pldd.
8319 * elf/pldd.c: New file.
8320 * elf/pldd-xx.c: New file.
8321
e80fab37
UD
83222011-06-07 Ulrich Drepper <drepper@gmail.com>
8323
8324 * version.h: Update for 2.15 development version.
8325
9b849836
DM
83262011-06-07 David S. Miller <davem@davemloft.net>
8327
8328 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8329 ifuncs.
8330 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8331 elf_machine_lazy_rel): Likewise.
8332 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8333 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8334 elf_machine_lazy_rel): Likewise.
8335 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8336 dl_hwcap via passed in argument.
8337 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8338 Likewise.
8339
5a31b283
AK
83402011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8341
8342 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8343
069e52f8
RM
83442011-06-06 Roland McGrath <roland@hack.frob.com>
8345
8346 [BZ #12849]
8347 * manual/fdl-1.1.texi: New file, verbatim from:
8348 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8349 * manual/lgpl-2.1.texi: New file, verbatim from:
8350 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8351 * manual/Makefile (licenses): New variable, list those new file names.
8352 (texis): Use it.
8353 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8354
8355 * manual/fdl.texi: File removed.
8356 * manual/lesser.texi: File removed.
8357 * manual/libc.texinfo (Copying, Documentation License):
8358 Use new @include file names, put @appendix directive before @include.
8359
f16846a5
JJ
83602011-06-04 Jakub Jelinek <jakub@redhat.com>
8361
8362 [BZ #12841]
8363 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8364 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8365 (mq_open): Add __NTH.
8366
3d29045b
L
83672011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8368
8369 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8370 Assume Intel Core i3/i5/i7 processor if AVX is available.
8371
8c297311
UD
83722011-05-31 Ulrich Drepper <drepper@gmail.com>
8373
8374 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8375 typo.
8376
c8fc0c91
UD
83772011-05-31 Andreas Schwab <schwab@redhat.com>
8378
8379 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8380 memory. Use alloca_account. Fix memory leak when retrying.
8381
5b27a807
UD
83822011-05-31 Ulrich Drepper <drepper@gmail.com>
8383
356f8bc6
UD
8384 * version.h (RELEASE): Bump for 2.14 release.
8385 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8386
5b27a807
UD
8387 * config.make.in (RANLIB): Remove entry.
8388
01f16ab0
UD
83892011-05-30 Ulrich Drepper <drepper@gmail.com>
8390
41fce8bd
UD
8391 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8392 (libc.pot): Work around missing support for .ksh extension in xgettext.
8393
4769ae77
UD
8394 [BZ #12684]
8395 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8396 if both request failed.
8397 (send_dg): In case of server errors clear resplen or *resplen2.
8398
6b1e7d19
UD
8399 [BZ #12454]
8400 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8401 when there are multiple maps.
8402 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8403 (_dl_fini): Remove test here.
8404
01f16ab0
UD
8405 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8406
b1ebd700
UD
84072011-05-29 Ulrich Drepper <drepper@gmail.com>
8408
7ae22829
UD
8409 [BZ #12350]
8410 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8411 bit from old_res_options.
8412 (gaih_inet): Likewise.
8413
553149f6 8414 [BZ #11099]
18a84741 8415 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8416 as signed.
8417
652ffab1
UD
8418 * resolv/res_init.c (res_setoptions): Make the code more compact.
8419
16985fd0
UD
8420 [BZ #11558]
8421 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8422 set RES_USEVC.
8423
0464f746
UD
8424 [BZ #11634]
8425 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8426
7d17596c
UD
8427 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8428
cf6bbbd7
UD
8429 [BZ #11781]
8430 * malloc/malloc.h: Declare malloc hook variables as volatile.
8431
13f1ab36
UD
8432 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8433 in last patch.
8434
b1ebd700
UD
8435 [BZ #11799]
8436 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 8437 raise in the comment.
80e2212d
UD
8438 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8439 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8440 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 8441
ce67228d
UD
84422011-05-28 Ulrich Drepper <drepper@gmail.com>
8443
8887a920
UD
8444 [BZ #12811]
8445 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8446 grow the buffers more if it already has to be sufficient.
8447 (build_wcs_upper_buffer): Likewise.
8448 * posix/regexec.c (check_matching): Likewise.
8449 (clean_state_log_if_needed): Likewise.
8450 (extend_buffers): Don't enlarge buffers beyond size of the input
8451 buffer.
8452 Patches mostly by Emil Wojak <emil@wojak.eu>.
8453 * posix/bug-regex32.c: New file.
8454 * posix/Makefile (tests): Add bug-regex32.
8455
4f031072
UD
8456 * locale/findlocale.c (_nl_find_locale): Return right away if
8457 _nl_explode_name failed.
8458 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8459
d0478f0c
UD
8460 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8461
de81b246
UD
8462 * debug/xtrace.sh: Unify messages.
8463 * malloc/memusage.sh: Likewise.
8464
c738465a
UD
8465 [BZ #12813]
8466 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8467 time symbol from vDSO. Substitute with vsyscall if not available.
8468 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8469 __vdso_time.
8470
f1f929d7
UD
8471 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8472 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8473 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8474 Add sendmmsg and internal_sendmmsg.
8475 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8476 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8477 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8478
ce67228d
UD
8479 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8480 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8481 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8482
e57420c6
UD
84832011-05-27 Ulrich Drepper <drepper@gmail.com>
8484
a8509ca5
UD
8485 [BZ #12813]
8486 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8487 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8488 available.
8489 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8490 __vdso_getcpu.
8491
e57420c6
UD
8492 [BZ #12814]
8493 * iconvdata/Makefile (tests): Add bug-iconv9.
8494 * iconvdata/bug-iconv9.c: New file.
8495
4d07db15
AS
84962011-05-27 Andreas Schwab <schwab@redhat.com>
8497
8498 [BZ #12814]
8499 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8500
ea486f69
JJ
85012011-05-25 Jakub Jelinek <jakub@redhat.com>
8502
8503 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8504 (struct user_regs_struct): Change intcs field back to cs.
8505
6f038433
UD
85062011-05-25 Ulrich Drepper <drepper@gmail.com>
8507
8508 * po/ja.po: Update from translation team.
8509
67f86a25
UD
85102011-05-23 Ulrich Drepper <drepper@gmail.com>
8511
8512 [BZ #12795]
8513 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8514 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8515
def7fbd6
AS
85162011-05-20 Andreas Schwab <schwab@redhat.com>
8517
8518 * stdlib/longlong.h: Update from GCC.
8519
f50ef8f1
AS
85202011-05-23 Andreas Schwab <schwab@redhat.com>
8521
8522 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8523 parameter name.
8524 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8525 Add parameter name.
8526 (__sysconf): Pass it down.
8527
de7ce8f1
UD
85282011-05-22 Ulrich Drepper <drepper@gmail.com>
8529
f2962a71
UD
8530 [BZ #12671]
8531 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8532 some situations.
8533 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8534 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8535 add in in __libc_use_alloca calls. Adjust callers.
8536 (glob): Use malloc in some situations.
8537
de7ce8f1
UD
8538 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8539 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8540 pltexit.
8541
aec84f53
UD
85422011-05-21 Ulrich Drepper <drepper@gmail.com>
8543
05bb4a68
UD
8544 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8545 and CLOCK_BOOTTIME_ALARM.
8546
7ea72f99
UD
8547 [BZ #12782]
8548 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8549 is returned.
8550
7e4afad5
UD
8551 * string/_strerror.c (__strerror_r): Print negative errors as signed
8552 numbers.
8553
8e211fec
UD
8554 [BZ #12777]
8555 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8556 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8557 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8558
f7d82dc9
UD
8559 * configure.in: Fix typo in redirection and correct removal of test
8560 files in two cases.
8561
cc9e536d
UD
8562 [BZ #12788]
8563 * locale/setlocale.c (new_composite_name): Fix test to check for
8564 identical name of all categories.
8565
aec84f53
UD
8566 [BZ #12792]
8567 * libio/filedoalloc.c (local_isatty): New function.
8568 (_IO_file_doallocate): Use local_isatty.
8569 * stdio-common/perror.c (perror): In case a new stream is used
8570 forward the stream error.
8571 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8572 error flag.
8573
78e64fdc
RT
85742011-05-20 Ulrich Drepper <drepper@gmail.com>
8575
34a9094f
UD
8576 [BZ #11869]
8577 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8578 alloca.
8579 * include/alloca.h (extend_alloca_account): Define.
8580
78e64fdc
RT
8581 [BZ #11857]
8582 * posix/regex.h: Fix comments with documentation of user-accessible
8583 fields after compilation and describe correct free'ing of pattern
8584 after re_compile_pattern.
8585 Patch by Reuben Thomas <rrt@sc3d.org>.
8586
457bddfc
RA
85872011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8588
8589 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8590 and -mno-altivec to prevent the compiler from using Altivec and/or
8591 VSX instructions when the corresponding registers are not available.
8592
a4527b51
AS
85932011-05-19 Andreas Schwab <schwab@redhat.com>
8594
8595 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8596
ed690b2f
UD
85972011-05-19 Ulrich Drepper <drepper@gmail.com>
8598
8599 * libio/freopen.c (freopen): Use __dup2, not dup2.
8600 * libio/freopen64.c (freopen64): Likewise.
8601
8db73634
L
86022011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8603
8604 [BZ #12775]
8605 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8606 * math/Makefile (tests): Add test-powl.
8607 (CFLAGS-test-powl.c): Define.
8608 * math/test-powl.c: New file.
8609
0a197a9d
L
86102011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8611
8612 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8613
ee30c380
UD
86142011-05-17 Ulrich Drepper <drepper@gmail.com>
8615
8616 [BZ #11837]
8617 * iconvdata/gb18030.c: Update to GB18020-2005.
8618
6ce75379
UD
86192011-05-16 Ulrich Drepper <drepper@gmail.com>
8620
a4b89fd8
AR
8621 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8622 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8623 Patch by Aharon Robbins <arnold@skeeve.com>.
8624
ea389b12
UD
8625 [BZ #11892]
8626 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8627 on the stack.
8628
68a3f91f
UD
8629 [BZ #11895]
8630 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8631 through underflows.
8632
15cc7dd1
UD
8633 [BZ #12766]
8634 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8635 point to strings before performing equality test for error_one_per_line
8636 mode.
8637
f3799213
UD
8638 [BZ #11697]
8639 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8640
d79a9c94
UD
8641 [BZ #11820]
8642 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8643 (struct user_fpregs_struct): Avoid __uint*_t types.
8644
56e5eb46
UD
8645 [BZ #6420]
8646 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8647 symbol info. Use it instead of calling _dl_addr locally.
8648 (lock_and_info): New function.
8649 (tr_freehook): Call lock_and_info and pass symbol info as additional
8650 parameter to tr_where.
8651 (tr_mallochook): Likewise.
8652 (tr_reallochook): Likewise.
8653 (tr_memalignhook): Likewise.
8654
6ce75379
UD
8655 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8656 used and couldn't be at all thread-safe.
8657
f8a3b5bf
UD
86582011-05-15 Ulrich Drepper <drepper@gmail.com>
8659
94b7cc37
UD
8660 * libio/freopen.c (freopen): Don't close old file descriptor
8661 before the new one is opened. Instead dup the new file descriptor
8662 to the old one after the new stream is created.
8663 * libio/freopen64.c (freopen64): Likewise.
8664 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8665 * libio/fileops.c (_IO_new_file_close_it): Handle new
8666 _IO_FLAGS2_NOCLOSE flag.
8667 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8668 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8669 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8670 _IO_FLAGS2_NOCLOSE flag.
8671 * include/unistd.h: Add hidden_proto for dup3.
8672 Define __have_dup3.
8673 * io/dup3.c: Define hidden symbol.
8674 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8675
bd25564e
UD
8676 [BZ #7101]
8677 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8678 when an incomplete long option is used.
8679 * posix/tst-getopt_long1.c: New file.
8680 * posix/Makefile (tests): Add tst-getopt_long1.
8681
c84cfef4
UD
8682 [BZ #10138]
8683 * scripts/config.guess: Update from autoconf-2.68.
8684 * scripts/config.sub: Likewise.
8685
3b85df27
UD
8686 [BZ #10157]
8687 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8688 tests into ...
8689 (has_cpuclock): ...this. New function.
8690 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8691 macro here based on has_cpuclock code.
8692
15a856b1
UD
8693 [BZ #10149]
8694 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8695 First byte (not low byte) is now always NUL.
8696 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8697
05f399e6
UD
8698 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8699 Use non-cancelable interfaces.
8700
10a52685 8701 [BZ #9809]
94ecc67d
UD
8702 * locale/iso-639.def: Add entry for Sorani.
8703
f8a3b5bf
UD
8704 [BZ #11901]
8705 * include/stdlib.h: Move include protection to the right place.
8706 Define abort_msg_s. Declare __abort_msg with it.
8707 * stdlib/abort.c (__abort_msg): Adjust type.
8708 * assert/assert.c (__assert_fail_base): New function. Majority
8709 of code from __assert_fail. Allocate memory for __abort_msg with
8710 mmap.
8711 (__assert_fail): Now call __assert_fail_base.
8712 * assert/assert-perr.c: Remove bulk of implementation. Use
8713 __assert_fail_base.
8714 * include/assert.hL Declare __assert_fail_base.
8715 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8716 mmap.
8717 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8718
1af4e298
UD
87192011-05-14 Ulrich Drepper <drepper@gmail.com>
8720
f8a3b5bf 8721 [BZ #11952]
d26dfc60
MG
8722 [BZ #12453]
8723 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8724 until all modules are registered in the DTV.
8725 * elf/Makefile: Add rules to build and run tst-tls19.
8726 * elf/tst-tls19.c: New file.
8727 * elf/tst-tls19mod1.c: New file.
8728 * elf/tst-tls19mod2.c: New file.
8729 * elf/tst-tls19mod3.c: New file.
8730 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8731
2fc54d6f
UD
8732 [BZ #12083]
8733 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8734 correctly.
8735
98d76b46
UD
8736 [BZ #12601]
8737 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8738 two-byte sequence errors.
8739 * iconvdata/Makefile (tests): Add bug-iconv8.
8740 * iconvdata/bug-iconv8.c: New file.
8741
da3c19ef
UD
8742 [BZ #12626]
8743 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8744 buf2 definition.
8745
ca408c15
UD
8746 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8747
d6f67f7d
UD
8748 [BZ #12432]
8749 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8750 (dummy_getcfa): New function.
8751 (init): Get _Unwind_GetCFA address, use dummy if not found.
8752 (backtrace_helper): In recursion check, also check whether CFA changes.
8753 (__backtrace): Completely initialize arg.
8754
1af4e298 8755 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
8756 storing incomplete byte sequence in state object. Avoid testing for
8757 guaranteed too small input if we know there is enough data available.
1af4e298 8758
da62f81b
AS
87592011-05-11 Andreas Schwab <schwab@redhat.com>
8760
8761 * Makeconfig (+link-pie): Indent.
8762 * Rules (binaries-pie): Define if $(have-fpie) and
8763 $(build-shared).
8764 (binaries-shared): Also filter out $(binaries-pie).
8765 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8766 * nscd/Makefile (others-pie): Add nscd.
8767 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8768 ($(objpfx)nscd): Remove command override.
8769 * login/Makefile (others-pie): Add pt_chown.
8770 ($(objpfx)pt_chown): Remove command override.
8771 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8772 remove command overrides.
8773
fcabc0f8
UD
87742011-05-13 Ulrich Drepper <drepper@gmail.com>
8775
20030ae6
UD
8776 * libio/tst_putwc.c: Fix error messages.
8777
fcabc0f8
UD
8778 [BZ #12724]
8779 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8780 currently writing and seek to current position when not.
8781 * libio/Makefile (tests): Add bug-fclose1.
8782 * libio/bug-fclose1.c: New file.
8783
320a5dc0
PB
87842011-05-12 Ulrich Drepper <drepper@gmail.com>
8785
8786 [BZ #12511]
8787 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8788 don't set DF_1_NODELETE here.
8789 (do_lookup_x): When entering new entry test for copy relocation
8790 and if necessary set DF_1_NODELETE flag.
8791 * elf/tst-unique4.cc: New file.
8792 * elf/tst-unique4.h: New file.
8793 * elf/tst-unique4lib.cc: New file.
8794 * elf/Makefile: Add rules to build and run tst-unique4.
8795 Patch by Piotr Bury <pbury@goahead.com>.
8796
22836f52
UD
87972011-05-11 Ulrich Drepper <drepper@gmail.com>
8798
f574184a
UD
8799 [BZ #12052]
8800 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8801
e1fb097f
UD
8802 [BZ #12625]
8803 * misc/mntent_r.c (addmntent): Flush the stream after the output
8804
22836f52
UD
8805 [BZ #12393]
8806 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8807 (is_trusted_path_normalize): Skip initial colon. Append slash
8808 to empty buffer. Duplicate is_trusted_path code but allow
8809 constructed patch to be prefix.
8810 (is_dst): Allow $ORIGIN followed by /.
8811 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8812 Correct testing of result of is_trusted_path_normalize
8813 (decompose_rpath): Fix warning.
8814
7b3b0b2a
UD
88152011-05-10 Ulrich Drepper <drepper@gmail.com>
8816
8817 [BZ #11257]
8818 * grp/initgroups.c (internal_getgrouplist): When we found the service
8819 list through the initgroups entry in nsswitch.conf do not always
8820 continue on a successful lookup. Don't always use the
eac80ce2 8821 __nss_group_database value if it is set.
7b3b0b2a
UD
8822 * nss/nsswitch.conf (initgroups): Change action for successful db
8823 lookup to continue for compatibility.
8824
2a81eaa5
UD
88252011-05-09 Ulrich Drepper <drepper@gmail.com>
8826
be97a69e
UD
8827 [BZ #11532]
8828 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8829 and CP774 modules.
8830 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8831 and CP774 modules.
8832 * iconvdata/tst-tables.sh: Likewise.
8833 * iconvdata/cp770.c: New file.
8834 * iconvdata/cp771.c: New file.
8835 * iconvdata/cp772.c: New file.
8836 * iconvdata/cp773.c: New file.
8837 * iconvdata/cp774.c: New file.
8838 * iconvdata/testdata/CP770: New file.
8839 * iconvdata/testdata/CP770..UTF8: New file.
8840 * iconvdata/testdata/CP771: New file.
8841 * iconvdata/testdata/CP771..UTF8: New file.
8842 * iconvdata/testdata/CP772: New file.
8843 * iconvdata/testdata/CP772..UTF8: New file.
8844 * iconvdata/testdata/CP773: New file.
8845 * iconvdata/testdata/CP773..UTF8: New file.
8846 * iconvdata/testdata/CP774: New file.
8847 * iconvdata/testdata/CP774..UTF8: New file.
8848
8849 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8850 END CHARMAP line.
8851 * iconvdata/gen-8bit-gap.sh: Likewise.
8852 * iconvdata/gen-8bit.sh: Likewise.
8853
c1e9e399
UD
8854 * locale/iso-639.def: Add ary entry.
8855
24c55fb3 8856 [BZ #11258]
96b4b1b0
UD
8857 * locale/C-translit.h.in: Add U20A1 transliteration.
8858
bdc2f971
KB
8859 [BZ #12178]
8860 * locale/iso-639.def: Add wae entry.
8861 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8862
2952b117
UD
8863 [BZ #12545]
8864 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8865 for n.
8866
2a81eaa5
UD
8867 [BZ #12711]
8868 * locale/C-translit.h.in: Add entry for U20B9.
8869 Patch by pravin.d.s@gmail.com.
8870
28377d1b
UD
88712011-05-08 Ulrich Drepper <drepper@gmail.com>
8872
7fb90fb8
UD
8873 [BZ #12713]
8874 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8875 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
8876 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8877 in rtld. Use *stat64.
7fb90fb8 8878 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 8879 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 8880 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
8881 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8882 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8883 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8884 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8885 __fstatat64 macros.
7fb90fb8
UD
8886 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8887 * dirent/rewinddir.c: Add libc_hidden_def.
8888 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 8889 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 8890
28377d1b
UD
8891 * include/dirent.h (__alloc_dir): Add flags parameter.
8892 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8893 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8894 __alloc_dir.
8895 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8896 from fdopendir if O_CLOEXEC is already set.
8897
66bdbaa4
AM
88982011-03-15 Alan Modra <amodra@gmail.com>
8899
8900 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8901 l_tls_firstbyte_offset non-zero. Save padding offset in
8902 l_tls_firstbyte_offset for later use.
8903 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8904 freeing static tls block.
8905
95721191
JN
89062011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8907
8908 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8909 where #ifdef was intended. The intent is to prevent ARG_MAX from
8910 being defined by the kernel headers.
8911
f87dfb1f
UD
89122011-05-07 Ulrich Drepper <drepper@gmail.com>
8913
8914 [BZ #12734]
8915 * resolv/resolv.h: Define RES_NOTLDQUERY.
8916 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8917 no-tld-query and set RES_NOTLDQUERY.
8918 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8919 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8920 modern BIND to search name as TLD unless forbidden.
8921
47c3cd7a
UD
89222011-05-07 Petr Baudis <pasky@suse.cz>
8923 Ulrich Drepper <drepper@gmail.com>
8924
8925 [BZ #12393]
8926 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8927 (is_trusted_path): ...to here.
c1e9ea35 8928 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 8929 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 8930 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 8931
8a35c912
PP
89322011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8933
8934 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8935 __BEGIN/__END_DECLS.
8936
acd41f47
UD
89372011-05-06 Ulrich Drepper <drepper@gmail.com>
8938
8939 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8940 NSS_STATUS_NOTFOUND if no record was found.
8941
597df647
AS
89422011-05-05 Andreas Schwab <schwab@redhat.com>
8943
8944 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8945 (headers-not-in-tirpc): Remove rpc/netdb.h
8946 * resolv/netdb.h: Revert last change.
8947
b9af1301
PP
89482011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8949
8950 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8951 circular dependency between libgcc.a and libc.a.
8952
4e34d5f5
AS
89532011-05-05 Andreas Schwab <schwab@redhat.com>
8954
8955 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8956 * nis/Makefile: Don't install rpcsvc/*.
8957 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8958 instead of <rpc/types.h>.
8959 (MAXHOSTNAMELEN): Define.
8960
00ee369c
AS
89612011-05-03 Andreas Schwab <schwab@redhat.com>
8962
8963 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8964
0b592a30
MB
89652011-04-28 Maciej Babinski <mbabinski@google.com>
8966
8967 [BZ #12714]
8968 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8969 gethostbyname4_r when IPv6 results are possible.
8970
6e04cbbe
UD
89712011-05-02 Ulrich Drepper <drepper@gmail.com>
8972
8973 [BZ #12723]
8974 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8975 _PC_PIPE_BUF handling.
8976
e4ecafe0
BH
89772011-04-30 Bruno Haible <bruno@clisp.org>
8978
8979 [BZ #12717]
8980 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8981 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8982 to 'int'.
8983 * inet/getnameinfo.c (getnameinfo): Likewise.
8984
125ee683
UD
89852011-04-29 Ulrich Drepper <drepper@gmail.com>
8986
8987 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8988 to groups setting in database lookup.
8989 * nss/nsswitch.conf: Add initgroups entry.
8990
b722481a
EB
89912011-04-22 Ulrich Drepper <drepper@gmail.com>
8992
8993 [BZ #12685]
8994 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8995 mode string.
8996 Patch by Eric Blake <eblake@redhat.com>.
8997
4df46dbd
L
89982011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8999
9000 * sunrpc/Makefile (need-export-routines): Add svc_run.
9001 (routines): Remove svc_run.
9002 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9003 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9004 * sunrpc/svc_run.c (svc_run): Likewise.
9005 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9006
e84142d2
UD
90072011-04-21 Ulrich Drepper <drepper@gmail.com>
9008
9009 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9010 problem in reallocation in last patch.
9011
877175d8
UD
90122011-04-20 Ulrich Drepper <drepper@gmail.com>
9013
9014 * sunrpc/Makefile: Move inclusion of Rules.
9015
ab8eed78
UD
90162011-04-19 Ulrich Drepper <drepper@gmail.com>
9017
9018 * nss/nss_files/files-initgroups.c: New file.
9019 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9020 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9021 _nss_files_initgroups_dyn.
9022
e3d8f584
RS
90232011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9024
9025 * elf/elf.h (R_ARM_IRELATIVE): Define.
9026
af190f45
UD
90272011-04-19 Ulrich Drepper <drepper@gmail.com>
9028
9029 * po/ru.po: Update from translation team.
9030
53cf59ef
UD
90312011-04-17 Ulrich Drepper <drepper@gmail.com>
9032
9033 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9034 dependencies.
9035
4c559bcd
MF
90362011-02-06 Mike Frysinger <vapier@gentoo.org>
9037
9038 [BZ #12653]
9039 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9040 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9041 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9042 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9043 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9044
4420675c
AS
90452011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9046
9047 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9048 differing bytes.
9049 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9050 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9051 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9052
75ea32ab
UD
90532011-04-17 Ulrich Drepper <drepper@gmail.com>
9054
9055 [BZ #12420]
9056 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9057 storing it.
9058 * stdlib/bug-getcontext.c: New file.
9059 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9060
27390476
AK
90612011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9062
9063 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9064 instructions into .machine "z9-109".
9065 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9066 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9067
10442705
AK
90682011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9069
9070 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9071 between environment variables and auxiliary vector.
9072
7b57bfe5
UD
90732011-04-16 Ulrich Drepper <drepper@gmail.com>
9074
9075 * Makefile: Add rules to build linkobj/libc.so.
9076 * include/libc-symbols.h: Define libc_hidden_nolink.
9077 * include/rpc/auth.h: Mark functions which are to be hidden.
9078 * include/rpc/auth_des.h: Likewise.
9079 * include/rpc/auth_unix.h: Likewise.
9080 * include/rpc/clnt.h: Likewise.
9081 * include/rpc/des_crypt.h: Likewise.
9082 * include/rpc/key_prot.h: Likewise.
9083 * include/rpc/pmap_clnt.h: Likewise.
9084 * include/rpc/pmap_prot.h: Likewise.
9085 * include/rpc/pmap_rmt.h: Likewise.
9086 * include/rpc/rpc_msg.h: Likewise.
9087 * include/rpc/svc.h: Likewise.
9088 * include/rpc/svc_auth.h: Likewise.
9089 * include/rpc/xdr.h: Likewise.
9090 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9091 * nss/Makefile: Likewise.
9092 * sunrpc/Makefile: Don't install headers. Build library with normal
9093 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9094 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9095 for the compat linking library. Remove use of INTDEF/INTUSE.
9096 * sunrpc/auth_none.c: Likewise.
9097 * sunrpc/auth_unix.c: Likewise.
9098 * sunrpc/authdes_prot.c: Likewise.
9099 * sunrpc/authuxprot.c: Likewise.
9100 * sunrpc/clnt_gen.c: Likewise.
9101 * sunrpc/clnt_perr.c: Likewise.
9102 * sunrpc/clnt_raw.c: Likewise.
9103 * sunrpc/clnt_simp.c: Likewise.
9104 * sunrpc/clnt_tcp.c: Likewise.
9105 * sunrpc/clnt_udp.c: Likewise.
9106 * sunrpc/clnt_unix.c: Likewise.
9107 * sunrpc/des_crypt.c: Likewise.
9108 * sunrpc/des_soft.c: Likewise.
9109 * sunrpc/get_myaddr.c: Likewise.
9110 * sunrpc/key_call.c: Likewise.
9111 * sunrpc/key_prot.c: Likewise.
9112 * sunrpc/netname.c: Likewise.
9113 * sunrpc/pm_getmaps.c: Likewise.
9114 * sunrpc/pm_getport.c: Likewise.
9115 * sunrpc/pmap_clnt.c: Likewise.
9116 * sunrpc/pmap_prot.c: Likewise.
9117 * sunrpc/pmap_prot2.c: Likewise.
9118 * sunrpc/pmap_rmt.c: Likewise.
9119 * sunrpc/publickey.c: Likewise.
9120 * sunrpc/rpc_cmsg.c: Likewise.
9121 * sunrpc/rpc_common.c: Likewise.
9122 * sunrpc/rpc_dtable.c: Likewise.
9123 * sunrpc/rpc_prot.c: Likewise.
9124 * sunrpc/rpc_thread.c: Likewise.
9125 * sunrpc/rtime.c: Likewise.
9126 * sunrpc/svc.c: Likewise.
9127 * sunrpc/svc_auth.c: Likewise.
9128 * sunrpc/svc_authux.c: Likewise.
9129 * sunrpc/svc_raw.c: Likewise.
9130 * sunrpc/svc_run.c: Likewise.
9131 * sunrpc/svc_simple.c: Likewise.
9132 * sunrpc/svc_tcp.c: Likewise.
9133 * sunrpc/svc_udp.c: Likewise.
9134 * sunrpc/svc_unix.c: Likewise.
9135 * sunrpc/svcauth_des.c: Likewise.
9136 * sunrpc/xcrypt.c: Likewise.
9137 * sunrpc/xdr.c: Likewise.
9138 * sunrpc/xdr_array.c: Likewise.
9139 * sunrpc/xdr_float.c: Likewise.
9140 * sunrpc/xdr_intXX_t.c: Likewise.
9141 * sunrpc/xdr_mem.c: Likewise.
9142 * sunrpc/xdr_rec.c: Likewise.
9143 * sunrpc/xdr_ref.c: Likewise.
9144 * sunrpc/xdr_sizeof.c: Likewise.
9145 * sunrpc/xdr_stdio.c: Likewise.
9146
e6c61494
UD
91472011-04-10 Ulrich Drepper <drepper@gmail.com>
9148
9149 [BZ #12650]
9150 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9151 * sysdeps/ia64/dl-tls.h: Likewise.
9152 * sysdeps/powerpc/dl-tls.h: Likewise.
9153 * sysdeps/s390/dl-tls.h: Likewise.
9154 * sysdeps/sh/dl-tls.h: Likewise.
9155 * sysdeps/sparc/dl-tls.h: Likewise.
9156 * sysdeps/x86_64/dl-tls.h: Likewise.
9157 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9158
34fe483e
AS
91592011-03-14 Andreas Schwab <schwab@redhat.com>
9160
9161 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9162 rpath element also skip the following colon.
9163 (expand_dynamic_string_token): Add is_path parameter and pass
9164 down to DL_DST_REQUIRED and _dl_dst_substitute.
9165 (decompose_rpath): Call expand_dynamic_string_token with
9166 non-zero is_path. Ignore empty rpaths.
9167 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9168 with zero is_path.
9169
f12a32e6
AS
91702011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9171
9172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9173 Make cancelable.
9174
38a7d692
UD
91752011-04-09 Ulrich Drepper <drepper@gmail.com>
9176
9177 [BZ #12655]
9178 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9179 Patch by Filipe David Manana <fdmanana@apache.org>.
9180
e451d22b
AS
91812011-04-07 Andreas Schwab <schwab@redhat.com>
9182
9183 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9184 Maintain aligned stack.
9185 (CHECK_RSP): Remove unused macro.
9186
dedc7c7b
UD
91872011-04-03 Ulrich Drepper <drepper@gmail.com>
9188
9189 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9190 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9191
94521213
UD
91922011-04-02 Ulrich Drepper <drepper@gmail.com>
9193
9194 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9195
8cb700c0 9196 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9197
0354e355
L
91982011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9199
9200 [BZ #12518]
9201 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9202 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9203 * sysdeps/x86_64/memmove.c: New file.
9204 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9205 (memcpy): Renamed to ...
9206 (__new_memcpy): This.
9207 (memcpy): Provide GLIBC_2_14 memcpy.
9208 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9209 (memcpy): Provide GLIBC_2_2_5 memcpy.
9210
8593482f
UD
92112011-04-01 Ulrich Drepper <drepper@gmail.com>
9212
9213 [BZ #12631]
9214 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9215
81a5726b
AS
92162011-03-30 Andreas Schwab <schwab@redhat.com>
9217
9218 * misc/syncfs.c: New file.
9219 * misc/Makefile (routines): Add syncfs.
9220 * posix/unistd.h: Declare syncfs.
9221 * sysdeps/unix/syscalls.list: Add syncfs.
9222
00e5419f
AS
92232011-04-01 Andreas Schwab <schwab@redhat.com>
9224
9225 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9226 open_by_handle_at.
9227 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9228 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9229 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9230 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9231 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9232 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9233 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9234
748876bf
UD
92352011-04-01 Ulrich Drepper <drepper@gmail.com>
9236
658e451d
UD
9237 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9238 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9239 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9240 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9241 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9242 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9243 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9244
748876bf
UD
9245 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9246 sync_file_range.c with -fexceptions.
9247 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9248 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9249 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9250 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9251 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9252 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9253 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
9254 sync_file_range as cancellation point
9255 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9256 now a wrapper around __call_sync_file_range with cancellation handling.
9257 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9258 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9259 function name to __call_sync_file_range.
9260 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9261 Add call_sync_file_range.
748876bf 9262
6e63d5e1
AS
92632011-04-01 Andreas Schwab <schwab@redhat.com>
9264
9265 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 9266 bits/timex.h.
6e63d5e1 9267
46998f74
UD
92682011-04-01 Ulrich Drepper <drepper@gmail.com>
9269
4c1423ed
UD
9270 * iconv/iconv.h: Fix typo in comment.
9271 * io/fcntl.h: Likewise.
9272 * libio/stdio.h: Likewise.
9273 * posix/spawn.h: Likewise.
9274 * posix/unistd.h: Likewise.
9275 * stdlib/stdlib.h: Likewise.
9276 * time/time.h: Likewise.
9277 * wcsmbs/wchar.h: Likewise.
9278
158648c0
UD
9279 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9280 open_by_handle): Add.
9281 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9282 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9283 Augment a few comments.
9284 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9285 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9286 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9287 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9288 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9289 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9290 open_by_handle.
9291
46998f74
UD
9292 * io/fcntl.h (AT_EMPTY_PATH): Define.
9293
83fe108b
UD
92942011-03-30 Ulrich Drepper <drepper@gmail.com>
9295
9296 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9297 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9298 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9299 to...
9300 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
9301 * Versions.def: Add GLIBC_2.14.
9302 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9303 Export.
83fe108b 9304
bb242059
UD
93052011-03-22 Ulrich Drepper <drepper@gmail.com>
9306
9307 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9308 round counter.
9309 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9310
c97a1282
L
93112011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9312
9313 [BZ #12597]
9314 * string/test-strncmp.c (do_page_test): New function.
9315 (check2): Likewise.
9316 (test_main): Call check2.
9317 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9318
2a115601
UD
93192011-03-20 Ulrich Drepper <drepper@gmail.com>
9320
9321 [BZ #12587]
9322 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9323 Handle cache information in CPU leaf 4.
9324 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9325
8126d904
UD
93262011-03-18 Ulrich Drepper <drepper@gmail.com>
9327
042c49c6 9328 [BZ #12583]
8126d904
UD
9329 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9330 character representation.
9331 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9332
ccfe366e
RA
93332011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9334
9335 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9336 END(__isnan) to END(__isnanf) to match function entry point/label
9337 EALIGN(__isnanf,...).
9338
c6e13027
JJ
93392011-03-10 Jakub Jelinek <jakub@redhat.com>
9340
9341 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9342
33f85a3f
UD
93432011-03-10 Ulrich Drepper <drepper@gmail.com>
9344
028478fa
UD
9345 [BZ #12510]
9346 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9347 copy from the symbol referenced in the relocation to initialize the
9348 used variable.
9349 Patch by Piotr Bury <pbury@goahead.com>.
9350 * elf/Makefile: Add rules to build and tst-unique3.
9351 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9352 * elf/tst-unique3.cc: New file.
9353 * elf/tst-unique3.h: New file.
9354 * elf/tst-unique3lib.cc: New file.
9355 * elf/tst-unique3lib2.cc: New file.
9356
33f85a3f
UD
9357 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9358
03592fc7
MF
93592011-03-10 Mike Frysinger <vapier@gentoo.org>
9360
9361 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9362 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9363 to _start.
03592fc7 9364
6a5ee102
UD
93652011-03-06 Ulrich Drepper <drepper@gmail.com>
9366
9367 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9368 to-be-loaded object along a path to loader is ld.so.
9369
7e4ba49c
HJ
93702011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9371 Ulrich Drepper <drepper@gmail.com>
9372
9373 * sysdeps/x86_64/memset.S: After aligning destination, code
9374 branches to different locations depending on the value of
9375 misalignment, when multiarch is enabled. Fix this.
9376
93772011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9378
9379 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9380 Set _x86_64_preferred_memory_instruction for AMD processsors.
9381 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9382 Set bit_Prefer_SSE_for_memop for AMD processors.
9383
13a804de
UD
93842011-03-04 Ulrich Drepper <drepper@gmail.com>
9385
9386 * libio/fmemopen.c (fmemopen): Optimize a bit.
9387
9d25c392
AS
93882011-03-03 Andreas Schwab <schwab@redhat.com>
9389
9390 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9391
a5543c6a
RM
93922011-03-03 Roland McGrath <roland@redhat.com>
9393
9394 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9395
012d35f7
DM
93962011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9397
7e4ba49c 9398 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9399 __bzero_ultra1 instead of __memset_ultra1.
9400
4bff6e01
AS
94012011-02-23 Andreas Schwab <schwab@redhat.com>
9402 Ulrich Drepper <drepper@gmail.com>
9403
9404 [BZ #12509]
9405 * include/link.h (struct link_map): Add l_orig_initfini.
9406 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9407 returning unsuccessfully.
9408 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9409 close of a file loaded at startup, restore the original l_initfini
9410 list.
9411 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9412 list, store the pointer.
9413 * elf/Makefile ($(objpfx)noload-mem): New rule.
9414 (noload-ENV): Define.
9415 (tests): Add $(objpfx)noload-mem.
9416 * elf/noload.c: Include <memcheck.h>.
9417 (main): Call mtrace. Close all opened handles.
9418
f2092faf
AS
94192011-02-17 Andreas Schwab <schwab@redhat.com>
9420
9421 [BZ #12454]
9422 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9423 dependencies are missing.
9424
6c8a2e88
ST
94252011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9426
f2092faf 9427 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
9428 Hurd needs munmap.
9429 * sysdeps/mach/hurd/ifreq.h: New file.
9430
84a42118
PB
94312011-01-27 Petr Baudis <pasky@suse.cz>
9432 Ulrich Drepper <drepper@gmail.com>
9433
071f805e 9434 [BZ 12445]#
84a42118
PB
9435 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9436 to extend_alloca().
9437 * stdio-common/bug23.c: New file.
9438 * stdio-common/Makefile (tests): Add bug23.
9439
e23fe25b
AS
94402010-09-28 Andreas Schwab <schwab@redhat.com>
9441 Ulrich Drepper <drepper@gmail.com>
9442
9443 [BZ #12489]
9444 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9445 before performing relro protection. At old place add assertion
9446 to make sure nothing changed.
9447
d3f02e10
NS
94482011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9449 Glauber de Oliveira Costa <glommer@gmail.com>
9450
9451 * elf/elf.h: Add new ARM TLS relocs.
9452
d55fd7a5
RA
94532011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9454
9455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9456 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9457 cast from r3.
9458 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9459 'tests' variable.
9460 * sysdeps/wordsize-64/tst-writev.c: New file.
9461
2206397e
RA
94622011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9463
9464 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9465 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9466 insns in _dl_start to prevent a TOC reference before relocs are
9467 resolved.
9468
e9433893
UD
94692011-02-15 Ulrich Drepper <drepper@gmail.com>
9470
9471 [BZ #12469]
9472 * Makeconfig: Remove RANLIB definition.
9473 * Makerules: Don't use RANLIB.
9474 * aclocal.m4: Remove ranlib test.
9475 * configure.in: No need to check for ranlib.
9476 * elf/rtld-Rules: Don't use RANLIB.
9477
f75286c6
ST
94782011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9479
8e31c82d
ST
9480 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9481 protection macro.
9482 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9483 inclusion protection macro.
9484
f75286c6
ST
9485 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9486 SIGRTMIN and SIGRTMAX and print information in that case only when
9487 SIGRTMIN is defined.
9488
c1d0e639
JJ
94892011-02-11 Jakub Jelinek <jakub@redhat.com>
9490
9491 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9492 arginfo fn returning -1.
9493
9494 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9495 and thousands string is zero terminated.
9496
edf9294e
AS
94972011-02-03 Andreas Schwab <schwab@redhat.com>
9498
9499 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9500 sysdeps/unix/sysv/linux/bits/socket.h.
9501
2b7e92df
ST
95022011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9503
edf9294e
AS
9504 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9505 (__CPU_COUNT): Remove old macros.
9506 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9507 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9508 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
9509 (__sched_cpualloc, __sched_cpufree): Add declarations.
9510
a4c7ea7b
UD
95112011-02-05 Ulrich Drepper <drepper@gmail.com>
9512
9513 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9514 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9515 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9516 (readdhstai): Return value of addhstaiX call.
9517 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9518 (addgrbyX): Return value returned by cache_addgr.
9519 (readdgrbyname): Return value returned by addgrbyX.
9520 (readdgrbygid): Likewise.
9521 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9522 (addpwbyX): Return value returned by cache_addpw.
9523 (readdpwbyname): Return value returned by addhstbyX.
9524 (readdpwbyuid): Likewise.
9525 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9526 (addservbyX): Return value returned by cache_addserv.
9527 (readdservbyname): Return value returned by addservbyX:
9528 (readdservbyport): Likewise.
9529 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9530 (addhstbyX): Return value returned by cache_addhst.
9531 (readdhstbyname): Return value returned by addhstbyX.
9532 (readdhstbyaddr): Likewise.
9533 (readdhstbynamev6): Likewise.
9534 (readdhstbyaddrv6): Likewise.
9535 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9536 (readdinitgroups): Return value returned by addinitgroupsX.
9537 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9538 (prune_cache): Keep track of timeout value of re-added entries.
9539 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9540 * nscd/nscd.h: Adjust prototypes of readd* functions.
9541
a0bf67cc
RM
95422011-02-04 Roland McGrath <roland@redhat.com>
9543
9544 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9545 (nis_stats): Likewise.
9546 * nis/nis_modify.c (nis_modify): Likewise.
9547 * nis/nis_remove.c (nis_remove): Likewise.
9548 * nis/nis_add.c (nis_add): Likewise.
9549
9550 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9551
9552 * posix/fnmatch_loop.c: Add some consts.
9553
9554 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9555
435b95eb
L
95562011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9557
9558 [BZ #12460]
9559 * config.make.in (config-cflags-novzeroupper): Define.
9560 * configure.in: Substitute libc_cv_cc_novzeroupper.
9561 * elf/Makefile (AVX-CFLAGS): Define.
9562 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9563 (CFLAGS-tst-auditmod4a.c): Likewise.
9564 (CFLAGS-tst-auditmod4b.c): Likewise.
9565 (CFLAGS-tst-auditmod6b.c): Likewise.
9566 (CFLAGS-tst-auditmod6c.c): Likewise.
9567 (CFLAGS-tst-auditmod7b.c): Likewise.
9568 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9569
8517b15e
UD
95702011-02-02 Ulrich Drepper <drepper@gmail.com>
9571
9572 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9573 function to the callback.
9574 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9575
10a656fe
AS
95762011-02-02 Andreas Schwab <schwab@redhat.com>
9577
9578 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9579 of errno.
9580
968dad0a
UD
95812011-01-19 Ulrich Drepper <drepper@gmail.com>
9582
9f94d2ea 9583 [BZ #11724]
968dad0a
UD
9584 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9585 of constructors.
9586 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9587 of destructors.
9588 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9589
9590 [BZ #11724]
9591 * elf/Makefile: Add rules to build and run new test.
9592 * elf/tst-initorder.c: New file.
9593 * elf/tst-initorder.exp: New file.
9594 * elf/tst-initordera1.c: New file.
9595 * elf/tst-initordera2.c: New file.
9596 * elf/tst-initordera3.c: New file.
9597 * elf/tst-initordera4.c: New file.
9598 * elf/tst-initorderb1.c: New file.
9599 * elf/tst-initorderb2.c: New file.
9600 * elf/tst-order-a1.c: New file.
9601 * elf/tst-order-a2.c: New file.
9602 * elf/tst-order-a3.c: New file.
9603 * elf/tst-order-a4.c: New file.
9604 * elf/tst-order-b1.c: New file.
9605 * elf/tst-order-b2.c: New file.
9606 * elf/tst-order-main.c: New file.
9607 New test case by George Gensure <werkt0@gmail.com>.
9608
86e92359
UD
96092010-10-01 Andreas Schwab <schwab@redhat.com>
9610
9611 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9612 decoding ACE if AI_CANONIDN.
9613
5d5732b0
UD
96142011-01-18 Ulrich Drepper <drepper@gmail.com>
9615
9616 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9617
a77e8cbc
UD
96182011-01-17 Ulrich Drepper <drepper@gmail.com>
9619
6392473f
UD
9620 * version.h (RELEASE): Bump for 2.13 release.
9621 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9622
620a0529
UD
9623 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9624
18ba70a5
UD
9625 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9626 MADV_NOHUGEPAGE.
32465c3e
UD
9627 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9628 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9629 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9630 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9631 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9632 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9633
c0dafcf1
UD
9634 * posix/getconf.c: Update copyright year.
9635 * catgets/gencat.c: Likewise.
9636 * csu/version.c: Likewise.
9637 * debug/catchsegv.sh: Likewise.
9638 * debug/xtrace.sh: Likewise.
9639 * elf/ldconfig.c: Likewise.
9640 * elf/ldd.bash.in: Likewise.
9641 * elf/sprof.c (print_version): Likewise.
9642 * iconv/iconv_prog.c: Likewise.
9643 * iconv/iconvconfig.c: Likewise.
9644 * locale/programs/locale.c: Likewise.
9645 * locale/programs/localedef.c: Likewise.
9646 * malloc/memusage.sh: Likewise.
9647 * malloc/mtrace.pl: Likewise.
9648 * nscd/nscd.c (print_version): Likewise.
9649 * nss/getent.c: Likewise.
9650
a77e8cbc
UD
9651 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9652 PF_CAIF, and PF_ALG.
9653 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9654
77e8bddf
AS
96552011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9656
1f20b93a
AS
9657 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9658 (modules-names): Use them.
9659 (ifunc-test-modules, ifunc-pie-tests): Define.
9660 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9661 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9662 (test-extras): Likewise.
9663 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9664 $(compile-command.c).
9665 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9666 (all-built-dso): Define.
9667 (check-textrel.out, check-execstack.out): Depend on it.
9668
77e8bddf
AS
9669 * configure.in: Don't override --enable-multi-arch.
9670
bc425b33
UD
96712011-01-15 Ulrich Drepper <drepper@gmail.com>
9672
9673 [BZ #6812]
9674 * nscd/hstcache.c (tryagain): Define.
9675 (cache_addhst): Return tryagain not notfound for temporary errors.
9676 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9677 failed.
9678
794c3ad3
UD
96792011-01-14 Ulrich Drepper <drepper@gmail.com>
9680
70181fdd
UD
9681 [BZ #10563]
9682 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9683 to make the syscall.
9684 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9685
794c3ad3
UD
9686 [BZ #12378]
9687 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9688 and fall back to matching as normal character if the string ends before
9689 the matching ']' is found. This is what POSIX requires.
9690 * posix/testfnm.c: Adjust test result.
9691 * posix/globtest.sh: Adjust test result. Add new test.
9692 * posix/tst-fnmatch.input: Likewise.
9693 * posix/tst-fnmatch2.c: Add new test.
9694
68dc9497
AS
96952010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9696
9697 * elf/Makefile (check-execstack): Revert last change. Depend on
9698 check-execstack.h.
9699 (check-execstack.h): New target.
9700 (generated): Add check-execstack.h.
9701 * elf/check-execstack.c: Include "check-execstack.h".
9702 (main): Revert last change.
9703 (handle_file): Return zero if GNU_STACK is absent and
9704 DEFAULT_STACK_PERMS doesn't include PF_X.
9705
451f001b
UD
97062011-01-13 Ulrich Drepper <drepper@gmail.com>
9707
cfa28e56
UD
9708 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9709 in child fails because the descriptor is already closed.
8cf8ce17
UD
9710 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9711 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9712 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 9713
1086d70d
UD
9714 [BZ #12397]
9715 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9716 syscall.
9717
451f001b
UD
9718 [BZ #10484]
9719 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9720 temporary buffer used to handle multi lookups locally.
a85b5cb4 9721 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 9722
08769175
UD
97232011-01-12 Ulrich Drepper <drepper@gmail.com>
9724
9725 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9726 loader is ld.so.
9727
5e49c52e
UD
97282011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9729
9730 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9731 alignment for SSE2.
9732
60522a5f
UD
97332011-01-12 Ulrich Drepper <drepper@gmail.com>
9734
9735 [BZ #12394]
9736 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9737 characters. When rounding increased number of integer digits recompute
9738 number of groups.
9739 * stdio-common/tst-grouping.c: New file.
9740 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9741
f257bbd7
UD
97422011-01-09 Ulrich Drepper <drepper@gmail.com>
9743
9744 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9745 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9746
9747 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9748 void.
9749 * bits/select.h: Likewise.
9750
fa9c15cb
UD
97512011-01-08 Ulrich Drepper <drepper@gmail.com>
9752
9753 * po/ja.po: Update from translation team.
9754
16c2895f
DM
97552011-01-04 David S. Miller <davem@sunset.davemloft.net>
9756
9757 [BZ #11155]
9758 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9759 implementation just like for lxstat, fxstatat, et al.
9760
2543fef2
JM
97612010-12-27 Jim Meyering <meyering@redhat.com>
9762
9763 [BZ #12348]
9764 * posix/regexec.c (build_trtable): Return failure indication upon
9765 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9766
98727dbe
UD
97672010-12-25 Ulrich Drepper <drepper@gmail.com>
9768
5bd6dc5c
UD
9769 [BZ #12201]
9770 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9771 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9772 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9773 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9774
97983464
UD
9775 [BZ #12207]
9776 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9777
98727dbe
UD
9778 [BZ #12204]
9779 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9780 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9781
4a531bb0
L
97822010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9783
9784 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9785 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9786 script has SORT_BY_INIT_PRIORITY.
9787 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9788 NO_CTORS_DTORS_SECTIONS is defined.
9789 * elf/soinit.c: Likewise.
9790 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9791 NO_CTORS_DTORS_SECTIONS is defined.
9792 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9793 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9794 * sysdeps/sh/init-first.c: Likewise.
9795 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9796
07eb4b71
UD
97972010-12-24 Ulrich Drepper <drepper@gmail.com>
9798
9799 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9800 always use the slow path.
9801
30950a5f
RA
98022010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9803
9804 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9805 similar rule which adds the sysdep directories to the header search in
9806 order to pick up the correct platform stackinfo.h.
9807 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9808 perform test if it is, otherwise return successfully without testing.
9809 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9810 DEFAULT_STACK_PERMS define in stackinfo.h.
9811 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9812 defined in stackinfo.h.
9813 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9814 DEFAULT_STACK_PERMS defined in stackinfo.h.
9815 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9816 * sysdeps/ia64/stackinfo.h: Likewise.
9817 * sysdeps/s390/stackinfo.h: Likewise.
9818 * sysdeps/sh/stackinfo.h: Likewise.
9819 * sysdeps/sparc/stackinfo.h: Likewise.
9820 * sysdeps/x86_64/stackinfo.h: Likewise.
9821 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9822 PF_X for powerpc64. Retain PF_X for powerpc32.
9823
db753e2c
UD
98242010-12-19 Ulrich Drepper <drepper@gmail.com>
9825
14b697f7
UD
9826 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9827 accurately.
db753e2c
UD
9828 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9829 GETDENTS_64BIT_ALIGNED.
9830
28300719
UD
98312010-12-14 Ulrich Drepper <dreper@gmail.com>
9832
14b697f7 9833 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 9834
4f197237
AS
98352010-12-10 Andreas Schwab <schwab@redhat.com>
9836
dbb0472f
AS
9837 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9838 _GNU_SOURCE.
9839
4f197237
AS
9840 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9841 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9842 Remove __restrict.
9843 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9844 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9845
fb88ac72
UD
98462010-12-09 Ulrich Drepper <drepper@gmail.com>
9847
9848 [BZ #11655]
9849 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9850 are initialized.
9851
42acbb92
JJ
98522010-12-09 Jakub Jelinek <jakub@redhat.com>
9853
9854 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9855
c038d98d
UD
98562010-12-03 Ulrich Drepper <drepper@gmail.com>
9857
9858 * po/it.po: Update from translation team.
9859
3a4a2499
L
98602010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9861
9862 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9863 unused codes.
9864
1e24cf6e
UD
98652010-11-30 Ulrich Drepper <drepper@gmail.com>
9866
9867 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9868
a7690819
AS
98692010-11-24 Andreas Schwab <schwab@redhat.com>
9870
9871 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9872 specially.
9873 (gaih_getanswer_slice): Likewise.
9874
3bf8d1b1
JJ
98752010-10-20 Jakub Jelinek <jakub@redhat.com>
9876
9877 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9878
6db52fbb
PB
98792010-05-31 Petr Baudis <pasky@suse.cz>
9880
9881 [BZ #11149]
9882 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9883 silently even in the chroot mode.
9884
eaca7569
UD
98852010-11-22 Ulrich Drepper <drepper@gmail.com>
9886
9887 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9888 last patch a bit. Pretty printing
9889
3056dcdb
UD
98902010-05-31 Petr Baudis <pasky@suse.cz>
9891
9892 [BZ #10085]
9893 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9894 initialization of skip_initgroups_dyn.
9895
cf7c9078
UD
98962010-11-19 Ulrich Drepper <drepper@gmail.com>
9897
9898 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9899 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9900
a1fb5e3e
UD
99012010-11-16 Ulrich Drepper <drepper@gmail.com>
9902
9903 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9904
3540d66b
AS
99052010-11-11 Andreas Schwab <schwab@redhat.com>
9906
9907 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9908 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9909 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9910 ($(objpfx)tst-fnmatch-mem): New rule.
9911 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9912 * posix/tst-fnmatch.c (main): Call mtrace.
9913
13b69574
L
99142010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9915
9916 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9917 Support Intel processor model 6 and model 0x2c.
9918
da93d214
LM
99192010-11-10 Luis Machado <luisgpm@br.ibm.com>
9920
9921 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9922 signed comparison.
9923
8ca52c6e
L
99242010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9925
9926 [BZ #12205]
9927 * string/test-strncasecmp.c (check_result): New function.
9928 (do_one_test): Use it.
9929 (check1): New function.
9930 (test_main): Use it.
9931 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9932 Support strcasecmp and strncasecmp.
9933
69da074d
UD
99342010-11-08 Ulrich Drepper <drepper@gmail.com>
9935
9936 [BZ #12194]
9937 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9938 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9939
ff02d528
L
99402010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9941
9942 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9943 IFUNC support.
9944 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9945 memset-x86-64.
9946 * sysdeps/x86_64/multiarch/bzero.S: New file.
9947 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9948 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9949 * sysdeps/x86_64/multiarch/memset.S: New file.
9950 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9952 Set bit_Prefer_SSE_for_memop for Intel processors.
9953 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9954 Define.
9955 (index_Prefer_SSE_for_memop): Define.
9956 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9957
344d0b54
LM
99582010-11-04 Luis Machado <luisgpm@br.ibm.com>
9959
9960 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9961 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9962
c0dde15b
UD
99632010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9964
9965 [BZ #12191]
9966 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9967 (__x86_64_raw_data_cache_size_half): Likewise.
9968 (__x86_64_raw_shared_cache_size): Likewise.
9969 (__x86_64_raw_shared_cache_size_half): Likewise.
9970
9971 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9972 (__x86_64_raw_data_cache_size_half): Likewise.
9973 (__x86_64_raw_shared_cache_size): Likewise.
9974 (__x86_64_raw_shared_cache_size_half): Likewise.
9975 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9976 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9977 and __x86_64_raw_shared_cache_size_half. Round
9978 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9979 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9980 to multiple of 256 bytes.
9981
0e516e0e
MS
99822010-11-03 Ulrich Drepper <drepper@gmail.com>
9983
9984 [BZ #12167]
9985 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9986 of inacessible symlinks. Verify result of symlink before returning it.
9987 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9988 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9989
0e012e87
ER
99902010-10-28 Erich Ritz <erichritz@gmail.com>
9991
9992 * math/math.h (isinf): Fix typo in comment.
9993
de0ff7bc
UD
99942010-11-01 Ulrich Drepper <drepper@gmail.com>
9995
9996 * po/da.po: Update from translation team.
9997
fa41c84d
UD
99982010-10-26 Ulrich Drepper <drepper@gmail.com>
9999
10000 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10001 is added to the list.
10002
f0967738
AK
100032010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10004 Ulrich Drepper <drepper@gmail.com>
10005
10006 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10007 the global list here. Move code to...
10008 (_dl_add_to_namespace_list): ...here. New function.
10009 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10010 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10011 * elf/dl-load.c (lose): Don't remove the element from the list.
10012 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10013 (_dl_map_object): Likewise.
10014
100152010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
10016
10017 [BZ #12159]
10018 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10019 into all bytes of SSE register.
10020 Patch by Richard Li <richardpku@gmail.com>.
10021
f0967738 100222010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
10023
10024 [BZ #12140]
10025 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10026 perturbing.
10027
d0b9e94f
MB
100282010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10029
10030 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10031 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10032 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10033 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10035 submachine.
10036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10037
8e9f92e9
AS
100382010-10-22 Andreas Schwab <schwab@redhat.com>
10039
10040 * include/dlfcn.h (__RTLD_SECURE): Define.
10041 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10042 mode & __RTLD_SECURE instead.
10043 (open_path): Rename preloaded parameter to secure.
10044 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10045 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10046 * elf/dl-deps.c (openaux): Likewise.
10047 * elf/rtld.c (struct map_args): Remove is_preloaded.
10048 (map_doit): Don't use it.
10049 (dl_main): Likewise.
10050 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10051 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10052
bc96fbda
AS
100532010-09-09 Andreas Schwab <schwab@redhat.com>
10054
10055 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10056 (sysd-rules-targets): Remove duplicates.
10057 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10058 rtld-%.$o dependency.
10059
22cd1c9b
AS
100602010-10-18 Andreas Schwab <schwab@redhat.com>
10061
10062 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10063 _dl_map_object do it.
10064
18edac48
UD
100652010-10-19 Ulrich Drepper <drepper@gmail.com>
10066
10067 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10068 fast fma builtins, define the macros in the C99 standard.
10069 (FP_FAST_FMAF): Likewise.
10070 (FP_FAST_FMAL): Likewise.
10071 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10072
10073 * bits/mathdef.h: Update copyright year.
10074 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10075
d2050124
MM
100762010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10077
10078 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10079 builtins, define the macros in the C99 standard.
10080 (FP_FAST_FMAF): Likewise.
10081 (FP_FAST_FMAL): Likewise.
10082 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10083 multiply/add.
10084 (FP_FAST_FMAF): Likewise.
10085
475facd1
JJ
100862010-10-15 Jakub Jelinek <jakub@redhat.com>
10087
10088 [BZ #3268]
10089 * math/libm-test.inc (fma_test): Some new testcases.
10090 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10091 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10092 y and infinite z. Do multiplication by C already in long double.
10093 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10094 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10095 y and infinite z. Do bitwise or of inexact bit into u.d.
10096 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10097 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10098 * sysdeps/i386/fpu/s_fma.S: Removed.
10099 * sysdeps/i386/fpu/s_fmal.S: Removed.
10100
7c08a05c
JJ
101012010-10-16 Jakub Jelinek <jakub@redhat.com>
10102
10103 [BZ #3268]
10104 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10105 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10106 computation is not scheduled after fetestexcept. Fix value
10107 of minimum denormal long double.
10108
f3f7372d
JJ
101092010-10-14 Jakub Jelinek <jakub@redhat.com>
10110
10111 [BZ #3268]
10112 * math/libm-test.inc (fma_test): Add some more tests.
10113 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10114 correctly.
10115
14d43591
AS
101162010-10-15 Andreas Schwab <schwab@redhat.com>
10117
10118 * scripts/data/localplt-s390-linux-gnu.data: New file.
10119 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10120
5e908464
JJ
101212010-10-13 Jakub Jelinek <jakub@redhat.com>
10122
10123 [BZ #3268]
10124 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10125 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10126 instead of dbl-64.
10127 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10128 inlines.
10129 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10130 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10131 if one of x and y is very large and the other is subnormal.
10132 * sysdeps/s390/fpu/s_fmaf.c: New file.
10133 * sysdeps/s390/fpu/s_fma.c: New file.
10134 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10135 * sysdeps/powerpc/fpu/s_fma.S: New file.
10136 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10137 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10138 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10139
101402010-10-12 Jakub Jelinek <jakub@redhat.com>
10141
10142 [BZ #3268]
10143 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10144 fma tests.
10145 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10146 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10147 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10148 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10149 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10150 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10151 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10152
b833d51f
UD
101532010-10-12 Ulrich Drepper <drepper@redhat.com>
10154
10155 [BZ #12078]
10156 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10157 * posix/bug-regex31.input: Add test case.
10158
1751705d
UD
101592010-10-11 Ulrich Drepper <drepper@gmail.com>
10160
e9b9cbf5
UD
10161 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10162 * posix/bug-regex31.input: New file.
10163
10164 [BZ #12078]
10165 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10166 (parse_sub_exp): Fix last change, use postorder.
10167
ef06edbe
UD
10168 * posix/bug-regex31.c: New file.
10169 * posix/Makefile: Add rules to build and run bug-regex31.
10170
a129c80d
UD
10171 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10172
10173 [BZ #12078]
10174 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10175
b76b818e
UD
10176 [BZ #12108]
10177 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10178 to have entries in sys_siglist.
10179
1751705d
UD
10180 [BZ #12093]
10181 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10182 be NULL.
10183
9ff8d36f
JJ
101842010-10-07 Jakub Jelinek <jakub@redhat.com>
10185
10186 [BZ #3268]
10187 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10188 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10189 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10190 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10191 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10192 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10193 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10194 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10195 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10196 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10197 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10198 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10199 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10200 * math/ftestexcept.c (fetestexcept): Likewise.
10201 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10202 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10203 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10204 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10205 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10206 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10207 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10208
af325969
UD
102092010-10-11 Ulrich Drepper <drepper@gmail.com>
10210
c579b202 10211 [BZ #12107]
af325969
UD
10212 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10213 newline.
10214
67a67b95
UD
102152010-10-06 Ulrich Drepper <drepper@gmail.com>
10216
10217 * string/bug-strstr1.c: New file.
10218 * string/Makefile: Add rules to build and run bug-strstr1.
10219
5fb308bc
EB
102202010-10-05 Eric Blake <eblake@redhat.com>
10221
10222 [BZ #12092]
10223 * string/str-two-way.h (two_way_long_needle): Always clear memory
10224 when skipping input due to the shift table.
10225
45db99c7
UD
102262010-10-03 Ulrich Drepper <drepper@gmail.com>
10227
3b111893
UD
10228 [BZ #12005]
10229 * malloc/mcheck.c: Handle large requests.
10230
45db99c7
UD
10231 [BZ #12077]
10232 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10233 for strncmp and strncasecmp.
10234 * string/stratcliff.c: Add tests for strcmp and strncmp.
10235 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10236
cf7a1eb8
NI
102372010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10238
10239 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10240 __set_fpscr.
10241
6484ba5e
AJ
102422010-09-30 Andreas Jaeger <aj@suse.de>
10243
10244 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10245 (CGROUP_SUPER_MAGIC): Define.
10246 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10247 Handle btrfs and cgroup file systems.
10248 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10249 Likewise.
10250
91c42559
LM
102512010-09-27 Luis Machado <luisgpm@br.ibm.com>
10252
10253 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10254 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10255
87a97932
AK
102562010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10257
10258 [BZ #12067]
10259 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10260 trying to locate the ELF header.
10261
c21cc9bc
AS
102622010-09-27 Andreas Schwab <schwab@redhat.com>
10263
10264 [BZ #11611]
10265 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10266 Mask out sign-bit copies when constructing f_fsid.
10267
315970f6
PB
102682010-09-24 Petr Baudis <pasky@suse.cz>
10269
10270 * debug/stack_chk_fail_local.c: Add missing licence exception.
10271 * debug/warning-nop.c: Likewise.
10272
1ac7a2c7
JM
102732010-09-15 Joseph Myers <joseph@codesourcery.com>
10274
10275 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10276 implementing getdents64 using getdents syscall, set d_type if
10277 __ASSUME_GETDENTS32_D_TYPE.
10278
56801c50
AS
102792010-09-16 Andreas Schwab <schwab@redhat.com>
10280
10281 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10282 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10283
dda51327
UD
102842010-09-21 Ulrich Drepper <drepper@redhat.com>
10285
10286 [BZ #12037]
10287 * posix/unistd.h: Undo change of feature selection for ftruncate from
10288 2010-01-11.
10289
8ffcee4a
UD
102902010-09-20 Ulrich Drepper <drepper@redhat.com>
10291
a545ecd9 10292 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
10293 detection.
10294
e24f0a8b
AS
102952010-09-20 Andreas Schwab <schwab@redhat.com>
10296
10297 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10298 fanotify_mark.
10299 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10300
7291c56f
AS
103012010-09-14 Andreas Schwab <schwab@redhat.com>
10302
10303 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10304 variables after CHECK_SP call.
10305 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10306
bc5fb037
AS
103072010-09-13 Andreas Schwab <schwab@redhat.com>
10308 Ulrich Drepper <drepper@redhat.com>
10309
10310 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10311 re-relocationg ld.so.
10312 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10313 _dl_init_paths call.
10314 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10315 here anymore.
10316
e66e7419
UD
103172010-09-14 Ulrich Drepper <drepper@redhat.com>
10318
10319 * resolv/res_init.c (__res_vinit): Count the default server we added.
10320
c044aa75
CLT
103212010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10322 Ulrich Drepper <drepper@redhat.com>
10323
10324 [BZ #11968]
10325 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10326 (____longjmp_chk): Use %ebx for saving value across system call.
10327 Add unwind info.
10328
32cf4069
AS
103292010-09-06 Andreas Schwab <schwab@redhat.com>
10330
10331 * manual/Makefile: Don't mix pattern rules with normal rules.
10332
817328ee
AS
103332010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10334
10335 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10336 operation.
10337 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10338 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10339 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10340 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10341 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10342 Likewise.
10343
29fddf61
UD
103442010-09-04 Ulrich Drepper <drepper@redhat.com>
10345
10346 [BZ #11979]
10347 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10348 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10349
0959ffc9
UD
103502010-09-02 Ulrich Drepper <drepper@redhat.com>
10351
10352 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10353 * sysdeps/x86_64/addmul_1.S: Likewise.
10354 * sysdeps/x86_64/lshift.S: Likewise.
10355 * sysdeps/x86_64/mul_1.S: Likewise.
10356 * sysdeps/x86_64/rshift.S: Likewise.
10357 * sysdeps/x86_64/sub_n.S: Likewise.
10358 * sysdeps/x86_64/submul_1.S: Likewise.
10359
ece29840
ST
103602010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10361
0959ffc9
UD
10362 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10363 Define __sched_param instead of SCHED_* and sched_param when
ece29840 10364 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 10365 * bits/sched.h [__need_schedparam]
ece29840 10366 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
10367 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10368 (__defined_schedparam): Define to 1.
ece29840
ST
10369 (__sched_param): New structure, identical to sched_param.
10370 (__need_schedparam): Undefine.
10371
e53a31fe
MF
103722010-08-31 Mike Frysinger <vapier@gentoo.org>
10373
fdc0c10d
MF
10374 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10375 (epoll_create1): Declare.
10376
e53a31fe
MF
10377 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10378
a726d796
AS
103792010-08-31 Andreas Schwab <schwab@redhat.com>
10380
10381 [BZ #7066]
10382 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10383 shifting retval into place.
10384
2f3e3dc7
UD
103852010-09-01 Ulrich Drepper <drepper@redhat.com>
10386
f2933da9
UD
10387 * nis/rpcsvc/nis.h: Update copyright notice.
10388 * nis/rpcsvc/nis.x: Likewise.
10389 * nis/rpcsvc/nis_callback.h: Likewise.
10390 * nis/rpcsvc/nis_callback.x: Likewise.
10391 * nis/rpcsvc/nis_object.x: Likewise.
10392 * nis/rpcsvc/nis_tags.h: Likewise.
10393 * nis/rpcsvc/yp.h: Likewise.
10394 * nis/rpcsvc/yp.x: Likewise.
10395 * nis/rpcsvc/ypupd.h: Likewise.
10396 * nis/yp_xdr.c: Likewise.
10397 * nis/ypupdate_xdr.c: Likewise.
10398
2f3e3dc7
UD
10399 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10400 mainly the body of pmap_getport. Add parameters to specify timeouts.
10401 (pmap_getport): Use __libc_rpc_getport.
10402 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10403 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10404 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10405
f3dcc2f9
AS
104062010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10407
10408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10409 fanotify_mark.
10410
6d34eb5b
RM
104112010-08-27 Roland McGrath <roland@redhat.com>
10412
10413 * sysdeps/i386/i686/multiarch/Makefile
10414 (CFLAGS-varshift.c): New variable.
10415
9ea3de11
UD
104162010-08-27 Ulrich Drepper <drepper@redhat.com>
10417
c96d23fc
UD
10418 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10419 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10420
9ea3de11
UD
10421 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10422
10423 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10424
623aac7f
L
104252010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10426
10427 * sysdeps/x86_64/strlen.S: Unroll the loop.
10428 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10429 strlen-sse2 strlen-sse2-bsf.
10430 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10431 __strlen_no_bsf if bit_Slow_BSF is set.
10432 (__strlen_sse42): Removed.
10433 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10434 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10435
8b2b7715
RM
104362010-08-25 Roland McGrath <roland@redhat.com>
10437
10438 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10439 * sysdeps/x86_64/multiarch/varshift.c: New file.
10440 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10441 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10442 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10443 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10444
e73015f2
L
104452010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10446
10447 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10448 strlen-sse2 strlen-sse2-bsf.
10449 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10450 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10451 (__strlen_sse2): Removed.
10452 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10453 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10455 bit_Slow_BSF for Atom.
10456 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10457 (index_Slow_BSF): Define.
10458 (HAS_SLOW_BSF): Define.
10459
df24a73e
UD
104602010-08-25 Ulrich Drepper <drepper@redhat.com>
10461
10462 [BZ #10851]
10463 * resolv/res_init.c (__res_vinit): When no server address at all
10464 is given default to loopback.
10465
f2ac4868
RM
104662010-08-24 Roland McGrath <roland@redhat.com>
10467
09055553
RM
10468 * configure.in: Remove config-name.h generation.
10469 * configure: Regenerated.
10470 * config-name.in: File removed.
10471 * scripts/config-uname.sh: New file.
10472 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10473 ($(objdir)config-name.h): New target.
10474
f2ac4868
RM
10475 * sunrpc/rpc_parse.h: Avoid nested comment.
10476
73f27d5e
RH
104772010-08-24 Richard Henderson <rth@redhat.com>
10478 Ulrich Drepper <drepper@redhat.com>
10479 H.J. Lu <hongjiu.lu@intel.com>
10480
10481 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10482 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10483 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10484 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10485 _mm_alignr_epi8 with _mm_loadu_si128.
10486 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10487 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10488 (__m128i_shift_right): Removed.
10489 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10490 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10491 * sysdeps/x86_64/multiarch/varshift.h: New file.
10492 * sysdeps/x86_64/multiarch/varshift.S: New file.
10493
84b9230c
MF
104942010-08-21 Mike Frysinger <vapier@gentoo.org>
10495
10496 * configure.in: Move assembler checks to before sysdep dir checking.
10497
9bbd0ddc
PB
104982010-08-20 Petr Baudis <pasky@suse.cz>
10499
10500 * LICENSES: Sync the sunrpc license.
10501
9da4bb31
UD
105022010-08-19 Ulrich Drepper <drepper@redhat.com>
10503
a7ab6ec8
UD
10504 * sunrpc/auth_des.c: Update copyright notice once again.
10505 * sunrpc/auth_none.c: Likewise.
10506 * sunrpc/auth_unix.c: Likewise.
10507 * sunrpc/authdes_prot.c: Likewise.
10508 * sunrpc/authuxprot.c: Likewise.
10509 * sunrpc/bindrsvprt.c: Likewise.
10510 * sunrpc/clnt_gen.c: Likewise.
10511 * sunrpc/clnt_perr.c: Likewise.
10512 * sunrpc/clnt_raw.c: Likewise.
10513 * sunrpc/clnt_simp.c: Likewise.
10514 * sunrpc/clnt_tcp.c: Likewise.
10515 * sunrpc/clnt_udp.c: Likewise.
10516 * sunrpc/clnt_unix.c: Likewise.
10517 * sunrpc/des_crypt.c: Likewise.
10518 * sunrpc/des_soft.c: Likewise.
10519 * sunrpc/get_myaddr.c: Likewise.
10520 * sunrpc/getrpcport.c: Likewise.
10521 * sunrpc/key_call.c: Likewise.
10522 * sunrpc/key_prot.c: Likewise.
10523 * sunrpc/openchild.c: Likewise.
10524 * sunrpc/pm_getmaps.c: Likewise.
10525 * sunrpc/pm_getport.c: Likewise.
10526 * sunrpc/pmap_clnt.c: Likewise.
10527 * sunrpc/pmap_prot.c: Likewise.
10528 * sunrpc/pmap_prot2.c: Likewise.
10529 * sunrpc/pmap_rmt.c: Likewise.
10530 * sunrpc/rpc/auth.h: Likewise.
10531 * sunrpc/rpc/auth_unix.h: Likewise.
10532 * sunrpc/rpc/clnt.h: Likewise.
10533 * sunrpc/rpc/des_crypt.h: Likewise.
10534 * sunrpc/rpc/key_prot.h: Likewise.
10535 * sunrpc/rpc/netdb.h: Likewise.
10536 * sunrpc/rpc/pmap_clnt.h: Likewise.
10537 * sunrpc/rpc/pmap_prot.h: Likewise.
10538 * sunrpc/rpc/pmap_rmt.h: Likewise.
10539 * sunrpc/rpc/rpc.h: Likewise.
10540 * sunrpc/rpc/rpc_des.h: Likewise.
10541 * sunrpc/rpc/rpc_msg.h: Likewise.
10542 * sunrpc/rpc/svc.h: Likewise.
10543 * sunrpc/rpc/svc_auth.h: Likewise.
10544 * sunrpc/rpc/types.h: Likewise.
10545 * sunrpc/rpc/xdr.h: Likewise.
10546 * sunrpc/rpc_clntout.c: Likewise.
10547 * sunrpc/rpc_cmsg.c: Likewise.
10548 * sunrpc/rpc_common.c: Likewise.
10549 * sunrpc/rpc_cout.c: Likewise.
10550 * sunrpc/rpc_dtable.c: Likewise.
10551 * sunrpc/rpc_hout.c: Likewise.
10552 * sunrpc/rpc_main.c: Likewise.
10553 * sunrpc/rpc_parse.c: Likewise.
10554 * sunrpc/rpc_parse.h: Likewise.
10555 * sunrpc/rpc_prot.c: Likewise.
10556 * sunrpc/rpc_sample.c: Likewise.
10557 * sunrpc/rpc_scan.c: Likewise.
10558 * sunrpc/rpc_scan.h: Likewise.
10559 * sunrpc/rpc_svcout.c: Likewise.
10560 * sunrpc/rpc_tblout.c: Likewise.
10561 * sunrpc/rpc_util.c: Likewise.
10562 * sunrpc/rpc_util.h: Likewise.
10563 * sunrpc/rpcinfo.c: Likewise.
10564 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10565 * sunrpc/rpcsvc/key_prot.x: Likewise.
10566 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10567 * sunrpc/rpcsvc/mount.x: Likewise.
10568 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10569 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10570 * sunrpc/rpcsvc/rex.x: Likewise.
10571 * sunrpc/rpcsvc/rstat.x: Likewise.
10572 * sunrpc/rpcsvc/rusers.x: Likewise.
10573 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10574 * sunrpc/rpcsvc/spray.x: Likewise.
10575 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10576 * sunrpc/rtime.c: Likewise.
10577 * sunrpc/svc.c: Likewise.
10578 * sunrpc/svc_auth.c: Likewise.
10579 * sunrpc/svc_authux.c: Likewise.
10580 * sunrpc/svc_raw.c: Likewise.
10581 * sunrpc/svc_run.c: Likewise.
10582 * sunrpc/svc_simple.c: Likewise.
10583 * sunrpc/svc_tcp.c: Likewise.
10584 * sunrpc/svc_udp.c: Likewise.
10585 * sunrpc/svc_unix.c: Likewise.
10586 * sunrpc/svcauth_des.c: Likewise.
10587 * sunrpc/xcrypt.c: Likewise.
10588 * sunrpc/xdr.c: Likewise.
10589 * sunrpc/xdr_array.c: Likewise.
10590 * sunrpc/xdr_float.c: Likewise.
10591 * sunrpc/xdr_mem.c: Likewise.
10592 * sunrpc/xdr_rec.c: Likewise.
10593 * sunrpc/xdr_ref.c: Likewise.
10594 * sunrpc/xdr_sizeof.c: Likewise.
10595 * sunrpc/xdr_stdio.c: Likewise.
10596
9da4bb31
UD
10597 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10598 handling.
10599
bdaa77bc
AS
106002010-08-19 Andreas Schwab <schwab@redhat.com>
10601
10602 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10603
fe2f79db
LM
106042010-08-19 Luis Machado <luisgpm@br.ibm.com>
10605
10606 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10607 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10608 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10609 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10610 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10611 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10612 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10613 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10614 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10615 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10616 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10617 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10618 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10619 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10620
b9b42ee0
AB
106212010-07-26 Anton Blanchard <anton@samba.org>
10622
10623 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10624 * malloc/arena.c (heap_trim): Likewise.
10625
1c06ba31
UD
106262010-08-16 Ulrich Drepper <drepper@redhat.com>
10627
10628 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10629 here. Not...
10630 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10631 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10632
f8392f40
L
106332010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10634
10635 * sysdeps/i386/elf/Makefile: New file.
10636
3162f12e
AS
106372010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10638
10639 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10640 from fanotify_init.
10641 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10642 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10643
28c90b2c
UD
106442010-08-15 Ulrich Drepper <drepper@redhat.com>
10645
10646 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10647 of strncasecmp_l.
1feccb6c 10648 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 10649
ca6bb004
UD
106502010-08-14 Ulrich Drepper <drepper@redhat.com>
10651
e9f82e0d
UD
10652 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10653 strncase_l-nonascii.
10654 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10655 Add strncase_l-ssse3.
10656 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10657 * sysdeps/x86_64/strcmp.S: Likewise.
10658 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10659 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10660 * sysdeps/x86_64/strncase.S: New file.
10661 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10662 * sysdeps/x86_64/strncase_l.S: New file.
10663 * string/Makefile (strop-tests): Add strncasecmp.
10664 * string/test-strncasecmp.c: New file.
10665
10666 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10667 warning.
10668
ca6bb004
UD
10669 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10670 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10671
052fa7b3
AS
106722010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10673
10674 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10675
962dba78
UD
106762010-08-12 Ulrich Drepper <drepper@redhat.com>
10677
10678 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10679 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10680 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10681
bebff237
AM
106822010-05-01 Alan Modra <amodra@gmail.com>
10683
10684 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10685 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10686 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10687 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10688 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10689 tidying. Don't tail-call __sigjmp_save for static lib.
10690 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10691 save location.
10692 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10693 (CALL_MCOUNT): Add eh info, and nop after bl.
10694 (TAIL_CALL_SYSCALL_ERROR): New macro.
10695 (PSEUDO_RET): Use it.
10696 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10697 Correct save location of integer regs and cr.
10698 (_dl_profile_resolve): Correct cr save location. Delete nops
10699 after bl when SHARED. Reduce cfi size a little by better
10700 placement of cfi directives.
10701 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10702 make a stack frame. Instead use parm save area as a temp.
10703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10704 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10706 Don't make a stack frame for parent, use parm save area.
10707 Increase child stack frame to 112 bytes. Don't save unused reg,
10708 and adjust reg usage. Set up cfi on error recovery and
10709 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10711 (__makecontext): Add dummy nop after jump to exit.
10712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10713 Use correct parm save area and cr save, reduce stack frame.
10714 Correct cfi for possible PSEUDO_RET frame setup.
10715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10716 Branch to local label emitted by PSEUDO_RET rather than
10717 __syscall_error.
10718
02637374
AS
107192010-08-12 Andreas Schwab <schwab@redhat.com>
10720
10721 [BZ #11904]
10722 * locale/programs/locale.c (print_assignment): New function.
10723 (show_locale_vars): Use it.
10724
c3e2f19b
UD
107252010-08-11 Ulrich Drepper <drepper@redhat.com>
10726
3cdaa6ad
UD
10727 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10728 field.
10729 (struct statfs64): Likewise.
10730 (_STATFS_F_FLAGS): Define.
10731 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10732 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10733 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10734 (ST_VALID): Define locally.
10735 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10736 __statvfs_getflags, use the provided value.
10737 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10738 __ASSUME_STATFS_F_FLAGS.
10739
754f7da3
UD
10740 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10741
10b3bedc
UD
10742 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10743 Add sys/fanotify.h.
10744 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10745 fanotify_mask for GLIBC_2.13.
10746 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10747 fanotify_init and fanotify_mark.
10748 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10749 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10750
c08fb0d7
UD
10751 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10752 Add prlimit.
10753 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10754 prlimit64 for GLIBC_2.13.
10755 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10756 prlimit64.
10757 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10758 syscall.
10759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10760 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10761 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10762 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10763 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10764 add prlimit alias.
10765 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10766
15bac72b
UD
10767 [BZ #11903]
10768 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10769 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10770
c3e2f19b
UD
10771 * nss/Makefile: Add rules to build and run tst-nss-test1.
10772 * shlib-versions: Add entry for libnss_test1.
10773 * nss/nss_test1.c: New file.
10774 * nss/tst-nss-test1.c: New file.
10775
10776 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10777 (__nss_configure_lookup): Set appropriate entry in
10778 __nss_configure_lookup to true.
10779 * nss/nsswitch.h: Define enum with indeces of databases in
10780 databases and __nss_database_custom arrays. Declare
10781 __nss_database_custom.
10782 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10783 to avoid using nscd when custom rules are installed.
10784 * nss/getXXbyYY_r.c: Likewise.
10785 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10786
10787 * nss/nss_files/files-parse.c: Whitespace fixes.
10788
f15ce4d8
UD
107892010-08-09 Ulrich Drepper <drepper@redhat.com>
10790
10791 [BZ #11883]
10792 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10793 * posix/fnmatch_loop.c: Likewise.
10794
d22e4cc9
AK
107952010-07-17 Andi Kleen <ak@linux.intel.com>
10796
10797 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10798 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10799 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10800 * Versions.def [GLIBC_2.13]: Add.
10801
805bc17d
UD
108022010-08-06 Ulrich Drepper <drepper@redhat.com>
10803
10804 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10805 Also fail if tpwd after pwuid call is NULL.
10806
5a42321d
ST
108072010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10808
10809 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10810 when converting to ms.
10811
fd3ebeda
ST
108122010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10813
10814 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10815 EOPNOTSUPP errors with ENOTTY.
10816 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10817 EOPNOTSUPP errors with ENOTTY.
10818
73507d3a
UD
108192010-07-31 Ulrich Drepper <drepper@redhat.com>
10820
10821 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10822 Add strcasecmp_l-ssse3.
10823 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10824 strcasecmp.
10825 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10826 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10827 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10828
fe36dd02
UD
108292010-07-30 Ulrich Drepper <drepper@redhat.com>
10830
66f6765a
UD
10831 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10832
42e08a54
UD
10833 * string/Makefile (strop-tests): Add strcasecmp.
10834 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10835 strcasecmp_l-nonascii.
10836 (gen-as-const-headers): Add locale-defines.sym.
10837 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10838 * sysdeps/x86_64/strcasecmp.S: New file.
10839 * sysdeps/x86_64/strcasecmp_l.S: New file.
10840 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10841 * sysdeps/x86_64/locale-defines.sym: New file.
10842 * string/test-strcasecmp.c: New file.
10843
fe36dd02
UD
10844 * string/test-strcasestr.c: Test both ends of the range of characters.
10845 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10846
48cbc0d6
RM
108472010-07-29 Roland McGrath <roland@redhat.com>
10848
76e6d6bc 10849 [BZ #11856]
48cbc0d6
RM
10850 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10851
880113d9
UD
108522010-07-27 Ulrich Drepper <drepper@redhat.com>
10853
10854 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10855 for ld.so.
10856
deb9cabb
AS
108572010-07-27 Andreas Schwab <schwab@redhat.com>
10858
10859 * manual/memory.texi (Malloc Tunable Parameters): Document
10860 M_PERTURB.
10861
1c7570ff
RM
108622010-07-26 Roland McGrath <roland@redhat.com>
10863
10864 [BZ #11840]
10865 * configure.in (-fgnu89-inline check): Set and substitute
10866 gnu89_inline, not libc_cv_gnu89_inline.
10867 * configure: Regenerated.
10868 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10869
24fb0f88
UD
108702010-07-26 Ulrich Drepper <drepper@redhat.com>
10871
10872 * string/test-strnlen.c: New file.
10873 * string/Makefile (strop-tests): Add strnlen.
10874 * string/tester.c (test_strnlen): Add a few more test cases.
10875 * string/tst-strlen.c: Better error reporting.
10876
10877 * sysdeps/x86_64/strnlen.S: New file.
10878
8e96b93a
UD
108792010-07-24 Ulrich Drepper <drepper@redhat.com>
10880
10881 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10882 lower-latency instructions.
10883
dbc676d4
UD
108842010-07-23 Ulrich Drepper <drepper@redhat.com>
10885
10886 * string/test-strcasestr.c: New file.
10887 * string/test-strstr.c: New file.
10888 * string/Makefile (strop-tests): Add strstr and strcasestr.
10889 * string/str-two-way.h: Don't undefine MAX.
10890 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10891
f6a31e0e
AS
108922010-07-21 Andreas Schwab <schwab@redhat.com>
10893
10894 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10895 strcasestr-nonascii.
10896 (CFLAGS-strcasestr-nonascii.c): Define.
10897 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10898 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10899 Remove unused attribute.
10900
5dbc3b6c
RM
109012010-07-20 Roland McGrath <roland@redhat.com>
10902
10903 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10904 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10905 ld.so.cache was broken. With it, there is no way to disable dsocaps
10906 like LD_HWCAP_MASK can disable hwcaps.
10907
23d101d8
EPM
109082010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10909
10910 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10911
cc9f2e47
UD
109122010-07-16 Ulrich Drepper <drepper@redhat.com>
10913
10914 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10915 call in strcasestr.
10916 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10917 __strcasestr_sse42_nonascii.
10918 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10919 strcasestr-nonascii.c.
10920 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10921
77c1b069
LM
109222010-06-15 Luis Machado <luisgpm@br.ibm.com>
10923
10924 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10925 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10926 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10927 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10928
440566c3
UD
109292010-07-09 Ulrich Drepper <drepper@redhat.com>
10930
10931 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10932 fcntl.
10933
5be9d05d
AS
109342010-07-06 Andreas Schwab <schwab@redhat.com>
10935
c30b7ee2 10936 [BZ #11577]
5be9d05d
AS
10937 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10938 dl_signal_cerror.
10939
8a492a67
UD
109402010-07-06 Ulrich Drepper <drepper@redhat.com>
10941
10942 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10943 _PC_PIPE_BUF using F_GETPIPE_SZ.
10944
713df3d5
RM
109452010-07-05 Roland McGrath <roland@redhat.com>
10946
10947 * manual/arith.texi (Rounding Functions): Fix rint description
10948 implicit in round description.
10949
702e8f14
UD
109502010-07-02 Ulrich Drepper <drepper@redhat.com>
10951
10952 * elf/Makefile: Fix linking for a few tests to make recent linker
10953 happy.
10954
52ed8be9
AS
109552010-06-30 Andreas Schwab <schwab@redhat.com>
10956
10957 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10958 $(common-objpfx)libc_nonshared.a.
10959
f47c9a11
LM
109602010-06-21 Luis Machado <luisgpm@br.ibm.com>
10961
10962 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10963 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10964 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10965 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10966 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10967 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10968 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10969 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10984 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10985 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10986 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10987 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10988 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10989 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10990 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10991 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10992 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10993 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10994 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10995 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11010
6fb8cbcb
L
110112010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11012
11013 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11014 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11015 * string/memmove.c (memmove): Renamed to ...
11016 (MEMMOVE): ...this. Default to memmove.
11017 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11018 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11019 (END_CHK): Define.
11020 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11021 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11022 mempcpy-ssse3-back memmove-ssse3-back.
11023 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11024 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11025 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11026 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11027 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11028 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11029 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11030 * sysdeps/x86_64/multiarch/memmove.c: New file.
11031 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11032 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11033 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11034 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11035 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11036 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11037 Define.
11038 (index_Fast_Copy_Backward): Define.
11039 (HAS_ARCH_FEATURE): Define.
11040 (HAS_FAST_REP_STRING): Define.
11041 (HAS_FAST_COPY_BACKWARD): Define.
11042
4e733bac 110432010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
11044
11045 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11046 Restore proper fallback handling.
11047
63c4ed22
UD
110482010-06-19 Ulrich Drepper <drepper@redhat.com>
11049
ac2b484c
UD
11050 [BZ #11701]
11051 * posix/group_member.c (__group_member): Correct checking loop.
11052
63c4ed22
UD
11053 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11054 OOM in getpwuid_r correctly. Return error number when the caller
11055 should return, otherwise -1.
11056 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11057 call returning > 0 value.
11058 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11059
765ade4b
AS
110602010-06-07 Andreas Schwab <schwab@redhat.com>
11061
11062 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11063 libc_nonshared.a from targets in modules-names.
11064
80da2e09
KS
110652010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11066
11067 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11068 requires it.
11069
158db122
LM
110702010-06-10 Luis Machado <luisgpm@br.ibm.com>
11071
11072 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11073 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11074 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11075 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11076
caa78cf8
AS
110772010-06-02 Andreas Schwab <schwab@redhat.com>
11078
11079 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11080
b2ef2c01
UD
110812010-06-14 Ulrich Drepper <drepper@redhat.com>
11082
11083 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11084 and F_GETPIPE_SZ.
11085 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11086 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11087 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11088 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11089 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11090 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11091
fbd643b6
RM
110922010-06-14 Roland McGrath <roland@redhat.com>
11093
11094 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11095
f32f2869
JJ
110962010-06-07 Jakub Jelinek <jakub@redhat.com>
11097
11098 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11099 __REDIRECT followed by __THROW.
11100 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11101 * posix/getopt.h (getopt): Likewise.
11102
2a50c078
EPM
111032010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11104
11105 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11106 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11107 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11108 in AT_FLAGS.
11109 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11110 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11111
eb5ad2eb
LM
111122010-05-28 Luis Machado <luisgpm@br.ibm.com>
11113
11114 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11115
3c88fe1e
L
111162010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11117
11118 [BZ #11640]
11119 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11120 Properly check family and model.
11121
d2f73151
TY
111222010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11123
11124 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11125
ebd2e13d
LM
111262010-05-24 Luis Machado <luisgpm@br.ibm.com>
11127
11128 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11129
b32b8b45
UD
111302010-05-21 Ulrich Drepper <drepper@redhat.com>
11131
11132 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11133 symbol reference.
11134
9acbe24d
AS
111352010-05-19 Andreas Schwab <schwab@redhat.com>
11136
11137 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11138 symbol reference.
11139
f0ccf6ea
AS
111402010-05-21 Andreas Schwab <schwab@redhat.com>
11141
3d04ff3a
AS
11142 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11143 and internal_recvmmsg.
11144 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11145 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11146 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11147 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11148
f0ccf6ea
AS
11149 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11150 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11151 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11152
5b08ac57
AS
111532010-05-20 Andreas Schwab <schwab@redhat.com>
11154
11155 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11156
4828935d
LM
111572010-05-17 Luis Machado <luisgpm@br.ibm.com>
11158
11159 POWER7 optimizations.
11160 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11161 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11162
373d545e
UD
111632010-05-19 Ulrich Drepper <drepper@redhat.com>
11164
11165 * version.h: Update for 2.13 development version.
11166
21a2b1ae
AS
111672010-05-12 Andrew Stubbs <ams@codesourcery.com>
11168
11169 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11170 exceptions. Return 0.
11171
3f7dcb2b
RM
111722010-05-07 Roland McGrath <roland@redhat.com>
11173
11174 * elf/ldconfig.c (main): Add a const.
11175
5f24d53a 111762010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11177
a160f8d8
UD
11178 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11179 (args_options): Add no-idn option.
11180 (ahosts_keys_int): Add idn_flags to ai_flags.
11181 (parse_option): Handle 'i' option to clear idn_flags.
11182
5f24d53a
UD
11183 * malloc/malloc.c (_int_free): Possible race in the most recently
11184 added check. Only act on the data if no current modification
11185 happened.
265bb1ce
UD
11186
11187See ChangeLog.17 for earlier changes.