]> sourceware.org Git - glibc.git/blame - ChangeLog
Add __bswap_64 definition for non GCC compilers.
[glibc.git] / ChangeLog
CommitLineData
b1aa60f3
AJ
12012-04-03 Andreas Jaeger <aj@suse.de>
2
3 [BZ #13926]
4 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5 New macro for this case.
6 [!__GNUC__] (__bswap_64): New inline function for this case.
7 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8 * bits/byteswap.h: Likewise.
9 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
10 ull, guard with __GLIBC_HAVE_LONG_LONG.
11
12 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13 __GLIBC_HAVE_LONG_LONG.
14
15 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17
39c59c35
TMQMF
182012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19
20 [BZ #13691]
21 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22 inptr and inend, rather than using last_ch.
23
135ffda8
DM
242012-04-02 David S. Miller <davem@davemloft.net>
25
26 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27 * stdio-common/printf-parse.h (read_int): Change return type to
28 'int', return -1 on INT_MAX overflow.
29 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
30 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31 overflows INT_MAX. Check for overflow of in-format-string precision
32 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33 SIZE_MAX not INT_MAX for integer overflow test.
34 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35 skip the construct in the format string but do not record anything.
36 * stdio-common/bug22.c: Adjust to test both width/prevision
37 INT_MAX overflow as well as total length INT_MAX overflow. Check
38 explicitly for proper errno values.
39
228c019e
TS
402012-04-02 Thomas Schwinge <thomas@codesourcery.com>
41
302cadd3
TS
42 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43 CHAR_MAX.
44 * string/test-strcmp.c [! WIDE]: Likewise.
45 * time/tst-mktime2.c: Likewise for INT_MAX.
46 * string/test-string.h: #include <sys/param.h> for MIN.
47
228c019e
TS
48 * csu/init-first.c (__libc_init_first): Call __ctype_init.
49 * sysdeps/i386/init-first.c (init): Likewise.
50 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
51 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
52 * sysdeps/sh/init-first.c (init): Likewise.
53
cfa633f5
UD
542012-04-01 Ulrich Drepper <drepper@gmail.com>
55
56 * po/ru.po: Update from translation team.
d1635ef8 57 * po/vi.po: Likewise.
cfa633f5 58
6cd0a5ea
SP
592012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
60
61 * resolv/nss_dns/dns-host.c: Merge copyright years.
62
4b43400f
LD
632012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
64
65 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66 Optimize memcpy with prefetch if
67 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
68 src, dst pointers have unequal 16 byte alignments.
69
48c41d04
SP
702012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
71
72 [BZ #13928]
73 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
74 from a CNAME entry and return the minimum ttl for the query.
75 (gaih_getanswer_slice): Likewise.
76
b8dc394d
JL
772012-03-30 Jeff Law <law@redhat.com>
78
79 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
80 due to long keys.
81 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
82 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
83
2f5a5ed0
JL
84 * resolv/nss_dns/dns-host.c: Update copyright year.
85
1d39e359
UD
862012-03-30 Ulrich Drepper <drepper@gmail.com>
87
c030f70c 88 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 89 requests to save a system call. Fix check that all bytes are sent.
c030f70c 90
1d39e359
UD
91 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
92 comments for sendmmsg.
93
942012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
95
96 [BZ #13691]
97 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
98 with only 1 character between 0x0041 and 0x01b0.
99 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
100 * wcsmbs/tst-mbsnrtowcs.c: New file.
101
20fde227
DM
1022012-03-29 David S. Miller <davem@davemloft.net>
103
104 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
105 small copies by hand.
106
984a4237
JL
1072012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
108
109 [BZ #13761]
110 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
111 _nss_compat_initgroups_dyn): Fall back to malloc/free
112 for large group memberships.
113
18c9d62b
DM
1142012-03-28 David S. Miller <davem@davemloft.net>
115
88d85d4f
DM
116 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
117 that branches into memcpy.
118 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
119 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
120 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
121 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
122 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
123 bits.
124 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
125 implementation too.
126 * sysdeps/sparc/mempcpy.S: New file.
127
e5aa83e1
DM
128 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
129 the IFUNC routine in the libc case.
130 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
131
88570753
DM
132 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
133 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
134 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
135 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
136 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
137 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
138 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
139 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
140
249d7567
DM
141 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
142 loop to 256 bytes instead of 64 bytes and fix test signedness.
143
18c9d62b
DM
144 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
145 * sysdeps/sparc/sparc32/Makefile: rather than here...
146 * sysdeps/sparc/sparc64/Makefile: and here.
147
05f3d1f6
UD
1482012-03-28 Ulrich Drepper <drepper@gmail.com>
149
150 * malloc/mallocbug.c: Avoid warnings about unused variables.
151
86ae07a8
JL
1522012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
153
154 [BZ #13760]
155 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
156 in the right place. Discard and retry query if response is
157 larger than input buffer size.
158
41bf21a1
JM
1592012-03-28 Joseph Myers <joseph@codesourcery.com>
160
d6270972
JM
161 [BZ #369]
162 [BZ #2678]
163 [BZ #3866]
164 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
165 x for large integer exponent.
166 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
167 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
168 sign of result as needed afterwards.
169 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
170 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
171 result for underflowing pow the same as for overflow.
172 (__kernel_standard_l): Handle powl overflow and underflow here
173 rather than calling __kernel_standard.
174 * math/libm-test.inc (pow_test): Add more tests.
175
414fca03 176 [BZ #3868]
41bf21a1
JM
177 [BZ #13879]
178 [BZ #13910]
179 [BZ #13911]
180 [BZ #13912]
181 [BZ #13913]
182 [BZ #13915]
183 [BZ #13916]
184 [BZ #13917]
185 [BZ #13918]
186 [BZ #13919]
187 [BZ #13920]
188 [BZ #13921]
189 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
190 * sysdeps/ieee754/k_standard.c: Include <float.h>.
191 (__kernel_standard_l): New function.
192 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
193 __kernel_standard.
194 * math/w_acosl.c (__acosl): Likewise.
195 * math/w_asinl.c (__asinl): Likewise.
196 * math/w_atan2l.c (__atan2l): Likewise.
197 * math/w_atanhl.c (__atanhl): Likewise.
198 * math/w_coshl.c (__coshl): Likewise.
199 * math/w_exp10l.c (__exp10l): Likewise.
200 * math/w_exp2l.c (__exp2l): Likewise.
201 * math/w_fmodl.c (__fmodl): Likewise.
202 * math/w_hypotl.c (__hypotl): Likewise.
203 * math/w_j0l.c (__j0l, __y0l): Likewise.
204 * math/w_j1l.c (__j1l, __y1l): Likewise.
205 * math/w_jnl.c (__jnl, __ynl): Likewise.
206 * math/w_lgammal.c (__lgammal): Likewise.
207 * math/w_log10l.c (__log10l): Likewise.
208 * math/w_log2l.c (__log2l): Likewise.
209 * math/w_logl.c (__logl): Likewise.
210 * math/w_powl.c (__powl): Likewise.
211 * math/w_remainderl.c (__remainderl): Likewise.
212 * math/w_scalbl.c (sysv_scalbl): Likewise.
213 * math/w_sinhl.c (__sinhl): Likewise.
214 * math/w_sqrtl.c (__sqrtl): Likewise.
215 * math/w_tgammal.c (__tgammal): Likewise.
216 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
217 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
218 * math/libm-test.inc (acos_test): Add more tests.
219 (acosh_test): Likewise.
220 (asin_test): Likewise.
221 (atanh_test): Likewise.
222 (exp_test): Likewise.
223 (exp10_test): Likewise.
224 (exp2_test): Likewise.
225 (expm1_test): Likewise.
226 (lgamma_test): Likewise.
227 (log_test): Likewise.
228 (log10_test): Likewise.
229 (log1p_test): Likewise.
230 (log2_test): Likewise.
231 (pow_test): Do not allow some spurious overflow exceptions.
232 (sqrt_test): Add more tests.
233 (tgamma_test): Likewise.
234 (y0_test): Likewise.
235 (y1_test): Likewise.
236 (yn_test): Likewise.
237
dd62fda6
AB
2382012-03-27 Anton Blanchard <anton@samba.org>
239
240 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
241 MAP_HUGETLB.
242 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
243 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
244 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
245
1e3cdfda
AJ
2462012-03-27 David S. Miller <davem@davemloft.net>
247
b855ab85
DM
248 * conform/Makefile: Run run-conformtest.sh using $(BASH).
249
1e3cdfda
AJ
250 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
251 have-as-vis3 check.
252
2532012-03-27 Andreas Jaeger <aj@suse.de>
254
255 * sysdeps/x86_64/elf/configure.in: Moved to ...
256 * sysdeps/x86_64/configure.in: ... here.
257 * sysdeps/x86_64/elf/start.S: Moved to ...
258 * sysdeps/x86_64/start.S: ... here.
259 * sysdeps/x86_64/elf/configure: Delete.
260
261 * sysdeps/x86_64/configure.in: Merge contents from
262 sysdeps/i386/configure.in (without i686 check).
263
264 * sysdeps/i386/elf/Versions: Merge into ...
265 * sysdeps/i386/Versions: ... this.
266 * sysdeps/i386/elf/Versions: Delete file.
267 * sysdeps/i386/elf/start.S: Moved to ...
268 * sysdeps/i386/start.S: ...here.
269 * sysdeps/i386/elf/configure.in: Merge into...
270 * sysdeps/i386/configure.in: ...here.
271 * sysdeps/i386/elf/configure.in: Delete file.
272 * sysdeps/i386/elf/configure: Delete file.
273
274 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
275 * debug/backtracesyms.c: ... here.
276 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
277 * debug/backtracesymsfd.c: ... here.
278 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
279 * sysdeps/generic/ifunc-sel.h: ... here.
280
281 * sysdeps/unix/i386/start.c: Delete file.
282 * sysdeps/unix/sparc/start.c: Delete file.
283 * sysdeps/unix/start.c: Delete file.
284
285 * sysdeps/sh/elf/configure.in: Moved to ...
286 * sysdeps/sh/configure.in: ... here.
287 * sysdeps/sh/elf/start.S: Moved to ...
288 * sysdeps/sh/start.S: ... here.
289 * sysdeps/sh/elf/configure: Delete file.
290
291 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
292 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
293 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
294 * sysdeps/powerpc/powerpc64/entry.h: ... here.
295 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
296 * sysdeps/powerpc/powerpc64/start.S: here.
297 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
298 * sysdeps/powerpc/powerpc64/Makefile: ... this.
299 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
300 * sysdeps/powerpc/powerpc64/configure.in: ... this.
301 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
302
303 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
304 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
305 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
306 * sysdeps/powerpc/powerpc32/start.S: ... here.
307 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
308 * sysdeps/powerpc/powerpc32/configure.in: ... this.
309 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
310
311 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
312 * sysdeps/powerpc/ifunc-sel.h: ... here.
313 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
314 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
315
316 * sysdeps/sparc/elf/configure.in: Moved to ...
317 * sysdeps/sparc/configure.in: ... here.
318 * sysdeps/sparc/elf/configure: Delete file.
319 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
320 * sysdeps/sparc/sparc32/start.S: ... here.
321 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
322 * sysdeps/sparc/sparc64/start.S: ... here.
323 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
324 * sysdeps/sparc/sparc32/Makefile: ... this.
325 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
326 * sysdeps/sparc/sparc64/Makefile: ... this.
327
328 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
329 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
330 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
331 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
332 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
333 * sysdeps/s390/s390-32/setjmp.S: ... here.
334 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
335 * sysdeps/s390/s390-32/configure.in: ... here.
336 * sysdeps/s390/s390-32/elf/configure: Delete file.
337 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
338 * sysdeps/s390/s390-32/start.S: ... here.
339
340 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
341 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
342 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
343 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
344 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
345 * sysdeps/s390/s390-64/setjmp.S: ... here.
346 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
347 * sysdeps/s390/s390-64/configure.in: ... here
348 * sysdeps/s390/s390-64/elf/configure: Delete file.
349 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
350 * sysdeps/s390/s390-64/start.S: ... here.
351 * sysdeps/s390/s390-64/elf/configure: Delete.
352
353 * configure.in: Remove support for elf directories in sysdeps.
354
355 * configure: Regenerated.
356 * sysdeps/i386/configure: Regenerated.
357 * sysdeps/powerpc/powerpc32/configure: Regenerated.
358 * sysdeps/powerpc/powerpc64/configure: Regenerated.
359 * sysdeps/s390/s390-32/configure: Regenerated.
360 * sysdeps/s390/s390-64/configure: Regenerated.
361 * sysdeps/sh/configure: Regenerated.
362 * sysdeps/sparc/configure: Regenerated.
363 * sysdeps/x86_64/configure: Regenerated.
364
a3f61311
AS
3652012-03-26 Andreas Schwab <schwab@linux-m68k.org>
366
c876e002
AS
367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
368
a3f61311
AS
369 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
370 denormal result into account.
371
ac4c54f0
RM
3722012-03-25 Roland McGrath <roland@hack.frob.com>
373
374 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
375 Reported by Allan McRae <allan@archlinux.org>.
376
6a9b9c02
JL
3772012-03-23 Jeff Law <law@redhat.com>
378
379 * nss/getnssent.c (__nss_getent): Fix typo.
380
4c42a0c1
DM
3812012-03-23 David S. Miller <davem@davemloft.net>
382
383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
384
1532c7ac
L
3852012-03-23 H.J. Lu <hongjiu.lu@intel.com>
386
387 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
388 to pad to uint64_t for each field.
389 (dl_tls_index): Replace unsigned long with uint64_t.
390
3ff42526
PP
3912012-03-23 Daniel Jacobowitz <dmj@google.com>
392 Paul Pluzhnikov <ppluzhnikov@google.com>
393
394 [BZ #6528]
395 * grp/Makefile (otherlibs): Don't set it.
396 * inet/Makefile (otherlibs): Likewise.
397 * login/Makefile (otherlibs): Likewise.
398 * nscd/Makefile (otherlibs): Likewise.
399 * posix/Makefile (otherlibs): Likewise.
400 * pwd/Makefile (otherlibs): Likewise.
401 * rt/Makefile (otherlibs): Likewise.
402 * sunrpc/Makefile (otherlibs): Likewise.
403 * nss/Makefile (otherlibs): Likewise.
404 Add libnss_files to routines and static-only-routines.
405 ($(objpfx)getent): Remove rule.
406 * resolv/Makefile: Add libnss_dns and libresolv to routines and
407 static-only-routines.
408
7c69cd14
JM
4092012-03-22 Joseph Myers <joseph@codesourcery.com>
410
411 [BZ #13892]
412 * math/s_cexp.c: Include <float.h>.
413 (__cexp): Handle exp result overflowing not necessarily
414 overflowing both real and imaginary parts of result.
415 * math/s_cexpf.c: Likewise.
416 * math/s_cexpl.c: Likewise.
417 * math/libm-test.inc (cexp_test): Add more tests.
418 * sysdeps/i386/fpu/libm-test-ulps: Update.
419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
420
81b035fe
L
4212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
422
423 * include/link.h (ELFW): New macro.
424 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
425 Replace ELF64_R_TYPE with ELFW(R_TYPE).
426
1da7940c
L
4272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
428
429 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
430 with uint64_t.
431
b749dbb9
L
4322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
433
434 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
435 declaration.
436 (struct La_x32_retval): Likewise.
437
2ff87f3f
L
4382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
439
440 * sysdeps/x86_64/preconfigure.in: New file.
441 * sysdeps/x86_64/preconfigure: New generated file.
442
c0df8e69
JM
4432012-03-22 Joseph Myers <joseph@codesourcery.com>
444
48e44791
JM
445 [BZ #13824]
446 * math/e_exp2l.c: Include <float.h>.
447 (__ieee754_exp2l): Handle overflow and underflow cases
448 separately. Only pass fractional part of argument to
449 __ieee754_expl.
450 * math/libm-test.inc (exp2_test): Add more tests.
451
c0df8e69
JM
452 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
453 negating x to take absolute value.
454 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
455 Likewise.
456 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
457 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
458 Likewise.
459 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
460 computing low part if x was negated.
461 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
462
c8e43ba7
L
4632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
464
465 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
466 la_x32_gnu_pltexit.
467 (pltexit): Cast int_retval to ptrdiff_t.
468 * elf/tst-auditmod3b.c: Likewise.
469 * elf/tst-auditmod4b.c: Likewise.
470 * elf/tst-auditmod5b.c: Likewise.
471 * elf/tst-auditmod6b.c: Likewise.
472 * elf/tst-auditmod6c.c: Likewise.
473 * elf/tst-auditmod7b.c: Likewise.
474
475 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
476 and x32_gnu_pltexit.
477
478 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
479 __ELF_NATIVE_CLASS.
480 (La_x32_regs): New macro.
481 (La_x32_retval): Likewise.
482 (la_x32_gnu_pltenter): New function prototype.
483 (la_x32_gnu_pltexit): Likewise.
484
7998fa78
AS
4852012-03-21 Andreas Schwab <schwab@linux-m68k.org>
486
dcb33988
AS
487 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
488 exponent.
489
233fc563
AS
490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
491
7998fa78
AS
492 * configure.in (libc_cv_cc_nofma): Check for option to disable
493 generation of FMA instructions.
494 * configure: Regenerate.
495 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
496 * sysdeps/ieee754/dbl-64/Makefile: New file.
497 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
498 Remove brandred-fma4.
499 (CFLAGS-brandred-fma4.c): Remove.
500 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
501 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
502 define.
503 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
504 define.
505
8e95c99a
L
5062012-03-21 H.J. Lu <hongjiu.lu@intel.com>
507
508 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
509 LLONG_MAX != LONG_MAX.
510 (_itoa_word): Use _ITOA_WORD_TYPE on value.
511 (_fitoa_word): Likewise.
512 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
513 LLONG_MAX != LONG_MAX.
514 * stdio-common/_itowa.h: Include <_itoa.h>.
515 (_itowa_word): Use _ITOA_WORD_TYPE on value.
516 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
517 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
518 only if not defined.
519 (_ITOA_WORD_TYPE): Likewise.
520 (_itoa_word): Use _ITOA_WORD_TYPE on value.
521 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
522
6f4db457
DM
5232012-03-21 David S. Miller <davem@davemloft.net>
524
525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
526
7785fe5a
L
5272012-03-21 H.J. Lu <hongjiu.lu@intel.com>
528
529 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
530 of x86_64 when setting libc_cv_slibdir, libdir and
531 libc_cv_localedir.
532 * sysdeps/unix/sysv/linux/configure: Regenerated.
533
4535cd55
JM
5342012-03-21 Joseph Myers <joseph@codesourcery.com>
535
536 * manual/lang.texi (Old Varargs): Remove section.
537 (How Variadic): Update menu.
538 (va_start): Do not mention varargs.h.
539
17228132
TS
5402012-03-21 Thomas Schwinge <thomas@codesourcery.com>
541 Joseph Myers <joseph@codesourcery.com>
542
543 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
544 link test.
545 * configure: Regenerated.
546
8149f976
TS
5472012-03-21 Thomas Schwinge <thomas@codesourcery.com>
548
05f3d1f6
UD
549 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
550 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
551 conformtest.pl
8149f976 552
1a4ac776
JM
5532012-03-21 Joseph Myers <joseph@codesourcery.com>
554
be22ce65
JM
555 * NOTES: Remove.
556 * Makefile (files-for-dist): Remove NOTES.
557 (NOTES): Remove rule.
558 * README: Don't refer to NOTES.
559 * manual/creature.texi: Don't include macros.texi.
560 * manual/intro.texi (creature.texi): Remove comment referring to
561 NOTES.
562
40b601fb
JM
563 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
564 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
565 * configure: Regenerated.
566 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
567 LIBC_TRY_CC_OPTION.
568 (libc_cv_as_i686): Likewise.
569 (libc_cv_cc_avx): Likewise.
570 (libc_cv_cc_sse2avx): Likewise.
571 (libc_cv_cc_fma4): Likewise.
572 (libc_cv_cc_novzeroupper): Likewise.
573 * sysdeps/i386/configure: Regenerated.
574
1a4ac776
JM
575 [BZ #13883]
576 * sysdeps/i386/fpu/s_cexp.S: Remove.
577 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
578 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
579 * math/libm-test.inc (cexp_test): Add more tests.
580 * sysdeps/i386/fpu/libm-test-ulps: Update.
581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
582
a458e7fe
AM
5832012-03-21 Allan McRae <allan@archlinux.org>
584
585 * timezone/Makefile: Do not install iso3166.tab and zone.tab
586
0cb7efc5
JM
5872012-03-21 Joseph Myers <joseph@codesourcery.com>
588
589 [BZ #13871]
590 * math/w_exp2.c: Do not include <float.h>.
591 (o_threshold, u_threshold): Remove.
592 (__exp2): Calculate result before checking finiteness and calling
593 __kernel_standard.
594 * math/w_exp2f.c: Likewise.
595 * math/w_exp2l.c: Likewise.
596 * math/libm-test.inc (exp2_test): Require overflow exception for
597 1e6 input.
2460d3aa
JM
598
599 [BZ #3866]
600 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
601 range of signed 64-bit integers before using fistpll. Remove
602 checks for whether integers fit in mantissa bits.
603 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
604 the range of signed 32-bit integers before using fistpl. Remove
605 checks for whether integers fit in mantissa bits.
606 * sysdeps/i386/fpu/e_powl.S (p64): New object.
607 (__ieee754_powl): Test for y outside the range of signed 64-bit
608 integers before using fistpll. Reduce 64-bit values to 63-bit
609 ones as needed.
610 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
611 divide-by-zero is raised for zero to large negative powers.
612 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
613 (__ieee754_powl): Test for y outside the range of signed 64-bit
614 integers before using fistpll. Reduce 64-bit values to 63-bit
615 ones as needed.
616 * math/libm-test.inc (pow_test): Add more tests.
617
eb96ffb0
L
6182012-03-20 H.J. Lu <hongjiu.lu@intel.com>
619
620 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
621 <stdio-common/_itoa.h>.
622 * debug/segfault.c: Likewise.
623 * elf/dl-cache.c: Likewise.
624 * elf/dl-minimal.c: Likewise.
625 * elf/dl-misc.c: Likewise.
626 * elf/dl-sysdep.c: Likewise.
627 * elf/dl-version.c: Likewise.
628 * elf/rtld.c: Likewise.
629 * hurd/hurdsock.c: Likewise.
630 * hurd/lookup-retry.c: Likewise.
631 * malloc/malloc.c: Likewise.
632 * malloc/mtrace.c: Likewise.
633 * nscd/nscd_getgr_r.c: Likewise.
634 * nscd/nscd_getpw_r.c: Likewise.
635 * nscd/nscd_getserv_r.c: Likewise.
636 * posix/getopt_init.c: Likewise.
637 * posix/wordexp.c: Likewise.
638 * stdio-common/_itoa.c: Likewise.
639 * stdio-common/printf_fphex.c: Likewise.
640 * stdio-common/vfprintf.c: Likewise.
641 * string/_strerror.c: Likewise.
642 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
643 * sysdeps/i386/i686/hp-timing.h: Likewise.
644 * sysdeps/mach/_strerror.c: Likewise.
645 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
646 * sysdeps/mach/hurd/sethostid.c: Likewise.
647 * sysdeps/mach/hurd/xmknodat.c: Likewise.
648 * sysdeps/mach/xpg-strerror.c: Likewise.
649 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
650 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
651 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
652 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
653 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
654 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
655 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
656 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
657 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
658 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
659 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
660 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
661 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
662 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
663 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
664 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
665 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
666 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
667 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
668 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
669 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
670
671 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
672
673 * stdio-common/_itoa.h: Moved to ...
674 * sysdeps/generic/_itoa.h: Here.
675
676 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
677
678 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
679 instead of "_itoa.h" and "_itowa.h".
680 * stdio-common/vfprintf.: Likewise.
681
d1af992d
L
6822012-03-20 H.J. Lu <hongjiu.lu@intel.com>
683
684 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
685 <bits/wordsize.h>.
686 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
687 (__signbit): Likwise.
688 (llrintf): Likwise.
689 (llrint): Likwise.
690
114883e0
L
6912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
692
693 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
694 __WORDSIZE != 64.
695
c135cc1b
JM
6962012-03-20 Joseph Myers <joseph@codesourcery.com>
697
698 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
699 OVERFLOW_EXCEPTION_OK.
700 * math/libm-test.inc ("Philosophy"): Update comment about
701 exception testing.
702 (OVERFLOW_EXCEPTION): Define.
703 (OVERFLOW_EXCEPTION_OK): Likewise.
704 (INVALID_EXCEPTION_OK): Renumber.
705 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
706 (IGNORE_ZERO_INF_SIGN): Likewise.
707 (test_exceptions): Handle FE_OVERFLOW.
708 (exp10_test): Expect overflow exceptions.
709 (exp2_test): Likewise.
710 (expm1_test): Likewise.
711 (nextafter_test): Likewise.
712 (pow_test): Likewise.
713 (scalbn_test): Likewise.
714 (scalbln_test): Likewise.
715
95443d88
L
7162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
717
718 * sysdeps/x86_64/bits/atomic.h
719 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
720 64bit integer.
721 (atomic_exchange_acq): Likewise.
722 (__arch_exchange_and_add_body): Likewise.
723 (__arch_add_body): Likewise.
724 (atomic_add_negative): Likewise.
725 (atomic_add_zero): Likewise.
726
490df6c4
L
7272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
728
c2722551 729 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
730 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
731
5e52b189
L
7322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
733
734 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
735 Check __x86_64__ instead of __WORDSIZE.
736
a9879d4c
L
7372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
738
739 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
740
5df98260
DM
7412012-03-19 David S. Miller <davem@davemloft.net>
742
e1497744
DM
743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
744
5df98260
DM
745 * sysdeps/sparc/fpu/fenv_private.h: New file.
746 * sysdeps/sparc/fpu/math_private.h: Use it.
747 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
748 Remove.
749 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
750 (libc_feholdexcept_setroundl): Remove.
751 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
752 Remove.
753 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
754 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
755
b4c35121
L
7562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
757
758 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
759 int64_t instead of long int.
760 (INSERT_WORDS64): Likwise.
761
56965fd7
L
7622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
763
764 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
765 _Unwind_GetCFA return to _Unwind_Ptr first.
766
83d1aec8
JM
7672012-03-19 Joseph Myers <joseph@codesourcery.com>
768
1897ad44
JM
769 [BZ #13629]
770 * math/s_clog.c: Include <float.h>.
771 (__clog): Scale large or subnormal inputs.
772 * math/s_clogf.c: Likewise.
773 * math/s_clogl.c: Likewise.
774 * math/s_clog10.c: Include <float.h>.
775 (M_LOG10_2): Define.
776 (__clog10): Scale large or subnormal inputs.
777 * math/s_clog10f.c: Likewise.
778 * math/s_clog10l.c: Likewise.
779 * math/libm-test.inc (clog_test): Add more tests.
780 (clog10_test): Likewise.
781 * sysdeps/i386/fpu/libm-test-ulps: Update.
782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
783
7726d6a9
JM
784 [BZ #11451]
785 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
786 x and y.
787 * math/libm-test.inc (atan2_test): Add another test.
788
83d1aec8
JM
789 * Makerules (common-objdir-compile): Remove.
790 * sysdeps/unix/Makefile (config-generated): Do not add
791 $(unix-generated) to variable.
792 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
793 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
794 Remove rule.
795 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
796 Likewise.
797 [generic bits/local_lim.h] (before-compile): Do not append to
798 variable.
799 [generic bits/local_lim.h] (common-generated): Likewise.
800 [generic sys/param.h] (before-compile): Do not append to variable.
801 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
802 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
803 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
804 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
805 include.
806 [generic sys/param.h] (sys/param.h-includes): Remove variable.
807 [generic sys/param.h] (sys/param.h-includes): Remove rule.
808 [generic sys/param.h] ($(addprefix
809 $(common-objpfx),$(sys/param.h-includes))): Likewise.
810 [generic sys/param.h] (common-generated): Do not append to
811 variable.
812 [generic sys/param.h] (sysdep_headers): Likewise.
813 [generic bits/errno.h] (before-compile): Do not append to
814 variable.
815 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
816 rule.
817 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
818 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
819 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
820 [generic bits/errno.h] (common-generated): Do not append to
821 variable.
822 [generic bits/ioctls.h] (before-compile): Do not append to
823 variable.
824 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
825 rule.
826 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
827 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
828 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
829 rule.
830 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
831 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
832 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
833 [generic bits/ioctls.h] (common-generated): Do not append to
834 variable.
835 [generic sys/syscall.h] (syscall.h): Remove variable.
836 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
837 rule.
838 [generic sys/syscall.h] (before-compile): Do not append to
839 variable.
840 [generic sys/syscall.h] (common-generated): Likewise.
841 * sysdeps/unix/errnos-tmpl.c: Remove file.
842 * sysdeps/unix/errnos.awk: Likewise.
843 * sysdeps/unix/ioctls-tmpl.c: Likewise.
844 * sysdeps/unix/ioctls.awk: Likewise.
845 * sysdeps/unix/mk-local_lim.c: Likewise.
846 * sysdeps/unix/snarf-ioctls: Likewise.
847
4851a949
RH
8482012-03-19 Richard Henderson <rth@twiddle.net>
849
bd37f2ee
RH
850 * sysdeps/i386/fpu/fenv_private.h: New file.
851 * sysdeps/i386/fpu/math_private.h: Use it.
852 (math_opt_barrier, math_force_eval): Remove.
853 (libc_feholdexcept_setround_53bit): Remove.
854 (libc_feupdateenv_53bit): Remove.
855 * sysdeps/x86_64/fpu/math_private.h: Likewise.
856 (math_opt_barrier, math_force_eval): Remove.
857 (libc_feholdexcept): Remove.
858 (libc_feholdexcept_setround): Remove.
859 (libc_fetestexcept, libc_fesetenv): Remove.
860 (libc_feupdateenv_test): Remove.
861 (libc_feupdateenv, libc_feholdsetround): Remove.
862 (libc_feresetround): Remove.
863
d0adc922
RH
864 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
865 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
866
0fe0f1f8
RH
867 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
868 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
869 (libc_feupdateenv_testl): New.
870 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
871 (libc_feupdateenv_testf): New.
872 (libc_feupdateenv): Use libc_feupdateenv_test.
873 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
874 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
875
eb92c487
RH
876 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
877 (libc_feholdsetroundf, libc_feholdsetroundl): New.
878 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
879 (libc_feresetround_noex): New.
880 (libc_feresetround_noexf): New.
881 (libc_feresetround_noexl): New.
882 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
883 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
884 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
885 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
886 SET_RESTORE_ROUND.
887 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
888 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
889 (__cos): Likewise.
890 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
891 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
892 SET_RESTORE_ROUND_NOEX.
893 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
894 SET_RESTORE_ROUND_NOEXF.
895 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
896 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
897 (libc_feholdsetroundf): New.
898 (libc_feresetround, libc_feresetroundf): New.
899
7d2e8012
RH
900 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
901 (libc_feholdexcept_setround_53bit): Convert from macro to function.
902 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
903
b4dabbb4
RH
904 * sysdeps/generic/math_private.h: Include <fenv.h>.
905 (default_libc_feholdexcept): New.
906 (default_libc_feholdexcept_setround): New.
907 (default_libc_fesetenv, default_libc_feupdateenv): New.
908 (libc_feholdexcept): Only define if undefined.
909 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
910 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
911 (libc_feholdexcept_setroundl): Likewise.
912 (libc_feholdexcept_setround_53bit): Likewise.
913 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
914 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
915 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
916 (libc_feupdateenv_53bit): Likewise.
917 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
918 (libc_feholdexcept): Convert from macro to inline function.
919 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
920 (libc_fesetenv, libc_feupdateenv): Likewise.
921
4851a949
RH
922 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
923 not previously defined.
924 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
925 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
926 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
927 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
928 * sysdeps/ieee754/flt-32/math_private.h: New file.
929 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
930 math_private.h below SET_FLOAT_WORD.
931 (__isnan, __isinf_ns, __finite): Remove.
932 (__isnanf, __isinf_nsf, __finitef): Remove.
933
e79d442e
AS
9342012-03-18 Andreas Schwab <schwab@linux-m68k.org>
935
936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
937
90b80344
DM
9382012-03-17 David S. Miller <davem@davemloft.net>
939
940 [BZ #6471]
941 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
942 for 2.16.
943
edc21804
DM
9442012-03-16 David S. Miller <davem@davemloft.net>
945
77e927af
DM
946 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
947 warnings.
948
374976dd
DM
949 [BZ #6471]
950 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
951 properly.
952 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
953 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
954 sysdep_routines when subdir is sysvipc.
955 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
956 __getshmlba helper.
957
edc21804
DM
958 * sysdeps/sparc/fpu/libm-test/ulps: Update.
959
473c3ef3
L
9602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
961
962 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
963 [__LP64__].
964
eb0f39b6
L
9652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
966
967 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
968 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
969 (__lround): Renamed to ...
970 (__llround): This. Replace long int with long long int.
971 Define lround functions as aliases of llround functions.
972 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
973
6b6cd74b
L
9742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
975
976 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
977 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
978 adresses to uintptr_t. Replace "long int" and "unsigned long
979 int" with "greg_t" on va_arg.
980
f1a77b01
L
9812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
982
983 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
984 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
985
986 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
987 Move e_machine check before EI_CLASS check. Handle x32
988 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
989 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
990 SKIP_EM_IA_64 and include
991 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
992
993 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
994 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
995 (add_system_dir): New macro.
996
997 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
998 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
999
11b90b9f
JM
10002012-03-16 Joseph Myers <joseph@codesourcery.com>
1001
c36e1d23
JM
1002 [BZ #2551]
1003 [BZ #2552]
1004 [BZ #2553]
1005 [BZ #2554]
1006 [BZ #2562]
1007 [BZ #2563]
1008 [BZ #2565]
1009 [BZ #2566]
1010 [BZ #2576]
1011 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1012 (y0): Likewise.
1013 * math/w_j0f.c (j0f): Likewise.
1014 (y0f): Likewise.
1015 * math/w_j0l.c (__j0l): Likewise.
1016 (__y0l): Likewise.
1017 * math/w_j1.c (j1): Likewise.
1018 (y1): Likewise.
1019 * math/w_j1f.c (j1f): Likewise.
1020 (y1f): Likewise.
1021 * math/w_j1l.c (__j1l): Likewise.
1022 (__y1l): Likewise.
1023 * math/w_jn.c (jn): Likewise.
1024 (yn): Likewise.
1025 * math/w_jnf.c (jnf): Likewise.
1026 (ynf): Likewise.
1027 * math/w_jnl.c (__jnl): Likewise.
1028 (__ynl): Likewise.
1029 * math/libm-test.inc (j0_test): Add more tests.
1030 (j1_test): Likewise.
1031 (jn_test): Likewise. Add trailing semicolon to existing test.
1032 (y0_test): Likewise.
1033 (y1_test): Likewise.
1034 * sysdeps/i386/fpu/libm-test-ulps: Update.
1035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1036
11b90b9f
JM
1037 [BZ #13851]
1038 [BZ #13854]
1039 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1040 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1041 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1042 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1043 (__tanl): Set errno for infinite argument.
1044 * sysdeps/i386/fpu/mptan.c: Remove.
1045 * sysdeps/i386/fpu/s_tan.S: Likewise.
1046 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1047 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1048 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1049 * math/libm-test.inc (tan_test): Add more tests and enable more
1050 tests for double and long double.
1051 * sysdeps/i386/fpu/libm-test-ulps: Update.
1052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1053
6a1bd2a1
JK
10542012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1055
1056 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1057 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1058
10a803e0
RM
10592012-03-16 Roland McGrath <roland@hack.frob.com>
1060
1061 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1062 * configure.in: Use it for both main tree and add-ons.
1063 * configure: Regenerated.
1064
f196c7f7
L
10652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1066
1067 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1068
8848d99d
JM
10692012-03-16 Joseph Myers <joseph@codesourcery.com>
1070
96cbe7f4
JM
1071 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1072 in comment.
1073
8848d99d
JM
1074 [BZ #13851]
1075 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1076 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1077 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1078 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1079 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1080 infinite argument.
1081 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1082 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1083 != 0 for prec == 2.
1084 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1085 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1086 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1087 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1088 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1089 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1090 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1091 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1092 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1093 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1094 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1095 * math/libm-test.inc (cos_test): Add more tests and enable more
1096 tests for long double.
1097 (sin_test): Likewise.
1098 (sincos_test): Likewise.
1099 * sysdeps/i386/fpu/libm-test-ulps: Update.
1100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1101
dd7f4703
DM
11022012-03-16 David S. Miller <davem@davemloft.net>
1103
1104 * sysdeps/sparc/fpu/math_private.h: New file.
1105
006f1daa
DM
11062012-03-15 David S. Miller <davem@davemloft.net>
1107
c0c83bc8
DM
1108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1109 file.
e6a62e18 1110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
1111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1112 file.
e6a62e18
DM
1113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1117 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1118 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1119 sysdep routines.
1120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1121
88cb87d9
DM
1122 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1123 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1124
006f1daa 1125 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
1126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1127 sparc-ifunc.h
006f1daa 1128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
1129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1130 Likewise.
1131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1132 Likewise.
006f1daa
DM
1133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
1136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1137 Likewise.
006f1daa
DM
1138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
1142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1143 Likewise.
1144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1145 Likewise.
006f1daa
DM
1146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1150 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1151 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1152 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1153 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1154 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1155 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1158 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1159 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1163 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1164 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1165 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1166 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1167 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1168 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1169 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1170
11e0098e
AS
11712012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1172
1173 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1174 scaling.
1175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1176
e85b09d0
AJ
11772012-03-15 Andreas Jaeger <aj@suse.de>
1178
1179 [BZ #13852]
1180 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1181 ieee754/flt-32 implementation for sin, cos and sincos.
1182 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1183 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1184 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1185 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1186 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1187 ieee754/flt-32 implementation for tan.
1188
1189 * math/libm-test.inc (cos_test): Enable some large input tests for
1190 float as well
1191 (sin_test): Likewise.
1192 (sincos_test): Likewise.
1193 (tan_test): Add tests for large input.
1194
1195 * sysdeps/i386/fpu/libm-test-ulps: Update.
1196
81c64153
AJ
11972012-03-15 Andreas Jaeger <aj@suse.de>
1198
1199 [BZ #13658]
1200 * math/libm-test.inc (cos_test): Add more test cases.
1201 (sin_test): Likewise.
1202 (sincos_test): Likewise.
1203
7bbfa5c6
AJ
12042012-03-15 Andreas Jaeger <aj@suse.de>
1205
1206 [BZ #13837]
1207 * math/libm-test.inc (cos_test): Add a test case for large input
1208 value.
1209 (sin_test): Likewise.
1210 (sincos_test): Likewise.
1211
12122012-03-15 Andreas Jaeger <aj@suse.de>,
1213 Joseph Myers <joseph@codesourcery.com>
1214
1215 [BZ #13658]
0671f479 1216 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1217 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1218 * sysdeps/i386/fpu/branred.c: Likewise.
1219 * sysdeps/i386/fpu/dosincos.c: Likewise.
1220 * sysdeps/i386/fpu/mpa.c: Likewise.
1221 * sysdeps/i386/fpu/s_cos.S: Likewise.
1222 * sysdeps/i386/fpu/s_sin.S: Likewise.
1223 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1224 * sysdeps/i386/fpu/sincos32.c: Likewise.
1225
1226 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1227 Define.
1228 (libc_feupdateenv_53bit): Define.
1229 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1230 Define.
1231 (libc_feupdateenv_53bit): Define.
1232
1233 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1234 53 bit (without extend i386 double precision).
1235
1236 * math/libm-test.inc (sincos_test): Add tests for large input.
1237 (sin): Likewise.
1238 (cos): Likewise.
1239
1240 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1241
9cad04ea
AS
12422012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1243
1244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1245
f7062b9a
DM
12462012-03-15 David S. Miller <davem@davemloft.net>
1247
1248 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1249 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1250 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1251 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1262 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1264 file.
f7062b9a 1265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1267 file.
f7062b9a 1268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1270 file.
f7062b9a 1271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1273 file.
f7062b9a
DM
1274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1275 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1276 fmin/fmax sysdep routines.
1277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1278
7bd951ff
DM
12792012-03-14 David S. Miller <davem@davemloft.net>
1280
559398ab
DM
1281 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1282 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1284 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1285 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1286 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1287 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1288 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1289 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1292 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1300 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1301 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1302 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1303 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1304 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1305 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1306 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1307 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1308 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1309 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1310 routines.
1311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1312 file.
559398ab 1313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
1314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1315 file.
559398ab 1316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
1317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1318 file.
559398ab 1319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
1320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1321 file.
559398ab 1322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
1323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1324 file.
559398ab 1325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
1326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1327 file.
1328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1329 file.
1330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1331 file.
1332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1333 file.
1334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1335 New file.
1336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1337 file.
1338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1339 file.
559398ab 1340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
1341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1342 file.
559398ab 1343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1345 file.
559398ab 1346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
1347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1348 file.
559398ab 1349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
1350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1351 VIS3 routines.
559398ab
DM
1352
1353 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1354 New file.
1355
5a1c1e32
DM
1356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1357
eae47a36
DM
1358 * sysdeps/sparc/configure.in: New file.
1359 * sysdeps/sparc/configure: Generate.
1360 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1361 * configure: Regenerate.
1362 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1363 * config.make.in (have-as-vis3): New.
1364 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1365 available use -Av9d instead of -Av9a.
1366 * sysdeps/sparc/sparc64/Makefile: Likewise.
1367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
1368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1369 New file.
1370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1371 file.
1372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1373 New file.
1374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1375 file.
eae47a36
DM
1376 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1377 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1378 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1379 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1380 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1381
c0c83bc8
DM
1382 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1383 fzeros/fnegs to load 0x80000000 into a float register instead of
1384 using the stack.
7bd951ff
DM
1385 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1386
bd951ccb
JM
13872012-03-14 Joseph Myers <joseph@codesourcery.com>
1388
1389 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1390 bits/syscall.h.
1391 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1392 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1393 ($(inst_includedir)/bits/syscall.h): Remove rule.
1394 ($(objpfx)bits/syscall.d): Include instead of
1395 $(objpfx)syscall-list.d.
1396 (generated): Change syscall-list.h and syscall-list.d to
1397 bits/syscall.h and bits/syscall.d.
1398
bb4e6db2
RM
13992012-03-14 Roland McGrath <roland@hack.frob.com>
1400
1401 [BZ #13846]
1402 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1403
aa4a2ae1
JM
14042012-03-14 Joseph Myers <joseph@codesourcery.com>
1405
e456826d
JM
1406 [BZ #13841]
1407 * math/s_csqrt.c: Include <float.h>.
1408 (__csqrt): Scale large or subnormal inputs.
1409 * math/s_csqrtf.c: Likewise.
1410 * math/s_csqrtl.c: Likewise.
1411 * math/libm-test.inc (csqrt_test): Add more tests.
1412 * sysdeps/i386/fpu/libm-test-ulps: Update.
1413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1414
aa4a2ae1
JM
1415 [BZ #13840]
1416 * math/libm-test.inc (hypot_test): Add more tests.
1417
7c10fd35
DM
14182012-03-13 David S. Miller <davem@davemloft.net>
1419
1420 [BZ #13840]
1421 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1422 double-precision for the calculation instead of scaling.
1423
f453b98b
JM
14242012-03-13 Joseph Myers <joseph@codesourcery.com>
1425
1426 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1427 manipulate bits before adding and subtracting TWO52[sx].
1428 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1429 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1430 Likewise.
1431 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1432
09a3453f
DM
14332012-03-13 David S. Miller <davem@davemloft.net>
1434
8e59da90
DM
1435 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1436 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1437 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1438 rtld-global-offsets.h
1439 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1440
2a8ab7f2
DM
1441 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1442 large parameters.
1443
10f62770
DM
1444 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1445
5f0bdb18
DM
1446 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1447 'err' in the ifdef scope in which it is actually used.
1448
09a3453f
DM
1449 * nss/nss_db/db-init.c: Include string.h
1450
b4b2eb5e
DM
14512012-03-12 David S. Miller <davem@davemloft.net>
1452
98bb2f1c
DM
1453 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1454 masking out of the most significant byte of random value used.
1455 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1456 Fix coding style in previous change.
1457
b4b2eb5e
DM
1458 * sysdeps/unix/sysv/linux/kernel-features.h
1459 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1460 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1461 expression.
1462 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1463 later.
1464
6e226b09
DM
14652012-03-11 David S. Miller <davem@davemloft.net>
1466
a1bcbd40
DM
1467 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1468 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1469 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1470 for 'resultvar' otherwise things get truncated on 64-bit.
1471
cb9d6174
DM
1472 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1473 Fix masking out of the most significant byte of random value used.
1474
6e226b09
DM
1475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1476
058c132d
AS
14772012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1478
1479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1480
2d2cd515
DM
14812012-03-09 David S. Miller <davem@davemloft.net>
1482
1483 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1484 variables with appropriate CPP guards.
1485 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1486 frame pointer, not the stack pointer. Correct layout comments. Fix test
1487 on resulting framesize and the management of the outregs buffer for pltexit.
1488 Preserve floating point return values across _dl_call_pltexit call.
1489 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1490 framesize and the management of the outregs buffer for pltexit.
1491 Preserve floating point return values across _dl_call_pltexit
1492 call.
1493 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1494 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1495 (print_exit): Fix format string for return register value.
1496
9a07f9d0
JM
14972012-03-10 Joseph Myers <joseph@codesourcery.com>
1498
1499 * sunrpc/Makefile (others): Add rpcgen.
1500 ($(objpfx)rpcgen): Remove special build rule and dependency on
1501 libc.
1502 * sunrpc/rpcgen.c: New file.
1503
547b5e30
PE
15042012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1505
c524201a
PE
1506 [BZ #13673]
1507 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1508 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1509 * sysdeps/i386/crti.S: Likewise.
1510 * sysdeps/i386/crtn.S: Likewise.
1511 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1512 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1513 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1514 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1515 * sysdeps/sh/crti.S: Likewise.
1516 * sysdeps/sh/crtn.S: Likewise.
1517 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1518
7b6235f2
PE
1519 [BZ #13673]
1520 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1521 with URL.
1522 * locale/programs/locfile-kw.gperf: Likewise.
1523 * locale/programs/charmap-kw.h: Regenerated.
1524 * locale/programs/locfile-kw.h: Likewise.
1525
547b5e30
PE
1526 [BZ #13673]
1527 * intl/plural.y: Replace FSF snail mail address with URL.
1528 * intl/plural.c: Regenerated.
1529
5f0a5dae
RH
15302012-03-09 Richard Henderson <rth@twiddle.net>
1531
1532 * include/math_private.h: Remove file.
1533 * math/math_private.h: Move file ...
1534 * sysdeps/generic/math_private.h: ... here.
1535
b8c03620
RH
1536 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1537 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1538 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1539
4e234f5d 1540 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
1541 and <math_private.h>.
1542 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1543 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1544 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1545 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1546 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1547 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1548 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1549 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1550 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1551 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1552 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1553 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1554 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1555 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1556 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1557 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1558 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1559 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1560 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1561 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1562 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1563 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1564 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1565 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1566 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1567 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1568 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1569 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1570 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1571 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1572 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1573 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1574 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1575 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1576 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1577 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1578 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1579 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1580 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1581 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1582 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1583 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1584 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1585 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1586 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1587 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1588 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1589 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1590 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1591 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1592 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1593 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1594 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1595 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1596 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1597 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1598 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1599 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1600 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1601 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1602 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1603 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1604 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1605 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1606 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1607 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1608 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1609 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1610 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1611 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1612 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1613 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1614 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1615 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1616 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1617 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1618 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1619 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1620 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1621 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1622 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1623 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1624 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1625 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1626 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1627 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1628 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1629 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1630 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1631 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1632 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1633 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1634 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1635 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1636 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1637 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1638 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1639 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1640 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1641 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1642 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1643 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1644 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1645 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1646 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1647 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1648 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1649 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1650 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1651 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1652 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1653 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1654 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1655 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1656 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1657 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1658 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1659 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1660 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1661 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1662 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1663 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1664 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1665 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1666 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1667 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1668 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1669 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1670 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1671 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1672 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1673 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1674 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1675 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1676 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1677 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1678 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1679 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1680 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1681 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1682 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1683 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1684 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1685 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1686 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1687 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1688 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1689 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1690 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1691 * sysdeps/ieee754/k_standard.c: Likewise.
1692 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1693 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1694 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1695 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1696 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1697 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1698 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1699 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1700 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1701 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1702 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1703 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1704 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1705 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1706 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1707 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1708 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1709 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1710 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1711 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1712 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1713 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1714 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1715 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1716 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1717 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1718 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1719 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1720 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1721 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1722 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1723 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1724 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1725 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1726 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1727 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1728 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1729 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1730 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1731 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1732 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1733 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1734 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1735 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1736 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1737 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1738 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1739 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1740 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1741 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1742 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1743 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1744 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1745 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1746 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1747 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1748 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1749 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1750 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1751 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1752 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1753 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1754 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1755 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1756 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1757 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1758 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1759 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1760 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1761 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1762 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1763 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1764 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1765 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1766 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1767 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1768 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1769 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1770 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1771 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1772 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1773 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1774 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1775 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1776 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1777 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1778 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1779 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1780 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1781 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1782 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1783 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1784 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1785 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1786 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1787 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1788 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1789 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1790 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1791 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1792 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1793 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1794 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1795 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1796 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1797 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1798 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1799 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1800 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1801 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1802 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1803 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1804 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1805 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1806 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1807 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1808 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1809 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1810 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1811 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1812 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1813 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1814 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1815 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1816 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1817 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1818 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1819 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1820 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1821 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1822 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1823 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1824 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1825 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1826 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1827 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1828 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1829 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1830 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1831 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1832 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1833 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1834 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1835 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1836 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1837 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1838 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1839 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1840 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1841 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1842 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1843 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1844 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1845 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1846 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1847 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1848 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1849 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1850 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1851 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1852 * sysdeps/ieee754/s_lib_version.c: Likewise.
1853 * sysdeps/ieee754/s_matherr.c: Likewise.
1854 * sysdeps/ieee754/s_signgam.c: Likewise.
1855 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1856 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1857 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1858 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1859 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1860 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1861 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1862 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1863 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1864 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1865 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1866 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1867 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1868 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1869 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1870 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1871 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1872 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1873 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1874 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1875 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 1876
1991fa03
JM
18772012-03-09 Joseph Myers <joseph@codesourcery.com>
1878
1879 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1880 * sunrpc/rpc_main.c: Likewise.
1881 * sunrpc/rpc_svcout.c: Likewise.
1882
60d6f5a6
DM
18832012-03-09 David S. Miller <davem@davemloft.net>
1884
1885 * include/math_private.h: New file.
1886
4962050e
JM
18872012-03-09 Joseph Myers <joseph@codesourcery.com>
1888
02a6f887
JM
1889 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1890 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1891 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1892 from <bits/socket_type.h>.
1893 (enum __socket_type): Don't define here.
1894 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1895 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1896 bits/socket_type.h.
1897
c6e013c1
JM
1898 [BZ #13566]
1899 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1900 checking __USE_GNU.
1901
4962050e
JM
1902 * Makerules ($(inst_includedir)/%.h): New rule.
1903 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1904 (install-others): Remove variable setting.
1905 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1906
38842f45
RH
19072012-03-08 Richard Henderson <rth@twiddle.net>
1908
67bb6da6
RH
1909 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1910 from macro to inline function; merge with the
1911 !__LIBC_INTERNAL_MATH_INLINES version.
1912 (__ieee754_sqrtf): Likewise.
1913
15194b4b
RH
1914 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1915 to inline function.
1916 (__rintf, __floor, __floorf): Likewise.
1917
64e21ede
RH
1918 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1919 macro to inline function.
1920 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1921
38842f45
RH
1922 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1923 not <math/math_private.h>.
1924
c64bf5fe
DM
19252012-03-08 David S. Miller <davem@davemloft.net>
1926
1927 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1928 copyright year.
1929 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1930
82d86f28
TS
19312012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1932
1933 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1934 normalization.
1935 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1936 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1937
aea5d727
UD
19382012-03-08 Ulrich Drepper <drepper@gmail.com>
1939
1940 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1941 be defined individually, they must be defined as a block. Define
1942 S for printing a string instead of hidint the different by using a
1943 macro for adding the 'l'.
1944 * stdio-common/tst-fphex-wide.c: Adjust.
1945
70bca0a3
MP
19462012-03-07 Marek Polacek <polacek@redhat.com>
1947
1948 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1949
65b81130
MP
19502012-03-08 Marek Polacek <polacek@redhat.com>
1951
1952 [BZ #13806]
1953 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1954 * stdio-common/tst-fphex.c: Define a few macros to make the
1955 test reusable. Use them.
1956 * stdio-common/tst-fphex-wide.c: New file.
1957
07037eeb
JM
19582012-03-08 Joseph Myers <joseph@codesourcery.com>
1959
a7a93d50
JM
1960 [BZ #6911]
1961 * manual/macros.texi (gnusystems): New macro.
1962 (nongnusystems): Likewise.
1963 (gnulinuxhurdsystems): Likewise.
1964 (gnuhurdsystems): Likewise..
1965 (gnulinuxsystems): Likewise.
1966 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1967 variants of the GNU system, not "GNU system".
1968 * manual/conf.texi: Likewise.
1969 * manual/errno.texi: Likewise. Update example of errno macro
1970 expansion.
1971 * manual/filesys.texi: Likewise.
1972 (getumask): Document as specific to GNU/Hurd.
1973 * manual/install.texi: Likewise. Reword some references to
1974 GNU/Linux.
1975 * manual/intro.texi: Likewise.
1976 * manual/io.texi: Likewise.
1977 (File Name Portability): Detail which constraints are inapplicable
1978 to all GNU systems and which are only inapplicable to GNU/Hurd.
1979 * manual/job.texi: Likewise.
1980 * manual/llio.texi: Likewise.
1981 (O_NOCTTY): Document as present on GNU/Linux.
1982 * manual/maint.texi: Likewise.
1983 * manual/memory.texi: Likewise.
1984 * manual/pattern.texi: Likewise.
1985 * manual/pipe.texi: Likewise.
1986 * manual/process.texi: Likewise.
1987 * manual/resource.texi: Likewise.
1988 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1989 child on GNU/Hurd.
1990 * manual/setjmp.texi: Likewise.
1991 * manual/signal.texi: Likewise.
1992 * manual/startup.texi: Likewise.
1993 * manual/stdio.texi: Likewise.
1994 * manual/terminal.texi: Likewise.
1995 (ONLCR): Document as POSIX.
1996 (OXTABS): Document availability on GNU/Linux as XTABS.
1997 (ONOEOT): Document availability separately from other bits.
1998 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1999 * manual/time.texi: Likewise.
2000 * manual/users.texi: Likewise.
2001 * INSTALL: Regenerated.
2002 * sysdeps/gnu/errlist.c: Regenerated.
2003
07037eeb
JM
2004 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2005 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2006 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2007 puts.
2008 * configure: Regenerated.
2009
d1d3431a
JM
20102012-03-07 Joseph Myers <joseph@codesourcery.com>
2011
af6a1e37
JM
2012 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2013 default includes instead of AC_HEADER_CHECK.
2014 * sysdeps/i386/configure: Regenerated.
2015
d1d3431a
JM
2016 [BZ #10716]
2017 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2018 * math/s_cacoshf.c (__cacoshf): Likewise.
2019 * math/s_cacoshl.c (__cacoshl): Likewise.
2020 * math/s_casinh.c (__casinh): Set signs of result from argument.
2021 * math/s_casinhf.c (__casinhf): Likewise.
2022 * math/s_casinhl.c (__casinhl): Likewise.
2023 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2024 (casinh_test): Add more tests.
2025 * sysdeps/i386/fpu/libm-test-ulps: Update.
2026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2027
482ff4da
UD
20282012-03-07 Ulrich Drepper <drepper@gmail.com>
2029
872fda05
UD
2030 * po/zh_TW.po: Update from translation team.
2031
a4300c7a
UD
2032 * login/Makefile (distribute): Remove variable.
2033 * catgets/Makefile: Likewise.
2034 * mach/Makefile: Likewise.
2035 * malloc/Makefile: Likewise.
2036 * misc/Makefile: Likewise.
2037 * iconv/Makefile: Likewise.
2038 * nscd/Makefile: Likewise.
2039 * hurd/Makefile: Likewise.
2040 * manual/Makefile: Likewise.
2041 * locale/Makefile: Likewise.
2042 * intl/Makefile: Likewise.
2043 * conform/Makefile: Likewise.
2044 * nss/Makefile: Likewise.
2045 * time/Makefile: Likewise.
2046 * soft-fp/Makefile: Likewise.
2047 * dirent/Makefile: Likewise.
2048 * gmon/Makefile: Likewise.
2049 * po/Makefile: Likewise.
2050 * rt/Makefile: Likewise.
2051 * socket/Makefile: Likewise.
2052 * math/Makefile: Likewise.
2053 * signal/Makefile: Likewise.
2054 * debug/Makefile: Likewise.
2055 * elf/Makefile: Likewise.
2056 * timezone/Makefile: Likewise.
2057 * stdlib/Makefile: Likewise.
2058 * iconvdata/Makefile: Likewise.
2059 * sunrpc/Makefile: Likewise.
2060 * io/Makefile: Likewise.
2061 * argp/Makefile: Likewise.
2062 * inet/Makefile: Likewise.
2063 * hesiod/Makefile: Likewise.
2064 * grp/Makefile: Likewise.
2065 * csu/Makefile: Likewise.
2066 * wctype/Makefile: Likewise.
2067 * crypt/Makefile: Likewise.
2068 * libio/Makefile: Likewise.
2069 * string/Makefile: Likewise.
2070 * nis/Makefile: Likewise.
2071 * resolv/Makefile: Likewise.
2072 * stdio-common/Makefile: Likewise.
2073 * wcsmbs/Makefile: Likewise.
2074 * dlfcn/Makefile: Likewise.
2075 * posix/Makefile: Likewise.
2076
482ff4da
UD
2077 * timezone/Makefile: Don't install timezone files, just the programs
2078 and scripts.
2079
f72ed77d
UD
20802012-03-06 Ulrich Drepper <drepper@gmail.com>
2081
a000466f
UD
2082 * nss/databases.def: Add missing gshadow entry.
2083
f72ed77d
UD
2084 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2085
a53b7a4e
MP
20862012-03-06 Marek Polacek <polacek@redhat.com>
2087
2088 [BZ #13726]
2089 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2090 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2091 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2092 * stdio-common/tst-long-dbl-fphex.c: New file.
2093
e9258400
DM
20942012-03-06 David S. Miller <davem@davemloft.net>
2095
2096 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2097 (set_obp_int): New function.
2098 (get_obp_int): New function.
2099 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
2100 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2101 Avoid unused variable warnings on 'val' and use builtin_expect.
2102 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2103 __builtin_expect.
e9258400
DM
2104 (INLINE_CLONE_SYSCALL): Likewise.
2105
3bd2c723
DM
21062012-03-05 David S. Miller <davem@davemloft.net>
2107
2108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2109
bbb78d03
AS
21102012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2111
884c5db4
AS
2112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2113
bbb78d03
AS
2114 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2115 only for |x| >= 40.
2116 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2117
1c9f702a 21182012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
2119
2120 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2121 Replace gettimeofday with __vdso_gettimeofday.
2122
7be16f82
RM
2123 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2124 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2125 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
2126
2127 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2128 time with __vdso_time.
2129
ed58a00f
JM
21302012-03-05 Joseph Myers <joseph@codesourcery.com>
2131
2132 * manual/lang.texi (size_t): Note types to which size_t may be
2133 equivalent with the GNU C Library, but do not describe when
2134 differences between them are significant.
2135
30ee4ced
AJ
21362012-03-05 Andreas Jaeger <aj@suse.de>
2137
2138 * sysdeps/i386/fpu/libm-test-ulps: Update.
2139
b7cd39e8
JM
21402012-03-05 Joseph Myers <joseph@codesourcery.com>
2141
2142 [BZ #3976]
2143 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2144 (__ieee754_pow): Save and restore rounding mode and use
2145 round-to-nearest for main computations.
2146 * math/libm-test.inc (pow_test_tonearest): New function.
2147 (pow_test_towardzero): Likewise.
2148 (pow_test_downward): Likewise.
2149 (pow_test_upward): Likewise.
2150 (main): Call the new functions.
2151 * sysdeps/i386/fpu/libm-test-ulps: Update.
2152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
2153
2154 [BZ #3976]
2155 * math/libm-test.inc (cosh_test_tonearest): New function.
2156 (cosh_test_towardzero): Likewise.
2157 (cosh_test_downward): Likewise.
2158 (cosh_test_upward): Likewise.
2159 (sinh_test_tonearest): Likewise.
2160 (sinh_test_towardzero): Likewise.
2161 (sinh_test_downward): Likewise.
2162 (sinh_test_upward): Likewise.
2163 (main): Call the new functions.
2164 * sysdeps/i386/fpu/libm-test-ulps: Update.
2165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2166
6c6a98c9
TV
21672012-03-05 Tom de Vries <tom@codesourcery.com>
2168
2169 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2170 default stack guard is set in last bytes.
2171 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2172
21bb2d2e 21732012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2174
21bb2d2e 2175 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2176
21bb2d2e
AJ
2177 [BZ #13656]
2178 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2179 possibly allocate from heap instead of stack.
2180 * stdio-common/bug-vfprintf-nargs.c: New file.
2181 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2182
c6922934
AS
21832012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2184
2185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2186
bc957d53
MP
21872012-03-03 Marek Polacek <polacek@redhat.com>
2188
2189 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2190 * math/math_private.h: Likewise.
2191 * stdlib/tst-strtod.c: Likewise.
2192 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2193 * sysdeps/x86_64/bits/atomic.h: Likewise.
2194
6358490d
DM
21952012-03-02 David S. Miller <davem@davemloft.net>
2196
2197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2201 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2202 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2203 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2204 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2205
01ae168d
RM
22062012-03-02 Roland McGrath <roland@hack.frob.com>
2207
d9a17c07
RM
2208 [BZ #13792]
2209 * manual/examples/README: New file, says the example source files
2210 can be used under GPL>=2.
2211 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2212 line containing just "*/".
2213 * manual/examples/add.c: Add copyright header (GPL>=2).
2214 * manual/examples/argp-ex1.c: Likewise.
2215 * manual/examples/argp-ex2.c: Likewise.
2216 * manual/examples/argp-ex3.c: Likewise.
2217 * manual/examples/argp-ex4.c: Likewise.
2218 * manual/examples/atexit.c: Likewise.
2219 * manual/examples/db.c: Likewise.
2220 * manual/examples/dir.c: Likewise.
2221 * manual/examples/dir2.c: Likewise.
2222 * manual/examples/execinfo.c: Likewise.
2223 * manual/examples/filecli.c: Likewise.
2224 * manual/examples/filesrv.c: Likewise.
2225 * manual/examples/fmtmsgexpl.c: Likewise.
2226 * manual/examples/genpass.c: Likewise.
2227 * manual/examples/inetcli.c: Likewise.
2228 * manual/examples/inetsrv.c: Likewise.
2229 * manual/examples/isockad.c: Likewise.
2230 * manual/examples/longopt.c: Likewise.
2231 * manual/examples/memopen.c: Likewise.
2232 * manual/examples/memstrm.c: Likewise.
2233 * manual/examples/mkfsock.c: Likewise.
2234 * manual/examples/mkisock.c: Likewise.
2235 * manual/examples/mygetpass.c: Likewise.
2236 * manual/examples/pipe.c: Likewise.
2237 * manual/examples/popen.c: Likewise.
2238 * manual/examples/rprintf.c: Likewise.
2239 * manual/examples/search.c: Likewise.
2240 * manual/examples/select.c: Likewise.
2241 * manual/examples/setjmp.c: Likewise.
2242 * manual/examples/sigh1.c: Likewise.
2243 * manual/examples/sigusr.c: Likewise.
2244 * manual/examples/stpcpy.c: Likewise.
2245 * manual/examples/strdupa.c: Likewise.
2246 * manual/examples/strftim.c: Likewise.
2247 * manual/examples/strncat.c: Likewise.
2248 * manual/examples/subopt.c: Likewise.
2249 * manual/examples/swapcontext.c: Likewise.
2250 * manual/examples/termios.c: Likewise.
2251 * manual/examples/testopt.c: Likewise.
2252 * manual/examples/testpass.c: Likewise.
2253 * manual/examples/timeval_subtract.c: Likewise.
2254
01ae168d
RM
2255 [BZ #13792]
2256 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2257 function to ...
2258 * manual/timeval_subtract.c.texi: ... here, new file.
2259
49efa33d
DM
22602012-03-02 David S. Miller <davem@davemloft.net>
2261
2262 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2263
28afd92d
JM
22642012-03-02 Joseph Myers <joseph@codesourcery.com>
2265
804360ed
JM
2266 [BZ #3976]
2267 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2268 (__sin): Save and restore rounding mode and use round-to-nearest
2269 for all computations.
2270 (__cos): Save and restore rounding mode and use round-to-nearest
2271 for all computations.
2272 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2273 <fenv.h>.
2274 (tan): Save and restore rounding mode and use round-to-nearest for
2275 all computations.
2276 * math/libm-test.inc (cos_test_tonearest): New function.
2277 (cos_test_towardzero): Likewise.
2278 (cos_test_downward): Likewise.
2279 (cos_test_upward): Likewise.
2280 (sin_test_tonearest): Likewise.
2281 (sin_test_towardzero): Likewise.
2282 (sin_test_downward): Likewise.
2283 (sin_test_upward): Likewise.
2284 (tan_test_tonearest): Likewise.
2285 (tan_test_towardzero): Likewise.
2286 (tan_test_downward): Likewise.
2287 (tan_test_upward): Likewise.
2288 (main): Call the new functions.
2289 * sysdeps/i386/fpu/libm-test-ulps: Update.
2290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2291
a6d06d7b
JM
2292 [BZ #10135]
2293 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2294 small n, then large n, before computing and testing k+n.
2295 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2296 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2297 Likewise.
2298 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2299 Likewise.
2300 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2301 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2302 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2303 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2304 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2305 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2306 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2307 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2308 * math/libm-test.inc (scalbn_test): Add more tests.
2309 (scalbln_test): Likewise.
2310
07e12bb3
JM
2311 * manual/filesys.texi (mode_t): Describe constraints on size and
2312 signedness, not exact equivalence to a particular type.
2313 (ino_t): Likewise.
2314 (ino64_t): Likewise.
2315 (dev_t): Likewise.
2316 (nlink_t): Likewise.
2317 (blkcnt_t): Likewise.
2318 (blkcnt64_t): Likewise.
2319 * manual/llio.texi (off_t): Likewise.
2320
28afd92d
JM
2321 [BZ #3976]
2322 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2323 (__ieee754_exp): Save and restore rounding mode and use
2324 round-to-nearest for all computations.
2325 * math/libm-test.inc (exp_test_tonearest): New function.
2326 (exp_test_towardzero): Likewise.
2327 (exp_test_downward): Likewise.
2328 (exp_test_upward): Likewise.
2329 (main): Call the new functions.
2330 * sysdeps/i386/fpu/libm-test-ulps: Update.
2331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2332
b1eeb65d
CD
23332012-03-01 Chris Demetriou <cgd@google.com>
2334
2335 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2336 have predictable order.
2337
53362a4b
DM
23382012-03-01 David S. Miller <davem@davemloft.net>
2339
3c969083
DM
2340 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2341
759707de
DM
2342 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2343 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2344 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2345 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2346
dfdb8ff2
DM
2347 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2348 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2349 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2351 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2352 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2353 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2354 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2355 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2356
ead89f96
DM
2357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2358
7f66bd07
DM
2359 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2360 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2361 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2362
53362a4b
DM
2363 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2364 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2365 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2366 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2367 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2368 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2369 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2370 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2371 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2372 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2373 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2374 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2375 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2376 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2377 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2378 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2379 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2380 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2381 * sysdeps/sparc/elf/configure: Regenerated.
2382
7b1902cb
JM
23832012-03-01 Joseph Myers <joseph@codesourcery.com>
2384
bec039bc
JM
2385 * configure.in (AS, LD): Require binutils 2.20 or later.
2386 * configure: Regenerated.
2387 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2388 as required minimum version.
2389 * INSTALL: Regenerated.
2390
7b1902cb
JM
2391 [BZ #2541]
2392 [BZ #4108]
2393 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2394 before squaring exponent.
2395 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2396 bottom long double and 27 bits of top long double before squaring
2397 exponent.
2398 * math/libm-test.inc (erfc_test): Add more tests.
2399 * sysdeps/i386/fpu/libm-test-ulps: Update.
2400 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2402
f775c276
KT
24032012-03-01 Kai Tietz <ktietz@redhat.com>
2404
2405 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2406 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2407 containing bit-fields.
2408 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2409 * soft-fp/single.h (_FP_UNION_S): Likewise.
2410 * soft-fp/double.h (_FP_UNION_D): Likewise.
2411
5b8a4d4a
JM
24122012-02-29 Joseph Myers <joseph@codesourcery.com>
2413
0bab47b6
JM
2414 [BZ #13786]
2415 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2416 not include ../strcmp.S.
2417 [USE_AS_STRNCASECMP_L]: Likewise.
2418 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2419 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2420 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2421 (__strncasecmp_l_ia32): Define as alias to
2422 __strncasecmp_l_nonascii.
2423
0fcad3e2
JM
2424 [BZ #5794]
2425 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2426 * sysdeps/i386/fpu/libm-test-ulps: Update.
2427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2428
5b8a4d4a
JM
2429 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2431
8fdceb2e
JL
24322012-02-29 Jeff Law <law@redhat.com>
2433
2434 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2435 out of bounds read.
2436
1f393a11
MP
24372012-02-29 Marek Polacek <polacek@redhat.com>
2438
2439 [BZ #13706]
2440 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2441 * elf/Makefile: Add rules to run tst-unused-dep.out.
2442
8847f037
DM
24432012-02-28 David S. Miller <davem@davemloft.net>
2444
2445 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2446 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2447 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2448 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2449 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2450 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2451
169d7f11
JM
24522012-02-29 Joseph Myers <joseph@codesourcery.com>
2453
2454 * math/libm-test.inc (llround_test): Move one test from
2455 lround_test. Use TEST_f_L in moved test.
2456 (lround_test): Move misplaced test to llround_test. Add testcase
2457 from bug 2561.
2458
39adf059
UD
24592012-02-28 Ulrich Drepper <drepper@gmail.com>
2460
2461 * sysdeps/x86_64/fpu/e_expf.S: New file.
2462 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2463
71b5d1c5
SB
24642012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2465
2466 [BZ #13637]
2467 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2468 of remain_len that may cause incomplete multi-byte character and
2469 false match.
2470 * posix/bug-regex33.c: New file.
2471 * posix/Makefile (tests): Add bug-regex33.
2472
1f77f049
JM
24732012-02-28 Joseph Myers <joseph@codesourcery.com>
2474
2475 * manual/macros.texi: New file.
2476 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2477 * manual/libc.texinfo: Include macros.texi.
2478 * manual/creatute.texi: Likewise.
2479 * manual/install.texi: Likewise.
2480 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2481 @glibcadj{} in references to the GNU C Library.
2482 * manual/charset.texi: Likewise.
2483 * manual/conf.texi: Likewise.
2484 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2485 when not using those macros.
2486 * manual/creature.texi: Likewise.
2487 * manual/crypt.texi: Likewise.
2488 * manual/errno.texi: Likewise.
2489 * manual/filesys.texi: Likewise.
2490 * manual/header.texi: Likewise.
2491 * manual/install.texi: Likewise.
2492 * manual/intro.texi: Likewise.
2493 * manual/io.texi: Likewise.
2494 * manual/job.texi: Likewise.
2495 * manual/lang.texi: Likewise.
2496 * manual/libc.texiinfo: Likewise.
2497 * manual/llio.texi: Likewise.
2498 * manual/locale.texi: Likewise.
2499 * manual/maint.texi: Likewise.
2500 * manual/math.texi: Likewise.
2501 * manual/memory.texi: Likewise.
2502 * manual/message.texi: Likewise.
2503 * manual/nss.texi: Likewise.
2504 * manual/pattern.texi: Likewise.
2505 * manual/process.texi: Likewise.
2506 * manual/resource.texi: Likewise.
2507 * manual/search.texi: Likewise.
2508 * manual/setjmp.texi: Likewise.
2509 * manual/signal.texi: Likewise.
2510 * manual/socket.texi: Likewise.
2511 * manual/startup.texi: Likewise.
2512 * manual/stdio.texi: Likewise.
2513 * manual/string.texi: Likewise.
2514 * manual/sysinfo.texi: Likewise.
2515 * manual/syslog.texi: Likewise.
2516 * manual/terminal.texi: Likewise.
2517 * manual/time.texi: Likewise.
2518 * manual/users.texi: Likewise.
2519 * INSTALL: Regenerated.
2520 * NOTES: Regenerated.
d40c5d54 2521 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 2522
450bf206
AS
25232012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2524
2525 * include/dirent.h: Include <dirstream.h> before
2526 <dirent/dirent.h>.
2527
741a235b
DM
25282012-02-28 David S. Miller <davem@davemloft.net>
2529
2530 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2531 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2532 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2533 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2534
d6b5aa58
DM
25352012-02-27 David S. Miller <davem@davemloft.net>
2536
1aff59a3
DM
2537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2539 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2540 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2541
d6b5aa58
DM
2542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2543 frame pointer instead of stack pointer relative arg slot.
2544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2545 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2546 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2547
433f48bf
CD
25482012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2549
2550 [BZ #3992]
2551 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2552
d674b76d
DM
25532012-02-27 David S. Miller <davem@davemloft.net>
2554
2555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2559 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2560 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2561 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2562 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2563
0e7727f7
JM
25642012-02-27 Joseph Myers <joseph@codesourcery.com>
2565
2566 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2567 later. Allow versions 5-9.
43be4ca2 2568 * configure: Regenerated.
0e7727f7
JM
2569 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2570 required minimum version and 4.6 as recommended version. Do not
2571 mention bugs in GCC 2.7 and 2.8.
43be4ca2 2572 * INSTALL: Regenerated.
0e7727f7 2573
a78bc654
DM
25742012-02-27 David S. Miller <davem@davemloft.net>
2575
428d5830
DM
2576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2580 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2581 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2582 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2583 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2584
a78bc654
DM
2585 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2586 manipulate bits before adding and subtracting TWO112[sx].
2587 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2588
4579f81c
RM
25892012-02-27 Roland McGrath <roland@hack.frob.com>
2590
36c8acb4
RM
2591 [BZ #13775]
2592 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2593 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2594 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2595 being in POSIX, because they are in 1003.1-2008.
2596
84ad622b
RM
2597 * rt/tst-aio.c: Include <fcntl.h>.
2598 * rt/tst-aio7.c: Likewise.
2599 * rt/tst-aio64.c: Likewise.
2600
4579f81c
RM
2601 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2602
abd923db
JM
26032012-02-27 Joseph Myers <joseph@codesourcery.com>
2604
2605 * manual/install.texi (--with-headers): Describe headers as
2606 interface headers, not private headers.
2607 (Specific advice for GNU/Linux systems): Describe use of headers
2608 from "make headers_install", not private headers from older
2609 kernels.
43be4ca2 2610 * INSTALL: Regenerated.
abd923db
JM
2611 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2612 Change to 2.6.19.
2613 * sysdeps/unix/sysv/linux/configure: Regenerated.
2614
6664049b
JM
2615 * manual/llio.texi (fclean): Remove documentation.
2616
bb8b6697
JM
2617 * manual/Makefile (libc-texi-generated): New variable. Include
2618 version.texi.
2619 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2620 $(libc-texi-generated), not duplicated list of files.
2621 (version.texi, stamp-version): New rules.
2622 (realclean): Remove $(libc-texi-generated), not individual files
2623 from that list. Do not remove dir-add.texinfo.
2624 * manual/libc.texinfo: Comment out uses of edition numbers and
2625 references to printed manual. Remove last-updated dates.
2626 (EDITION): Comment out.
2627 (ISBN): Likewise.
2628 (VERSION, UPDATED): Remove.
2629 (version.texi): Include.
2630
12e5c3b9
AS
26312012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2632
2633 * sysdeps/posix/spawni.c: Include <signal.h>.
2634 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2635 * sysdeps/pthread/aio_fsync.c: Likewise.
2636
4efeffc1 26372012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 2638
ba63ba08
UD
2639 * conform/Makefile (tests): Run only when not cross-compiling and
2640 when fast-check is not defined.
2641
d94a4670
UD
2642 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2643 * conform/data/limits.h-data: Fixes for POSIX2008.
2644 * conform/run-conformtest.sh: Run all tests.
2645 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2646 headers.
2647 * include/bits/dlfcn.h: Likewise.
2648 * include/langinfo.h: Likewise.
2649 * include/monetary.h: Likewise.
2650 * include/sys/poll.h: Likewise.
2651
2652 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2653 for __USE_GNU.
2654 * posix/spawn.h: Define __need_sigset_t.
2655 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2656 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2657 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2658 to get sigevent_t only.
2659 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2660 only for __USE_GNU.
2661 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2662 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2663 process_vm_writev only for __USE_GNU.
2664 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
2665
2666 * conform/Makefile: For now ignore errors from run-conformtest.
2667 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2668 POSIX to avoid namespace pollution. Don't prepend headers.
2669 * conform/data/aio.h-data: Fixes for POSIX testing.
2670 * conform/data/fcntl.h-data: Likewise.
2671 * conform/data/glob.h-data: Likewise.
2672 * conform/data/grp.h-data: Likewise.
2673 * conform/data/pthread.h-data: Likewise.
2674 * conform/data/pwd.h-data: Likewise.
2675 * conform/data/signal.h-data: Likewise.
2676 * conform/data/spawn.h-data: Likewise.
2677 * conform/data/stdio.h-data: Likewise.
2678 * conform/data/stdlib.h-data: Likewise.
2679 * conform/data/stropts.h-data: Likewise.
2680 * conform/data/sys/mman.h-data: Likewise.
2681 * conform/data/sys/stat.h-data: Likewise.
2682 * conform/data/sys/types.h-data: Likewise.
2683 * conform/data/sys/wait.h-data: Likewise.
2684 * conform/data/time.h-data: Likewise.
2685 * conform/data/unistd.h-data: Likewise.
2686 * conform/data/utime.h-data: Likewise.
2687
2688 * io/sys/stat.h: fchmod was always in POSIX.
2689 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2690 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2691 * rt/aio.h: Define __need_timespec before including <time.h>.
2692 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2693 struct. Add forward declaration of pthread_attr_t and use it in
2694 sigevent.
2695 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2696 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2697 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2698 always remove CLK_TCK definition.
2699
c20105c3
AS
27002012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2701
2702 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2703
7a270350
UD
27042012-02-25 Ulrich Drepper <drepper@gmail.com>
2705
31341567
UD
2706 * conform/run-conformtest.sh: New file.
2707 * conform/Makefile: Run run-conformtest for tests.
2708 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2709 support.
2710
2711 * conform/data/uchar.h-data: New file.
2712 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2713 * conform/data/arpa/inet.h-data: Likewise.
2714 * conform/data/assert.h-data: Likewise.
2715 * conform/data/complex.h-data: Likewise.
2716 * conform/data/cpio.h-data: Likewise.
2717 * conform/data/ctype.h-data: Likewise.
2718 * conform/data/dirent.h-data: Likewise.
2719 * conform/data/dlfcn.h-data: Likewise.
2720 * conform/data/errno.h-data: Likewise.
2721 * conform/data/fcntl.h-data: Likewise.
2722 * conform/data/float.h-data: Likewise.
2723 * conform/data/fmtmsg.h-data: Likewise.
2724 * conform/data/fnmatch.h-data: Likewise.
2725 * conform/data/ftw.h-data: Likewise.
2726 * conform/data/glob.h-data: Likewise.
2727 * conform/data/grp.h-data: Likewise.
2728 * conform/data/iconv.h-data: Likewise.
2729 * conform/data/inttypes.h-data: Likewise.
2730 * conform/data/langinfo.h-data: Likewise.
2731 * conform/data/libgen.h-data: Likewise.
2732 * conform/data/limits.h-data: Likewise.
2733 * conform/data/locale.h-data: Likewise.
2734 * conform/data/math.h-data: Likewise.
2735 * conform/data/monetary.h-data: Likewise.
2736 * conform/data/mqueue.h-data: Likewise.
2737 * conform/data/ndbm.h-data: Likewise.
2738 * conform/data/net/if.h-data: Likewise.
2739 * conform/data/netdb.h-data: Likewise.
2740 * conform/data/netinet/in.h-data: Likewise.
2741 * conform/data/nl_types.h-data: Likewise.
2742 * conform/data/poll.h-data: Likewise.
2743 * conform/data/pthread.h-data: Likewise.
2744 * conform/data/pwd.h-data: Likewise.
2745 * conform/data/regex.h-data: Likewise.
2746 * conform/data/sched.h-data: Likewise.
2747 * conform/data/search.h-data: Likewise.
2748 * conform/data/semaphore.h-data: Likewise.
2749 * conform/data/setjmp.h-data: Likewise.
2750 * conform/data/signal.h-data: Likewise.
2751 * conform/data/spawn.h-data: Likewise.
2752 * conform/data/stdarg.h-data: Likewise.
2753 * conform/data/stdio.h-data: Likewise.
2754 * conform/data/stdlib.h-data: Likewise.
2755 * conform/data/string.h-data: Likewise.
2756 * conform/data/strings.h-data: Likewise.
2757 * conform/data/stropts.h-data: Likewise.
2758 * conform/data/sys/ipc.h-data: Likewise.
2759 * conform/data/sys/mman.h-data: Likewise.
2760 * conform/data/sys/msg.h-data: Likewise.
2761 * conform/data/sys/resource.h-data: Likewise.
2762 * conform/data/sys/select.h-data: Likewise.
2763 * conform/data/sys/sem.h-data: Likewise.
2764 * conform/data/sys/shm.h-data: Likewise.
2765 * conform/data/sys/socket.h-data: Likewise.
2766 * conform/data/sys/stat.h-data: Likewise.
2767 * conform/data/sys/statvfs.h-data: Likewise.
2768 * conform/data/sys/time.h-data: Likewise.
2769 * conform/data/sys/timeb.h-data: Likewise.
2770 * conform/data/sys/times.h-data: Likewise.
2771 * conform/data/sys/types.h-data: Likewise.
2772 * conform/data/sys/uio.h-data: Likewise.
2773 * conform/data/sys/un.h-data: Likewise.
2774 * conform/data/sys/utsname.h-data: Likewise.
2775 * conform/data/sys/wait.h-data: Likewise.
2776 * conform/data/syslog.h-data: Likewise.
2777 * conform/data/tar.h-data: Likewise.
2778 * conform/data/termios.h-data: Likewise.
2779 * conform/data/utime.h-data: Likewise.
2780 * conform/data/utmpx.h-data: Likewise.
2781 * conform/data/varargs.h-data: Likewise.
2782 * conform/data/wchar.h-data: Likewise.
2783 * conform/data/wctype.h-data: Likewise.
2784 * conform/data/wordexp.h-data: Likewise.
2785
2786 * include/stropts.h: New file.
2787 * include/uchar.h: New file.
2788 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2789 * include/assert.h: Likewise.
2790 * include/ctype.h: Likewise.
2791 * include/dirent.h: Likewise.
2792 * include/dlfcn.h: Likewise.
2793 * include/fcntl.h: Likewise.
2794 * include/fnmatch.h: Likewise.
2795 * include/glob.h: Likewise.
2796 * include/grp.h: Likewise.
2797 * include/libio.h: Likewise.
2798 * include/locale.h: Likewise.
2799 * include/math.h: Likewise.
2800 * include/net/if.h: Likewise.
2801 * include/netdb.h: Likewise.
2802 * include/netinet/in.h: Likewise.
2803 * include/pthread.h: Likewise.
2804 * include/pwd.h: Likewise.
2805 * include/regex.h: Likewise.
2806 * include/sched.h: Likewise.
2807 * include/search.h: Likewise.
2808 * include/setjmp.h: Likewise.
2809 * include/signal.h: Likewise.
2810 * include/stdio.h: Likewise.
2811 * include/stdlib.h: Likewise.
2812 * include/string.h: Likewise.
2813 * include/sys/cdefs.h: Likewise.
2814 * include/sys/mman.h: Likewise.
2815 * include/sys/msg.h: Likewise.
2816 * include/sys/resource.h: Likewise.
2817 * include/sys/select.h: Likewise.
2818 * include/sys/socket.h: Likewise.
2819 * include/sys/stat.h: Likewise.
2820 * include/sys/statvfs.h: Likewise.
2821 * include/sys/time.h: Likewise.
2822 * include/sys/times.h: Likewise.
2823 * include/sys/uio.h: Likewise.
2824 * include/sys/utsname.h: Likewise.
2825 * include/sys/wait.h: Likewise.
2826 * include/termios.h: Likewise.
2827 * include/time.h: Likewise.
2828 * include/ulimit.h: Likewise.
2829 * include/unistd.h: Likewise.
2830 * include/utime.h: Likewise.
2831 * include/wchar.h: Likewise.
2832 * include/wctype.h: Likewise.
2833 * include/wordexp.h: Likewise.
2834
2835 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2836
7a270350
UD
2837 * time/time.h: TIME_UTC must be a macro.
2838 Make timespec_get available for ISO C11 only as well.
2839
7724defc
UD
28402012-02-24 Ulrich Drepper <drepper@gmail.com>
2841
2842 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2843 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2844
6b1d1d46
JM
28452012-02-24 Joseph Myers <joseph@codesourcery.com>
2846
2847 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 2848
0f8bbd69
JM
28492012-02-24 Joseph Myers <joseph@codesourcery.com>
2850
2851 * manual/texinfo.tex: Update to version 2012-01-19.16.
2852
66ab80bc
JM
28532012-02-24 Joseph Myers <joseph@codesourcery.com>
2854
2855 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2856
74981cc5
RM
28572012-02-24 Roland McGrath <roland@hack.frob.com>
2858
ee968201
RM
2859 [BZ #13738]
2860 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2861 * manual/fdl-1.3.texi: New file.
2862 * manual/fdl-1.1.texi: File removed.
2863
74981cc5
RM
2864 [BZ #13738]
2865 * manual/libc.texinfo (FDL_VERSION): New @set.
2866 Use it for mention of FDL in cover text.
2867 (Documentation License): Use it in @include file name.
2868
7bb764bc
JM
28692012-02-22 Joseph Myers <joseph@codesourcery.com>
2870 Roland McGrath <roland@hack.frob.com>
2871
2872 [BZ #5461]
2873 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2874 not LONG_LONG_MAX and LONG_LONG_MIN.
2875 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2876 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2877 name.
2878 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2879
6cbeae47
JM
28802012-02-22 Joseph Myers <joseph@codesourcery.com>
2881
2882 [BZ #2547]
2883 [BZ #11365]
2884 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2885 manipulate bits before adding and subtracting TWO23[sx].
2886 * math/libm-test.inc (nearbyint_test): Add more tests.
2887
fe45ce09
JM
28882012-02-22 Joseph Myers <joseph@codesourcery.com>
2889
2890 [BZ #2548]
2891 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2892 bits before adding and subtracting TWO23[sx].
2893 * math/libm-test.inc (rint_test): Add more tests.
2894 (rint_test_tonearest): Likewise.
2895 (rint_test_towardzero): Likewise.
2896 (rint_test_downward): Likewise.
2897 (rint_test_upward: Likewise.
2898
ff3b3d82
JM
28992012-02-22 Joseph Myers <joseph@codesourcery.com>
2900
2901 [BZ #10110]
2902 * include/stdc-predef.h: New file. Extracted from features.h.
2903 * include/features.h: Include stdc-predef.h.
2904 * Makefile (headers): Add stdc-predef.h.
2905 * CONFORMANCE (Compiler limitations): Update.
2906
ef0aab35
JM
29072012-02-22 Joseph Myers <joseph@codesourcery.com>
2908
2909 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2910
58639409
DM
29112012-02-21 David S. Miller <davem@davemloft.net>
2912
2913 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2914 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2915
c0e70b25
DM
29162012-02-20 David S. Miller <davem@davemloft.net>
2917
2918 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2919 using a normal save/restore sequence, rather than allocating a
2920 dummy stack frame just to store a frame pointer and restore.
2921 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2922
fb06851d
JM
29232012-02-21 Joseph Myers <joseph@codesourcery.com>
2924
2925 * manual/install.texi: Fix stray word in line-wrapped comment.
2926
7a8b71c3
DM
29272012-02-20 David S. Miller <davem@davemloft.net>
2928
d510c123
DM
2929 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2930 both binutils and gcc support GOTDATA.
2931
0722d7c2
DM
2932 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2933 "rd %pc" in the PIC register setup sequences.
2934
3d2b3019
DM
2935 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2936 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2937 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2938 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2939 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2940 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2941 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2942 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2943 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2944 (SYSCALL_ERROR_HANDLER): Likewise.
2945 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2946 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2947 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2948 (SYSCALL_ERROR_HANDLER): Likewise.
2949
c80098a9
DM
2950 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2951 (HAVE_GCC_GOTDATA): New.
2952 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2953 relocation support in both binutils and gcc.
2954 * sysdeps/sparc/elf/configure: Regenerate.
2955
3a2545a0
DM
2956 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2957 * sysdeps/sparc/sparc32/elf/configure: Delete.
2958 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2959 * sysdeps/sparc/sparc64/elf/configure: Delete.
2960 * sysdeps/sparc/elf/configure.in: New file.
2961 * sysdeps/sparc/elf/configure: Generate.
2962
7a8b71c3
DM
2963 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2964 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2965 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2966 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2967 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2968
f1e86fca
JM
29692012-02-21 Joseph Myers <joseph@codesourcery.com>
2970
2971 * manual/install.texi: Do not mention specific glibc version
2972 numbers.
2973 * manual/libc.texinfo (VERSION, UPDATED): Update.
2974 (@copying): Use @copyright{} and range of years.
2975
0e7dfaef
JM
29762012-02-21 Joseph Myers <joseph@codesourcery.com>
2977
2978 [BZ #13695]
2979 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2980 [crti.S not in sysdirs] (generated): Do not append.
2981 [crti.S not in sysdirs] (omit-deps): Likewise.
2982 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2983 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2984 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2985 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2986 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2987 Likewise.
2988 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2989 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2990 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2991 * csu/defs.awk: Remove file.
2992 * sysdeps/generic/initfini.c: Likewise.
2993 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2994 variable.
2995 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2996 Likewise.
2997
599af3ca
JM
29982012-02-20 Joseph Myers <joseph@codesourcery.com>
2999
3000 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3001 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3002 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3003 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3004 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3005 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3006 <bits/epoll.h>.
3007 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3008 (__EPOLL_PACKED): Define to empty if not defined by
3009 <bits/epoll.h>.
3010 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3011 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3012 bits/epoll.h.
3013
0e499750
JM
30142012-02-20 Joseph Myers <joseph@codesourcery.com>
3015
3016 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3017 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3018 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3019 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3020 <bits/timerfd.h>.
3021 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3022 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3023 bits/timerfd.h.
3024
5ad91f6e
JM
30252012-02-20 Joseph Myers <joseph@codesourcery.com>
3026
3027 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3028 in C locale.
3029 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3030 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3031 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3033
06b99b02
AJ
30342012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3035
3036 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3037 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3038
7638c0fd
AS
30392012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3040
3041 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3042 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3043 defined.
3044 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3045 Likewise.
3046 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3047 entry for 2.16.
3048
92221550
AJ
30492012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3050
3051 * math/w_acos.c: Use non-signaling floating-point comparisons.
3052 * math/w_acosf.c: Likewise.
3053 * math/w_acosh.c: Likewise.
3054 * math/w_acoshf.c: Likewise.
3055 * math/w_acoshl.c: Likewise.
3056 * math/w_acosl.c: Likewise.
3057 * math/w_asin.c: Likewise.
3058 * math/w_asinf.c: Likewise.
3059 * math/w_asinl.c: Likewise.
3060 * math/w_atanh.c: Likewise.
3061 * math/w_atanhf.c: Likewise.
3062 * math/w_atanhl.c: Likewise.
3063 * math/w_exp2.c: Likewise.
3064 * math/w_exp2f.c: Likewise.
3065 * math/w_exp2l.c: Likewise.
3066 * math/w_j0.c: Likewise.
3067 * math/w_j0f.c: Likewise.
3068 * math/w_j0l.c: Likewise.
3069 * math/w_j1.c: Likewise.
3070 * math/w_j1f.c: Likewise.
3071 * math/w_j1l.c: Likewise.
3072 * math/w_jn.c: Likewise.
3073 * math/w_jnf.c: Likewise.
3074 * math/w_log.c: Likewise.
3075 * math/w_log10.c: Likewise.
3076 * math/w_log10f.c: Likewise.
3077 * math/w_log10l.c: Likewise.
3078 * math/w_log2.c: Likewise.
3079 * math/w_log2f.c: Likewise.
3080 * math/w_log2l.c: Likewise.
3081 * math/w_logf.c: Likewise.
3082 * math/w_logl.c: Likewise.
3083 * math/w_sqrt.c: Likewise.
3084 * math/w_sqrtf.c: Likewise.
3085 * math/w_sqrtl.c: Likewise.
3086 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3087 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3088 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3089 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3090 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3091
ebaf36eb
JM
30922012-02-19 Joseph Myers <joseph@codesourcery.com>
3093
3094 [BZ #9739]
3095 * manual/string.texi (strnlen): Use correct parameter name in
3096 equivalent expression.
3097
71c254a6
JM
30982012-02-19 Joseph Myers <joseph@codesourcery.com>
3099
3100 [BZ #11174]
3101 * manual/users.texi (seteuid): Consistently use neweuid for
3102 argument name.
3103
16d2c631
JM
31042012-02-19 Joseph Myers <joseph@codesourcery.com>
3105
3106 [BZ #13704]
3107 * manual/nss.texi (Services in the NSS configuration): Correct
3108 list of services in example configuration file.
3109
cd837b09
NB
31102012-02-19 Nick Bowler <nbowler@draconx.ca>
3111
3112 [BZ #11322]
3113 * manual/arith.texi: Remove statements about negative zero
3114 behaving identically to zero.
3115
02c4bbad
JM
31162012-02-18 Joseph Myers <joseph@codesourcery.com>
3117
3118 [BZ #5993]
3119 * manual/install.texi: Do not document upgrading from libc5.
3120
366842e7
JM
31212012-02-18 Joseph Myers <joseph@codesourcery.com>
3122
3123 [BZ #4596]
3124 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3125
dd54084d
DM
31262012-02-18 David S. Miller <davem@davemloft.net>
3127
3128 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3129 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3130 %o7 across the call.
3131 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3132 instead.
3133 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3134 SETUP_PIC_REG_LEAF.
3135 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3136 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3137 * sysdeps/sparc/crtn.S: Likewise.
3138
2bcc53a3
UD
31392012-02-17 Ulrich Drepper <drepper@gmail.com>
3140
3141 * aout/Makefile: Remove.
3142
09c093b5
RK
31432012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3144
3145 [BZ #13058]
3146 * manual/examples/argp-ex1.c (main): Format definition in GNU
3147 style.
3148 * manual/examples/argp-ex2.c (main): Likewise.
3149 * manual/examples/argp-ex3.c (main): Likewise.
3150 * manual/examples/argp-ex4.c (main): Likewise.
3151 * manual/examples/longopt.c (main): Use new-style prototype
3152 definition.
3153 * manual/examples/strncat.c (main): Specify return type and use
3154 (void) for arguments.
3155 * manual/examples/subopt.c (main): Use char **argv argument.
3156
2ee633a2
JM
31572012-02-17 Joseph Myers <joseph@codesourcery.com>
3158
3159 [BZ #5077]
3160 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3161 rounding modes.
3162
0520adde
FB
31632012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3164
3165 [BZ #6907]
3166 * manual/string.texi (strchr): Change when strchrnul is
3167 recommended.
3168
3f4081cd
DGM
31692012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3170
3171 [BZ #174]
3172 * manual/locale.texi (setlocale): Document LOCPATH.
3173
d1b10e78
JM
31742012-02-17 Joseph Myers <joseph@codesourcery.com>
3175
3176 [BZ #10210]
3177 * manual/process.texi (execle): Move @dots{} before last argument.
3178
79c6869c
PB
31792012-02-17 Paul Bolle <pebolle@tiscali.nl>
3180
3181 [BZ #12047]
3182 * manual/charset.texi (Generic Charset Conversion): Fix typo
3183 (LC_TYPE -> LC_CTYPE).
3184
cc6e48bc
NB
31852012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3186
3187 [BZ #5805]
3188 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3189 (scalbnf): Likewise.
3190 (scalbnl): Likewise.
3191 (scalbln): Likewise.
3192 (scalblnf): Likewise.
3193 (scalblnl): Likewise.
3194 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3195 (vwarnx): Likewise.
3196 (verr): Likewise.
3197 (verrx): Likewise.
3198 * manual/filesys.texi (telldir): Use braces around return type.
3199 * manual/llio.texi (mmap): Add space after comma.
3200 (mmap64): Likewise.
3201 * manual/math.texi (jn): Use @var{} on parameter names.
3202 (jnf): Likewise.
3203 (jnl): Likewise.
3204 (yn): Likewise.
3205 (ynf): Likewise.
3206 (ynl): Likewise.
3207 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3208 line.
3209 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3210 "...".
3211 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3212 (sched_get_priority_max): Likewise.
3213 * manual/signal.texi (sigvec): Add space after comma.
3214 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3215 names.
3216 (if_indextoname): Likewise.
3217 (if_freenameindex): Likewise.
3218 (sendto): Use ',' instead of '.' in prototype.
3219 * manual/startup.texi (syscall): Use @dots{} instead of literal
3220 "...".
3221 * manual/stdio.texi (__fpending): Separate initial words of
3222 paragraph from @deftypefun line.
3223 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3224 "...".
3225 (vsyslog): Use @var{} on parameter names.
3226 * manual/terminal.texi (stty): Use @var{} on parameter names.
3227 * manual/users.texi (getutmp): Use @var{} on parameter names.
3228 (getutmpx): Likewise.
3229
5b23062f
JM
32302012-02-17 Joseph Myers <joseph@codesourcery.com>
3231
3232 [BZ #6884]
3233 * manual/stdio.texi (fopen): Fix typos in description of
3234 ",ccs=STRING".
3235
8dee4833
AJ
32362012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3237
3238 [BZ #4026]
3239 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3240 get clock_id definition.
3241
9078ce93
TS
32422012-02-17 Thomas Schwinge <thomas@schwinge.name>
3243
3244 [BZ #4822]
3245 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3246 (madvise): Cast every argument to void on its own.
3247
3835c55f
JM
32482012-02-17 Joseph Myers <joseph@codesourcery.com>
3249
3250 [BZ #9902]
3251 * manual/startup.texi (Exit Status): Fix typo.
3252
35c47e37
JM
32532012-02-17 Joseph Myers <joseph@codesourcery.com>
3254
3255 [BZ #10140]
3256 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3257 * manual/examples/argp-ex2.c: Likewise.
3258 * manual/examples/argp-ex3.c: Likewise.
3259
e3b69ca7
RH
32602012-02-16 Richard Henderson <rth@redhat.com>
3261
3262 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3263 * sysdeps/s390/s390-32/initfini.c: Remove.
3264 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3265 * sysdeps/s390/s390-64/initfini.c: Remove.
3266
df83af67
KK
32672012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3268
3269 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3270 compiler output for sysdeps/generic/initfini.c.
3271 * sysdeps/sh/elf/initfini.c: Remove file.
3272
f63f3380
DM
32732012-02-16 David S. Miller <davem@davemloft.net>
3274
fb59b3a4
DM
3275 [BZ #11494]
3276 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3277
f63f3380
DM
3278 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3279 * sysdeps/sparc/crti.S: New file.
3280 * sysdeps/sparc/crtn.S: New file.
3281 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3282 * sysdeps/sparc/sparc64/Makefile: Likewise.
3283
df6a4a4a
MF
32842012-02-15 Mike Frysinger <vapier@gentoo.org>
3285
6dd8f3dc 3286 [BZ #3335]
df6a4a4a
MF
3287 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3288
1cac7236
RM
32892012-02-15 Roland McGrath <roland@hack.frob.com>
3290
d2c736f8
RM
3291 [BZ #4822]
3292 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3293
1cac7236
RM
3294 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3295 (write, read, close): Likewise.
3296 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3297
8e475601
JM
32982012-02-15 Joseph Myers <joseph@codesourcery.com>
3299
3300 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3301 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3302 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3303 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3304 <bits/signalfd.h>.
3305 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3306 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3307 bits/signalfd.h.
3308
ed656b40
MP
33092012-02-14 Marek Polacek <polacek@redhat.com>
3310
3311 * sysdeps/x86_64/crti.S: New file.
3312 * sysdeps/x86_64/crtn.S: New file.
3313 * sysdeps/x86_64/elf/initfini.c: Remove file.
3314
2a979d3a
JM
33152012-02-13 Joseph Myers <joseph@codesourcery.com>
3316
3317 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3318 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3319 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3320 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3321 <bits/inotify.h>.
3322 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3324 bits/inotify.h.
3325
2a418ac3
JM
33262012-02-13 Joseph Myers <joseph@codesourcery.com>
3327
3328 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3329 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3330 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3331 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3332 <bits/eventfd.h>.
3333 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3334 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3335 bits/eventfd.h.
3336
fb779be7
TS
33372012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3338
e19e83c5
RM
3339 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3340 __feraiseexcept instead of feraiseexcept.
7c35ffed 3341
fb779be7
TS
3342 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3343 nanosleep invocations.
3344 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3345 strings, and add error checking for a nanosleep invocations.
3346
59ba27a6
PE
33472012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3348
3349 Replace FSF snail mail address with URLs, as per GNU coding standards.
3350 Most of the snail mail addresses were wrong anyway, and omitting
3351 them makes the source code easier to maintain. Almost all of the
3352 changes are to license notices and to locale LC_IDENTIFICATION
3353 addresses, except for this one:
3354 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3355 not its snail mail address.
3356
57b957eb
RH
33572012-02-09 Richard Henderson <rth@twiddle.net>
3358
af850b1c
RH
3359 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3360 of kernel-features.h.
3361
57b957eb
RH
3362 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3363
6b73181a
MP
33642012-02-08 Marek Polacek <polacek@redhat.com>
3365
3366 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3367 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3368 * sysdeps/gnu/_G_config.h: Likewise.
3369 * sysdeps/generic/_G_config.h: Likewise.
3370
26ecc33a
AS
33712012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3372
6c6dbc63
AS
3373 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3374 tests.
3375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3376
e216c012
AS
3377 * sysdeps/powerpc/powerpc32/crti.S: New file.
3378 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3379 * sysdeps/powerpc/powerpc64/crti.S: New file.
3380 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3381
26ecc33a
AS
3382 * Makeconfig (have-initfini): Don't set.
3383 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3384 * configure.in (nopic_initfini): Don't substitute.
3385 * config.h.in (HAVE_INITFINI): Don't #undef.
3386 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3387 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3388
3add8e13
JM
33892012-02-08 Joseph Myers <joseph@codesourcery.com>
3390
3391 Support crti.S and crtn.S provided directly by architectures.
3392 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3393 [crti.S in sysdirs] (omit-deps): Likewise.
3394 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3395 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3396 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3397 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3398 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3399 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3400 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3401 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3402 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3403 compiler output for sysdeps/generic/initfini.c.
3404 * sysdeps/i386/elf/Makefile: Remove file.
3405 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3406
a22f12b4
MP
34072012-02-07 Marek Polacek <polacek@redhat.com>
3408
3409 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3410 * sysdeps/gnu/_G_config.h: Likewise.
3411 * sysdeps/mach/hurd/_G_config.h: Likewise.
3412
148cf100
MP
34132012-02-07 Marek Polacek <polacek@redhat.com>
3414
3415 * math/Makefile (tests): Add tst-CMPLX2.
3416 * math/tst-CMPLX2.c: New file.
3417
cfdc0dd7
AS
34182012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3419
84ba42c4
AS
3420 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3421
cfdc0dd7
AS
3422 * math/libm-test.inc (jn_test): Add missing L suffix.
3423
622c86f4
MP
34242012-02-06 Marek Polacek <polacek@redhat.com>
3425
3426 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3427 * sysdeps/i386/fpu/e_powf.S: Likewise.
3428 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3429 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3430 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3431 * sysdeps/i386/fpu/e_pow.S: Likewise.
3432 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3433 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3434 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3435 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3436 * sysdeps/i386/fpu/e_log2.S: Likewise.
3437 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3438 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3439 * sysdeps/i386/fpu/e_powl.S: Likewise.
3440 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3441 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3442 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3443 * sysdeps/i386/fpu/e_logl.S: Likewise.
3444 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3445 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3446 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3447 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3448 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3449 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3450 * sysdeps/i386/fpu/e_log.S: Likewise.
3451 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3452 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3453 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3454 * sysdeps/i386/fpu/e_logf.S: Likewise.
3455 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3456 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3457 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3458 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3459 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3460 * sysdeps/i386/fpu/e_log10.S: Likewise.
3461 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3462 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3463 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3464 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3465 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3466 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3467 * sysdeps/i386/asm-syntax.h: Likewise.
3468 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3469 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3470 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3471 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3472 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3473 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3474 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3475 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3476 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3477 * sysdeps/powerpc/sysdep.h: Likewise.
3478 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3479 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3480
d4a54ac6
JM
34812012-02-06 Joseph Myers <joseph@codesourcery.com>
3482
3483 [BZ #411]
3484 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3485
314054ea
JM
34862012-02-06 Joseph Myers <joseph@codesourcery.com>
3487
3488 * sysdeps/i386/sysdep.h: Include <features.h>.
3489 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3490 version.
3491
d8e0ca50
JM
34922012-02-05 Joseph Myers <joseph@codesourcery.com>
3493
3494 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3495 Define.
3496 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3497 LOAD_PIC_REG_STR.
3498
b1da7dd9
JM
34992012-02-03 Joseph Myers <joseph@codesourcery.com>
3500
3501 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3502 (SETUP_PIC_REG): Use GET_PC_THUNK.
3503 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3504 macro.
3505
9a1d9254
JM
35062012-02-03 Joseph Myers <joseph@codesourcery.com>
3507
3508 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3509 for non-PIC compilation.
3510 (SETUP_PIC_REG): Add .p2align directive.
3511 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3512 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3513 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3514 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3515 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3516 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3517 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3518 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3519 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3520 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3521 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3522 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3523 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3524 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3525 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3526 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3527 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3528 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3529 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3530 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3531 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3532 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3533 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3534 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3535 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3536 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3537 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3538 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3539 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3540 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3541 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3542 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3543 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3544 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3545 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3546 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3547 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3548 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3549 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3550 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3551 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3552
65dc3b75
JM
35532012-02-03 Joseph Myers <joseph@codesourcery.com>
3554
3555 * math/tst-CMPLX.c: Include <stdio.h>.
3556
d55bf177
JM
35572012-01-31 Joseph Myers <joseph@codesourcery.com>
3558
3559 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3560 float.
3561 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3562 * sysdeps/sparc/bits/mathdef.h: Likewise.
3563
69db4f8f
MP
35642012-01-31 Marek Polacek <polacek@redhat.com>
3565
3566 * libio/libio.h: Don't define _PARAMS.
3567 * locale/programs/config.h: Don't define PARAMS.
3568 * stdlib/strtol_l.c: Likewise.
3569 (__strtol_l): Remove PARAMS from the prototype.
3570
41b81892
UD
35712012-01-31 Ulrich Drepper <drepper@gmail.com>
3572
3b49edc0
UD
3573 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3574 names. Just use the correct names. Remove unnecessary wrapper
3575 functions.
3576 * malloc/arena.c: Likewise.
3577 * malloc/hooks.c: Likewise.
3578
41b81892
UD
3579 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3580 ARENA_TEST says not to. Simplify test for creation of a new arena.
3581 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3582
27a25b6e
UD
35832012-01-30 Ulrich Drepper <drepper@gmail.com>
3584
3585 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3586 into tail calls.
3587 (update_get_addr): New function.
3588 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3589 GET_ADDR_MODULE parameter.
3590
c8a89e7d
JM
35912012-01-30 Joseph Myers <joseph@codesourcery.com>
3592
3593 * crypt/cert.c: Remove __STDC__ conditionals.
3594 * crypt/crypt-entry.c: Likewise.
3595 * crypt/crypt_util.c: Likewise.
3596 * libio/filedoalloc.c: Likewise.
3597 * libio/fileops.c: Likewise.
3598 * libio/genops.c: Likewise.
3599 * libio/iofclose.c: Likewise.
3600 * libio/iofdopen.c: Likewise.
3601 * libio/iofopen.c: Likewise.
3602 * libio/iofopen64.c: Likewise.
3603 * libio/iogetdelim.c: Likewise.
3604 * libio/iopopen.c: Likewise.
3605 * libio/obprintf.c: Likewise.
3606 * libio/oldfileops.c: Likewise.
3607 * libio/oldiofclose.c: Likewise.
3608 * libio/oldiofdopen.c: Likewise.
3609 * libio/oldiofopen.c: Likewise.
3610 * libio/oldiopopen.c: Likewise.
3611 * libio/wfiledoalloc.c: Likewise.
3612 * libio/wgenops.c: Likewise.
3613 * locale/programs/xmalloc.c: Likewise.
3614 * misc/syslog.c: Likewise.
3615 * stdio-common/xbug.c: Likewise.
3616 * string/memchr.c: Likewise.
3617 * string/memcmp.c: Likewise.
3618 * string/memrchr.c: Likewise.
3619 * string/rawmemchr.c: Likewise.
3620 * sysdeps/posix/getcwd.c: Likewise.
3621 * time/strftime_l.c: Likewise.
3622
3b100462
JM
36232012-01-30 Joseph Myers <joseph@codesourcery.com>
3624
3625 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
3626 * config.make.in (config-cflags-sse2avx): Define.
3627 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3628 Fix typo.
3629
607998af
CM
36302012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3631
3632 * scripts/config.guess: Update from upstream config git repository.
3633 * scripts/config.sub: Likewise.
3634
3601428f
CM
36352012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3636
3ac8b282
CM
3637 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3638 (EM_NUM): Update.
3639 (R_TILEPRO_*, R_TILEGX_*): New macros.
3640
e034841e
CM
3641 * scripts/firstversions.awk: Fix bug in version range handling.
3642
540d7568
CM
3643 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3644
3601428f
CM
3645 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3646
463de862
CM
3647 * include/sys/epoll.h: New file.
3648 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3649 libc_hidden_def.
3650
73139a76
UD
36512012-01-28 Ulrich Drepper <drepper@gmail.com>
3652
96bc5b45
UD
3653 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3654 Avoid unnecessary __WORDSIZE == 64 test.
3655 (fmaxf): Use VEX format if possible.
3656 (fmax): Likewise.
3657 (fminf): Likewise.
3658 (fmin): Likewise.
3659
56f6f6a2
UD
3660 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3661 * math/math_private.h: Remove libc_fegetround* and
3662 libc_fesetround*.
3663 * sysdeps/i386/configure.in: Check for -msse2avx.
3664 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3665 also if SSE2AVX is defined.
3666 Remove libc_fegetround* and libc_fesetround*.
3667 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3668 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3669 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3670 of HAS_YMM_USABLE.
3671 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3672 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3673 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3674 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3675 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3676
73139a76
UD
3677 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3678
d73f93a4
AZ
36792012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3680
3681 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3682 size is not set.
3683 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3684
6ee65ed6
UD
36852012-01-27 Ulrich Drepper <drepper@gmail.com>
3686
3687 [BZ #13618]
3688 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3689 relocation.
3690 * Makeconfig (libm): Define.
3691 * elf/Makefile: Add rules to build and run tst-relsort1.
3692 * elf/tst-relsort1.c: New file.
3693 * elf/tst-relsort1mod1.c: New file.
3694 * elf/tst-relsort1mod2.c: New file.
3695
8db21882
JM
36962012-01-27 Joseph Myers <joseph@codesourcery.com>
3697
3698 * math/s_ldexp.c: Remove __STDC__ conditionals.
3699 * math/s_ldexpf.c: Likewise.
3700 * math/s_ldexpl.c: Likewise.
3701 * math/s_nextafter.c: Likewise.
3702 * math/s_nexttowardf.c: Likewise.
3703 * math/s_significand.c: Likewise.
3704 * math/s_significandf.c: Likewise.
3705 * math/s_significandl.c: Likewise.
3706 * math/w_jnl.c: Likewise.
3707 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3708 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3709 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3710 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3711 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3712 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3713 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3714 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3715 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3716 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3717 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3718 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3719 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3720 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3721 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3722 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3723 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3724 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3725 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3726 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3727 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3728 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3729 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3730 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3731 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3732 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3733 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3734 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3735 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3736 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3737 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3738 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3739 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3740 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3741 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3742 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3743 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3744 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3745 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3746 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3747 * sysdeps/ieee754/k_standard.c: Likewise.
3748 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3749 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3750 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3751 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3752 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3753 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3754 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3755 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3756 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3757 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3758 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3759 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3760 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3761 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3762 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3763 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3764 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3765 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3766 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3767 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3768 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3769 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3770 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3771 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3772 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3773 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3774 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3775 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3776 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3777 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3778 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3779 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3780 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3781 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3782 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3783 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3784 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3785 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3786 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3787 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3788 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3789 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3790 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3791 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3792 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3793 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3794 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3795 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3796 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3797 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3798 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3799 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3800 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3801 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3802 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3803 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3804 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3805 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3806 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3807 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3808 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3809 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3810 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3811 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3812 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3813 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3814 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3815 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3816 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3817 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3818 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3819 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3820 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3821 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3822 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3823 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3824 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3825 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3826 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3827 * sysdeps/ieee754/s_matherr.c: Likewise.
3828 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3829 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3830 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3831 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3832
965a54a4
JM
38332012-01-26 Joseph Myers <joseph@codesourcery.com>
3834
3835 * crypt/md5.h: Remove __STDC__ conditionals.
3836 * libio/libioP.h: Likewise.
3837 * locale/programs/config.h: Likewise.
3838 * sysdeps/generic/sysdep.h: Likewise.
3839 * sysdeps/i386/asm-syntax.h: Likewise.
3840 * sysdeps/s390/asm-syntax.h: Likewise.
3841 * sysdeps/unix/sysdep.h: Likewise.
3842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3844
7071ad79
JM
38452012-01-26 Joseph Myers <joseph@codesourcery.com>
3846
3847 * libio/libio.h: Remove __STDC__ conditionals.
3848 * malloc/obstack.h: Likewise.
3849 * math/complex.h: Likewise.
3850 * math/math.h: Likewise.
3851 * sysdeps/generic/_G_config.h: Likewise.
3852 * sysdeps/gnu/_G_config.h: Likewise.
3853 * sysdeps/mach/hurd/_G_config.h: Likewise.
3854 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3855 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3856 * sysdeps/sparc/bits/mathdef.h: Likewise.
3857
afc5ed09
UD
38582012-01-26 Ulrich Drepper <drepper@gmail.com>
3859
3860 [BZ #13583]
3861 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 3862 Clean up HAS_* macros.
afc5ed09 3863 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
3864 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3865 possible.
3866 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3867 HAS_AVX.
3868 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3869 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3870 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3871 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3872 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 3873
bdb6de1d
JM
38742012-01-25 Joseph Myers <joseph@codesourcery.com>
3875
3876 * elf/tst-unique3.cc (gets): Remove declaration.
3877 * elf/tst-unique3lib.cc (gets): Likewise.
3878 * elf/tst-unique3lib2.cc (gets): Likewise.
3879 * elf/tst-unique4.cc (gets): Likewise.
3880
b15549e6
UD
38812012-01-24 Ulrich Drepper <drepper@gmail.com>
3882
3883 * include/stdio.h: Add C++ protection. Add gets declarations and
3884 definitions.
3885 * debug/tst-chk1.c: Don't declare gets here.
3886 * stdio-common/tst-gets.c: Likewise.
3887
a037381f
JM
38882012-01-24 Joseph Myers <joseph@codesourcery.com>
3889
3890 * posix/glob: Remove directory.
3891
f1d4aa75
JM
38922012-01-24 Joseph Myers <joseph@codesourcery.com>
3893
3894 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3895
81c0c964
PT
38962012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3897
3898 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3899 of the non-standard EPFNOSUPPORT.
3900
0ea698ae
ST
39012011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3902
3903 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3904 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3905 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3906
d220b117
UD
39072012-01-21 Ulrich Drepper <drepper@gmail.com>
3908
3909 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3910
3e1aa84e
UD
39112012-01-20 Ulrich Drepper <drepper@gmail.com>
3912
3913 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3914 transient errors.
3915 * nscd/grpcache.c (cache_addgr): Likewise.
3916 * nscd/hstcache.c (cache_addhst): Likewise.
3917 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3918 * nscd/pwdcache.c (cache_addpw): Likewise.
3919 * nscd/servicescache.c (cache_addserv): Likewise.
3920
400aa020
UD
39212012-01-16 Ulrich Drepper <drepper@gmail.com>
3922
d77e7869
UD
3923 * malloc/malloc.c: Various cleanups.
3924 * malloc/hooks.c: Likewise.
3925
400aa020
UD
3926 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3927 * stdlib/bug-fmtmsg1.c: New file.
3928
3929 * stdlib/fmtmsg.c (init): Add missing unlock.
3930 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3931
e0a309cf
MP
39322012-01-12 Marek Polacek <polacek@redhat.com>
3933
3934 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3935 and _GNU_SOURCE.
3936
929d11c7
WS
39372012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3938
3939 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3940 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3941 macro to ensure uniqueness of label name.
3942 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3943 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3944
41d0e869
UD
39452012-01-11 Ulrich Drepper <drepper@gmail.com>
3946
0cc5ed3b
UD
3947 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3948
41d0e869
UD
3949 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3950 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3951 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3952 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3953
a47a831a
UD
39542012-01-10 Ulrich Drepper <drepper@gmail.com>
3955
daa891c0
UD
3956 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3957
3958 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3959 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3960 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3961
e58ef0f2
UD
3962 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3963
a47a831a 3964 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
3965 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3966 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 3967 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
3968
3969 * math/bits/math-finite.h: Add ldexp support.
3970
a0bfc9c7
MP
39712012-01-10 Marek Polacek <polacek@redhat.com>
3972
3973 * locale/programs/localedef.h (show_archive_content): Add noreturn
3974 attribute.
3975
d6e97a1d
UD
39762012-01-09 Ulrich Drepper <drepper@gmail.com>
3977
3978 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3979
d5835c26
UD
39802012-01-08 Ulrich Drepper <drepper@gmail.com>
3981
e5f484c6
UD
3982 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3983
d5835c26
UD
3984 * io/Makefile (headers): Add bits/poll2.h.
3985
d1f741e9
WS
39862011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3987
3988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3989 typo #include statement.
3990
ec09c1c4
UD
39912012-01-08 Ulrich Drepper <drepper@gmail.com>
3992
3993 * include/sys/cdefs.h: Define __attribute_alloc_size.
3994 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3995 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3996 * elf/pldd.c: Likewise.
3997 * iconv/iconv_charmap.c: Likewise.
3998 * iconv/iconvconfig.c: Likewise.
3999 * iconv/strtab.c: Likewise.
4000 * locale/programs/locale.c: Likewise.
4001 * locale/programs/localedef.h: Likewise.
4002 * locale/programs/simple-hash.c: Likewise.
4003 * nscd/nscd.h: Likewise.
4004 * nss/makedb.c: Likewise.
4005 * sysdeps/generic/ldconfig.h: Likewise.
4006 * locale/programs/localedef.c: Remove xmalloc prototype.
4007 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4008
20b38e03
PP
40092012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4010
4011 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4012 appropriate.
4013
a0da5fe1
UD
40142012-01-08 Ulrich Drepper <drepper@gmail.com>
4015
1d5a644a 4016 * math/Makefile (tests): Add tst-CMPLX.
669704fd 4017 * math/tst-CMPLX.c: New file.
1d5a644a 4018
8784a6db
UD
4019 * math/complex.h (CMPLXL): Fix typo.
4020
d9a216c0
UD
4021 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4022 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4023 GLIBC_2.16.
4024 * debug/tst-chk1.c: Add poll and ppoll tests.
4025 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4026 * include/sys/poll.h: Add hidden proto for ppoll.
4027 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4028 * sysdeps/mach/hurd/ppoll.c: Likewise.
4029 * io/ppoll.c: Likewise.
4030 * debug/poll_chk.c: New file.
4031 * debug/ppoll_chk.c: New file.
4032 * include/bits/poll2.h: New file.
4033 * io/bits/poll2.h: New file.
4034
ac097f5c
UD
4035 [BZ #1350]
4036 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4037
2119dcfa
UD
4038 * configure.in: static is always set to yes. Remove.
4039 * config.make.in: Don't set build-static.
4040 * Makeconfig: Remove use of build-static.
4041 * dlfcn/Makefile: Likewise.
4042 * elf/Makefile: Likewise.
4043 * math/Makefile: Likewise.
4044 * misc/Makefile: Likewise.
4045 * nptl/Makefile: Likewise.
4046 * sysdeps/mach/hurd/Makefile: Likewise.
4047
121766a9
UD
4048 * configure.in: PWD_P is not used anymore.
4049 * config.make.in: Remove PWD_P entry.
4050
51a1d39c 4051 * configure.in: Remove last remnants of RANLIB.
8720d066 4052 No need to check for signed size_t anymore.
215f4bdc
UD
4053 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4054 and IA-64.
3857022a 4055 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
4056 * aclocal.m4: Likewise.
4057
d3ed7225
UD
4058 * wcsmbs/mbrtoc16.c: Implement using towc function.
4059 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4060 * wcsmbs/wcsmbsload.c: Likewise.
4061 * iconv/gconv_simple.c: Likewise.
4062 * iconv/gconv_int.h: Likewise.
4063 * iconv/gconv_builtin.h: Likewise.
4064 * iconv/iconv_prog.c: Remove CHAR16 handling.
4065
4066 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4067
4068 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4069
a0da5fe1
UD
4070 * configure.in: Remove --with-elf and --enable-bounded options.
4071 Dont set base_machine for ia64. More non-ELF conditions removed.
4072 Remove testing and setting of leading underscore information.
4073 * config.make.in (build-bounded): Set to no.
4074 * config.h.in: Remove NO_UNDERSCORES entry.
4075 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4076 them.
4077 * csu/start.c: Remove !NO_UNDERSCORE code.
4078 * locale/localeinfo.h: Likewise.
4079 * sysdeps/generic/machine-gmon.h: Likewise.
4080 * sysdeps/generic/sysdep.h: Likewise.
4081 * sysdeps/i386/sysdep.h: Likewise.
4082 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4083 * sysdeps/mach/sysdep.h: Likewise.
4084 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4085 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4086 * sysdeps/sh/sysdep.h: Likewise.
4087 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4088 * sysdeps/unix/i386/sysdep.S: Likewise.
4089 * sysdeps/unix/sparc/start.c: Likewise.
4090 * sysdeps/unix/sparc/sysdep.S: Likewise.
4091 * sysdeps/unix/sparc/sysdep.h: Likewise.
4092 * sysdeps/unix/start.c: Likewise.
4093 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4094 * sysdeps/x86_64/sysdep.h: Likewise.
4095
df78418a
UD
40962012-01-07 Ulrich Drepper <drepper@gmail.com>
4097
a784e502
UD
4098 [BZ #13553]
4099 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4100 for non-gcc.
4101 * argp/argp-fmtstream.h: Use const instead __const.
4102 * argp/argp.h: Likewise.
4103 * assert/assert.h: Likewise.
4104 * bits/fenv.h: Likewise.
4105 * bits/sched.h: Likewise.
4106 * bits/sigset.h: Likewise.
4107 * bits/sigthread.h: Likewise.
4108 * catgets/nl_types.h: Likewise.
4109 * conform/data/pthread.h-data: Likewise.
4110 * crypt/crypt-private.h: Likewise.
4111 * crypt/crypt.h: Likewise.
4112 * crypt/crypt_util.c: Likewise.
4113 * ctype/ctype.h: Likewise.
4114 * debug/execinfo.h: Likewise.
4115 * debug/mbsnrtowcs_chk.c: Likewise.
4116 * debug/mbsrtowcs_chk.c: Likewise.
4117 * debug/wcsnrtombs_chk.c: Likewise.
4118 * debug/wcsrtombs_chk.c: Likewise.
4119 * debug/wcstombs_chk.c: Likewise.
4120 * dirent/dirent.h: Likewise.
4121 * dlfcn/dlfcn.h: Likewise.
4122 * elf/neededtest4.c: Likewise.
4123 * grp/grp.h: Likewise.
4124 * gshadow/gshadow.h: Likewise.
4125 * iconv/gconv.h: Likewise.
4126 * iconv/gconv_int.h: Likewise.
4127 * iconv/gconv_simple.c: Likewise.
4128 * iconv/iconv.h: Likewise.
4129 * iconv/loop.c: Likewise.
4130 * iconv/skeleton.c: Likewise.
4131 * include/aio.h: Likewise.
4132 * include/aliases.h: Likewise.
4133 * include/argz.h: Likewise.
4134 * include/arpa/inet.h: Likewise.
4135 * include/assert.h: Likewise.
4136 * include/dirent.h: Likewise.
4137 * include/dlfcn.h: Likewise.
4138 * include/execinfo.h: Likewise.
4139 * include/fcntl.h: Likewise.
4140 * include/fenv.h: Likewise.
4141 * include/glob.h: Likewise.
4142 * include/grp.h: Likewise.
4143 * include/libintl.h: Likewise.
4144 * include/mntent.h: Likewise.
4145 * include/netdb.h: Likewise.
4146 * include/pwd.h: Likewise.
4147 * include/rpc/netdb.h: Likewise.
4148 * include/sched.h: Likewise.
4149 * include/search.h: Likewise.
4150 * include/shadow.h: Likewise.
4151 * include/signal.h: Likewise.
4152 * include/stdio.h: Likewise.
4153 * include/stdlib.h: Likewise.
4154 * include/string.h: Likewise.
4155 * include/sys/socket.h: Likewise.
4156 * include/sys/stat.h: Likewise.
4157 * include/sys/statfs.h: Likewise.
4158 * include/sys/statvfs.h: Likewise.
4159 * include/sys/syslog.h: Likewise.
4160 * include/sys/time.h: Likewise.
4161 * include/sys/uio.h: Likewise.
4162 * include/time.h: Likewise.
4163 * include/unistd.h: Likewise.
4164 * include/utmp.h: Likewise.
4165 * include/wchar.h: Likewise.
4166 * include/wctype.h: Likewise.
4167 * inet/aliases.h: Likewise.
4168 * inet/arpa/inet.h: Likewise.
4169 * inet/netinet/ether.h: Likewise.
4170 * inet/netinet/in.h: Likewise.
4171 * intl/libintl.h: Likewise.
4172 * io/bits/fcntl2.h: Likewise.
4173 * io/fcntl.h: Likewise.
4174 * io/ftw.h: Likewise.
4175 * io/sys/poll.h: Likewise.
4176 * io/sys/stat.h: Likewise.
4177 * io/sys/statfs.h: Likewise.
4178 * io/sys/statvfs.h: Likewise.
4179 * io/utime.h: Likewise.
4180 * libio/bits/stdio.h: Likewise.
4181 * libio/bits/stdio2.h: Likewise.
4182 * libio/libio.h: Likewise.
4183 * libio/libioP.h: Likewise.
4184 * libio/stdio.h: Likewise.
4185 * locale/lc-ctype.c: Likewise.
4186 * locale/locale.h: Likewise.
4187 * login/utmp.h: Likewise.
4188 * malloc/arena.c: Likewise.
4189 * malloc/malloc.c: Likewise.
4190 * malloc/malloc.h: Likewise.
4191 * malloc/mcheck.c: Likewise.
4192 * malloc/mtrace.c: Likewise.
4193 * math/bits/mathcalls.h: Likewise.
4194 * math/fenv.h: Likewise.
4195 * math/math_private.h: Likewise.
4196 * misc/bits/error.h: Likewise.
4197 * misc/bits/syslog.h: Likewise.
4198 * misc/err.h: Likewise.
4199 * misc/error.h: Likewise.
4200 * misc/fstab.h: Likewise.
4201 * misc/mntent.h: Likewise.
4202 * misc/regexp.h: Likewise.
4203 * misc/search.h: Likewise.
4204 * misc/sgtty.h: Likewise.
4205 * misc/sys/mman.h: Likewise.
4206 * misc/sys/syslog.h: Likewise.
4207 * misc/sys/uio.h: Likewise.
4208 * misc/sys/xattr.h: Likewise.
4209 * misc/ttyent.h: Likewise.
4210 * nis/rpcsvc/ypclnt.h: Likewise.
4211 * nss/nss.h: Likewise.
4212 * posix/bits/unistd.h: Likewise.
4213 * posix/fnmatch.h: Likewise.
4214 * posix/glob.h: Likewise.
4215 * posix/sched.h: Likewise.
4216 * posix/spawn.h: Likewise.
4217 * posix/sys/wait.h: Likewise.
4218 * posix/unistd.h: Likewise.
4219 * posix/wordexp.h: Likewise.
4220 * pwd/pwd.h: Likewise.
4221 * resolv/netdb.h: Likewise.
4222 * resource/sys/resource.h: Likewise.
4223 * rt/aio.h: Likewise.
4224 * rt/bits/mqueue2.h: Likewise.
4225 * rt/mqueue.h: Likewise.
4226 * shadow/shadow.h: Likewise.
4227 * signal/signal.h: Likewise.
4228 * socket/send.c: Likewise.
4229 * socket/sendto.c: Likewise.
4230 * socket/sys/socket.h: Likewise.
4231 * stdio-common/printf.h: Likewise.
4232 * stdlib/bits/stdlib.h: Likewise.
4233 * stdlib/fmtmsg.h: Likewise.
4234 * stdlib/monetary.h: Likewise.
4235 * stdlib/stdlib.h: Likewise.
4236 * stdlib/ucontext.h: Likewise.
4237 * streams/stropts.h: Likewise.
4238 * string/argz.h: Likewise.
4239 * string/bits/string2.h: Likewise.
4240 * string/string.h: Likewise.
4241 * string/strings.h: Likewise.
4242 * sunrpc/rpc/auth.h: Likewise.
4243 * sunrpc/rpc/auth_des.h: Likewise.
4244 * sunrpc/rpc/clnt.h: Likewise.
4245 * sunrpc/rpc/netdb.h: Likewise.
4246 * sunrpc/rpc/pmap_clnt.h: Likewise.
4247 * sunrpc/rpc/xdr.h: Likewise.
4248 * sysdeps/generic/inttypes.h: Likewise.
4249 * sysdeps/generic/net/if.h: Likewise.
4250 * sysdeps/generic/sys/swap.h: Likewise.
4251 * sysdeps/gnu/net/if.h: Likewise.
4252 * sysdeps/gnu/utmpx.h: Likewise.
4253 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4254 * sysdeps/i386/i486/bits/string.h: Likewise.
4255 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4256 * sysdeps/s390/bits/string.h: Likewise.
4257 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4258 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4259 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4260 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4261 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4262 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4263 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4264 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4265 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4266 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4267 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4268 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4269 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4270 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4271 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4272 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4273 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4274 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4275 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4276 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4277 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4278 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4279 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4280 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4281 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4282 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4283 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4284 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4285 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4286 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4287 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4288 * sysvipc/sys/ipc.h: Likewise.
4289 * sysvipc/sys/msg.h: Likewise.
4290 * sysvipc/sys/sem.h: Likewise.
4291 * sysvipc/sys/shm.h: Likewise.
4292 * termios/termios.h: Likewise.
4293 * time/sys/time.h: Likewise.
4294 * time/time.h: Likewise.
4295 * wcsmbs/bits/wchar2.h: Likewise.
4296 * wcsmbs/uchar.h: Likewise.
4297 * wcsmbs/wchar.h: Likewise.
4298 * wctype/wctype.h: Likewise.
4299
0269750c
UD
4300 [BZ #13551]
4301 * Makeconfig: Remove all but ELF support including AIX support.
4302 * Makerules: Likewise.
4303 * config.h.in: Likewise.
4304 * config.make.in: Likewise.
4305 * configure: Likewise.
4306 * configure.in: Likewise.
4307 * csu/Makefile: Likewise.
4308 * csu/version.c: Likewise.
4309 * debug/Makefile: Likewise.
4310 * dlfcn/Makefile: Likewise.
4311 * elf/Makefile: Likewise.
4312 * extra-lib.mk: Likewise.
4313 * iconv/Makefile: Likewise.
4314 * include/libc-symbols.h: Likewise.
4315 * include/shlib-compat.h: Likewise.
4316 * resolv/Makefile: Likewise.
4317 * resolv/res_libc.c: Likewise.
4318 * rt/Makefile: Likewise.
4319 * sysdeps/i386/asm-syntax.h: Likewise.
4320 * sysdeps/i386/sysdep.h: Likewise.
4321 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4322 * sysdeps/mach/sysdep.h: Likewise.
4323 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4324 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4325 * sysdeps/s390/asm-syntax.h: Likewise.
4326 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4327 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4328 * sysdeps/sh/sysdep.h: Likewise.
4329 * sysdeps/unix/sparc/sysdep.h: Likewise.
4330 * sysdeps/wordsize-32/divdi3.c: Likewise.
4331 * sysdeps/x86_64/sysdep.h: Likewise.
4332
00bbd29b
UD
4333 * argp/Versions: Remove _argp_unlock_xxx.
4334
4335 [BZ #13559]
4336 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4337 * abilist/libBrokenLocale.abilist: Likewise.
4338 * abilist/libanl.abilist: Likewise.
4339 * abilist/libc.abilist: Likewise.
4340 * abilist/libcrypt.abilist: Likewise.
4341 * abilist/libdl.abilist: Likewise.
4342 * abilist/libm.abilist: Likewise.
4343 * abilist/libnsl.abilist: Likewise.
4344 * abilist/libpthread.abilist: Likewise.
4345 * abilist/libresolv.abilist: Likewise.
4346 * abilist/librt.abilist: Likewise.
4347 * abilist/libthread_db.abilist: Likewise.
4348 * abilist/libutil.abilist: Likewise.
4349 * abilist/libnss_db.abilist: New file.
4350
4351 * scripts/abilist.awk: Add support for indirect functions.
4352
a2693a0e
UD
4353 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4354
3f05895f
UD
4355 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4356
ecb6fb48
UD
4357 * shlib-versions: Remove entries for ports architectures.
4358
664f8cb9
UD
4359 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4360 files in ports.
4361 * elf/stackguard-macros.h: Remove support for IA-64.
4362 * elf/tst-auditmod1.c: Likewise.
4363 * sysdeps/generic/ldsodefs.h: Likewise.
4364
7ae81d88
UD
4365 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4366 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4367 configure files.
4368
bdeba135
UD
4369 [BZ #13552]
4370 * configure.in: Remove --enable-omitfp support.
4371 * FAQ.in: Adjust.
4372 * config.make.in: Likewise.
4373 * Makeconfig: Likewise.
4374 * manual/install.texi: Likewise.
4375
d75a0a62
UD
4376 In case anyone cares, the IA-64 architecture could move to ports.
4377 * sysdeps/ia64/*: Removed.
4378 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 4379 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 4380
dcc9756b
UD
4381 [BZ #13555]
4382 * configure.in: Remove entries for unsupported architectures.
4383
d3761ebc 4384 [BZ #13533]
9954432e
UD
4385 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4386 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4387 routines.
4388 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4389 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4390 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4391 fall back to using wcrtomb.
4392 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4393 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4394 renaming.
4395 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4396 * wcsmbs/tst-c16c32-1.c: New file.
4397
4398 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4399 local variable.
4400
c3a87236
UD
4401 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4402
28926a1b
UD
4403 * elf/tst-unique3.cc: Add explicit declaration of gets.
4404 * elf/tst-unique3lib.cc: Likewise.
4405 * elf/tst-unique3lib2.cc: Likewise.
4406 * elf/tst-unique4.cc: Likewise.
4407
df78418a
UD
4408 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4409
8ecd6b2a
JM
44102012-01-06 Joseph Myers <joseph@codesourcery.com>
4411
4412 [BZ #13566]
4413 * assert/assert.h (static_assert): Don't define for C++.
4414 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4415 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4416
9f115170
UD
44172012-01-03 Ulrich Drepper <drepper@gmail.com>
4418
5e0d0300
UD
4419 * iconv/loop.c (single loop): Fix assertion in storing of
4420 remaining bytes.
4421
9f115170
UD
4422 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4423
81fb02b0
UD
44242012-01-01 Ulrich Drepper <drepper@gmail.com>
4425
4426 * posix/getconf.c: Update copyright year.
4427 * nss/getent.c: Likewise.
a316c1f6 4428 * nss/makedb.c: Likewise.
81fb02b0
UD
4429 * iconv/iconvconfig.c: Likewise.
4430 * iconv/iconv_prog.c: Likewise.
4431 * elf/ldconfig.c: Likewise.
a316c1f6
UD
4432 * elf/pldd.c: Likewise.
4433 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
4434 * catgets/gencat.c: Likewise.
4435 * csu/version.c: Likewise.
4436 * elf/ldd.bash.in: Likewise.
4437 * elf/sprof.c (print_version): Likewise.
4438 * locale/programs/locale.c: Likewise.
4439 * locale/programs/localedef.c: Likewise.
a316c1f6 4440 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4441 * nscd/nscd.c (print_version): Likewise.
4442 * debug/xtrace.sh: Likewise.
4443 * malloc/memusage.sh: Likewise.
4444 * malloc/mtrace.pl: Likewise.
4445 * debug/catchsegv.sh: Likewise.
4446
2ba92745
JJ
44472011-12-30 Jakub Jelinek <jakub@redhat.com>
4448
4449 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4450 pure attribute.
4451
dadebdae
UD
44522011-12-24 Ulrich Drepper <drepper@gmail.com>
4453
d3761ebc 4454 [BZ #13533]
db6af3eb
UD
4455 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4456 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4457 transformations.
4458 * iconv/gconv_int.h: Likewise.
4459 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4460 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4461 from libc for GLIBC_2.16.
4462 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4463 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4464 * wcsmbs/uchar.h: Really define mbstate_t.
4465 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4466 * wcsmbs/c16rtomb.c: New file.
4467 * wcsmbs/mbrtoc16.c: New file.
4468 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4469 for C/POSIX locale.
4470 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4471 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4472
dadebdae
UD
4473 * wcsmbs/wchar.h: Add missing __restrict.
4474
67371b56
UD
44752011-12-23 Ulrich Drepper <drepper@gmail.com>
4476
74033a25
UD
4477 [BZ #13532]
4478 * time/Makefile (routines): Add timespec_get.
4479 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4480 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4481 timespec for ISO C11.
4482 * time/timespec_get.c: New file.
4483 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4484 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4485
380d7e87
UD
4486 [BZ #13531]
4487 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4488 * stdlib/stdlib.h: Declare aligned_alloc.
4489 * Versions.def: Add GLIBC_2.16 for libc.
4490 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4491
4e9e7a35
UD
4492 [BZ 13527]
4493 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4494 ISO C11.
4495
380d7e87 4496 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
4497 code.
4498
03a71829
UD
4499 [BZ #13528]
4500 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4501
839e283e
UD
4502 [BZ #13529]
4503 * assert/assert.h (static_assert): Define.
4504
ce5294e2 4505 * version.h: Update for 2.16 development version.
90fa7312 4506
8d44e150 4507 [BZ #13526]
d7809905
UD
4508 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4509 _ISOC11_SOURCE.
4510
c0da14cd
UD
4511 * version.h (RELEASE): Bump for 2.15 release.
4512 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4513
530a3249
MP
4514 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4515 Patch by Marek Polacek <mpolacek@redhat.com>.
4516
67371b56
UD
4517 * bits/byteswap.h: Protect long long constants with __extension__.
4518 * sysdeps/i386/bits/byteswap.h: Likewise.
4519 * sysdeps/ia64/bits/byteswap.h: Likewise.
4520 * sysdeps/s390/bits/byteswap.h: Likewise.
4521 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4522
15db4de1
LD
45232011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4524
4525 [BZ #13540]
bbe315ea
LD
4526 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4527 destination buffer.
15db4de1
LD
4528 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4529
2b2596b1
MP
45302011-12-23 Marek Polacek <polacek@redhat.com>
4531
4532 * elf/dl-addr.c (determine_info): Add inline keyword.
4533 * elf/tst-auditmod4b.c (check_avx): Likewise.
4534 * elf/tst-auditmod6b.c (check_avx): Likewise.
4535 * elf/tst-auditmod6c.c (check_avx): Likewise.
4536 * elf/tst-auditmod7b.c (check_avx): Likewise.
4537
70c6c246
UD
45382011-12-23 Ulrich Drepper <drepper@gmail.com>
4539
4540 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4541 !__SSE_MATH__.
4542
c044cf14
LD
45432011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4544
15db4de1 4545 [BZ #13540]
c044cf14
LD
4546 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4547 processing for last bytes.
4548
6b13d9d9
BH
45492011-08-06 Bruno Haible <bruno@clisp.org>
4550
d455f537
BH
4551 [BZ #13061]
4552 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4553 U+0385, not to U+1FEE.
4554
6b13d9d9
BH
4555 [BZ #13062]
4556 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4557 entry for U+00A5 U+0301.
4558
db910efd
UD
45592011-12-22 Ulrich Drepper <drepper@gmail.com>
4560
27deeafc
UD
4561 [BZ #13166]
4562 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4563 buffer for the output is too small.
4564
aed9d171
UD
4565 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4566 optimization.
4567
db910efd
UD
4568 [BZ #13185]
4569 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4570 SSE flags if possible.
4571
2bd779ae
LD
45722011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4573
e7f9dac3 4574 [BZ #13540]
2bd779ae
LD
4575 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4576 processing for last bytes.
4577
154bfc16
JM
45782011-12-22 Joseph Myers <joseph@codesourcery.com>
4579
4580 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4581 (syscall-list-default-options, syscall-list-default-condition)
4582 (syscall-list-includes): Define.
4583 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4584 list of ABIs and options and #if conditions for each ABI. Do not
4585 handle common syscalls between ABIs specially.
4586 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4587 Remove.
4588 (syscall-list-variants, syscall-list-32bit-options)
4589 (syscall-list-32bit-condition, syscall-list-64bit-options)
4590 (syscall-list-64bit-condition): Define.
4591 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4592 (syscall-list-variants, syscall-list-32bit-options)
4593 (syscall-list-32bit-condition, syscall-list-64bit-options)
4594 (syscall-list-64bit-condition): Define.
4595 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4596 Remove.
4597 (syscall-list-variants, syscall-list-32bit-options)
4598 (syscall-list-32bit-condition, syscall-list-64bit-options)
4599 (syscall-list-64bit-condition): Define.
4600 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4601 Remove.
4602 (syscall-list-variants, syscall-list-32bit-options)
4603 (syscall-list-32bit-condition, syscall-list-64bit-options)
4604 (syscall-list-64bit-condition): Define.
4605
21eaf3a5
UD
46062011-12-22 Ulrich Drepper <drepper@gmail.com>
4607
16c6f992
UD
4608 * locale/iso-639.def: Add brx entry.
4609
41043168
UD
4610 [BZ #13328]
4611 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4612 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4613
21eaf3a5
UD
4614 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4615 __feraiseexcept_renamed.
4616
e3a851a2
UD
46172011-12-21 Ulrich Drepper <drepper@gmail.com>
4618
4920765e
UD
4619 [BZ #13538]
4620 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4621 EPOLLET with unsigned values.
4622 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4623 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4624
e3a851a2
UD
4625 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4626 to large cancellation.
4627 * math/s_cacoshf.c: Likewise.
4628 * math/s_cacoshl.c: Likewise.
4629
b27e24b8
RK
46302011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4631
4632 [BZ #13305]
aebefeee 4633 [BZ #12786]
b27e24b8
RK
4634 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4635 * math/s_cacoshf.c: Likewise.
4636 * math/s_cacoshl.c: Likewise.
4637
ee190f67
UD
46382011-12-21 Ulrich Drepper <drepper@gmail.com>
4639
4640 [BZ #13439]
4641 * iconv/gconv.h: Define __GCONV_SWAP.
4642 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4643 * iconvdata/utf-16.c: Likewise.
4644 * iconvdata/utf-32.c: Likewise.
4645
707f25df
AS
46462011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4647
4648 [BZ #13524]
4649 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4650 numerator after shifting it by one limb.
4651
d2daaa1e
RÁE
46522011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4653
4654 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4655 under [__USE_EXTERN_INLINES].
4656
a4647e72
UD
46572011-12-17 Ulrich Drepper <drepper@gmail.com>
4658
4659 [BZ #13446]
4660 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4661
f0b264f1
AZ
46622011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4663
4664 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4665 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4666 optimized code.
4667 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4668 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4669 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4670 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4671 for strncasecmp/strncasecmp_l compilation.
4672 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4673 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4674
8ef4f244
MP
46752011-12-08 Marek Polacek <mpolacek@redhat.com>
4676
4677 [BZ #13484]
4678 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4679 of __asm__.
4680
97ac2654
UD
46812011-12-17 Ulrich Drepper <drepper@gmail.com>
4682
4683 [BZ #13506]
4684 * time/tzfile.c (__tzfile_read): Check values from file header.
4685
91d2a845
WS
46862011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4687
4688 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4689 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4690 * powerpc/powerpc32/dl-start.S: Likewise.
4691 * powerpc/powerpc32/elf/start.S: Likewise.
4692 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4693 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4694 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4695 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4696 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4697 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4698 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4699 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4700 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4701 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4702 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4703 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4704 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4705 * powerpc/powerpc32/memset.S: Likewise.
4706 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4707 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4708 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4709 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4710 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4711 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4712 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4713 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4714 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4715 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4716 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4717 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4718 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4719
a1267ba1
AZ
47202011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4721
4722 * math/libm-test.inc: Added more nearbyint tests.
4723 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4724 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4725 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4726 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4727
ad8ac1bd
RL
47282011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4729
4730 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4731 FD_CLOEXEC.
4732
1d3e4b61
UD
47332011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4734
4735 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4736 Add wcscpy-ssse3 wcscpy-c.
4737 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4738 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4739 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4740 * sysdeps/x86_64/wcschr.S: New file.
4741 * sysdeps/x86_64/wcsrchr.S: New file.
4742 * string/test-strcmp.c: Remove checking of wcscmp function for
4743 wrong alignments.
4744 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4745 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4746 wcsrchr-sse2 wcsrchr-c.
4747 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4748 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4749 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4750 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4751 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4752 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4753 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4754 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4755 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4756 * wcsmbc/wcschr.c (WCSCHR): New macro.
4757
5b330a2d
UD
47582011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4759
4760 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4761 * wcsmbs/test-wcsrchr.c: New file.
4762 * string/test-strrchr.c: Add wcsrchr support.
4763 (WIDE): New macro.
4764 * wcsmbs/test-wcscpy.c: New file.
4765 * string/test-strcpy.c: Add wcscpy support.
4766 (WIDE): New macro.
26428b7c 4767
f039c043
UD
47682011-12-10 Ulrich Drepper <drepper@gmail.com>
4769
4770 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4771 the inner loop.
4772
850fb039
AS
47732011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4774
4775 [BZ #13472]
4776 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4777
4efbd5cb
UD
47782011-12-04 Ulrich Drepper <drepper@gmail.com>
4779
52ff5dd0 4780 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 4781 Minor optimizations.
52ff5dd0 4782
4efbd5cb
UD
4783 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4784 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4785 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4786
8a426e12
UD
47872011-12-03 Ulrich Drepper <drepper@gmail.com>
4788
aff2453d
UD
4789 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4790 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4791 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4792 for gcc to avoid warnings.
4793 * inet/Makefile (tests): Add tst-checks.
4794 * inet/tst-checks.c: New file.
4795
4796 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4797 warning.
4798
4799 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4800 __wmemcmp_sse2.
4801
4802 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4803 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4804
8a426e12
UD
4805 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4806
9bea3473
UD
48072011-12-02 Ulrich Drepper <drepper@gmail.com>
4808
3a965496
UD
4809 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4810 problem.
4811
9bea3473
UD
4812 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4813
f101631b
UD
48142011-11-29 Joseph Myers <joseph@codesourcery.com>
4815
4816 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4817 conditional on GCC version.
4818 (__arch_compare_and_exchange_val_8_acq)
4819 (__arch_compare_and_exchange_val_16_acq)
4820 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4821 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4822 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4823
a98275aa
UD
48242011-12-02 Joseph Myers <joseph@codesourcery.com>
4825
4826 * sysdeps/sh/backtrace.c: New file.
4827
d4cc29a2
AS
48282011-12-02 Andreas Schwab <schwab@redhat.com>
4829
4830 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4831 parenthesis.
4832
6257af2d
AS
48332011-12-01 Andreas Schwab <schwab@redhat.com>
4834
4835 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4836 falling back to utime.
4837
b5f44c1a
AS
48382011-11-30 Andreas Schwab <schwab@redhat.com>
4839
4840 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4841 expectations for float.
4842
f3a6cc0a
AS
48432011-11-29 Andreas Schwab <schwab@redhat.com>
4844
4845 * locale/weight.h (findidx): Add parameter len.
4846 * locale/weightwc.h (findidx): Likewise.
4847 * posix/fnmatch_loop.c (FCT): Adjust caller.
4848 * posix/regcomp.c (build_equiv_class): Likewise.
4849 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4850 * posix/regexec.c (check_node_accept_bytes): Likewise.
4851 * string/strcoll_l.c (STRCOLL): Likewise.
4852 * string/strxfrm_l.c (STRXFRM): Likewise.
4853
9d65ea3a
UD
48542011-11-17 Ulrich Drepper <drepper@gmail.com>
4855
4856 * Makefile.in: Remove CVSOPT handling.
4857 * configure.in: Remove use of AC_REVISION.
4858 * iconvdata/Makefile (distribute): No need to filter out CVS.
4859 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4860 handling.
4861
5583a086
AS
48622011-11-16 Andreas Schwab <schwab@redhat.com>
4863
4864 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4865 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4866 [USE_AS_STRNCASECMP_L]: Likewise.
4867 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4868 NO_TLS_DIRECT_SEG_REFS.
4869 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4870 Fix argument offsets for non-PIC.
4871 [USE_AS_STRNCASECMP_L]: Likewise.
4872 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4873 NO_TLS_DIRECT_SEG_REFS.
4874
d62a8200
UD
48752011-11-15 Ulrich Drepper <drepper@gmail.com>
4876
9d65ea3a 4877 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
4878 O_CLOEXEC.
4879 * locale/loadlocale.c (_nl_load_locale): Likewise.
4880
09f93bd3
AS
48812011-11-15 Andreas Schwab <schwab@redhat.com>
4882
446514f9
AS
4883 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4884 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4885 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4886 (SYSCALL_GETTIME): Set errno on error.
4887
09f93bd3
AS
4888 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4889 count references to noai6ai_cached.
4890
312be3f9
UD
48912011-11-15 Ulrich Drepper <drepper@gmail.com>
4892
4893 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4894
4895 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4896 FD_CLOEXEC for /proc/self/maps.
4897
4898 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4899 FD_CLOEXEC for /proc/meminfo.
4900
4901 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4902 gai.conf.
4903
4904 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4905 FD_CLOEXEC for given file.
4906
4907 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4908
4909 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4910 FD_CLOEXEC for /etc/hosts.
4911 (_gethtent): Likewise.
4912
4913 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4914
4915 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4916 cancellation and set FD_CLOEXEC for /etc/netgroup.
4917
4918 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4919 reading /etc/publickey.
4920
4921 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4922 allow cancellation when reading /etc/group.
4923
4924 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4925 cancellation.
4926 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4927
4928 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4929 when using data file.
4930
4931 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4932
4933 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4934 (write_nis_obj): Use "c" and "e" in fopen.
4935
4936 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4937
4938 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4939
4940 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4941
4942 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4943
4944 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4945 locale.alias.
4946
4947 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4948
4949 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4950
4951 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4952
4953 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4954 file parsing and set FD_CLOEXEC.
4955
82af0fa8
UD
49562011-11-14 Ulrich Drepper <drepper@gmail.com>
4957
4958 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4959
a5fb313c
AS
49602011-11-14 Andreas Schwab <schwab@redhat.com>
4961
4962 * malloc/arena.c (arena_get2): Don't call reused_arena when
4963 _int_new_arena failed.
4964
6abf3465
UD
49652011-11-14 Ulrich Drepper <drepper@gmail.com>
4966
4967 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4968 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4969 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4970 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4971 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4972 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4973 to compile strcasecmp and strncasecmp.
4974 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4975 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4976
4977 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4978
76e3966e
UD
49792011-11-13 Ulrich Drepper <drepper@gmail.com>
4980
4981 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4982 locale-defines.sym to gen-as-const-headers.
4983 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4984 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4985 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4986 to compile strcasecmp and strncasecmp.
4987 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4988 strcasecmp_l and strncasecmp_l.
4989 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4990 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4991 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4992 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4993 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4994 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4995 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4996 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4997 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4998 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4999 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5000
ab26144e
UD
50012011-11-12 Ulrich Drepper <drepper@gmail.com>
5002
7edb22ef
UD
5003 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5004 result of SYSDEP_GETTIME_CPU to retval.
5005 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5006 parameter list to macro. Remove trailing semicolon. Adjust users.
5007
9694fc44
UD
5008 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5009 variable.
5010
8ad89ef8
UD
5011 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5012 mantissa words.
5013 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5014
0c822ef9
UD
5015 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5016 from unused variable.
5017
874e0564
UD
5018 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5019 DWARF definitions.
5020 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5021 for assembling.
5022
3a2edc79
UD
5023 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5024 over namespaces.
5025
f3c2577f
UD
5026 * sunrpc/rpc_prot.c (rejected): Fix case value.
5027
294ce126
UD
5028 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5029 unsigned long long int to avoid warnings in shift.
5030
5e2b63c6
UD
5031 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5032 of use of trans.
5033 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5034 variable tmp.
5035
e7f4b08e
UD
5036 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5037 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5038 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5039
ab26144e
UD
5040 * nis/nis_table.c (nis_list): Use variable of correct type for
5041 result of __follow_path call.
5042
8a6d5255
AZ
50432011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5044
5045 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5046 of math functions ceil, trunc, floor, round, and sqrt, when
5047 avaliable on the platform.
5048 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5049 name clash.
5050 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5051 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5052 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5053
aaddc98c
MP
50542011-10-30 Marek Polacek <mpolacek@redhat.com>
5055
5056 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5057 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5058
95b7042b
RM
50592011-11-11 Roland McGrath <roland@hack.frob.com>
5060
5061 * include/unistd.h: Fix __readlink return type.
5062 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5063
57769839
UD
50642011-11-11 Ulrich Drepper <drepper@gmail.com>
5065
5066 * stdlib/ucontext.h: Undo last change for makecontext.
5067
edc5984d
AS
50682011-11-11 Andreas Schwab <schwab@redhat.com>
5069
98591e58
AS
5070 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5071
edc5984d
AS
5072 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5073 * setjmp/setjmp.h: Mark functions as non-leaf.
5074 * setjmp/bits/setjmp2.h: Likewise.
5075 * stdlib/ucontext.h: Likewise.
5076
77cdc054
AS
50772011-11-10 Andreas Schwab <schwab@redhat.com>
5078
5079 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5080 (reused_arena): Don't check arena limit.
5081 (arena_get2): Atomically check arena limit.
5082
fe72eebd
UD
50832011-11-08 Ulrich Drepper <drepper@gmail.com>
5084
5f078c32
UD
5085 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5086 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5087
fe72eebd
UD
5088 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5089 instructions.
5090
ae1bc2fa
AS
50912011-11-07 Andreas Schwab <schwab@redhat.com>
5092
7583a88d
AS
5093 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5094 handler when locking.
5095
ae1bc2fa
AS
5096 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5097 Fix size of allocated buffer.
5098
10fb0bfa
AS
50992011-11-04 Andreas Schwab <schwab@redhat.com>
5100
998832a4
AS
5101 [BZ #10103]
5102 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5103 declarations for long double functions.
5104 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5105
10fb0bfa
AS
5106 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5107
3d7ba52b
AS
51082011-11-03 Andreas Schwab <schwab@redhat.com>
5109
a9ae54a1
AS
5110 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5111 installed.
5112
3d7ba52b
AS
5113 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5114 is disabled.
5115
bc8db248
ST
51162011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5117
5118 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5119
45b96dd6
AS
51202011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5121
647776f6
AS
5122 * include/alloca.h (stackinfo_alloca_round): Define.
5123 (extend_alloca): Use it.
5124 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5125 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5126 here.
5127
d91a8b93
AS
5128 * scripts/check-local-headers.sh: Ignore libaudit.h.
5129
45b96dd6
AS
5130 * nscd/Makefile (extra-objs): Make recursively expanded.
5131
432d41ce
UD
51322011-11-01 Ulrich Drepper <drepper@gmail.com>
5133
34372fc6
UD
5134 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5135 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5136
fadb59f8
UD
5137 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5138 * posix/tst-rfc3484-2.c: Likewise.
5139 * posix/tst-rfc3484-3.c: Likewise.
5140
78239589
UD
5141 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5142 process_vm_writev.
5143 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5144 process_vm_writev.
5145 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5146 process_vm_writev from libc using GLIBC_2.15 version.
5147
432d41ce
UD
5148 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5149
02f9c6cf
PP
51502011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5151
5152 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5153 stack usage.
5154
3a2c0242
UD
51552011-10-31 Ulrich Drepper <drepper@gmail.com>
5156
f4ec4833
UD
5157 [BZ #13367]
5158 * nss/getent.c (initgroups_keys): Show error message in case no group
5159 names are given.
5160
3a2c0242
UD
5161 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5162 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5163 __bump_nl_timestamp.
5164 * nscd/connections (nscd_init): When host database is served open
5165 netlink socket and request notification about configuration changes.
5166 (main_loop_poll): Track netlink file descriptor and bump timestamp
5167 in case data becomes available.
5168 (main_loop_epoll): Likewise.
5169 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5170 (database_pers_head): Add extra_data fileds.
5171 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5172 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5173 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5174 Adjust caller.
5175 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5176 in6ai data, call __free_in6ai.
5177 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5178 Add -DHAVE_NETLINK.
5179 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5180 interface information. Reuse previous data if netlink timestamp
5181 is not changed.
5182 (__bump_nl_timestamp): New function.
5183 (__free_in6ai): New function.
5184
636064eb
UD
51852011-10-30 Ulrich Drepper <drepper@gmail.com>
5186
5187 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5188 close_not_cancel_no_status here.
5189 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5190
9beb2334
UD
51912011-10-29 Ulrich Drepper <drepper@gmail.com>
5192
6ef76f3b
UD
5193 [BZ #13276]
5194 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5195 return value.
5196
0ffc4f3e 5197 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5198 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5199 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5200
cb95113e
UD
52012011-07-03 Andreas Jaeger <aj@suse.de>
5202
5203 [BZ #10709]
5204 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5205 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5206 * math/libm-test.inc (sin_test): Add test case.
5207
a1b560ff
UD
52082011-10-29 Ulrich Drepper <drepper@gmail.com>
5209
c9aaface
UD
5210 [BZ #13337]
5211 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5212 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5213
d272e7f1
UD
5214 * elf/chroot_canon.c (chroot_canon): Cleanups.
5215
1bc33071
UD
5216 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5217
1760874d
TJ
5218 [BZ #13335]
5219 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5220 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5221
51d91b18
UD
5222 * string/test-strchr.c: Make usable for strchrnul testing.
5223 * string/test-strchrnul.c: New file.
5224 * string/Makefile (strop-tests): Add strchrnul.
5225
a1b560ff 5226 * po/it.po: Update from translation team.
b611fb81 5227 * po/es.po: Likewise.
a1b560ff 5228
a5b81e1f
UD
52292011-10-28 Ulrich Drepper <drepper@gmail.com>
5230
fd52bc6d
UD
5231 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5232 the three constants needed as parameters. Drop the others.
5233 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5234 __m128i_strloadu_tolower.
52e4b9eb
UD
5235 Create and initialize variable zero and use it in all the places
5236 where _mm_setzero_si128 was used.
fd52bc6d 5237
a5b81e1f
UD
5238 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5239 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5240 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5241 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5242 anymore.
5243 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5244 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5245 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5246 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5247 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5248 __mpranred, __mptan.
5249 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5250 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5251 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5252 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5253 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5254 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5255 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5256 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5257 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5258
b4343346
AS
52592011-10-28 Andreas Schwab <schwab@redhat.com>
5260
0c92d8a8
AS
5261 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5262 redefine if SHARED.
5263 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5264
b4343346
AS
5265 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5266 wide char related routines to wcsmbs subdir.
5267
3871f58f
AS
52682011-10-27 Andreas Schwab <schwab@redhat.com>
5269
5270 [BZ #13344]
5271 * misc/sys/cdefs.h (__THROWNL): Define.
5272 * posix/unistd.h: Use __THREADNL instead of __THREAD
5273 for memory synchronization functions.
5274
94d44d9f
RM
52752011-10-26 Roland McGrath <roland@hack.frob.com>
5276
21b64b15 5277 [BZ #13349]
94d44d9f
RM
5278 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5279 doesn't exist.
5280 * manual/stdio.texi (Obstack Streams): Node removed.
5281
f6ce9294
AS
52822011-10-26 Andreas Schwab <schwab@redhat.com>
5283
80479147
AS
5284 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5285 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5286 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5287
f6ce9294
AS
5288 * math/math_private.h (math_force_eval): Allow non-addressable
5289 arguments.
5290 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5291
618280a1
UD
52922011-10-25 Ulrich Drepper <drepper@gmail.com>
5293
e0016b11
UD
5294 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5295 file is not needed.
5296
5297 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5298 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5299 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5300 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5301 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5302 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5303 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5304 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5305 Add AVX variants.
5306 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5307 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5308 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5309 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5310 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5311 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5312 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5313 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5314 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5315 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5316 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5317 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5318 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5319 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5320 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5321 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5322 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5323 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5324 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5325
5326 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5327 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5328
618280a1
UD
5329 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5330 place. Use VEX encoding when compiling for AVX.
5331
37822576
AS
53322011-10-25 Andreas Schwab <schwab@redhat.com>
5333
1f1e1947
AS
5334 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5335 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5336
37822576
AS
5337 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5338
31ea014d
UD
53392011-10-25 Ulrich Drepper <drepper@gmail.com>
5340
d7826aa1 5341 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 5342 useless if() expression.
d7826aa1
UD
5343 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5344 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5345 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5346 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5347 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5348 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5349 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5350 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5351 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5352 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5353 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5354 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5355 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5356 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5357 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5358 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5359 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5360 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5361 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5362
31ea014d
UD
5363 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5364
16437fec
AS
53652011-10-25 Andreas Schwab <schwab@redhat.com>
5366
5367 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5368 condition.
5369 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5370
31d3cc00
UD
53712011-10-25 Ulrich Drepper <drepper@gmail.com>
5372
5373 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5374 .text section. Avoid duplicate constants.
5375 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5376 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5377 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5378 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5379 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5380 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5381 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5382 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5383 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5384 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5385 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5386 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5387 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5388 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5389 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5390 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5391 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5392 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5393 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5394 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5395 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5396 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5397 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5398 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5399 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5400 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5401 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5402 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5403 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5404 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5405 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5406 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5407 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5408 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5409 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5410 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5411 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5412 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5413 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5414 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5415 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5416 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5417 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5418 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5419 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5420
58985aa9
UD
54212011-10-24 Ulrich Drepper <drepper@gmail.com>
5422
202c9deb
UD
5423 * sysdeps/x86_64/dla.h: Move to ...
5424 * sysdeps/x86_64/fpu/dla.h: ...here.
5425 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5426 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 5427
af968f62
UD
5428 * config.make.in: Add have-mfma4 entry.
5429 * configure.in: Substitute libc_cv_cc_fma4.
5430 * math/Makefile (dbl-only-routines): Add sincostab.
5431 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5432 Use __sincostab not sincos.
5433 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5434 name is a macro.
5435 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5436 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5437 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5438 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5439 using __copysign.
5440 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5441 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5442 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5443 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5444 and __inv.
5445 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5446 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5447 __copysign.
5448 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5449 define aliases when function name is a macro.
5450 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5451 sysdeps/ieee754/dbl-64/sincos.tbl.
5452 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5453 fma4-enabled routines.
5454 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5455 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5456 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5457 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5458 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5459 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5460 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5461 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5462 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5463 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5464 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5465 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5466 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5467 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5468 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5469 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5470 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5471 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5472 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5473 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5474 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5475 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5476 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5477 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5478 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5479 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5480 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5481 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5482 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5483 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5484
58985aa9
UD
5485 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5486 rename.
5487 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5488 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5489 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5490 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5491 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5492 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5493 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5494 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5495
a201fbcf
AS
54962011-10-24 Andreas Schwab <schwab@redhat.com>
5497
5498 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5499
fc2ee42a
LD
55002011-10-23 Ulrich Drepper <drepper@gmail.com>
5501
bb3129bd
UD
5502 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5503
0275fff8
UD
5504 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5505 prediction.
5506 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5507
2fa2ae85
UD
5508 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5509 Remove unused variable magic_bits.
5510 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5511
fc2ee42a
LD
5512 * string/strnlen.c: Define and use STRNLEN macro.
5513 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5514 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5515 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5516 * wcsmbs/wcslen.c: Define and use WCSLEN.
5517 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5518 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5519 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5520 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5521 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5522 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5523 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5524
ce7dd29f
LD
55252011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5526
5527 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5528 strnlen-sse2-no-bsf.
5529 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5530 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5531 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5532 Add strnlen support.
5533 (USE_AS_STRNLEN): New macro.
5534 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5535 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5536 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5537 * sysdeps/x86_64/wcslen.S: New file.
5538
979c70a3
MZ
55392011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5540
5541 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5542 XMM-moves are used for copying on small sizes.
5543
2d09f82f
LD
55442011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5545
5546 * wcsmbs/Makefile (strop-tests): Add wcschr.
5547 * wcsmbs/test-wcschr.c: New file.
5548 * string/test-strchr.c: Update.
5549 Add wcschr support.
5550 (WIDE): New macro.
5551
619fccca
LD
55522011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5553
2d09f82f 5554 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
5555 * wcsmbs/test-wcslen.c: New file.
5556 * string/test-strlen.c: Update.
5557 Add wcslen support.
5558 (WIDE): New macro.
5559
09f699ea
UD
55602011-10-23 Ulrich Drepper <drepper@gmail.com>
5561
5562 * po/it.po: Update from translation team.
5563
95584d3b
LD
55642011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5565
5566 * sysdeps/x86_64/wcscmp.S: Update.
5567 Fix wrong comparison semantics.
5568 wcscmp shall use signed comparison not unsigned.
5569 Don't use substraction to avoid overflow bug.
5570 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5571 * wcsmbc/wcscmp.c: Likewise.
5572 * string/test-strcmp.c: Likewise.
5573 Add new tests to check cases with negative values.
5574
c8b3296b
UD
55752011-10-23 Ulrich Drepper <drepper@gmail.com>
5576
5577 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5578 * sysdeps/x86_64/dla.h: ...here. New file.
5579 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5580 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5581 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5582 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5583 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5584 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5585 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5586 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5587 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5588
246ad57a
AS
55892011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5590
5591 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5592 __ynl_finite aliases.
5593
a1a87169
UD
55942011-10-22 Ulrich Drepper <drepper@gmail.com>
5595
0d355eb7
UD
5596 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5597
a1a87169
UD
5598 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5599 define DLA_FMA.
5600 [DLA_FMA] (EMULV): Use DLA_FMA.
5601 [DLA_FMA] (MUL12): Use EMULV.
5602 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5603 that are not needed.
5604 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5605 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5606 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5607 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5608 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5609 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5610 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5611
ee2aafe0
AS
56122011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5613
5614 * math/s_nan.c: Undef __nan.
5615 * math/s_nanf.c: Undef __nanf.
5616 * math/s_nanl.c: Undef __nanl.
5617 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5618 "math_private.h".
5619
bc62c2fb
UD
56202011-10-22 Ulrich Drepper <drepper@gmail.com>
5621
77425c63
UD
5622 * math/s_catan.c: Add branch predictions.
5623 * math/s_catanf.c: Likewise.
5624 * math/s_catanh.c: Likewise.
5625 * math/s_catanhf.c: Likewise.
5626 * math/s_catanhl.c: Likewise.
5627 * math/s_catanl.c: Likewise.
5628 * math/s_cexp.c: Likewise.
5629 * math/s_cexpf.c: Likewise.
5630 * math/s_cexpl.c: Likewise.
5631 * math/s_clog.c: Likewise.
5632 * math/s_clog10.c: Likewise.
5633 * math/s_clog10f.c: Likewise.
5634 * math/s_clog10l.c: Likewise.
5635 * math/s_clogf.c: Likewise.
5636 * math/s_clogl.c: Likewise.
5637 * math/s_csqrt.c: Likewise.
5638 * math/s_csqrtf.c: Likewise.
5639 * math/s_csqrtl.c: Likewise.
5640 * math/s_ctanf.c: Likewise.
5641 * math/s_ctanh.c: Likewise.
5642 * math/s_ctanhf.c: Likewise.
5643 * math/s_ctanhl.c: Likewise.
5644 * math/s_ctanl.c: Likewise.
5645
bc62c2fb
UD
5646 * math/math_private.h: Define __nan, __nanf, __nanl.
5647 * math/s_cacosh.c: Include <math_private.h>.
5648 * math/s_cacoshl.c: Likewise.
5649 * math/s_casinh.c: Likewise.
5650 * math/s_casinhf.c: Likewise.
5651 * math/s_casinhl.c: Likewise.
5652 * math/s_ccos.c: Rely entire on ccosh.
5653 * math/s_ccosf.c: Rely entire on ccoshf.
5654 * math/s_ccosl.c: Rely entirely on ccoshl.
5655 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5656 Remove tests for FE_INVALID.
5657 * math/s_ccoshf.c: Likewise.
5658 * math/s_ccoshl.c: Likewise.
5659 * math/s_csin.c: Likewise.
5660 * math/s_csinf.c: Likewise.
5661 * math/s_csinh.c Likewise.
5662 * math/s_csinhf.c: Likewise.
5663 * math/s_csinhl.c: Likewise.
5664 * math/s_csinl.c: Likewise.
5665 * math/s_ctan.c: Likewise.
5666 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5667 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5668 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5669
8ec250a4
UD
56702011-10-21 Ulrich Drepper <drepper@gmail.com>
5671
c196fed8
UD
5672 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5673 compilation problems.
5674
8ec250a4
UD
5675 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5676 __builtin_expect.
5677
8d4f46c6
UD
56782011-10-20 Ulrich Drepper <drepper@gmail.com>
5679
ed72b654
UD
5680 * sysdeps/i386/configure.in: Test for -mfma4 option.
5681 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5682 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5683 COMMON_CPUID_INDEX_80000001.
5684 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5685 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5686 use it if FMA3 is not supported.
5687 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5688
8d4f46c6
UD
5689 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5690 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5691
d45c60c2
AS
56922011-10-20 Andreas Schwab <schwab@redhat.com>
5693
5694 [BZ #12892]
5695 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5696 it would create a cycle with a link time dependency.
5697
d9a4d2ab
UD
56982011-10-19 Ulrich Drepper <drepper@gmail.com>
5699
855d1560
UD
5700 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5701 instruction.
5702 * string/Makefile (strop-tests): Add rawmemchr.
5703 * string/test-rawmemchr.c: New file.
5704
d9a4d2ab
UD
5705 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5706 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5707 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5708 when compiling str{,n}casecmp and when AVX is available. Hook up
5709 new optimized code in initializers.
5710
8f3b1ffe
AS
57112011-10-19 Andreas Schwab <schwab@redhat.com>
5712
5713 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5714 __feraiseexcept instead of feraiseexcept.
5715
d38f1dba
UD
57162011-10-18 Ulrich Drepper <drepper@gmail.com>
5717
d9a8d0ab
UD
5718 * math/math_private.h: Define defaults for libc_fetestexcept and
5719 libc_feupdateenv.
5720 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5721 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5722 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5723 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5724 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5725 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5726 libc_fetestexcept and libc_feupdateenv.
5727
4855e3dd
UD
5728 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5729 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5730 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5731 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5732 libc_feholdexcept_setround.
5733
581d30e3
UD
5734 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5735 Add s_nearbyint-c and s_nearbyintf-c.
5736 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5737 nearbyintf inlines.
5738 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5739 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5740 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5741 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5742
d38f1dba
UD
5743 * math/math_private.h: Define defaults for libc_fegetround,
5744 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5745 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5746 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5747 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5748 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5749 standard functions.
5750 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5751 Remove comments and hacks for old compiler versions.
5752 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5753 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5754 libc_feholdexceptl.
5755
caa6c9d8
AS
57562011-10-18 Andreas Schwab <schwab@redhat.com>
5757
5758 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
5759 (__feraiseexcept_renamed): Add __NTH.
5760 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
5761 namespace violations.
5762
97c066e6
UD
57632011-10-17 Ulrich Drepper <drepper@gmail.com>
5764
99ce7b04
UD
5765 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5766
1004d182
UD
5767 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5768
228a984d
UD
5769 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5770 recently added interfaces.
5771 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5772
c8553a6a
UD
5773 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5774 about macro parameter expansion.
5775
ed22dcf6
UD
5776 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5777 __NO_MATH_INLINES is defined. Cleanups.
5778
5779 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5780 and __floorf is target has SSE4.1.
5781 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5782 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5783 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5784 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5785
b171c137
UD
5786 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5787 name.
5788 (floorf): Likewise.
5789
97c066e6
UD
5790 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5791
629f62ef
AS
57922011-10-17 Andreas Schwab <schwab@redhat.com>
5793
49a43d80
AS
5794 * misc/sys/cdefs.h: Fix last change.
5795
629f62ef
AS
5796 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5797 database lookup.
5798
e453f6cd
UD
57992011-10-16 Ulrich Drepper <drepper@gmail.com>
5800
aa78043a
UD
5801 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5802
ad0f5cad
UD
5803 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5804 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5805 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5806 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5807 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5808 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5809 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5810 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5811 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5812 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5813 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5814 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5815 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5816 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5817 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5818 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5819 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5820 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5821 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5822 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5823 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5824 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5825
5826 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5827 ceil, ceilf, floor, floorf.
5828
5829 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5830 Perform IRELATIVE relocations last.
5831
e453f6cd
UD
5832 * elf/do-rel.h: Add another parameter nrelative, replacing the
5833 local variable with the same name. Change name of the function
5834 to end in Rel or Rela (uppercase).
5835 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5836 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5837 elf_dynamic_do_##reloc function.
5838
fd5bdc09
UD
58392011-10-15 Ulrich Drepper <drepper@gmail.com>
5840
79b195b5
UD
5841 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5842 is sufficient, at least on modern CPUs.
5843
d4a28569
UD
5844 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5845
b61099b5
UD
5846 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5847 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5848
bcf01e6d
UD
5849 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5850 __expl_finite.
5851 * math/bits/math-finite.h: Add entries for exp.
5852 * math/e_expl.c: Add __*_finite alias.
5853 * sysdeps/i386/fpu/e_exp.S: Likewise.
5854 * sysdeps/i386/fpu/e_expf.S: Likewise.
5855 * sysdeps/i386/fpu/e_expl.c: Likewise.
5856 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5857 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5858 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5859 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5860 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5861 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5862 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5863
ba1a0d59
UD
5864 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5865 is sufficient, at least on modern CPUs.
5866
fd5bdc09
UD
5867 * ctype/ctype-info.c (__ctype_init): Define.
5868 * include/ctype.h (__ctype_init): Declare.
5869 (__ctype_b_loc): The variable is always initialized.
5870 (__ctype_toupper_loc): Likewise.
5871 (__ctype_tolower_loc): Likewise.
5872 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5873 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5874
7872cfb0
AS
58752011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5876
b468825a
AS
5877 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5878
7872cfb0
AS
5879 * configure.in: Also look in $cxxmachine/include for C++ system
5880 headers.
5881
be13f7bf
LD
58822011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5883
5884 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5885 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5886 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5887 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5888 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5889 (USE_AS_WMEMCMP): New macro.
5890 Fixing indents.
5891 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5892 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5893 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5894 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5895 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5896 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5897 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5898 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5899 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5900 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5901 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5902 (USE_AS_WMEMCMP): New macro.
5903 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5904 * sysdeps/string/test-memcmp.c: Update.
5905 Fix simple_wmemcmp.
5906 Add new tests.
5907 * wcsmbs/wmemcmp.c: Update.
5908 (WMEMCMP): New macro.
5909 Fix overflow bug.
5910
556a2007
AJ
59112011-10-12 Andreas Jaeger <aj@suse.de>
5912
5913 [BZ #13268]
5914 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5915
538faaa7
UD
59162011-10-15 Ulrich Drepper <drepper@gmail.com>
5917
ab6737ff
UD
5918 * libio/iofwide.c (do_length): Avoid warning.
5919
538faaa7
UD
5920 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5921
396a21b1
UD
59222011-10-14 Ulrich Drepper <drepper@gmail.com>
5923
cdf2901f
UD
5924 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5925
38ad40ce
UD
5926 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5927 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5928 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5929 * sysdeps/i386/i686/fpu/e_log.S: New file.
5930 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5931 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5932
396a21b1
UD
5933 * ctype/ctype.h: Add support for inlined isXXX functions when
5934 compiling C++ code.
5935
6b1f68c9
AS
59362011-10-14 Andreas Schwab <schwab@redhat.com>
5937
349290c0
AS
5938 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5939
6b1f68c9
AS
5940 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5941
f2282d42
RM
59422011-10-13 Roland McGrath <roland@hack.frob.com>
5943
5944 [BZ #13291]
5945 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5946
5298ffa8
AS
59472011-10-13 Andreas Schwab <schwab@redhat.com>
5948
714fad23
AS
5949 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5950 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5951 feraiseexcept.
5952
81dcc7fb
AS
5953 * sysdeps/x86_64/memrchr.S: Check for zero size.
5954
5298ffa8
AS
5955 * string/stratcliff.c: Add memrchr tests.
5956
951fbcec
LD
59572011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5958
5959 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5960 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5961 rawmemchr-sse2 rawmemchr-sse2-bsf.
5962 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5963 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5964 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5965 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5966 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5967 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5968 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5969 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5970 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5971 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5972 * string/memrchr.c (MEMRCHR): New macro.
5973
0ac5ae23
UD
59742011-10-12 Ulrich Drepper <drepper@gmail.com>
5975
5976 Add integration with gcc's -ffinite-math-only and optimize wrapper
5977 functions in libm.
5978 * Versions.def: Define GLIBC_2.15 version for libm.
5979 * math/Makefile (headers): Add bits/math-finite.h.
5980 * math/bits/math-finite.h: New file.
5981 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5982 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5983 * math/e_acoshl.c: Add __*_finite alias.
5984 * math/e_acosl.c: Likewise.
5985 * math/e_asinl.c: Likewise.
5986 * math/e_atan2l.c: Likewise.
5987 * math/e_atanhl.c: Likewise.
5988 * math/e_coshl.c: Likewise.
5989 * math/e_exp10.c: Likewise.
5990 * math/e_exp10f.c: Likewise.
5991 * math/e_exp10l.c: Likewise.
5992 * math/e_exp2l.c: Likewise.
5993 * math/e_fmodl.c: Likewise.
5994 * math/e_gammal_r.c: Likewise.
5995 * math/e_hypotl.c: Likewise.
5996 * math/e_j0l.c: Likewise.
5997 * math/e_j1l.c: Likewise.
5998 * math/e_jnl.c: Likewise.
5999 * math/e_lgammal_r.c: Likewise.
6000 * math/e_log10l.c: Likewise.
6001 * math/e_log2l.c: Likewise.
6002 * math/e_logl.c: Likewise.
6003 * math/e_powl.c: Likewise.
6004 * math/e_sinhl.c: Likewise.
6005 * math/e_sqrtl.c: Likewise.
6006 * math/e_scalb.c: Completely rewritten and optimized.
6007 * math/e_scalbf.c: Likewise.
6008 * math/e_scalbl.c: Likewise.
6009 * math/w_acos.c: Likewise.
6010 * math/w_acosf.c: Likewise.
6011 * math/w_acosl.c: Likewise.
6012 * math/w_acosh.c: Likewise.
6013 * math/w_acoshf.c: Likewise.
6014 * math/w_acoshl.c: Likewise.
6015 * math/w_asin.c: Likewise.
6016 * math/w_asinf.c: Likewise.
6017 * math/w_asinl.c: Likewise.
6018 * math/w_atan2.c: Likewise.
6019 * math/w_atan2f.c: Likewise.
6020 * math/w_atan2l.c: Likewise.
6021 * math/w_atanh.c: Likewise.
6022 * math/w_atanhf.c: Likewise.
6023 * math/w_atanhl.c: Likewise.
6024 * math/w_exp10.c: Likewise.
6025 * math/w_exp10f.c: Likewise.
6026 * math/w_exp10l.c: Likewise.
6027 * math/w_fmod.c: Likewise.
6028 * math/w_fmodf.c: Likewise.
6029 * math/w_fmodl.c: Likewise.
6030 * math/w_j0.c: Likewise.
6031 * math/w_j0f.c: Likewise.
6032 * math/w_j0l.c: Likewise.
6033 * math/w_j1.c: Likewise.
6034 * math/w_j1f.c: Likewise.
6035 * math/w_j1l.c: Likewise.
6036 * math/w_jn.c: Likewise.
6037 * math/w_jnf.c: Likewise.
6038 * math/w_log.c: Likewise.
6039 * math/w_logf.c: Likewise.
6040 * math/w_logl.c: Likewise.
6041 * math/w_log10.c: Likewise.
6042 * math/w_log10f.c: Likewise.
6043 * math/w_log10l.c: Likewise.
6044 * math/w_log2.c: Likewise.
6045 * math/w_log2f.c: Likewise.
6046 * math/w_log2l.c: Likewise.
6047 * math/w_pow.c: Likewise.
6048 * math/w_powf.c: Likewise.
6049 * math/w_powl.c: Likewise.
6050 * math/w_remainder.c: Likewise.
6051 * math/w_remainderf.c: Likewise.
6052 * math/w_remainderl.c: Likewise.
6053 * math/w_scalb.c: Likewise.
6054 * math/w_scalbf.c: Likewise.
6055 * math/w_scalbl.c: Likewise.
6056 * math/w_sqrt.c: Likewise.
6057 * math/w_sqrtf.c: Likewise.
6058 * math/w_sqrtl.c: Likewise.
6059 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6060 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6061 used.
6062 * math/math_private.h: Declare __kernel_standard_f.
6063 * math/w_cosh.c: Remove cruft and optimize a bit.
6064 * math/w_coshf.c: Likewise.
6065 * math/w_coshl.c: Likewise.
6066 * math/w_exp2.c: Likewise.
6067 * math/w_exp2f.c: Likewise.
6068 * math/w_exp2l.c: Likewise.
6069 * math/w_hypot.c: Likewise.
6070 * math/w_hypotf.c: Likewise.
6071 * math/w_hypotl.c: Likewise.
6072 * math/w_lgamma.c: Likewise.
6073 * math/w_lgamma_r.c: Likewise.
6074 * math/w_lgammaf.c: Likewise.
6075 * math/w_lgammaf_r.c: Likewise.
6076 * math/w_lgammal.c: Likewise.
6077 * math/w_lgammal_r.c: Likewise.
6078 * math/w_sinh.c: Likewise.
6079 * math/w_sinhf.c: Likewise.
6080 * math/w_sinhl.c: Likewise.
6081 * math/w_tgamma.c: Likewise.
6082 * math/w_tgammaf.c: Likewise.
6083 * math/w_tgammal.c: Likewise.
6084 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6085 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6086 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6087 Minor optimizations. Pretty printing. Remove cruft.
6088 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6089 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6090 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6091 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6092 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6093 * sysdeps/i386/fpu/e_asin.S: Likewise.
6094 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6095 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6096 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6097 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6098 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6099 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6100 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6101 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6102 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6103 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6104 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6105 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6106 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6107 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6108 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6109 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6110 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6111 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6112 * sysdeps/i386/fpu/e_log.S: Likewise.
6113 * sysdeps/i386/fpu/e_log10.S: Likewise.
6114 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6115 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6116 * sysdeps/i386/fpu/e_log2.S: Likewise.
6117 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6118 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6119 * sysdeps/i386/fpu/e_logf.S: Likewise.
6120 * sysdeps/i386/fpu/e_logl.S: Likewise.
6121 * sysdeps/i386/fpu/e_pow.S: Likewise.
6122 * sysdeps/i386/fpu/e_powf.S: Likewise.
6123 * sysdeps/i386/fpu/e_powl.S: Likewise.
6124 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6125 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6126 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6127 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6128 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6129 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6130 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6131 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6132 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6133 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6134 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6135 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6136 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6137 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6138 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6139 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6140 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6141 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6142 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6143 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6144 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6145 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6146 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6147 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6148 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6149 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6150 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6151 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6152 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6153 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6154 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6155 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6156 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6157 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6158 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6159 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6160 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6161 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6162 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6163 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6164 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6165 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6166 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6167 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6168 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6169 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6170 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6171 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6172 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6173 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6174 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6175 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6176 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6177 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6178 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6179 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6180 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6181 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6182 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6183 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6184 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6185 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6186 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6187 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6188 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6189 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6190 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6191 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6192 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6193 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6194 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6195 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6196 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6197 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6198 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6199 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6200 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6201 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6202 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6203 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6204 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6205 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6206 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6207 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6208 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6209 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6210 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6211 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6212 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6213 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6214 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6215 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6216 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6217 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6218 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6219 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6220 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6221 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6222 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6223 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6224 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6225 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6226 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6227 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6228 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6229 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6230 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6231 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6232 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6233 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6234 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6235 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6236 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6237 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6238 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6239 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6240 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6241 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6242 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6243 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6244 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6245 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6246 (__isnanf): Likewise.
6247 (__isinf_ns): Likewise.
6248 (__isinf_nsf): Likewise.
6249 (__finite): Likewise.
6250 (__finitef): Likewise.
6251 (__ieee754_sqrt): Define as macro.
6252 (__ieee754_sqrtf): Define as macro.
6253 (__ieee754_sqrtl): Define as macro.
6254 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6255 inlined copy.
6256 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6257 __FINITE_MATH_ONLY__ consistent.
6258 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6259
12cc2fcd
AS
62602011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6261
a843a204
AS
6262 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6263 of rawmemchr.
6264
12cc2fcd
AS
6265 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6266
c853acd5
UD
62672011-10-09 Ulrich Drepper <drepper@gmail.com>
6268
6269 * po/ja.po: Update from translation team.
6270
c658d255
RM
62712011-10-08 Roland McGrath <roland@hack.frob.com>
6272
110946e4
RM
6273 * locale/programs/locarchive.c (prepare_address_space): New function.
6274 (create_archive, enlarge_archive, open_archive): Use it.
6275
50604220
RM
6276 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6277 inside [SHARED], where it is used.
6278
c658d255
RM
6279 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6280
6281 * nss/getent.c (netgroup_keys): Remove unused variable.
6282 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6283
6a621eb7
UD
62842011-10-08 Ulrich Drepper <drepper@gmail.com>
6285
7edb55ce
UD
6286 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6287 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6288 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6289 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6290 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6291 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6292 * math/Makefile (libm-calls): Add s_isinf_ns.
6293 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6294 * math/multc3.c: Likewise.
6295 * math/s_casin.c: Likewise.
6296 * math/s_casinf.c: Likewise.
6297 * math/s_casinl.c: Likewise.
6298 * math/s_ccos.c: Likewise.
6299 * math/s_ccosf.c: Likewise.
6300 * math/s_ccosl.c: Likewise.
6301 * math/s_ctan.c: Likewise.
6302 * math/s_ctanf.c: Likewise.
6303 * math/s_ctanh.c: Likewise.
6304 * math/s_ctanhf.c: Likewise.
6305 * math/s_ctanhl.c: Likewise.
6306 * math/s_ctanl.c: Likewise.
6307 * math/w_fmod.c: Likewise.
6308 * math/w_fmodf.c: Likewise.
6309 * math/w_fmodl.c: Likewise.
6310 * math/w_remainder.c: Likewise.
6311 * math/w_remainderf.c: Likewise.
6312 * math/w_remainderl.c: Likewise.
6313 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6314 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6315 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6316 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6317 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6318 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6319 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6320 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6321
187da0ae
UD
6322 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6323 of the number.
6324 * stdio-common/printf_fphex.c: Likewise.
6325 * stdio-common/printf_size.c: Likewise.
6326
9277c064
UD
6327 * math/e_exp10.c: Include math_private.h using <...> not "...".
6328 * math/e_exp10f.c: Likewise.
6329 * math/e_exp10l.c: Likewise.
6330 * math/e_exp2l.c: Likewise.
6331 * math/e_j0l.c: Likewise.
6332 * math/e_j1l.c: Likewise.
6333 * math/e_jnl.c: Likewise.
6334 * math/e_lgammal_r.c: Likewise.
6335 * math/e_rem_pio2l.c: Likewise.
6336 * math/e_scalb.c: Likewise.
6337 * math/e_scalbf.c: Likewise.
6338 * math/e_scalbl.c: Likewise.
6339 * math/k_cosl.c: Likewise.
6340 * math/k_sinl.c: Likewise.
6341 * math/k_tanl.c: Likewise.
6342 * math/s_cacoshf.c: Likewise.
6343 * math/s_catan.c: Likewise.
6344 * math/s_catanf.c: Likewise.
6345 * math/s_catanh.c: Likewise.
6346 * math/s_catanhf.c: Likewise.
6347 * math/s_catanhl.c: Likewise.
6348 * math/s_catanl.c: Likewise.
6349 * math/s_ccosh.c: Likewise.
6350 * math/s_ccoshf.c: Likewise.
6351 * math/s_ccoshl.c: Likewise.
6352 * math/s_cexp.c: Likewise.
6353 * math/s_cexpf.c: Likewise.
6354 * math/s_cexpl.c: Likewise.
6355 * math/s_clog.c: Likewise.
6356 * math/s_clog10.c: Likewise.
6357 * math/s_clog10f.c: Likewise.
6358 * math/s_clog10l.c: Likewise.
6359 * math/s_clogf.c: Likewise.
6360 * math/s_clogl.c: Likewise.
6361 * math/s_csin.c: Likewise.
6362 * math/s_csinf.c: Likewise.
6363 * math/s_csinh.c: Likewise.
6364 * math/s_csinhf.c: Likewise.
6365 * math/s_csinhl.c: Likewise.
6366 * math/s_csinl.c: Likewise.
6367 * math/s_csqrt.c: Likewise.
6368 * math/s_csqrtf.c: Likewise.
6369 * math/s_csqrtl.c: Likewise.
6370 * math/s_ctan.c: Likewise.
6371 * math/s_ctanf.c: Likewise.
6372 * math/s_ctanh.c: Likewise.
6373 * math/s_ctanhf.c: Likewise.
6374 * math/s_ctanhl.c: Likewise.
6375 * math/s_ctanl.c: Likewise.
6376 * math/s_ldexp.c: Likewise.
6377 * math/s_ldexpf.c: Likewise.
6378 * math/s_ldexpl.c: Likewise.
6379 * math/s_significand.c: Likewise.
6380 * math/s_significandf.c: Likewise.
6381 * math/s_significandl.c: Likewise.
6382 * math/w_acos.c: Likewise.
6383 * math/w_acosf.c: Likewise.
6384 * math/w_acosh.c: Likewise.
6385 * math/w_acoshf.c: Likewise.
6386 * math/w_acoshl.c: Likewise.
6387 * math/w_acosl.c: Likewise.
6388 * math/w_asin.c: Likewise.
6389 * math/w_asinf.c: Likewise.
6390 * math/w_asinl.c: Likewise.
6391 * math/w_atan2.c: Likewise.
6392 * math/w_atan2f.c: Likewise.
6393 * math/w_atan2l.c: Likewise.
6394 * math/w_atanh.c: Likewise.
6395 * math/w_atanhf.c: Likewise.
6396 * math/w_atanhl.c: Likewise.
6397 * math/w_cosh.c: Likewise.
6398 * math/w_coshf.c: Likewise.
6399 * math/w_coshl.c: Likewise.
6400 * math/w_dremf.c: Likewise.
6401 * math/w_exp10.c: Likewise.
6402 * math/w_exp10f.c: Likewise.
6403 * math/w_exp10l.c: Likewise.
6404 * math/w_exp2.c: Likewise.
6405 * math/w_exp2f.c: Likewise.
6406 * math/w_fmod.c: Likewise.
6407 * math/w_fmodf.c: Likewise.
6408 * math/w_fmodl.c: Likewise.
6409 * math/w_hypot.c: Likewise.
6410 * math/w_hypotf.c: Likewise.
6411 * math/w_hypotl.c: Likewise.
6412 * math/w_j0.c: Likewise.
6413 * math/w_j0f.c: Likewise.
6414 * math/w_j0l.c: Likewise.
6415 * math/w_j1.c: Likewise.
6416 * math/w_j1f.c: Likewise.
6417 * math/w_j1l.c: Likewise.
6418 * math/w_jn.c: Likewise.
6419 * math/w_jnf.c: Likewise.
6420 * math/w_jnl.c: Likewise.
6421 * math/w_lgamma.c: Likewise.
6422 * math/w_lgamma_r.c: Likewise.
6423 * math/w_lgammaf.c: Likewise.
6424 * math/w_lgammaf_r.c: Likewise.
6425 * math/w_lgammal.c: Likewise.
6426 * math/w_lgammal_r.c: Likewise.
6427 * math/w_log.c: Likewise.
6428 * math/w_log10.c: Likewise.
6429 * math/w_log10f.c: Likewise.
6430 * math/w_log10l.c: Likewise.
6431 * math/w_log2.c: Likewise.
6432 * math/w_log2f.c: Likewise.
6433 * math/w_log2l.c: Likewise.
6434 * math/w_logf.c: Likewise.
6435 * math/w_logl.c: Likewise.
6436 * math/w_pow.c: Likewise.
6437 * math/w_powf.c: Likewise.
6438 * math/w_powl.c: Likewise.
6439 * math/w_remainder.c: Likewise.
6440 * math/w_remainderf.c: Likewise.
6441 * math/w_remainderl.c: Likewise.
6442 * math/w_scalb.c: Likewise.
6443 * math/w_scalbf.c: Likewise.
6444 * math/w_scalbl.c: Likewise.
6445 * math/w_sinh.c: Likewise.
6446 * math/w_sinhf.c: Likewise.
6447 * math/w_sinhl.c: Likewise.
6448 * math/w_sqrt.c: Likewise.
6449 * math/w_sqrtf.c: Likewise.
6450 * math/w_sqrtl.c: Likewise.
6451 * math/w_tgamma.c: Likewise.
6452 * math/w_tgammaf.c: Likewise.
6453 * math/w_tgammal.c: Likewise.
6454
6a621eb7
UD
6455 * po/ja.po: Update from translation team.
6456
bf582445
AJ
64572011-09-29 Andreas Jaeger <aj@suse.de>
6458
f9efbf3a
AJ
6459 [BZ #13179]
6460 * sunrpc/netname.c (netname2host): Fix logic.
6461
bf582445
AJ
6462 [BZ #6779]
6463 [BZ #6783]
6464 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6465 correctly.
6466 * math/w_remainder.c (__remainder): Likewise.
6467 * math/w_remainderf.c (__remainderf): Likewise.
6468 * math/libm-test.inc (remainder_test): Add test cases.
6469
48693bea
AK
64702011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6471
6472 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6473 sdiv_qrnnd.
6474
42622229
LD
64752011-10-07 Ulrich Drepper <drepper@gmail.com>
6476
6477 * string/test-memcmp.c: Avoid unncessary #defines.
6478 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6479
093ecf92
LD
64802011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6481
6482 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6483 Use new sse2 version for core i3 - i7 as it's faster
6484 than sse42 version.
6485 (bit_Prefer_PMINUB_for_stringop): New.
6486 * sysdeps/x86_64/rawmemchr.S: Update.
6487 Replace with faster SSE2 version.
6488 * sysdeps/x86_64/memrchr.S: New file.
6489 * sysdeps/x86_64/memchr.S: Update.
6490 Replace with faster SSE2 version.
6491
fde56e5c
MP
64922011-09-12 Marek Polacek <mpolacek@redhat.com>
6493
6494 * elf/dl-load.c (lose): Add cast to avoid warning.
6495
21fd49a9
UD
64962011-10-07 Ulrich Drepper <drepper@gmail.com>
6497
5a06e643
UD
6498 * po/ca.po: Update from translation team.
6499
684ae515
UD
6500 * inet/getnetgrent_r.c: Hook up nscd.
6501 * nscd/Makefile (routines): Add nscd_netgroup.
6502 (nscd-modules): Add netgroupcache.
6503 (CFLAGS-netgroupcache.c): Define.
6504 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6505 (cache_search): Add const to second parameter.
6506 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6507 INNETGR.
6508 (dbs): Add netgrdb entry.
6509 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6510 (verify_persistent_db): Handle netgrdb.
6511 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6512 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6513 GETFDNETGR.
6514 (netgroup_response_header): Define.
6515 (innetgroup_response_header): Define.
6516 (datahead): Add netgroup_response_header and innetgroup_response_header
6517 elements.
6518 * nscd/nscd.conf: Add entries for netgroup cache.
6519 * nscd/nscd.h (dbtype): Add netgrdb.
6520 (_PATH_NSCD_NETGROUP_DB): Define.
6521 (netgroup_iov_disabled): Declare.
6522 (xmalloc, xcalloc, xrealloc): Move declarations here.
6523 (cache_search): Adjust prototype.
6524 Add netgroup-related prototypes.
6525 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6526 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6527 (__nscd_innetgr): Declare.
6528 * nscd/selinux.c (perms): Use access_vector_t as element type and
6529 add netgroup-related initializers.
6530 * nscd/netgroupcache.c: New file.
6531 * nscd/nscd_netgroup.c: New file.
6532 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6533 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6534 For four parameters use innetgr.
6535 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6536 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6537 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6538 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6539
21fd49a9
UD
6540 * nscd/connections.c (register_traced_file): Don't register file
6541 for disabled databases.
6542
054c0457
UD
65432011-10-06 Ulrich Drepper <drepper@gmail.com>
6544
32b63198
UD
6545 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6546
054c0457
UD
6547 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6548 from tree and freeing node.
6549
64031225
JO
65502011-09-25 Jiri Olsa <jolsa@redhat.com>
6551
6552 * nss/nsswitch.c (__nss_database_lookup): Handle
6553 nss_parse_service_list out of memory case.
6554
0490345c
JO
65552011-09-15 Jiri Olsa <jolsa@redhat.com>
6556
6557 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6558 out of memory case.
6559
3a62d00d
AS
65602011-10-04 Andreas Schwab <schwab@redhat.com>
6561
6562 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6563 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6564 pass it down.
6565 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6566 elf_machine_rela, elf_machine_lazy_rel.
6567 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6568 (ELF_DYNAMIC_DO_REL): Likewise.
6569 (ELF_DYNAMIC_DO_RELA): Likewise.
6570 (ELF_DYNAMIC_RELOCATE): Likewise.
6571 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6572 to ELF_DYNAMIC_DO_REL.
6573 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6574 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6575 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6576 elf_machine_rela.
6577 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6578 skip_ifunc, don't call ifunc function if non-zero.
6579 (elf_machine_rela): Likewise.
6580 (elf_machine_lazy_rel): Likewise.
6581 (elf_machine_lazy_rela): Likewise.
6582 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6583 (elf_machine_lazy_rel): Likewise.
6584 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6585 Likewise.
6586 (elf_machine_lazy_rel): Likewise.
6587 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6588 Likewise.
6589 (elf_machine_lazy_rel): Likewise.
6590 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6591 (elf_machine_lazy_rel): Likewise.
6592 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6593 (elf_machine_lazy_rel): Likewise.
6594 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6595 (elf_machine_lazy_rel): Likewise.
6596 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6597 (elf_machine_lazy_rel): Likewise.
6598 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6599 (elf_machine_lazy_rel): Likewise.
6600 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6601 (elf_machine_lazy_rel): Likewise.
6602
68577918
UD
66032011-09-28 Ulrich Drepper <drepper@gmail.com>
6604
6605 * nss/nss_files/files-init.c (_nss_files_init): Use static
6606 initialization for all the *_traced_file variables.
6607
68822d74
AS
66082011-09-28 Andreas Schwab <schwab@redhat.com>
6609
6610 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6611
2056100b
RM
66122011-09-27 Roland McGrath <roland@hack.frob.com>
6613
6614 [BZ #13226]
6615 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6616
32c76b63
AS
66172011-09-27 Andreas Schwab <schwab@redhat.com>
6618
6619 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6620 Reread the line before reparsing it.
6621
bf972c9d
AS
66222011-09-26 Andreas Schwab <schwab@redhat.com>
6623
6624 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6625
e057a1b5
JM
66262011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6627 Maxim Kuvyrkov <maxim@codesourcery.com>
6628 Joseph Myers <joseph@codesourcery.com>
6629
6630 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6631 if needed for __stack_chk_guard.
6632
bc7e1c36
RM
66332011-09-19 Roland McGrath <roland@hack.frob.com>
6634
ecb1482f
RM
6635 * sysdeps/posix/spawni.c (script_execute): Always define it.
6636 It will be optimized away if unused.
6637 (maybe_script_execute): New function.
6638 (__spawni): Call it.
6639
bc7e1c36
RM
6640 * Makerules: Don't include tls.make.
6641 (config-tls): Always set to thread.
6642 * tls.make.c: File removed.
6643
1c3b002b
MF
66442011-09-19 Mike Frysinger <vapier@gentoo.org>
6645
6646 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6647 * config.make.in (CPPFLAGS-config): New substituted variable.
6648
2840865d
UD
66492011-09-15 Ulrich Drepper <drepper@gmail.com>
6650
88738eb6
UD
6651 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6652
cbf645a6 6653 [BZ #13192]
2840865d
UD
6654 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6655 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6656
b402e91a
RM
66572011-09-15 Roland McGrath <roland@hack.frob.com>
6658
6659 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6660 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6661 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6662 (CALL_FAIL): Likewise.
6663 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6664 (CALL_FAIL): Macro removed.
6665 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6666
4c1a1f71
UD
66672011-09-15 Ulrich Drepper <drepper@gmail.com>
6668
6669 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6670 for __FINITE_MATH_ONLY__ == 1.
6671
edc121be
AS
66722011-09-15 Andreas Schwab <schwab@redhat.com>
6673
6674 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6675 __ieee754_sqrt instead of sqrt.
6676 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6677 __ieee754_sqrtf instead of sqrtf.
6678 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6679 __floorf instead of floorf.
6680 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6681 __floorf, __truncf instead of floorf, truncf.
6682
cd205654
UD
66832011-09-14 Ulrich Drepper <drepper@gmail.com>
6684
ee4d0315
UD
6685 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6686
cd205654
UD
6687 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6688 __extern_always_inline.
6689 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6690 32-bit.
6691
48b67d71
AS
66922011-09-14 Andreas Schwab <schwab@redhat.com>
6693
6694 * elf/rtld.c (dl_main): Also relocate in dependency order when
6695 doing symbol dependency testing.
6696
1ae12c75
AS
66972011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6698
6699 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6700 Always define `refsym'.
6701
995a80df
AS
67022011-09-13 Andreas Schwab <schwab@redhat.com>
6703
e529793b
AS
6704 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6705 (__FD_ELT): Renamed from __FDELT.
6706 * misc/bits/select2.h (__FD_ELT): Likewise.
6707 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6708 __FD_MASK instead of __FDELT, __FDMASK.
6709 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6710 Likewise.
6711 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6712 Likewise.
6713
52d4fef8
AS
6714 * elf/Makefile (gen-ldd): Fix pattern.
6715
995a80df
AS
6716 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6717 (init_tls): Likewise.
6718
8682f8b0
UD
67192011-09-12 Ulrich Drepper <drepper@gmail.com>
6720
6721 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6722
de82006d
AS
67232011-09-12 Andreas Schwab <schwab@redhat.com>
6724
a7c8e6a1
AS
6725 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6726 `struct cmsghdr *' instead of `void *'.
6727 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6728 Likewise.
6729
0f31fe77
AS
67302011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6731
6732 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6733 if non-absolute.
6734 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6735 ldd_rewrite_script.
0f31fe77 6736
32b4c839
UD
67372011-09-11 Ulrich Drepper <drepper@gmail.com>
6738
83cd1420
UD
6739 * configure.in: Remove --with-tls option.
6740 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6741 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6742 out in case it is missing.
6743 * sysdeps/ia64/elf/configure.in: Likewise.
6744 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6745 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6746 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6747 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6748 * sysdeps/sh/elf/configure.in: Likewise.
6749 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6750 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6751 * sysdeps/x86_64/elf/configure.in: Likewise.
6752 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6753 * sysdeps/mach/hurd/tls.h: Likewise.
6754
633f745d
UD
6755 [BZ #13067]
6756 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6757
f318beb8
UD
6758 [BZ #13090]
6759 * configure.in: Fix use of AC_INIT.
6760
32b4c839
UD
6761 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6762
3ce1f295
UD
67632011-09-10 Ulrich Drepper <drepper@gmail.com>
6764
bb016596
UD
6765 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6766 __set_errno.
8e58439c
UD
6767 * malloc/hooks.c: Likewise.
6768
aebae053 6769 [BZ #11929]
02d46fc4
UD
6770 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6771 variables statically.
6772 (narenas): Initialize.
6773 (list_lock): Initialize.
bb016596
UD
6774 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6775 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
6776 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6777 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6778 Add initializers to main_arena and mp_.
6779 (malloc_state): Remove pagesize member. Change all users to use
6780 GLRO(dl_pagesize).
6781
6782 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6783 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6784 is always initialized.
6785
22a89187
UD
6786 * malloc/malloc.c: Removed unused configurations and dead code.
6787 * malloc/arena.c: Likewise.
6788 * malloc/hooks.c: Likewise.
02d46fc4 6789 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 6790
d063d164
UD
6791 * include/tls.h: Removed. USE___THREAD must always be defined.
6792 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6793 * elf/dl-libc.c: Likewise.
6794 * elf/dl-tsd.c: Likewise.
6795 * include/errno.h: Likewise.
6796 * include/netdb.h: Likewise.
6797 * include/resolv.h: Likewise.
6798 * inet/herrno-loc.c: Likewise.
6799 * inet/herrno.c: Likewise.
6800 * malloc/arena.c: Likewise.
6801 * malloc/hooks.c: Likewise.
6802 * malloc/malloc.c: Likewise.
6803 * resolv/res-state.c: Likewise.
6804 * resolv/res_libc.c: Likewise.
6805 * sysdeps/i386/dl-machine.h: Likewise.
6806 * sysdeps/ia64/dl-machine.h: Likewise.
6807 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6808 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6809 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6810 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6811 * sysdeps/sh/dl-machine.h: Likewise.
6812 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6813 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6814 * sysdeps/unix/i386/sysdep.S: Likewise.
6815 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6816 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6817 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6818 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6819 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6820 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6821 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6822 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6823 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6824 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6825 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6826 * sysdeps/x86_64/dl-machine.h: Likewise.
6827 * tls.make.c: Likewise.
6828
3ce1f295
UD
6829 * configure.in: Remove --with-__thread option. Make tests for
6830 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6831 tls_model attribute fail if no support is available. Remove
6832 USE_IN_LIBIO.
6833 * Makeconfig: Adjust for dropped configure option. All features are
6834 now mandatory.
6835 * Makerules: Likewise.
6836 * Versions.def: Likewise.
6837 * argp/argp-fmtstream.c: Likewise.
6838 * argp/argp-fmtstream.h: Likewise.
6839 * argp/argp-help.c: Likewise.
6840 * assert/assert.c: Likewise.
6841 * config.h.in: Likewise.
6842 * config.make.in: Likewise.
6843 * configure: Likewise.
6844 * configure.in: Likewise.
6845 * csu/Versions: Likewise.
6846 * csu/init.c: Likewise.
6847 * elf/tst-audit2.c: Likewise.
6848 * elf/tst-tls10.c: Likewise.
6849 * elf/tst-tls10.h: Likewise.
6850 * elf/tst-tls11.c: Likewise.
6851 * elf/tst-tls12.c: Likewise.
6852 * elf/tst-tls14.c: Likewise.
6853 * elf/tst-tlsmod11.c: Likewise.
6854 * elf/tst-tlsmod12.c: Likewise.
6855 * elf/tst-tlsmod13.c: Likewise.
6856 * elf/tst-tlsmod13a.c: Likewise.
6857 * elf/tst-tlsmod14a.c: Likewise.
6858 * elf/tst-tlsmod15b.c: Likewise.
6859 * elf/tst-tlsmod16a.c: Likewise.
6860 * elf/tst-tlsmod16b.c: Likewise.
6861 * elf/tst-tlsmod7.c: Likewise.
6862 * elf/tst-tlsmod8.c: Likewise.
6863 * elf/tst-tlsmod9.c: Likewise.
6864 * gmon/gmon.c: Likewise.
6865 * grp/fgetgrent_r.c: Likewise.
6866 * grp/putgrent.c: Likewise.
6867 * hurd/fopenport.c: Likewise.
6868 * include/libc-symbols.h: Likewise.
6869 * include/tls.h: Likewise.
6870 * intl/gettextP.h: Likewise.
6871 * intl/loadinfo.h: Likewise.
6872 * locale/global-locale.c: Likewise.
6873 * locale/localeinfo.h: Likewise.
6874 * mach/devstream.c: Likewise.
6875 * malloc/arena.c: Likewise.
6876 * malloc/set-freeres.c: Likewise.
6877 * misc/err.c: Likewise.
6878 * misc/getttyent.c: Likewise.
6879 * misc/mntent_r.c: Likewise.
6880 * posix/getopt.c: Likewise.
6881 * posix/wordexp.c: Likewise.
6882 * pwd/fgetpwent_r.c: Likewise.
6883 * resolv/Versions: Likewise.
6884 * resolv/res_hconf.c: Likewise.
6885 * shadow/fgetspent_r.c: Likewise.
6886 * shadow/putspent.c: Likewise.
6887 * stdio-common/printf_fphex.c: Likewise.
6888 * stdio-common/tmpfile.c: Likewise.
6889 * stdlib/abort.c: Likewise.
6890 * stdlib/fmtmsg.c: Likewise.
6891 * sunrpc/auth_unix.c: Likewise.
6892 * sunrpc/clnt_perr.c: Likewise.
6893 * sunrpc/clnt_tcp.c: Likewise.
6894 * sunrpc/clnt_udp.c: Likewise.
6895 * sunrpc/clnt_unix.c: Likewise.
6896 * sunrpc/openchild.c: Likewise.
6897 * sunrpc/svc_simple.c: Likewise.
6898 * sunrpc/svc_tcp.c: Likewise.
6899 * sunrpc/svc_udp.c: Likewise.
6900 * sunrpc/svc_unix.c: Likewise.
6901 * sunrpc/xdr.c: Likewise.
6902 * sunrpc/xdr_array.c: Likewise.
6903 * sunrpc/xdr_rec.c: Likewise.
6904 * sunrpc/xdr_ref.c: Likewise.
6905 * sunrpc/xdr_stdio.c: Likewise.
6906
1248c1c4
PB
69072011-09-09 Ulrich Drepper <drepper@gmail.com>
6908
6909 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6910
69112011-07-03 Andreas Jaeger <aj@suse.de>
6912
6913 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6914 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6915 regenerate with gen-libm-tests.pl.
6916
69172010-05-12 Petr Baudis <pasky@suse.cz>
6918
6919 [BZ #11589]
6920 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6921 around j0() zero points by switching to j1().
6922 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6923 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6924 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6925 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6926
f22e1074
UD
69272011-09-09 Ulrich Drepper <drepper@gmail.com>
6928
f19009c1
UD
6929 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6930 instead of 0.
6931 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6932 instead of 0. .
6933 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6934 Patch in part by Pavel Roskin <proski@gnu.org>.
6935
3f8cc204
UD
6936 [BZ #13138]
6937 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6938 realloc.
6939 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6940 Free memory block if necessary.
6941
f22e1074
UD
6942 [BZ #12847]
6943 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6944 be NULL. Don't lock in this case.
6945
0a2349f9
RM
69462011-09-09 Roland McGrath <roland@hack.frob.com>
6947
6948 * elf/elf.h (ELFOSABI_GNU): New macro.
6949 (ELFOSABI_LINUX): Define to that.
6950
f3cdd467
DZ
69512011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6952
6953 * string/strncat.c (strncat): Undef the symbol in case it has been
6954 defined in bits/string.h.
6955
74718d13
UD
69562011-09-09 Ulrich Drepper <drepper@gmail.com>
6957
633e9e0f
UD
6958 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6959
0a2349f9 6960 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
6961 link map.
6962
f9924780
AJ
69632011-08-17 Andreas Jaeger <aj@suse.de>
6964
6965 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6966
7f5517aa
PP
69672011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6968 Ian Lance Taylor <iant@google.com>
6969
6970 * math/libm-test.inc (lround_test): New testcase.
6971 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6972
762011fe
UD
69732011-09-08 Ulrich Drepper <drepper@gmail.com>
6974
92963737
UD
6975 * Makefile: Remove support for automatic cvs check-ins.
6976 * Makerules: Likewise.
6977 * config.make.in: Likewise.
6978 * configure.in: Likewise.
6979 * intl/Makefile: Likewise.
6980 * locale/Makefile: Likewise.
6981 * po/Makefile: Likewise.
6982 * posix/Makefile: Likewise.
6983 * sysdeps/gnu/Makefile: Likewise.
6984 * sysdeps/mach/hurd/Makefile: Likewise.
6985 * sysdeps/sparc/sparc32/Makefile: Likewise.
6986
b0727fd8
JS
6987 [BZ #13118]
6988 * posix/Makefile (bug-regex32-ENV): Define.
6989 Patch by John Stanley <jpsinthemix@verizon.net>.
6990
a0f33f99
UD
6991 * misc/Makefile (headers): Add bits/select2.h.
6992 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6993 * misc/bits/select2.h: New file.
6994 * include/bits/select2.h: New file.
6995 * debug/Makefile (routines): Add fdelt_chk.
6996 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6997 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6998 FD_ISSET.
6999 * debug/fdelt_chk.c: New file.
7000
762011fe
UD
7001 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7002 * wcsmbs/test-wmemcmp.c: Likewise.
7003 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 7004 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
7005
70062011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7007
7008 * string/Makefile (strop-tests): Add memcmp.
7009 * string/test-wmemcmp.c: New file.
7010 * string/test-memcmp.c: Add wmemcmp support.
7011
7f513ec8
RM
70122011-09-08 Roland McGrath <roland@hack.frob.com>
7013
0442afb4
RM
7014 [BZ #13153]
7015 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7016 2011-07-19 change.
7017
7f513ec8
RM
7018 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7019 garbage value in a __mach_port_mod_refs call in the cases of the
7020 task-self and thread-self ports.
7021
a12b2239
ST
70222011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7023
7024 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7025
610f9ab4
AS
70262011-09-08 Andreas Schwab <schwab@redhat.com>
7027
7f513ec8 7028 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 7029
48882a1a
LD
70302011-09-07 Ulrich Drepper <drepper@gmail.com>
7031
b49865be
UD
7032 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7033
fdc86bc9
UD
7034 * elf/dl-libc.c (dlerror_run): Pass back error code from
7035 dl_catch_error.
7036
c966526a
UD
7037 [BZ #13123]
7038 * elf/dl-load.c (lose): Free l_origin if it is valid.
7039
48882a1a
LD
7040 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7041 names.
7042 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7043 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7044 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7045 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7046 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7047 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7048
77a2a8b4
AZ
70492011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7050
7051 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7052 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7053 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7054 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7055 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7056 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7057 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7058 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7059 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7060 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7061
24f579d8
AM
70622011-08-15 Alan Modra <amodra@gmail.com>
7063
7064 [BZ #13092]
7065 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7066 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7067 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7068 ppc_mcount to static-only-routines.
7069 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7070 __mcount_internal.
7071 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7072 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7073
3d4837df
UD
70742011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7075
7076 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7077 for finite and infinity parameters.
7078
22700377
WS
70792011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7080
7081 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7082 and add nop instructions for throughput optimization.
7083 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7084
5025581e
WS
70852011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7086
7087 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7088 aligned copy for power7 with vector-scalar instructions.
7089 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7090
08a300c9
L
70912011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7092
7093 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7094 AVX check.
7095
59178ef9
AS
70962011-09-07 Andreas Schwab <schwab@redhat.com>
7097
7098 [BZ #13144]
7099 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7100 last change.
7101
e38ba7ab
UD
71022011-09-07 Ulrich Drepper <drepper@gmail.com>
7103
7104 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7105 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7106 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7107 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7108 clock_gettime.
7109
d53a73ac
UD
71102011-09-06 Ulrich Drepper <drepper@gmail.com>
7111
fc8bffcc
UD
7112 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7113 Forgot to demangle the pointer.
7114
ceaa0c5d
UD
7115 * sysdeps/i386/sysdep.h: Define atom_text_section.
7116 * sysdeps/x86_64/sysdep.h: Likewise.
7117 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7118 section with atom_text_section.
7119 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7120 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7121 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7122 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7123 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7124
a77d3c17
UD
7125 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7126 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7127 already be defined. Change to take two parameters and don't assign
7128 result to variable. Adjust all users.
7129 Define INTERNAL_GETTIME if not already defined.
7130 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7131 call.
7132 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7133 HAVE_CLOCK_GETTIME_VSYSCALL.
7134 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7135
d53a73ac
UD
7136 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7137 gettimeofday vsyscall, just use time.
7138
a8f84144
AS
71392011-09-06 Andreas Schwab <schwab@redhat.com>
7140
7141 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7142 <errno.h>.
7143
ef606249
UD
71442011-09-06 Ulrich Drepper <drepper@gmail.com>
7145
7146 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7147 syscall on x86-64.
7148 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7149 syscall.
7150 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7151 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7152 syscall if possible.
7153
6585cb60
UD
71542011-09-05 Ulrich Drepper <drepper@gmail.com>
7155
7156 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7157 e_ident. Don't pass to find_mapsXX.
7158 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7159
a5f524e4
LD
71602011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7161
7162 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7163 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7164 * sysdeps/x86_64/multiarch/strchr.S: Update.
7165 Check bit_slow_BSF bit.
7166 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7167 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7168 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7169
554881ef
UD
71702011-09-05 Ulrich Drepper <drepper@gmail.com>
7171
d96de963
UD
7172 [BZ #13134]
7173 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7174 before glibc 2.15.
7175 (tryshell): Define.
7176 (__spawni): Change last parameter to be flag. Test
7177 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7178 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7179 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7180 * posix/spawni.c: Likewise.
7181 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7182 * posix/spawnp.c: Likewise. Change normal version to use
7183 SPAWN_XFLAGS_USE_PATH.
7184 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7185 SPAWN_XFLAGS_TRY_SHELL.
7186
d48e5868
UD
7187 [BZ #13150]
7188 * posix/glob.h: Remove gcc 1.x support.
7189
554881ef
UD
7190 [BZ #13068]
7191 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7192
693fb948
LD
71932011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7194
7195 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7196 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7197 strrchr-sse2-bsf
7198 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7199 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7200 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7201 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7202 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7203 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7204
1b48c537
UD
72052011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7206
49d42c37
UD
7207 * sysdeps/x86_64/wcscmp.S: New file.
7208
1b48c537
UD
7209 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7210 wcscmp-c wcscmp-sse2
7211 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7212 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7213 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7214 * wcsmbs/wcscmp.c: Allow renaming.
7215
15c95c5d
DM
72162011-09-05 David S. Miller <davem@davemloft.net>
7217
7218 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7219 stack slot, rather than the struct return pointer slot.
7220 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7221 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7223 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7224
2f0ad8f3
UD
72252011-09-05 Ulrich Drepper <drepper@gmail.com>
7226
d88ae418
UD
7227 * po/ja.po: Update from translation team.
7228
2f0ad8f3
UD
7229 [BZ #13144]
7230 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7231 kernel in 64-bit binaries.
7232
5f4318d1
DM
72332011-09-01 David S. Miller <davem@davemloft.net>
7234
7235 * elf/elf.h (HWCAP_SPARC_*): Move to..
7236 * sysdeps/sparc/sysdep.h: this new file and add new values.
7237 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7238 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7239 _DL_HWCAP_COUNT to 24.
7240 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7241 entries.
7242 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7243 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7244 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7245 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7246 instead of magic constants.
7247 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7248
3ba57516
DM
72492011-08-31 David S. Miller <davem@davemloft.net>
7250
7251 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7252 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7253 Reimplement to do errno handling inline.
7254 (SYSCALL_ERROR_HANDLER): New macro.
7255 (__SYSCALL_STRING): Do not do errno handling in asm.
7256 (__CLONE_SYSCALL_STRING): Delete.
7257 (__INTERNAL_SYSCALL_STRING): Delete.
7258 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7259 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7260 (PSEUDO): Reimplement to do errno handling inline.
7261 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7262 (SYSCALL_ERROR_HANDLER): New macro.
7263 (__SYSCALL_STRING): Do not do errno handling in asm.
7264 (__CLONE_SYSCALL_STRING): Delete.
7265 (__INTERNAL_SYSCALL_STRING): Delete.
7266 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7267 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7268 i386.
7269 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7270 (inline_syscall*): Add 'err' argument.
7271 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7272 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7273 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7274 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7275
7276 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7277 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7278
2bc17433
AS
72792011-08-30 Andreas Schwab <schwab@redhat.com>
7280
7281 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7282
fbeb5f4d
JO
72832011-08-29 Jiri Olsa <jolsa@redhat.com>
7284
7285 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7286 directive.
7287
ad69cc26
DM
72882011-08-24 David S. Miller <davem@davemloft.net>
7289
7290 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7291
39dd69df
AS
72922011-08-24 Andreas Schwab <schwab@redhat.com>
7293
7294 * elf/Makefile: Add rules to build and run unload8 test.
7295 * elf/unload8.c: New file.
7296 * elf/unload8mod1.c: New file.
7297 * elf/unload8mod1x.c: New file.
7298 * elf/unload8mod2.c: New file.
7299 * elf/unload8mod3.c: New file.
7300
7301 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7302 it wasn't used.
7303
2c0b250a
DM
73042011-08-23 David S. Miller <davem@davemloft.net>
7305
7306 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7307 subtract stack bias.
7308 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7309 %sp not %fp in calculations.
7310 (_JMPBUF_UNWINDS_ADJ): Likewise.
7311
22044b48
DM
7312 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7313 (aio_suspend): Call it to force an exception region around the
7314 AIO_MISC_WAIT() invocation.
7315
2cae4995
AS
73162011-08-23 Andreas Schwab <schwab@redhat.com>
7317
7318 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7319 backslash.
7320
873a772e
AJ
73212011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7322
7323 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7324 protection macro.
7325 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7326 and <dl-machine.h>.
7327 (Elf64_FuncDesc): Remove.
7328
25ad0df1
DM
73292011-08-22 David S. Miller <davem@davemloft.net>
7330
7331 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7332 sigaltstack check, add missing cfi directives.
7333 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7334 missing cfi directives, and sigaltstack handling.
7335
e888bcbe
AS
73362011-08-16 Andreas Schwab <schwab@redhat.com>
7337
7338 [BZ #11724]
7339 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7340 object is seen twice.
7341 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7342
7343 * elf/Makefile (distribute): Add tst-initorder2.c.
7344 (tests): Add tst-initorder2.
7345 (modules-names): Add tst-initorder2a tst-initorder2b
7346 tst-initorder2c tst-initorder2d. Add rules to build them.
7347 ($(objpfx)tst-initorder2.out): New rule.
7348 * elf/tst-initorder2.c: New file.
7349 * elf/tst-initorder2.exp: New file.
7350
87162f46
AS
73512011-08-22 Andreas Schwab <schwab@redhat.com>
7352
70538b7f
AS
7353 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7354
f55ffe58
AS
7355 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7356 dependencies back to end of function.
7357
87162f46
AS
7358 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7359 $(elfobjdir)/ld.so.
7360
91b392a4
UD
73612011-08-21 Ulrich Drepper <drepper@gmail.com>
7362
7363 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7364 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7365 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7366 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7367 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7368 of __vdso_gettimeofday.
7369 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7370 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7371 attribute_hidden.
7372 (_libc_vdso_platform_setup): Remove initialization of
7373 __vdso_gettimeofday and __vdso_time.
7374
5c43483f
UD
73752011-08-20 Ulrich Drepper <drepper@gmail.com>
7376
775a77e7
UD
7377 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7378 and fgetc_unlocked.
7379 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7380 getc_unlocked.
89f447ed 7381
49c74ba9
UD
7382 * elf/dl-open.c (add_to_global): Report additions to the global scope
7383 for LD_DEBUG=scopes.
7384 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 7385 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 7386
5c43483f
UD
7387 [BZ #13114]
7388 * stdio-common/Makefile (tests): Add bug24.
7389 * stdio-common/bug24.c: New file.
7390
a101b025
AJ
73912011-08-19 Andreas Jaeger <aj@suse.de>
7392
7393 [BZ #13114]
7394 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7395 non-existant file when using close-on-exec mode.
7396
c88f1766
UD
73972011-08-20 Ulrich Drepper <drepper@gmail.com>
7398
0276a718
UD
7399 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7400 the very first instruction.
7401
c88f1766
UD
7402 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7403 the CFI state in the end.
7404 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7405 inclusion of dl-trampoline.h.
7406 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7407
51ccffa0
AS
74082011-08-19 Andreas Schwab <schwab@redhat.com>
7409
94d7165f
AS
7410 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7411 expectations for long double.
7412
51ccffa0
AS
7413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7414 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7415
fd708658 74162011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
7417
7418 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7419 artificual limit depends upon the system page size.
7420
44f0a71e
UD
74212011-08-17 Ulrich Drepper <drepper@gmail.com>
7422
7423 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7424 * resolv/Makefile: Define CFLAGS-libresolv.
7425
8de79a24
AS
74262011-08-17 Andreas Schwab <schwab@redhat.com>
7427
7428 * nss/makedb.c (compute_tables): Make variables used in nested
7429 function static.
7430
27724598
UD
74312011-08-17 Ulrich Drepper <drepper@gmail.com>
7432
c5305d88
UD
7433 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7434 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7435 if buffer was too small.
7436
27724598
UD
7437 * elf/pldd.c (main): Attach to all threads in the process.
7438 Rewrite /proc handling to use *at functions.
7439
076fe015
UD
74402011-08-16 Ulrich Drepper <drepper@gmail.com>
7441
174baab3
UD
7442 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7443 specifies first scope to show.
7444 (dl_open_worker): Update callers. Move printing scope of new
7445 object to before the relocation.
44f0a71e 7446 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7447 * sysdeps/generic/ldsodefs.h: Update declaration.
7448
076fe015
UD
7449 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7450 string for the scope number.
7451
a60df2c3
UD
74522011-08-14 Ulrich Drepper <drepper@gmail.com>
7453
7454 * nscd/servicescache.c (cache_addserv): Make sure written is always
7455 initialized.
7456
5e4287d1
RM
74572011-08-14 Roland McGrath <roland@hack.frob.com>
7458
85ae0589
RM
7459 * sysdeps/i386/i486/bits/atomic.h
7460 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7461 statement expression, so as to suppress "set but not used" warning.
7462 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7463
69f63097
RM
7464 * string/strncat.c (STRNCAT): Use prototype definition.
7465
675456ef
RM
7466 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7467 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7468 -Iprograms here.
7469 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7470 (localedef-modules): Add localedef.
7471 (locale-modules): Add locale.
7472
5e4287d1
RM
7473 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7474 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7475 to avoid a warning.
7476
9c96ff23
DM
74772011-08-14 David S. Miller <davem@davemloft.net>
7478
7479 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7480 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7481
f9ddf089
UD
74822011-08-13 Ulrich Drepper <drepper@gmail.com>
7483
44f0a71e 7484 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
7485 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7486 * elf/rtld.c (dl_main): Set l_name of vDSO.
7487 Call _dl_show_scope when DL_DEBUG_SCOPES.
7488 (process_dl_debug): Recognize scopes flag and also set it for all.
7489 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7490 Declare _dl_show_scope.
7491
1dc27704
UD
7492 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7493 (do_dlopen): Pass caller_dlopen to dl_open.
7494 (__libc_dlopen_mode): Initialize caller_dlopen.
7495
f9ddf089
UD
7496 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7497 of libc. Make tolower call locale-independent. Optimize a bit by
7498 using isdigit instead of isalnum.
7499 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7500
9ac533d3
UD
75012011-08-12 Ulrich Drepper <drepper@gmail.com>
7502
7503 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7504 was a dependency or dynamically loaded.
7505
89edf2e9
UD
75062011-08-11 Ulrich Drepper <drepper@gmail.com>
7507
8e999d29
UD
7508 * intl/l10nflist.c: Allow architecture-specific pop function.
7509 * sysdeps/x86_64/l10nflist.c: New file.
7510
89edf2e9
UD
7511 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7512 classification.
7513
14d96785
AS
75142011-08-10 Andreas Schwab <schwab@redhat.com>
7515
7516 * include/dirent.h: Add libc_hidden_proto for scandirat and
7517 scandirat64. Don't declare __scandirat64.
7518 * dirent/scandirat.c: Add libc_hidden_def.
7519 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7520 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7521
6761ac04
DM
75222011-08-10 David S. Miller <davem@davemloft.net>
7523
7524 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7525 enum.
7526 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7527 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7528 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7529
c55fbd1e
UD
75302011-08-09 Ulrich Drepper <drepper@gmail.com>
7531
7532 * Versions.def [libc]: Add GLIBC_2.15.
7533 * dirent/Makefile (routines): Add scandirat and scandirat64.
7534 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7535 GLIBC_2.15.
7536 * dirent/dirent.h: Declare scandirat and scandirat64.
7537 * dirent/scandirat.c: New file.
7538 * dirent/scandirat64.c: New file.
7539 * sysdeps/wordsize-64/scandirat.c: New file.
7540 * sysdeps/wordsize-64/scandirat64.c: New file.
7541 * dirent/opendir.c: Define opendirat.
7542 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7543 using scandirat.
7544 * dirent/scandir64.c: Adjust for scandir.c change.
7545 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7546 __scandirat64, and __scandir_cancel_handler.
7547 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7548 additional parameter and use openat instead of open (outside of ld.so).
7549 Add new __opendir as wrapper around __opendirat.
7550 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7551 here without requiring old scandirat implementation.
7552
879165f2
UD
75532011-08-08 Ulrich Drepper <drepper@gmail.com>
7554
7555 * dirent/scandir.c (cancel_handler): Renamed to
7556 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7557 defined. Adjust users.
7558 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7559 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7560
cb7e923b
UD
75612011-08-04 Ulrich Drepper <drepper@gmail.com>
7562
16292edd
UD
7563 * string/test-string.h (IMPL): Use __STRING to expand name and then
7564 stringify it.
7565
cb7e923b
UD
7566 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7567 of cleanups.
7568
cff82933
LD
75692011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7570
7571 * string/Makefile: Update.
7572 (strop-tests): Append strncat.
7573 * string/test-wcscmp.c: New file.
7574 New comprehensive test for wcscmp.
7575 * string/test-strcmp.c: Update.
7576 (WIDE): New define.
7577
9be9bfcc
AS
75782011-07-22 Andreas Schwab <schwab@redhat.com>
7579
7580 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7581 line.
7582
2e96f1c7
AS
75832011-07-26 Andreas Schwab <schwab@redhat.com>
7584
7585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7586 encoding to ACE if AI_IDN.
7587
85188888
JJ
75882011-08-01 Jakub Jelinek <jakub@redhat.com>
7589
7590 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7591 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7592
5fa16e9b
LD
75932011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7594
7595 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7596 Fix overflow bug in strncat.
7597 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7598
7599 * string/test-strncat.c: Update.
7600 Add new tests for checking overflow bugs.
7601
76022011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7603
7604 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7605 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7606 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7607 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7608 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7609 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7610 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7611 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7612 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7613
7614 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7615 (USE_AS_STRCAT): Define.
7616 Add strcat and strncat support.
7617 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7618
8c1a459f
AS
76192011-07-25 Andreas Schwab <schwab@redhat.com>
7620
7621 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7622 __n bigger than INT_MAX+1.
7623 (__strncmp_g): Likewise.
7624
bba33c28
UD
76252011-07-23 Ulrich Drepper <drepper@gmail.com>
7626
798be72d
UD
7627 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7628 * libio/stido.h: Likewise.
7629
8accd4dc
UD
7630 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7631 (AF_NFC): Define.
7632 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7633 (AF_NFC): Define.
7634
cbff0d96
UD
7635 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7636 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7637 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7638 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7639 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7640
9191c04a
UD
7641 [BZ #13021]
7642 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7643 installed.
7644
bba33c28
UD
7645 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7646 typo.
7647 (_dl_x86_64_save_sse): Likewise.
7648
90f139dd
UD
76492011-07-22 Ulrich Drepper <drepper@gmail.com>
7650
1aae088a
UD
7651 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7652 OSXSAVE.
7653 (_dl_x86_64_save_sse): Likewise.
7654
8e2045f5
UD
7655 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7656
90f139dd
UD
7657 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7658
1d002f25
AS
76592011-07-21 Andreas Schwab <schwab@redhat.com>
7660
7661 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7662 change.
7663 (_dl_x86_64_save_sse): Use correct AVX check.
7664
21137f89
UD
76652011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7666
7667 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7668 bug in strncpy/strncat.
7669 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7670
a65c0b7a
UD
76712011-07-21 Ulrich Drepper <drepper@gmail.com>
7672
7673 * string/tester.c (test_strcat): Add tests for different alignments
7674 of source and destination.
7675 (test_strncat): Likewise.
7676
6986b98a
UD
76772011-07-20 Ulrich Drepper <drepper@gmail.com>
7678
90bb2039
UD
7679 [BZ #12852]
7680 * posix/glob.c (glob): Check passed in values before using them in
7681 expressions to avoid some overflows.
7682 (glob_in_dir): Likewise.
7683
5644ef54
UD
7684 [BZ #13007]
7685 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7686 check for AVX enablement so that we don't crash with old kernels and
7687 new hardware.
7688 * elf/tst-audit4.c: Add same checks here.
7689 * elf/tst-audit6.c: Likewise.
7690
7691 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 7692
bfc9dc9b
AS
76932011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7694
7695 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7696
702e64bb
UD
76972011-07-20 Ulrich Drepper <drepper@gmail.com>
7698
7699 * po/cs.po: Update from translation team.
7700 * po/bg.po: Likewise.
7701
295e904f
MP
77022011-07-12 Marek Polacek <mpolacek@redhat.com>
7703
7704 * misc/sys/cdefs.h: Add support for const attribute.
7705 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7706 to gnu_dev_{major,minor,makedev} functions.
7707
3ff94596
MP
77082011-07-20 Marek Polacek <mpolacek@redhat.com>
7709
7710 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7711
28b59fca
AS
77122011-07-20 Andreas Schwab <schwab@redhat.com>
7713
7714 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7715 strlen results.
7716
19df733e
AK
77172011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7718
7719 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7720 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7721 register in order to avoid conflicts with the soft frame pointer
7722 being held in r11 when necessary.
7723 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7724 (INTERNAL_VSYSCALL_NCS): Likewise.
7725
c8835729
MP
77262011-07-14 Marek Polacek <mpolacek@redhat.com>
7727
7728 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7729 * elf/dl-fini.c (_dl_fini): Adjust caller.
7730 * elf/dl-close.c (_dl_close_worker): Likewise.
7731 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7732
b902330c
MP
77332011-07-15 Marek Polacek <mpolacek@redhat.com>
7734
8991e135
MP
7735 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7736 "aux_cache->nlibs < 0".
7737
b902330c
MP
7738 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7739 in the reload-count case.
7740
99710781
LD
77412011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7742
7743 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7744 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7745 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7746 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7747 * sysdeps/x86_64/multiarch/strcat.S: New file.
7748 * sysdeps/x86_64/multiarch/strncat.S: New file.
7749 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7750 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7751 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7752 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7753 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7754 (USE_AS_STRCAT): Define.
7755 Add strcat and strncat support.
7756 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7757 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7758 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7759 * string/strncat.c: Update.
7760 (USE_AS_STRNCAT): Define.
7761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7762 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7763 and i7.
7764 * sysdeps/x86_64/multiarch/init-arch.h
7765 (bit_Prefer_PMINUB_for_stringop): New.
7766 (index_Prefer_PMINUB_for_stringop): Likewise.
7767 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7768 bit_Prefer_PMINUB_for_stringop.
7769
7dc6bd90
UD
77702011-07-19 Ulrich Drepper <drepper@gmail.com>
7771
7772 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7773 buffer64.
7774 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7775 of casting of buffer.
7776 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7777 buffer32 and buffer64.
7778 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7779 writes instead of casting of buffer.
7780 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7781 buffer32.
7782 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7783 casting of buffer.
7784
e0e72284
AS
77852011-07-19 Andreas Schwab <schwab@redhat.com>
7786
7787 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7788
feb1eb0b
UD
77892011-07-19 Ulrich Drepper <drepper@gmail.com>
7790
7791 * nscd/nscd.c (termination_handler): Don't do anything for a database
7792 if it has not yet been initialized.
7793
298711ff
UD
77942011-07-18 Ulrich Drepper <drepper@gmail.com>
7795
7796 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7797
77982011-07-15 Marek Polacek <mpolacek@redhat.com>
7799
7800 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7801
f9d68389
UD
78022011-07-18 Ulrich Drepper <drepper@gmail.com>
7803
7804 * po/nl.po: Update from translation team.
7805 * po/sv.po: Likewise.
7806
db290cf5
RM
78072011-07-16 Roland McGrath <roland@hack.frob.com>
7808
7809 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7810 now disallowed by GCC.
5c550700 7811
fd5e21c7
RM
7812 * configure.in (use-default-link): Default to yes if a test -shared
7813 link meets our qualifications.
7814 * configure: Regenerated.
7815
5c550700
RM
7816 * config.make.in (output-format): New variable.
7817 * configure.in: Check for ld --print-output-format support.
7818 * configure: Regenerated.
7819 * Makerules ($(common-objpfx)format.lds)
7820 [$(output-format) != unknown]: Just use $(output-format),
7821 instead of the linker-script munging.
7822
9fa2c032
RM
78232011-07-14 Roland McGrath <roland@hack.frob.com>
7824
a6928d51
RM
7825 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7826 of $(common-objpfx)shlib.lds.
7827 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7828
661607b3
RM
7829 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7830 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7831
9fa2c032
RM
7832 * configure.in (-z relro check): Adjust test code to add a large
7833 writable data section after it.
7834 * configure: Regenerated.
7835
defe9061
RM
78362011-07-11 Roland McGrath <roland@hack.frob.com>
7837
7838 * configure.in (-z relro check): Fix test code to make the variable
7839 truly const.
7840 * configure: Regenerated.
7841
319b9ad4
UD
78422011-07-11 Ulrich Drepper <drepper@gmail.com>
7843
7844 * nscd/nscd.h (struct traced_file): Define.
7845 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7846 elements. Add traced_files.
7847 (inotify_fd): Declare.
7848 (register_traced_file): Declare.
7849 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7850 (inotify_fd): Export.
7851 (resolv_conf_descr): Remove.
7852 (nscd_init): Move inotify descriptor creation to main.
7853 Don't register files for notification here.
7854 (register_traced_file): New function.
7855 (invalidate_cache): Don't use reset_res to determine whether to call
7856 res_init, go through the list of registered files.
7857 (main_loop_poll): The inotify descriptors are now stored in the
7858 structures for the traced files.
7859 (main_loop_epoll): Likewise
7860 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7861 to __nss_disable_nscd.
7862 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7863 for a database anymore. Check the records for all the registered
7864 files instead.
7865 * nss/Makefile (libnss_files-routines): Add files-init.
7866 (libnss_db-routines): Add db-init.
7867 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7868 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7869 * nss/nss_db/db-init.c: New file.
7870 * nss/nss_files/files-init.c: New file.
7871 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7872 __nss_lookup_function.
7873 (__nss_lookup_function): Call nss_load_library.
7874 (nss_load_all_libraries): New function.
7875 (__nss_disable_nscd): Take parameter with callback function for files
7876 to register. Set is_nscd. Load all the DSOs for the NSS modules
7877 used for the cached services.
7878 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7879 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7880 options for features to all the files in nscd.
7881
7882 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7883
23bee3e8
RM
78842011-07-10 Roland McGrath <roland@hack.frob.com>
7885
7886 * csu/elf-init.c (__libc_csu_init): Comment typo.
7887
46a5b7f0
UD
78882011-07-09 Ulrich Drepper <drepper@gmail.com>
7889
7890 * po/pl.po: Update from translation team.
7891 * po/ja.po: Likewise.
7892 * po/ru.po: Likewise.
7893 * po/ko.po: Likewise.
7894 * po/fr.po: Likewise.
7895
d30cf5bb
RM
78962011-07-09 Roland McGrath <roland@hack.frob.com>
7897
113ddea4
RM
7898 * configure.in (.ctors/.dtors header and trailer check):
7899 Use an empirical test on a built program.
7900 * configure: Regenerated.
7901
574920b4
RM
7902 * configure.in (-z relro check): Use an empirical test on a built DSO.
7903 Detect, but do not require, on ia64.
7904 * configure: Regenerated.
7905
d30cf5bb
RM
7906 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7907 Update tests that use readelf to use $READELF instead.
7908 * configure: Regenerated.
7909
8538fdb3
UD
79102011-07-08 Ulrich Drepper <drepper@gmail.com>
7911
7912 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7913 if the result is not used.
7914
04d08991
AJ
79152011-07-05 Andreas Jaeger <aj@suse.de>
7916
7917 [BZ#9696]
7918 * stdlib/tst-strtod.c: Add testcase.
7919
de283087
AD
79202011-07-07 Ulrich Drepper <drepper@gmail.com>
7921
4e5f31c8 7922 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 7923 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
7924 The latter has a higher limit. Take additional parameter to pass to
7925 the new function.
7926 (__pathconf): Pass file to __statfs_link_max.
7927 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7928 __statfs_link_max.
7929 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7930 __statfs_link_max.
7931
de283087
AD
7932 [BZ #12868]
7933 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7934 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7935 Handle Lustre.
7936 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7937 (__statfs_filesize_max): Likewise.
7938 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7939
c75fa153
AJ
79402011-07-05 Andreas Jaeger <aj@suse.de>
7941
7942 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7943
1a544854
UD
79442011-07-06 Marek Polacek <mpolacek@redhat.com>
7945
7946 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7947 `status' variable.
7948 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7949 Likewise.
7950
6f0eec67
UD
79512011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7952
7953 * Makefile (strop-tests): Add strncat.
7954 * string/test-strncat.c: New file.
7955
aae30307
UD
79562011-06-30 Marek Polacek <mpolacek@redhat.com>
7957
7958 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7959
c0cfb5eb
UD
79602011-06-21 Andreas Jaeger <aj@suse.de>
7961
7962 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7963 Copy rule from iconvdata/Makefile.
7964
01636b21
UD
79652011-07-06 Ulrich Drepper <drepper@gmail.com>
7966
7967 [BZ #12922]
7968 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7969 but no long options are defined, just return 'W'.
7970
9895c8bc
UD
79712011-06-22 Marek Polacek <mpolacek@redhat.com>
7972
7973 [BZ #9696]
7974 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7975
5d4cf042
UD
79762011-07-06 Ulrich Drepper <drepper@gmail.com>
7977
7978 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7979 netgroups to read.
960e5535 7980 (innetgr): Likewise.
5d4cf042 7981
751eb97e
RM
79822011-07-05 Roland McGrath <roland@hack.frob.com>
7983
7984 * config.make.in (install_root): Default to $(DESTDIR).
7985
f15f1e45
UD
79862011-07-05 Ulrich Drepper <drepper@gmail.com>
7987
7988 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7989
4e34ac6a
RM
79902011-07-02 Roland McGrath <roland@hack.frob.com>
7991
5e9b6af4
RM
7992 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7993
84f9ea0f
RM
7994 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7995 containing directory rather than embedding absolute directory names.
7996
ea5ee9f7
RM
7997 * scripts/check-local-headers.sh: Rewritten using awk.
7998 Match by word, not by line. Print error messages for matches.
7999 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8000
1b74661a
RM
8001 * Makerules [shlib-lds-flags empty]:
8002 ($(common-objpfx)libc_pic.opts): New target.
8003 ($(common-objpfx)libc_pic.os.clean): New target.
8004 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8005
8006 * config.make.in (OBJCOPY): New variable.
8007 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8008 * configure: Regenerated.
8009
f781ef40
RM
8010 * config.make.in (use-default-link): New variable.
8011 * configure.in (use_default_link): Grok --with-default-link to set it.
8012 * configure: Regenerated.
8013 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8014 (shlib-lds, shlib-lds-flags): Define to empty.
8015
2d4fa81e
RM
8016 * Makerules (shlib-lds): New variable.
8017 (shlib-lds-flags): New variable.
8018 (build-shlib, build-moduile, build-module-asneeded): Use it.
8019 ($(common-objpfx)libc.so): Use $(shlib-lds).
8020 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8021 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8022
31fffa6b
RM
8023 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8024 DT_FLAGS/DT_FLAGS_1 with zero flags.
8025
4e34ac6a
RM
8026 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8027 linker script munging.
8028
fcfc776b
UD
80292011-07-02 Ulrich Drepper <drepper@gmail.com>
8030
8031 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8032 as 128-bit value.
8033 * crypt/sha512.c (sha512_process_block): Perform total addition using
8034 128-bit if possible.
8035 (__sha512_finish_ctx): Likewise.
8036 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8037 as 64-bit value.
8038 * crypt/sha256.c (SWAP64): Define.
8039 (sha256_process_block): Perform total addition using 64-bit if
8040 possible.
8041 (__sha256_finish_ctx): Likewise.
8042
99231d9a
UD
80432011-07-01 Ulrich Drepper <drepper@gmail.com>
8044
8045 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8046 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8047 * nscd/hstcache.c (cache_addhst): Likewise.
8048 * nscd/grpcache.c (cache_addgr): Likewise.
8049 * nscd/aicache.c (addhstaiX): Likewise
8050 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8051
445b4a53
TK
80522011-07-01 Thorsten Kukuk <kukuk@suse.de>
8053
8054 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8055 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8056 * nscd/hstcache.c (cache_addhst): Likewise.
8057 * nscd/grpcache.c (cache_addgr): Likewise.
8058 * nscd/aicache.c (addhstaiX): Likewise
8059
6d4d8e8e
AS
80602011-07-01 Andreas Schwab <schwab@redhat.com>
8061
8062 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8063 domain only when needed.
8064
89f654c5
AS
80652011-06-30 Andreas Schwab <schwab@redhat.com>
8066
8067 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8068 is always restored.
8069
cf3b23ff
UD
80702011-06-29 Ulrich Drepper <drepper@gmail.com>
8071
8072 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8073 are re-adding the entry.
8074 * nscd/servicescache.c (cache_addserv): Likewise.
8075
751626f9
AJ
80762011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8077
8078 * sysdeps/generic/dl-irel.h: fix protection against multiple
8079 inclusions.
8080 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8081
9113ea1f
UD
80822011-06-28 Ulrich Drepper <drepper@gmail.com>
8083
5c0b8d90
UD
8084 [BZ #12935]
8085 * malloc/memusage.sh: Fix quoting in message.
8086 * debug/xtrace.sh: Likewise.
8087
9113ea1f
UD
8088 * configure.in: Remove support for --experimental-malloc option, make
8089 it the default.
8090 * config.make.in: Likewise.
8091 * malloc/Makefile: Likewise.
8092
a4172181
AS
80932011-06-27 Andreas Schwab <schwab@redhat.com>
8094
8095 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8096 two-byte characters.
8097
78a7eee7
RM
80982011-06-27 Roland McGrath <roland@hack.frob.com>
8099
62bede13
RM
8100 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8101 AC_CACHE_CHECK invocation.
8102 * configure: Regenerated.
8103
78a7eee7
RM
8104 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8105
5ce33a62
UD
81062011-06-27 Ulrich Drepper <drepper@gmail.com>
8107
034807a9
UD
8108 [BZ #12350]
8109 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8110 bit from old_res_options.
8111
4902da17
UD
8112 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8113
5ce33a62
UD
8114 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8115 value type for setfct.
8116
c2344f56
L
81172011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8118
8119 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8120 __gettimeofday instead of gettimeofday.
8121
68468076
UD
81222011-06-26 Ulrich Drepper <drepper@gmail.com>
8123
8124 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8125
acb0d739
L
81262011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8127
8128 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8129
8130 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8131 info.
8132
8912479f
L
81332011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8134
8135 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8136 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8137 strcpy-sse2-unaligned strncpy-sse2-unaligned
8138 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8139 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8140 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8141 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8142 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8143 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8144 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8145 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8146 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8147 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8148 (STRCPY): Support SSE2 and SSSE3 versions.
8149
d5495a11
UD
81502011-06-24 Ulrich Drepper <drepper@gmail.com>
8151
8152 [BZ #12874]
8153 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8154 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8155 kernels which artificially limit size of requests.
8156
0b1cbaae
L
81572011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8158
8159 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8160 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8161 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8162 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8163 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8164 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8165 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8166 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8167 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8168 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8169 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8170 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8171 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8172 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8173 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8175 Enable unaligned load optimization for Intel Core i3, i5 and i7
8176 processors.
8177 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8178 Define.
8179 (index_Fast_Unaligned_Load): Define.
8180 (HAS_FAST_UNALIGNED_LOAD): Define.
8181
07f494a0
MP
81822011-06-23 Marek Polacek <mpolacek@redhat.com>
8183
8184 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8185
fa3fc0fe
UD
81862011-06-22 Ulrich Drepper <drepper@gmail.com>
8187
8188 [BZ #12907]
8189 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8190 until it is clear that the information is realy needed.
8191 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8192
e12df166
AS
81932011-06-22 Andreas Schwab <schwab@redhat.com>
8194
8195 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8196
852eb34d
UD
81972011-06-22 Ulrich Drepper <drepper@gmail.com>
8198
84e2a551
UD
8199 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8200 /sys/devices/system/cpu/online if it is usable.
8201
852eb34d
UD
8202 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8203 reading the information from the /proc filesystem to once a second.
8204
6e502e19
UD
82052011-06-21 Andreas Jaeger <aj@suse.de>
8206
8207 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8208 NULL after inclusion of kernel headers.
8209
75d39ff2
UD
82102011-06-21 Ulrich Drepper <drepper@gmail.com>
8211
51f9aa6a
UD
8212 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8213 calls to internal_setent.
8214
c0244a9d
UD
8215 [BZ #12885]
8216 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8217 addresses using gethostbyname4_r ignore IPv4 addresses.
8218
c5e3c2ae
UD
8219 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8220 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8221
75d39ff2
UD
8222 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8223
42675c6f
DM
82242011-06-20 David S. Miller <davem@davemloft.net>
8225
8226 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8227 inclusions.
8228 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8229
8230 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8231 (elf_irel): Use it.
8232 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8233 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8234 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8235 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8236 * sysdeps/x86_64/dl-irel.h: Likewise.
8237
8238 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8239 * elf/dl-sym.c: Likewise.
8240
57912a71
UD
82412011-06-15 Ulrich Drepper <drepper@gmail.com>
8242
8243 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8244 need to dereference resplen2.
8245
ee22793d
AS
82462011-06-14 Andreas Schwab <schwab@redhat.com>
8247
8248 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8249
a9e836b0
UD
82502011-06-15 Ulrich Drepper <drepper@gmail.com>
8251
77fb9117
UD
8252 * Makeconfig: Define vardbdir and inst_vardbdir.
8253 * nss/Makefile: Add rules to install db-Makefile.
8254
40c1b22c
UD
8255 * nss/nss_db/db-XXX.c: Cleanup.
8256
9f2da732
UD
8257 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8258 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8259 GLIBC_PRIVATE.
8260 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8261 * nss/makedb.c: Implement -g option to specify that value strings
8262 are generated and should not be added to table iterated over for
8263 get*ent calls.
8264 * nss/nss_db/db-initgroups.c: New file.
8265
82e9a1f7
UD
8266 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8267 interface.
8268
c41af17e
UD
8269 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8270 (internal_getgrouplist): Adjust to name change.
8271 Update use_initgroups_entry if this is not the first call.
8272 * nss/databases.def: Add initgroups entry.
8273
a9e836b0
UD
8274 * nss/makedb.c (compute_tables): Check result of multiple hash table
8275 sizes to minimize maximum chain length.
8276
2666d441
UD
82772011-06-14 Ulrich Drepper <drepper@gmail.com>
8278
8279 * Versions.def: Add entry for libnss_db.
8280 * shlib-versions: Likewise.
8281 * nss/Makefile: Add rules to build libnss_db.
8282 * nss/Versions: Add libnss_db information. Organize libnss_files
8283 entries better.
8284 * nss/db-Makefile: Add gshadow support. Change rules for the new
8285 makedb progra. Some minor improvements to generate smaller files.
8286 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8287 here from...
8288 * nss/makedb.c: ...here.
8289 Improve database format to be smaller and require less memory at
8290 runtime.
8291 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8292 db anymore.
8293 * nss/nss_db/db-netgrp.c: Likewise.
8294 * nss/nss_db/db-open.c: Likewise.
8295 * nss/nss_files/flies-XXX.x: Adjust comments.
8296 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8297 * nss/nss_files/files-grp.c: Likewise.
8298 * nss/nss_files/files-hosts.c: Likewise.
8299 * nss/nss_files/files-network.c: Likewise.
8300 * nss/nss_files/files-proto.c: Likewise.
8301 * nss/nss_files/files-pwd.c: Likewise.
8302 * nss/nss_files/files-rpc.c: Likewise.
8303 * nss/nss_files/files-service.c: Likewise.
8304 * nss/nss_files/files-sgrp.c: Likewise.
8305 * nss/nss_files/files-spwd.c: Likewise.
8306 * nss/nss_db/db-alias.c: Removed.
8307 * nss/nss_db/dummy-db.h: Removed.
8308
9ee76b5a
UD
83092011-06-02 Ulrich Drepper <drepper@gmail.com>
8310
8311 * nss/makedb.c: Rewritten to not use database library.
8312 * nss/Makefile: Update to build new makedb program.
8313
c71ca1f8
AJ
83142011-06-14 Andreas Jaeger <aj@suse.de>
8315
8316 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8317 memset declaration.
8318
3154bfb8
UD
83192011-06-10 Andreas Schwab <schwab@redhat.com>
8320
8321 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8322 tmpbuf.
8323
b350afab
RM
83242011-06-10 Roland McGrath <roland@hack.frob.com>
8325
decd4e50
RM
8326 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8327 * elf/Makefile ($(objpfx)ld.so): Likewise.
8328
5615eaf2
RM
8329 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8330 Don't list ld.so twice in dependencies.
8331
8332 * posix/bug-regex31.c: Include <stdlib.h>.
8333
8334 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8335
8336 * nis/nss_compat/compat-spwd.c
8337 (getspent_next_nss_netgr): Remove unused variable.
8338 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8339
8340 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8341 nonmembers" output to use the right array.
8342
8343 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8344
8345 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8346
8347 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8348 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8349 * catgets/gencat.c (read_input_file): Likewise.
8350 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8351
8352 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8353 variable definition inside #if's controlling its use.
8354
8355 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8356
8357 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8358
8359 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8360
8361 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8362 unreachable code.
8363
8364 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8365
b68e08db
RM
8366 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8367 * configure: Regenerated.
8368
b350afab
RM
8369 * Makerules: Revert last change.
8370 * elf/Makefile: Likewise.
8371
28368601
RM
83722011-06-09 Roland McGrath <roland@hack.frob.com>
8373
8374 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8375 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8376 (reloc-link): Likewise.
8377
11988f8f
UD
83782011-06-09 Ulrich Drepper <drepper@gmail.com>
8379
8380 * elf/Makefile: Add rules to build pldd.
8381 * elf/pldd.c: New file.
8382 * elf/pldd-xx.c: New file.
8383
e80fab37
UD
83842011-06-07 Ulrich Drepper <drepper@gmail.com>
8385
8386 * version.h: Update for 2.15 development version.
8387
9b849836
DM
83882011-06-07 David S. Miller <davem@davemloft.net>
8389
8390 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8391 ifuncs.
8392 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8393 elf_machine_lazy_rel): Likewise.
8394 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8395 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8396 elf_machine_lazy_rel): Likewise.
8397 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8398 dl_hwcap via passed in argument.
8399 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8400 Likewise.
8401
5a31b283
AK
84022011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8403
8404 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8405
069e52f8
RM
84062011-06-06 Roland McGrath <roland@hack.frob.com>
8407
8408 [BZ #12849]
8409 * manual/fdl-1.1.texi: New file, verbatim from:
8410 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8411 * manual/lgpl-2.1.texi: New file, verbatim from:
8412 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8413 * manual/Makefile (licenses): New variable, list those new file names.
8414 (texis): Use it.
8415 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8416
8417 * manual/fdl.texi: File removed.
8418 * manual/lesser.texi: File removed.
8419 * manual/libc.texinfo (Copying, Documentation License):
8420 Use new @include file names, put @appendix directive before @include.
8421
f16846a5
JJ
84222011-06-04 Jakub Jelinek <jakub@redhat.com>
8423
8424 [BZ #12841]
8425 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8426 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8427 (mq_open): Add __NTH.
8428
3d29045b
L
84292011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8430
8431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8432 Assume Intel Core i3/i5/i7 processor if AVX is available.
8433
8c297311
UD
84342011-05-31 Ulrich Drepper <drepper@gmail.com>
8435
8436 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8437 typo.
8438
c8fc0c91
UD
84392011-05-31 Andreas Schwab <schwab@redhat.com>
8440
8441 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8442 memory. Use alloca_account. Fix memory leak when retrying.
8443
5b27a807
UD
84442011-05-31 Ulrich Drepper <drepper@gmail.com>
8445
356f8bc6
UD
8446 * version.h (RELEASE): Bump for 2.14 release.
8447 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8448
5b27a807
UD
8449 * config.make.in (RANLIB): Remove entry.
8450
01f16ab0
UD
84512011-05-30 Ulrich Drepper <drepper@gmail.com>
8452
41fce8bd
UD
8453 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8454 (libc.pot): Work around missing support for .ksh extension in xgettext.
8455
4769ae77
UD
8456 [BZ #12684]
8457 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8458 if both request failed.
8459 (send_dg): In case of server errors clear resplen or *resplen2.
8460
6b1e7d19
UD
8461 [BZ #12454]
8462 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8463 when there are multiple maps.
8464 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8465 (_dl_fini): Remove test here.
8466
01f16ab0
UD
8467 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8468
b1ebd700
UD
84692011-05-29 Ulrich Drepper <drepper@gmail.com>
8470
7ae22829
UD
8471 [BZ #12350]
8472 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8473 bit from old_res_options.
8474 (gaih_inet): Likewise.
8475
553149f6 8476 [BZ #11099]
18a84741 8477 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8478 as signed.
8479
652ffab1
UD
8480 * resolv/res_init.c (res_setoptions): Make the code more compact.
8481
16985fd0
UD
8482 [BZ #11558]
8483 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8484 set RES_USEVC.
8485
0464f746
UD
8486 [BZ #11634]
8487 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8488
7d17596c
UD
8489 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8490
cf6bbbd7
UD
8491 [BZ #11781]
8492 * malloc/malloc.h: Declare malloc hook variables as volatile.
8493
13f1ab36
UD
8494 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8495 in last patch.
8496
b1ebd700
UD
8497 [BZ #11799]
8498 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 8499 raise in the comment.
80e2212d
UD
8500 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8501 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8502 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 8503
ce67228d
UD
85042011-05-28 Ulrich Drepper <drepper@gmail.com>
8505
8887a920
UD
8506 [BZ #12811]
8507 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8508 grow the buffers more if it already has to be sufficient.
8509 (build_wcs_upper_buffer): Likewise.
8510 * posix/regexec.c (check_matching): Likewise.
8511 (clean_state_log_if_needed): Likewise.
8512 (extend_buffers): Don't enlarge buffers beyond size of the input
8513 buffer.
8514 Patches mostly by Emil Wojak <emil@wojak.eu>.
8515 * posix/bug-regex32.c: New file.
8516 * posix/Makefile (tests): Add bug-regex32.
8517
4f031072
UD
8518 * locale/findlocale.c (_nl_find_locale): Return right away if
8519 _nl_explode_name failed.
8520 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8521
d0478f0c
UD
8522 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8523
de81b246
UD
8524 * debug/xtrace.sh: Unify messages.
8525 * malloc/memusage.sh: Likewise.
8526
c738465a
UD
8527 [BZ #12813]
8528 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8529 time symbol from vDSO. Substitute with vsyscall if not available.
8530 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8531 __vdso_time.
8532
f1f929d7
UD
8533 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8534 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8535 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8536 Add sendmmsg and internal_sendmmsg.
8537 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8538 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8539 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8540
ce67228d
UD
8541 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8542 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8543 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8544
e57420c6
UD
85452011-05-27 Ulrich Drepper <drepper@gmail.com>
8546
a8509ca5
UD
8547 [BZ #12813]
8548 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8549 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8550 available.
8551 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8552 __vdso_getcpu.
8553
e57420c6
UD
8554 [BZ #12814]
8555 * iconvdata/Makefile (tests): Add bug-iconv9.
8556 * iconvdata/bug-iconv9.c: New file.
8557
4d07db15
AS
85582011-05-27 Andreas Schwab <schwab@redhat.com>
8559
8560 [BZ #12814]
8561 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8562
ea486f69
JJ
85632011-05-25 Jakub Jelinek <jakub@redhat.com>
8564
8565 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8566 (struct user_regs_struct): Change intcs field back to cs.
8567
6f038433
UD
85682011-05-25 Ulrich Drepper <drepper@gmail.com>
8569
8570 * po/ja.po: Update from translation team.
8571
67f86a25
UD
85722011-05-23 Ulrich Drepper <drepper@gmail.com>
8573
8574 [BZ #12795]
8575 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8576 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8577
def7fbd6
AS
85782011-05-20 Andreas Schwab <schwab@redhat.com>
8579
8580 * stdlib/longlong.h: Update from GCC.
8581
f50ef8f1
AS
85822011-05-23 Andreas Schwab <schwab@redhat.com>
8583
8584 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8585 parameter name.
8586 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8587 Add parameter name.
8588 (__sysconf): Pass it down.
8589
de7ce8f1
UD
85902011-05-22 Ulrich Drepper <drepper@gmail.com>
8591
f2962a71
UD
8592 [BZ #12671]
8593 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8594 some situations.
8595 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8596 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8597 add in in __libc_use_alloca calls. Adjust callers.
8598 (glob): Use malloc in some situations.
8599
de7ce8f1
UD
8600 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8601 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8602 pltexit.
8603
aec84f53
UD
86042011-05-21 Ulrich Drepper <drepper@gmail.com>
8605
05bb4a68
UD
8606 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8607 and CLOCK_BOOTTIME_ALARM.
8608
7ea72f99
UD
8609 [BZ #12782]
8610 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8611 is returned.
8612
7e4afad5
UD
8613 * string/_strerror.c (__strerror_r): Print negative errors as signed
8614 numbers.
8615
8e211fec
UD
8616 [BZ #12777]
8617 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8618 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8619 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8620
f7d82dc9
UD
8621 * configure.in: Fix typo in redirection and correct removal of test
8622 files in two cases.
8623
cc9e536d
UD
8624 [BZ #12788]
8625 * locale/setlocale.c (new_composite_name): Fix test to check for
8626 identical name of all categories.
8627
aec84f53
UD
8628 [BZ #12792]
8629 * libio/filedoalloc.c (local_isatty): New function.
8630 (_IO_file_doallocate): Use local_isatty.
8631 * stdio-common/perror.c (perror): In case a new stream is used
8632 forward the stream error.
8633 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8634 error flag.
8635
78e64fdc
RT
86362011-05-20 Ulrich Drepper <drepper@gmail.com>
8637
34a9094f
UD
8638 [BZ #11869]
8639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8640 alloca.
8641 * include/alloca.h (extend_alloca_account): Define.
8642
78e64fdc
RT
8643 [BZ #11857]
8644 * posix/regex.h: Fix comments with documentation of user-accessible
8645 fields after compilation and describe correct free'ing of pattern
8646 after re_compile_pattern.
8647 Patch by Reuben Thomas <rrt@sc3d.org>.
8648
457bddfc
RA
86492011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8650
8651 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8652 and -mno-altivec to prevent the compiler from using Altivec and/or
8653 VSX instructions when the corresponding registers are not available.
8654
a4527b51
AS
86552011-05-19 Andreas Schwab <schwab@redhat.com>
8656
8657 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8658
ed690b2f
UD
86592011-05-19 Ulrich Drepper <drepper@gmail.com>
8660
8661 * libio/freopen.c (freopen): Use __dup2, not dup2.
8662 * libio/freopen64.c (freopen64): Likewise.
8663
8db73634
L
86642011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8665
8666 [BZ #12775]
8667 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8668 * math/Makefile (tests): Add test-powl.
8669 (CFLAGS-test-powl.c): Define.
8670 * math/test-powl.c: New file.
8671
0a197a9d
L
86722011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8673
8674 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8675
ee30c380
UD
86762011-05-17 Ulrich Drepper <drepper@gmail.com>
8677
8678 [BZ #11837]
8679 * iconvdata/gb18030.c: Update to GB18020-2005.
8680
6ce75379
UD
86812011-05-16 Ulrich Drepper <drepper@gmail.com>
8682
a4b89fd8
AR
8683 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8684 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8685 Patch by Aharon Robbins <arnold@skeeve.com>.
8686
ea389b12
UD
8687 [BZ #11892]
8688 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8689 on the stack.
8690
68a3f91f
UD
8691 [BZ #11895]
8692 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8693 through underflows.
8694
15cc7dd1
UD
8695 [BZ #12766]
8696 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8697 point to strings before performing equality test for error_one_per_line
8698 mode.
8699
f3799213
UD
8700 [BZ #11697]
8701 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8702
d79a9c94
UD
8703 [BZ #11820]
8704 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8705 (struct user_fpregs_struct): Avoid __uint*_t types.
8706
56e5eb46
UD
8707 [BZ #6420]
8708 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8709 symbol info. Use it instead of calling _dl_addr locally.
8710 (lock_and_info): New function.
8711 (tr_freehook): Call lock_and_info and pass symbol info as additional
8712 parameter to tr_where.
8713 (tr_mallochook): Likewise.
8714 (tr_reallochook): Likewise.
8715 (tr_memalignhook): Likewise.
8716
6ce75379
UD
8717 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8718 used and couldn't be at all thread-safe.
8719
f8a3b5bf
UD
87202011-05-15 Ulrich Drepper <drepper@gmail.com>
8721
94b7cc37
UD
8722 * libio/freopen.c (freopen): Don't close old file descriptor
8723 before the new one is opened. Instead dup the new file descriptor
8724 to the old one after the new stream is created.
8725 * libio/freopen64.c (freopen64): Likewise.
8726 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8727 * libio/fileops.c (_IO_new_file_close_it): Handle new
8728 _IO_FLAGS2_NOCLOSE flag.
8729 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8730 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8731 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8732 _IO_FLAGS2_NOCLOSE flag.
8733 * include/unistd.h: Add hidden_proto for dup3.
8734 Define __have_dup3.
8735 * io/dup3.c: Define hidden symbol.
8736 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8737
bd25564e
UD
8738 [BZ #7101]
8739 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8740 when an incomplete long option is used.
8741 * posix/tst-getopt_long1.c: New file.
8742 * posix/Makefile (tests): Add tst-getopt_long1.
8743
c84cfef4
UD
8744 [BZ #10138]
8745 * scripts/config.guess: Update from autoconf-2.68.
8746 * scripts/config.sub: Likewise.
8747
3b85df27
UD
8748 [BZ #10157]
8749 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8750 tests into ...
8751 (has_cpuclock): ...this. New function.
8752 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8753 macro here based on has_cpuclock code.
8754
15a856b1
UD
8755 [BZ #10149]
8756 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8757 First byte (not low byte) is now always NUL.
8758 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8759
05f399e6
UD
8760 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8761 Use non-cancelable interfaces.
8762
10a52685 8763 [BZ #9809]
94ecc67d
UD
8764 * locale/iso-639.def: Add entry for Sorani.
8765
f8a3b5bf
UD
8766 [BZ #11901]
8767 * include/stdlib.h: Move include protection to the right place.
8768 Define abort_msg_s. Declare __abort_msg with it.
8769 * stdlib/abort.c (__abort_msg): Adjust type.
8770 * assert/assert.c (__assert_fail_base): New function. Majority
8771 of code from __assert_fail. Allocate memory for __abort_msg with
8772 mmap.
8773 (__assert_fail): Now call __assert_fail_base.
8774 * assert/assert-perr.c: Remove bulk of implementation. Use
8775 __assert_fail_base.
8776 * include/assert.hL Declare __assert_fail_base.
8777 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8778 mmap.
8779 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8780
1af4e298
UD
87812011-05-14 Ulrich Drepper <drepper@gmail.com>
8782
f8a3b5bf 8783 [BZ #11952]
d26dfc60
MG
8784 [BZ #12453]
8785 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8786 until all modules are registered in the DTV.
8787 * elf/Makefile: Add rules to build and run tst-tls19.
8788 * elf/tst-tls19.c: New file.
8789 * elf/tst-tls19mod1.c: New file.
8790 * elf/tst-tls19mod2.c: New file.
8791 * elf/tst-tls19mod3.c: New file.
8792 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8793
2fc54d6f
UD
8794 [BZ #12083]
8795 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8796 correctly.
8797
98d76b46
UD
8798 [BZ #12601]
8799 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8800 two-byte sequence errors.
8801 * iconvdata/Makefile (tests): Add bug-iconv8.
8802 * iconvdata/bug-iconv8.c: New file.
8803
da3c19ef
UD
8804 [BZ #12626]
8805 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8806 buf2 definition.
8807
ca408c15
UD
8808 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8809
d6f67f7d
UD
8810 [BZ #12432]
8811 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8812 (dummy_getcfa): New function.
8813 (init): Get _Unwind_GetCFA address, use dummy if not found.
8814 (backtrace_helper): In recursion check, also check whether CFA changes.
8815 (__backtrace): Completely initialize arg.
8816
1af4e298 8817 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
8818 storing incomplete byte sequence in state object. Avoid testing for
8819 guaranteed too small input if we know there is enough data available.
1af4e298 8820
da62f81b
AS
88212011-05-11 Andreas Schwab <schwab@redhat.com>
8822
8823 * Makeconfig (+link-pie): Indent.
8824 * Rules (binaries-pie): Define if $(have-fpie) and
8825 $(build-shared).
8826 (binaries-shared): Also filter out $(binaries-pie).
8827 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8828 * nscd/Makefile (others-pie): Add nscd.
8829 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8830 ($(objpfx)nscd): Remove command override.
8831 * login/Makefile (others-pie): Add pt_chown.
8832 ($(objpfx)pt_chown): Remove command override.
8833 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8834 remove command overrides.
8835
fcabc0f8
UD
88362011-05-13 Ulrich Drepper <drepper@gmail.com>
8837
20030ae6
UD
8838 * libio/tst_putwc.c: Fix error messages.
8839
fcabc0f8
UD
8840 [BZ #12724]
8841 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8842 currently writing and seek to current position when not.
8843 * libio/Makefile (tests): Add bug-fclose1.
8844 * libio/bug-fclose1.c: New file.
8845
320a5dc0
PB
88462011-05-12 Ulrich Drepper <drepper@gmail.com>
8847
8848 [BZ #12511]
8849 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8850 don't set DF_1_NODELETE here.
8851 (do_lookup_x): When entering new entry test for copy relocation
8852 and if necessary set DF_1_NODELETE flag.
8853 * elf/tst-unique4.cc: New file.
8854 * elf/tst-unique4.h: New file.
8855 * elf/tst-unique4lib.cc: New file.
8856 * elf/Makefile: Add rules to build and run tst-unique4.
8857 Patch by Piotr Bury <pbury@goahead.com>.
8858
22836f52
UD
88592011-05-11 Ulrich Drepper <drepper@gmail.com>
8860
f574184a
UD
8861 [BZ #12052]
8862 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8863
e1fb097f
UD
8864 [BZ #12625]
8865 * misc/mntent_r.c (addmntent): Flush the stream after the output
8866
22836f52
UD
8867 [BZ #12393]
8868 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8869 (is_trusted_path_normalize): Skip initial colon. Append slash
8870 to empty buffer. Duplicate is_trusted_path code but allow
8871 constructed patch to be prefix.
8872 (is_dst): Allow $ORIGIN followed by /.
8873 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8874 Correct testing of result of is_trusted_path_normalize
8875 (decompose_rpath): Fix warning.
8876
7b3b0b2a
UD
88772011-05-10 Ulrich Drepper <drepper@gmail.com>
8878
8879 [BZ #11257]
8880 * grp/initgroups.c (internal_getgrouplist): When we found the service
8881 list through the initgroups entry in nsswitch.conf do not always
8882 continue on a successful lookup. Don't always use the
eac80ce2 8883 __nss_group_database value if it is set.
7b3b0b2a
UD
8884 * nss/nsswitch.conf (initgroups): Change action for successful db
8885 lookup to continue for compatibility.
8886
2a81eaa5
UD
88872011-05-09 Ulrich Drepper <drepper@gmail.com>
8888
be97a69e
UD
8889 [BZ #11532]
8890 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8891 and CP774 modules.
8892 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8893 and CP774 modules.
8894 * iconvdata/tst-tables.sh: Likewise.
8895 * iconvdata/cp770.c: New file.
8896 * iconvdata/cp771.c: New file.
8897 * iconvdata/cp772.c: New file.
8898 * iconvdata/cp773.c: New file.
8899 * iconvdata/cp774.c: New file.
8900 * iconvdata/testdata/CP770: New file.
8901 * iconvdata/testdata/CP770..UTF8: New file.
8902 * iconvdata/testdata/CP771: New file.
8903 * iconvdata/testdata/CP771..UTF8: New file.
8904 * iconvdata/testdata/CP772: New file.
8905 * iconvdata/testdata/CP772..UTF8: New file.
8906 * iconvdata/testdata/CP773: New file.
8907 * iconvdata/testdata/CP773..UTF8: New file.
8908 * iconvdata/testdata/CP774: New file.
8909 * iconvdata/testdata/CP774..UTF8: New file.
8910
8911 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8912 END CHARMAP line.
8913 * iconvdata/gen-8bit-gap.sh: Likewise.
8914 * iconvdata/gen-8bit.sh: Likewise.
8915
c1e9e399
UD
8916 * locale/iso-639.def: Add ary entry.
8917
24c55fb3 8918 [BZ #11258]
96b4b1b0
UD
8919 * locale/C-translit.h.in: Add U20A1 transliteration.
8920
bdc2f971
KB
8921 [BZ #12178]
8922 * locale/iso-639.def: Add wae entry.
8923 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8924
2952b117
UD
8925 [BZ #12545]
8926 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8927 for n.
8928
2a81eaa5
UD
8929 [BZ #12711]
8930 * locale/C-translit.h.in: Add entry for U20B9.
8931 Patch by pravin.d.s@gmail.com.
8932
28377d1b
UD
89332011-05-08 Ulrich Drepper <drepper@gmail.com>
8934
7fb90fb8
UD
8935 [BZ #12713]
8936 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8937 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
8938 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8939 in rtld. Use *stat64.
7fb90fb8 8940 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 8941 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 8942 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
8943 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8944 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8945 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8946 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8947 __fstatat64 macros.
7fb90fb8
UD
8948 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8949 * dirent/rewinddir.c: Add libc_hidden_def.
8950 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 8951 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 8952
28377d1b
UD
8953 * include/dirent.h (__alloc_dir): Add flags parameter.
8954 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8955 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8956 __alloc_dir.
8957 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8958 from fdopendir if O_CLOEXEC is already set.
8959
66bdbaa4
AM
89602011-03-15 Alan Modra <amodra@gmail.com>
8961
8962 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8963 l_tls_firstbyte_offset non-zero. Save padding offset in
8964 l_tls_firstbyte_offset for later use.
8965 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8966 freeing static tls block.
8967
95721191
JN
89682011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8969
8970 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8971 where #ifdef was intended. The intent is to prevent ARG_MAX from
8972 being defined by the kernel headers.
8973
f87dfb1f
UD
89742011-05-07 Ulrich Drepper <drepper@gmail.com>
8975
8976 [BZ #12734]
8977 * resolv/resolv.h: Define RES_NOTLDQUERY.
8978 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8979 no-tld-query and set RES_NOTLDQUERY.
8980 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8981 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8982 modern BIND to search name as TLD unless forbidden.
8983
47c3cd7a
UD
89842011-05-07 Petr Baudis <pasky@suse.cz>
8985 Ulrich Drepper <drepper@gmail.com>
8986
8987 [BZ #12393]
8988 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8989 (is_trusted_path): ...to here.
c1e9ea35 8990 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 8991 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 8992 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 8993
8a35c912
PP
89942011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8995
8996 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8997 __BEGIN/__END_DECLS.
8998
acd41f47
UD
89992011-05-06 Ulrich Drepper <drepper@gmail.com>
9000
9001 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9002 NSS_STATUS_NOTFOUND if no record was found.
9003
597df647
AS
90042011-05-05 Andreas Schwab <schwab@redhat.com>
9005
9006 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9007 (headers-not-in-tirpc): Remove rpc/netdb.h
9008 * resolv/netdb.h: Revert last change.
9009
b9af1301
PP
90102011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9011
9012 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9013 circular dependency between libgcc.a and libc.a.
9014
4e34d5f5
AS
90152011-05-05 Andreas Schwab <schwab@redhat.com>
9016
9017 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9018 * nis/Makefile: Don't install rpcsvc/*.
9019 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9020 instead of <rpc/types.h>.
9021 (MAXHOSTNAMELEN): Define.
9022
00ee369c
AS
90232011-05-03 Andreas Schwab <schwab@redhat.com>
9024
9025 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9026
0b592a30
MB
90272011-04-28 Maciej Babinski <mbabinski@google.com>
9028
9029 [BZ #12714]
9030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9031 gethostbyname4_r when IPv6 results are possible.
9032
6e04cbbe
UD
90332011-05-02 Ulrich Drepper <drepper@gmail.com>
9034
9035 [BZ #12723]
9036 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9037 _PC_PIPE_BUF handling.
9038
e4ecafe0
BH
90392011-04-30 Bruno Haible <bruno@clisp.org>
9040
9041 [BZ #12717]
9042 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9043 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9044 to 'int'.
9045 * inet/getnameinfo.c (getnameinfo): Likewise.
9046
125ee683
UD
90472011-04-29 Ulrich Drepper <drepper@gmail.com>
9048
9049 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9050 to groups setting in database lookup.
9051 * nss/nsswitch.conf: Add initgroups entry.
9052
b722481a
EB
90532011-04-22 Ulrich Drepper <drepper@gmail.com>
9054
9055 [BZ #12685]
9056 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9057 mode string.
9058 Patch by Eric Blake <eblake@redhat.com>.
9059
4df46dbd
L
90602011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9061
9062 * sunrpc/Makefile (need-export-routines): Add svc_run.
9063 (routines): Remove svc_run.
9064 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9065 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9066 * sunrpc/svc_run.c (svc_run): Likewise.
9067 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9068
e84142d2
UD
90692011-04-21 Ulrich Drepper <drepper@gmail.com>
9070
9071 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9072 problem in reallocation in last patch.
9073
877175d8
UD
90742011-04-20 Ulrich Drepper <drepper@gmail.com>
9075
9076 * sunrpc/Makefile: Move inclusion of Rules.
9077
ab8eed78
UD
90782011-04-19 Ulrich Drepper <drepper@gmail.com>
9079
9080 * nss/nss_files/files-initgroups.c: New file.
9081 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9082 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9083 _nss_files_initgroups_dyn.
9084
e3d8f584
RS
90852011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9086
9087 * elf/elf.h (R_ARM_IRELATIVE): Define.
9088
af190f45
UD
90892011-04-19 Ulrich Drepper <drepper@gmail.com>
9090
9091 * po/ru.po: Update from translation team.
9092
53cf59ef
UD
90932011-04-17 Ulrich Drepper <drepper@gmail.com>
9094
9095 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9096 dependencies.
9097
4c559bcd
MF
90982011-02-06 Mike Frysinger <vapier@gentoo.org>
9099
9100 [BZ #12653]
9101 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9102 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9103 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9104 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9105 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9106
4420675c
AS
91072011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9108
9109 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9110 differing bytes.
9111 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9112 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9113 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9114
75ea32ab
UD
91152011-04-17 Ulrich Drepper <drepper@gmail.com>
9116
9117 [BZ #12420]
9118 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9119 storing it.
9120 * stdlib/bug-getcontext.c: New file.
9121 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9122
27390476
AK
91232011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9124
9125 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9126 instructions into .machine "z9-109".
9127 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9128 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9129
10442705
AK
91302011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9131
9132 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9133 between environment variables and auxiliary vector.
9134
7b57bfe5
UD
91352011-04-16 Ulrich Drepper <drepper@gmail.com>
9136
9137 * Makefile: Add rules to build linkobj/libc.so.
9138 * include/libc-symbols.h: Define libc_hidden_nolink.
9139 * include/rpc/auth.h: Mark functions which are to be hidden.
9140 * include/rpc/auth_des.h: Likewise.
9141 * include/rpc/auth_unix.h: Likewise.
9142 * include/rpc/clnt.h: Likewise.
9143 * include/rpc/des_crypt.h: Likewise.
9144 * include/rpc/key_prot.h: Likewise.
9145 * include/rpc/pmap_clnt.h: Likewise.
9146 * include/rpc/pmap_prot.h: Likewise.
9147 * include/rpc/pmap_rmt.h: Likewise.
9148 * include/rpc/rpc_msg.h: Likewise.
9149 * include/rpc/svc.h: Likewise.
9150 * include/rpc/svc_auth.h: Likewise.
9151 * include/rpc/xdr.h: Likewise.
9152 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9153 * nss/Makefile: Likewise.
9154 * sunrpc/Makefile: Don't install headers. Build library with normal
9155 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9156 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9157 for the compat linking library. Remove use of INTDEF/INTUSE.
9158 * sunrpc/auth_none.c: Likewise.
9159 * sunrpc/auth_unix.c: Likewise.
9160 * sunrpc/authdes_prot.c: Likewise.
9161 * sunrpc/authuxprot.c: Likewise.
9162 * sunrpc/clnt_gen.c: Likewise.
9163 * sunrpc/clnt_perr.c: Likewise.
9164 * sunrpc/clnt_raw.c: Likewise.
9165 * sunrpc/clnt_simp.c: Likewise.
9166 * sunrpc/clnt_tcp.c: Likewise.
9167 * sunrpc/clnt_udp.c: Likewise.
9168 * sunrpc/clnt_unix.c: Likewise.
9169 * sunrpc/des_crypt.c: Likewise.
9170 * sunrpc/des_soft.c: Likewise.
9171 * sunrpc/get_myaddr.c: Likewise.
9172 * sunrpc/key_call.c: Likewise.
9173 * sunrpc/key_prot.c: Likewise.
9174 * sunrpc/netname.c: Likewise.
9175 * sunrpc/pm_getmaps.c: Likewise.
9176 * sunrpc/pm_getport.c: Likewise.
9177 * sunrpc/pmap_clnt.c: Likewise.
9178 * sunrpc/pmap_prot.c: Likewise.
9179 * sunrpc/pmap_prot2.c: Likewise.
9180 * sunrpc/pmap_rmt.c: Likewise.
9181 * sunrpc/publickey.c: Likewise.
9182 * sunrpc/rpc_cmsg.c: Likewise.
9183 * sunrpc/rpc_common.c: Likewise.
9184 * sunrpc/rpc_dtable.c: Likewise.
9185 * sunrpc/rpc_prot.c: Likewise.
9186 * sunrpc/rpc_thread.c: Likewise.
9187 * sunrpc/rtime.c: Likewise.
9188 * sunrpc/svc.c: Likewise.
9189 * sunrpc/svc_auth.c: Likewise.
9190 * sunrpc/svc_authux.c: Likewise.
9191 * sunrpc/svc_raw.c: Likewise.
9192 * sunrpc/svc_run.c: Likewise.
9193 * sunrpc/svc_simple.c: Likewise.
9194 * sunrpc/svc_tcp.c: Likewise.
9195 * sunrpc/svc_udp.c: Likewise.
9196 * sunrpc/svc_unix.c: Likewise.
9197 * sunrpc/svcauth_des.c: Likewise.
9198 * sunrpc/xcrypt.c: Likewise.
9199 * sunrpc/xdr.c: Likewise.
9200 * sunrpc/xdr_array.c: Likewise.
9201 * sunrpc/xdr_float.c: Likewise.
9202 * sunrpc/xdr_intXX_t.c: Likewise.
9203 * sunrpc/xdr_mem.c: Likewise.
9204 * sunrpc/xdr_rec.c: Likewise.
9205 * sunrpc/xdr_ref.c: Likewise.
9206 * sunrpc/xdr_sizeof.c: Likewise.
9207 * sunrpc/xdr_stdio.c: Likewise.
9208
e6c61494
UD
92092011-04-10 Ulrich Drepper <drepper@gmail.com>
9210
9211 [BZ #12650]
9212 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9213 * sysdeps/ia64/dl-tls.h: Likewise.
9214 * sysdeps/powerpc/dl-tls.h: Likewise.
9215 * sysdeps/s390/dl-tls.h: Likewise.
9216 * sysdeps/sh/dl-tls.h: Likewise.
9217 * sysdeps/sparc/dl-tls.h: Likewise.
9218 * sysdeps/x86_64/dl-tls.h: Likewise.
9219 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9220
34fe483e
AS
92212011-03-14 Andreas Schwab <schwab@redhat.com>
9222
9223 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9224 rpath element also skip the following colon.
9225 (expand_dynamic_string_token): Add is_path parameter and pass
9226 down to DL_DST_REQUIRED and _dl_dst_substitute.
9227 (decompose_rpath): Call expand_dynamic_string_token with
9228 non-zero is_path. Ignore empty rpaths.
9229 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9230 with zero is_path.
9231
f12a32e6
AS
92322011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9233
9234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9235 Make cancelable.
9236
38a7d692
UD
92372011-04-09 Ulrich Drepper <drepper@gmail.com>
9238
9239 [BZ #12655]
9240 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9241 Patch by Filipe David Manana <fdmanana@apache.org>.
9242
e451d22b
AS
92432011-04-07 Andreas Schwab <schwab@redhat.com>
9244
9245 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9246 Maintain aligned stack.
9247 (CHECK_RSP): Remove unused macro.
9248
dedc7c7b
UD
92492011-04-03 Ulrich Drepper <drepper@gmail.com>
9250
9251 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9252 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9253
94521213
UD
92542011-04-02 Ulrich Drepper <drepper@gmail.com>
9255
9256 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9257
8cb700c0 9258 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9259
0354e355
L
92602011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9261
9262 [BZ #12518]
9263 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9264 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9265 * sysdeps/x86_64/memmove.c: New file.
9266 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9267 (memcpy): Renamed to ...
9268 (__new_memcpy): This.
9269 (memcpy): Provide GLIBC_2_14 memcpy.
9270 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9271 (memcpy): Provide GLIBC_2_2_5 memcpy.
9272
8593482f
UD
92732011-04-01 Ulrich Drepper <drepper@gmail.com>
9274
9275 [BZ #12631]
9276 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9277
81a5726b
AS
92782011-03-30 Andreas Schwab <schwab@redhat.com>
9279
9280 * misc/syncfs.c: New file.
9281 * misc/Makefile (routines): Add syncfs.
9282 * posix/unistd.h: Declare syncfs.
9283 * sysdeps/unix/syscalls.list: Add syncfs.
9284
00e5419f
AS
92852011-04-01 Andreas Schwab <schwab@redhat.com>
9286
9287 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9288 open_by_handle_at.
9289 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9290 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9291 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9292 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9293 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9294 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9295 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9296
748876bf
UD
92972011-04-01 Ulrich Drepper <drepper@gmail.com>
9298
658e451d
UD
9299 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9300 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9301 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9302 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9303 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9304 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9305 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9306
748876bf
UD
9307 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9308 sync_file_range.c with -fexceptions.
9309 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9310 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9311 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9312 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9313 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9314 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9315 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
9316 sync_file_range as cancellation point
9317 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9318 now a wrapper around __call_sync_file_range with cancellation handling.
9319 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9320 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9321 function name to __call_sync_file_range.
9322 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9323 Add call_sync_file_range.
748876bf 9324
6e63d5e1
AS
93252011-04-01 Andreas Schwab <schwab@redhat.com>
9326
9327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 9328 bits/timex.h.
6e63d5e1 9329
46998f74
UD
93302011-04-01 Ulrich Drepper <drepper@gmail.com>
9331
4c1423ed
UD
9332 * iconv/iconv.h: Fix typo in comment.
9333 * io/fcntl.h: Likewise.
9334 * libio/stdio.h: Likewise.
9335 * posix/spawn.h: Likewise.
9336 * posix/unistd.h: Likewise.
9337 * stdlib/stdlib.h: Likewise.
9338 * time/time.h: Likewise.
9339 * wcsmbs/wchar.h: Likewise.
9340
158648c0
UD
9341 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9342 open_by_handle): Add.
9343 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9344 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9345 Augment a few comments.
9346 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9347 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9348 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9349 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9350 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9351 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9352 open_by_handle.
9353
46998f74
UD
9354 * io/fcntl.h (AT_EMPTY_PATH): Define.
9355
83fe108b
UD
93562011-03-30 Ulrich Drepper <drepper@gmail.com>
9357
9358 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9359 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9360 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9361 to...
9362 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
9363 * Versions.def: Add GLIBC_2.14.
9364 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9365 Export.
83fe108b 9366
bb242059
UD
93672011-03-22 Ulrich Drepper <drepper@gmail.com>
9368
9369 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9370 round counter.
9371 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9372
c97a1282
L
93732011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9374
9375 [BZ #12597]
9376 * string/test-strncmp.c (do_page_test): New function.
9377 (check2): Likewise.
9378 (test_main): Call check2.
9379 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9380
2a115601
UD
93812011-03-20 Ulrich Drepper <drepper@gmail.com>
9382
9383 [BZ #12587]
9384 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9385 Handle cache information in CPU leaf 4.
9386 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9387
8126d904
UD
93882011-03-18 Ulrich Drepper <drepper@gmail.com>
9389
042c49c6 9390 [BZ #12583]
8126d904
UD
9391 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9392 character representation.
9393 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9394
ccfe366e
RA
93952011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9396
9397 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9398 END(__isnan) to END(__isnanf) to match function entry point/label
9399 EALIGN(__isnanf,...).
9400
c6e13027
JJ
94012011-03-10 Jakub Jelinek <jakub@redhat.com>
9402
9403 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9404
33f85a3f
UD
94052011-03-10 Ulrich Drepper <drepper@gmail.com>
9406
028478fa
UD
9407 [BZ #12510]
9408 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9409 copy from the symbol referenced in the relocation to initialize the
9410 used variable.
9411 Patch by Piotr Bury <pbury@goahead.com>.
9412 * elf/Makefile: Add rules to build and tst-unique3.
9413 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9414 * elf/tst-unique3.cc: New file.
9415 * elf/tst-unique3.h: New file.
9416 * elf/tst-unique3lib.cc: New file.
9417 * elf/tst-unique3lib2.cc: New file.
9418
33f85a3f
UD
9419 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9420
03592fc7
MF
94212011-03-10 Mike Frysinger <vapier@gentoo.org>
9422
9423 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9424 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9425 to _start.
03592fc7 9426
6a5ee102
UD
94272011-03-06 Ulrich Drepper <drepper@gmail.com>
9428
9429 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9430 to-be-loaded object along a path to loader is ld.so.
9431
7e4ba49c
HJ
94322011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9433 Ulrich Drepper <drepper@gmail.com>
9434
9435 * sysdeps/x86_64/memset.S: After aligning destination, code
9436 branches to different locations depending on the value of
9437 misalignment, when multiarch is enabled. Fix this.
9438
94392011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9440
9441 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9442 Set _x86_64_preferred_memory_instruction for AMD processsors.
9443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9444 Set bit_Prefer_SSE_for_memop for AMD processors.
9445
13a804de
UD
94462011-03-04 Ulrich Drepper <drepper@gmail.com>
9447
9448 * libio/fmemopen.c (fmemopen): Optimize a bit.
9449
9d25c392
AS
94502011-03-03 Andreas Schwab <schwab@redhat.com>
9451
9452 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9453
a5543c6a
RM
94542011-03-03 Roland McGrath <roland@redhat.com>
9455
9456 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9457
012d35f7
DM
94582011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9459
7e4ba49c 9460 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9461 __bzero_ultra1 instead of __memset_ultra1.
9462
4bff6e01
AS
94632011-02-23 Andreas Schwab <schwab@redhat.com>
9464 Ulrich Drepper <drepper@gmail.com>
9465
9466 [BZ #12509]
9467 * include/link.h (struct link_map): Add l_orig_initfini.
9468 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9469 returning unsuccessfully.
9470 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9471 close of a file loaded at startup, restore the original l_initfini
9472 list.
9473 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9474 list, store the pointer.
9475 * elf/Makefile ($(objpfx)noload-mem): New rule.
9476 (noload-ENV): Define.
9477 (tests): Add $(objpfx)noload-mem.
9478 * elf/noload.c: Include <memcheck.h>.
9479 (main): Call mtrace. Close all opened handles.
9480
f2092faf
AS
94812011-02-17 Andreas Schwab <schwab@redhat.com>
9482
9483 [BZ #12454]
9484 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9485 dependencies are missing.
9486
6c8a2e88
ST
94872011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9488
f2092faf 9489 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
9490 Hurd needs munmap.
9491 * sysdeps/mach/hurd/ifreq.h: New file.
9492
84a42118
PB
94932011-01-27 Petr Baudis <pasky@suse.cz>
9494 Ulrich Drepper <drepper@gmail.com>
9495
071f805e 9496 [BZ 12445]#
84a42118
PB
9497 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9498 to extend_alloca().
9499 * stdio-common/bug23.c: New file.
9500 * stdio-common/Makefile (tests): Add bug23.
9501
e23fe25b
AS
95022010-09-28 Andreas Schwab <schwab@redhat.com>
9503 Ulrich Drepper <drepper@gmail.com>
9504
9505 [BZ #12489]
9506 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9507 before performing relro protection. At old place add assertion
9508 to make sure nothing changed.
9509
d3f02e10
NS
95102011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9511 Glauber de Oliveira Costa <glommer@gmail.com>
9512
9513 * elf/elf.h: Add new ARM TLS relocs.
9514
d55fd7a5
RA
95152011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9516
9517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9518 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9519 cast from r3.
9520 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9521 'tests' variable.
9522 * sysdeps/wordsize-64/tst-writev.c: New file.
9523
2206397e
RA
95242011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9525
9526 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9527 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9528 insns in _dl_start to prevent a TOC reference before relocs are
9529 resolved.
9530
e9433893
UD
95312011-02-15 Ulrich Drepper <drepper@gmail.com>
9532
9533 [BZ #12469]
9534 * Makeconfig: Remove RANLIB definition.
9535 * Makerules: Don't use RANLIB.
9536 * aclocal.m4: Remove ranlib test.
9537 * configure.in: No need to check for ranlib.
9538 * elf/rtld-Rules: Don't use RANLIB.
9539
f75286c6
ST
95402011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9541
8e31c82d
ST
9542 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9543 protection macro.
9544 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9545 inclusion protection macro.
9546
f75286c6
ST
9547 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9548 SIGRTMIN and SIGRTMAX and print information in that case only when
9549 SIGRTMIN is defined.
9550
c1d0e639
JJ
95512011-02-11 Jakub Jelinek <jakub@redhat.com>
9552
9553 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9554 arginfo fn returning -1.
9555
9556 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9557 and thousands string is zero terminated.
9558
edf9294e
AS
95592011-02-03 Andreas Schwab <schwab@redhat.com>
9560
9561 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9562 sysdeps/unix/sysv/linux/bits/socket.h.
9563
2b7e92df
ST
95642011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9565
edf9294e
AS
9566 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9567 (__CPU_COUNT): Remove old macros.
9568 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9569 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9570 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
9571 (__sched_cpualloc, __sched_cpufree): Add declarations.
9572
a4c7ea7b
UD
95732011-02-05 Ulrich Drepper <drepper@gmail.com>
9574
9575 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9576 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9577 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9578 (readdhstai): Return value of addhstaiX call.
9579 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9580 (addgrbyX): Return value returned by cache_addgr.
9581 (readdgrbyname): Return value returned by addgrbyX.
9582 (readdgrbygid): Likewise.
9583 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9584 (addpwbyX): Return value returned by cache_addpw.
9585 (readdpwbyname): Return value returned by addhstbyX.
9586 (readdpwbyuid): Likewise.
9587 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9588 (addservbyX): Return value returned by cache_addserv.
9589 (readdservbyname): Return value returned by addservbyX:
9590 (readdservbyport): Likewise.
9591 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9592 (addhstbyX): Return value returned by cache_addhst.
9593 (readdhstbyname): Return value returned by addhstbyX.
9594 (readdhstbyaddr): Likewise.
9595 (readdhstbynamev6): Likewise.
9596 (readdhstbyaddrv6): Likewise.
9597 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9598 (readdinitgroups): Return value returned by addinitgroupsX.
9599 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9600 (prune_cache): Keep track of timeout value of re-added entries.
9601 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9602 * nscd/nscd.h: Adjust prototypes of readd* functions.
9603
a0bf67cc
RM
96042011-02-04 Roland McGrath <roland@redhat.com>
9605
9606 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9607 (nis_stats): Likewise.
9608 * nis/nis_modify.c (nis_modify): Likewise.
9609 * nis/nis_remove.c (nis_remove): Likewise.
9610 * nis/nis_add.c (nis_add): Likewise.
9611
9612 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9613
9614 * posix/fnmatch_loop.c: Add some consts.
9615
9616 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9617
435b95eb
L
96182011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9619
9620 [BZ #12460]
9621 * config.make.in (config-cflags-novzeroupper): Define.
9622 * configure.in: Substitute libc_cv_cc_novzeroupper.
9623 * elf/Makefile (AVX-CFLAGS): Define.
9624 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9625 (CFLAGS-tst-auditmod4a.c): Likewise.
9626 (CFLAGS-tst-auditmod4b.c): Likewise.
9627 (CFLAGS-tst-auditmod6b.c): Likewise.
9628 (CFLAGS-tst-auditmod6c.c): Likewise.
9629 (CFLAGS-tst-auditmod7b.c): Likewise.
9630 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9631
8517b15e
UD
96322011-02-02 Ulrich Drepper <drepper@gmail.com>
9633
9634 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9635 function to the callback.
9636 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9637
10a656fe
AS
96382011-02-02 Andreas Schwab <schwab@redhat.com>
9639
9640 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9641 of errno.
9642
968dad0a
UD
96432011-01-19 Ulrich Drepper <drepper@gmail.com>
9644
9f94d2ea 9645 [BZ #11724]
968dad0a
UD
9646 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9647 of constructors.
9648 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9649 of destructors.
9650 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9651
9652 [BZ #11724]
9653 * elf/Makefile: Add rules to build and run new test.
9654 * elf/tst-initorder.c: New file.
9655 * elf/tst-initorder.exp: New file.
9656 * elf/tst-initordera1.c: New file.
9657 * elf/tst-initordera2.c: New file.
9658 * elf/tst-initordera3.c: New file.
9659 * elf/tst-initordera4.c: New file.
9660 * elf/tst-initorderb1.c: New file.
9661 * elf/tst-initorderb2.c: New file.
9662 * elf/tst-order-a1.c: New file.
9663 * elf/tst-order-a2.c: New file.
9664 * elf/tst-order-a3.c: New file.
9665 * elf/tst-order-a4.c: New file.
9666 * elf/tst-order-b1.c: New file.
9667 * elf/tst-order-b2.c: New file.
9668 * elf/tst-order-main.c: New file.
9669 New test case by George Gensure <werkt0@gmail.com>.
9670
86e92359
UD
96712010-10-01 Andreas Schwab <schwab@redhat.com>
9672
9673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9674 decoding ACE if AI_CANONIDN.
9675
5d5732b0
UD
96762011-01-18 Ulrich Drepper <drepper@gmail.com>
9677
9678 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9679
a77e8cbc
UD
96802011-01-17 Ulrich Drepper <drepper@gmail.com>
9681
6392473f
UD
9682 * version.h (RELEASE): Bump for 2.13 release.
9683 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9684
620a0529
UD
9685 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9686
18ba70a5
UD
9687 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9688 MADV_NOHUGEPAGE.
32465c3e
UD
9689 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9690 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9691 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9692 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9693 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9694 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9695
c0dafcf1
UD
9696 * posix/getconf.c: Update copyright year.
9697 * catgets/gencat.c: Likewise.
9698 * csu/version.c: Likewise.
9699 * debug/catchsegv.sh: Likewise.
9700 * debug/xtrace.sh: Likewise.
9701 * elf/ldconfig.c: Likewise.
9702 * elf/ldd.bash.in: Likewise.
9703 * elf/sprof.c (print_version): Likewise.
9704 * iconv/iconv_prog.c: Likewise.
9705 * iconv/iconvconfig.c: Likewise.
9706 * locale/programs/locale.c: Likewise.
9707 * locale/programs/localedef.c: Likewise.
9708 * malloc/memusage.sh: Likewise.
9709 * malloc/mtrace.pl: Likewise.
9710 * nscd/nscd.c (print_version): Likewise.
9711 * nss/getent.c: Likewise.
9712
a77e8cbc
UD
9713 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9714 PF_CAIF, and PF_ALG.
9715 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9716
77e8bddf
AS
97172011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9718
1f20b93a
AS
9719 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9720 (modules-names): Use them.
9721 (ifunc-test-modules, ifunc-pie-tests): Define.
9722 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9723 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9724 (test-extras): Likewise.
9725 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9726 $(compile-command.c).
9727 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9728 (all-built-dso): Define.
9729 (check-textrel.out, check-execstack.out): Depend on it.
9730
77e8bddf
AS
9731 * configure.in: Don't override --enable-multi-arch.
9732
bc425b33
UD
97332011-01-15 Ulrich Drepper <drepper@gmail.com>
9734
9735 [BZ #6812]
9736 * nscd/hstcache.c (tryagain): Define.
9737 (cache_addhst): Return tryagain not notfound for temporary errors.
9738 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9739 failed.
9740
794c3ad3
UD
97412011-01-14 Ulrich Drepper <drepper@gmail.com>
9742
70181fdd
UD
9743 [BZ #10563]
9744 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9745 to make the syscall.
9746 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9747
794c3ad3
UD
9748 [BZ #12378]
9749 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9750 and fall back to matching as normal character if the string ends before
9751 the matching ']' is found. This is what POSIX requires.
9752 * posix/testfnm.c: Adjust test result.
9753 * posix/globtest.sh: Adjust test result. Add new test.
9754 * posix/tst-fnmatch.input: Likewise.
9755 * posix/tst-fnmatch2.c: Add new test.
9756
68dc9497
AS
97572010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9758
9759 * elf/Makefile (check-execstack): Revert last change. Depend on
9760 check-execstack.h.
9761 (check-execstack.h): New target.
9762 (generated): Add check-execstack.h.
9763 * elf/check-execstack.c: Include "check-execstack.h".
9764 (main): Revert last change.
9765 (handle_file): Return zero if GNU_STACK is absent and
9766 DEFAULT_STACK_PERMS doesn't include PF_X.
9767
451f001b
UD
97682011-01-13 Ulrich Drepper <drepper@gmail.com>
9769
cfa28e56
UD
9770 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9771 in child fails because the descriptor is already closed.
8cf8ce17
UD
9772 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9773 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9774 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 9775
1086d70d
UD
9776 [BZ #12397]
9777 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9778 syscall.
9779
451f001b
UD
9780 [BZ #10484]
9781 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9782 temporary buffer used to handle multi lookups locally.
a85b5cb4 9783 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 9784
08769175
UD
97852011-01-12 Ulrich Drepper <drepper@gmail.com>
9786
9787 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9788 loader is ld.so.
9789
5e49c52e
UD
97902011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9791
9792 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9793 alignment for SSE2.
9794
60522a5f
UD
97952011-01-12 Ulrich Drepper <drepper@gmail.com>
9796
9797 [BZ #12394]
9798 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9799 characters. When rounding increased number of integer digits recompute
9800 number of groups.
9801 * stdio-common/tst-grouping.c: New file.
9802 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9803
f257bbd7
UD
98042011-01-09 Ulrich Drepper <drepper@gmail.com>
9805
9806 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9807 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9808
9809 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9810 void.
9811 * bits/select.h: Likewise.
9812
fa9c15cb
UD
98132011-01-08 Ulrich Drepper <drepper@gmail.com>
9814
9815 * po/ja.po: Update from translation team.
9816
16c2895f
DM
98172011-01-04 David S. Miller <davem@sunset.davemloft.net>
9818
9819 [BZ #11155]
9820 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9821 implementation just like for lxstat, fxstatat, et al.
9822
2543fef2
JM
98232010-12-27 Jim Meyering <meyering@redhat.com>
9824
9825 [BZ #12348]
9826 * posix/regexec.c (build_trtable): Return failure indication upon
9827 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9828
98727dbe
UD
98292010-12-25 Ulrich Drepper <drepper@gmail.com>
9830
5bd6dc5c
UD
9831 [BZ #12201]
9832 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9833 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9834 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9835 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9836
97983464
UD
9837 [BZ #12207]
9838 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9839
98727dbe
UD
9840 [BZ #12204]
9841 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9842 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9843
4a531bb0
L
98442010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9845
9846 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9847 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9848 script has SORT_BY_INIT_PRIORITY.
9849 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9850 NO_CTORS_DTORS_SECTIONS is defined.
9851 * elf/soinit.c: Likewise.
9852 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9853 NO_CTORS_DTORS_SECTIONS is defined.
9854 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9855 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9856 * sysdeps/sh/init-first.c: Likewise.
9857 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9858
07eb4b71
UD
98592010-12-24 Ulrich Drepper <drepper@gmail.com>
9860
9861 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9862 always use the slow path.
9863
30950a5f
RA
98642010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9865
9866 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9867 similar rule which adds the sysdep directories to the header search in
9868 order to pick up the correct platform stackinfo.h.
9869 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9870 perform test if it is, otherwise return successfully without testing.
9871 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9872 DEFAULT_STACK_PERMS define in stackinfo.h.
9873 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9874 defined in stackinfo.h.
9875 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9876 DEFAULT_STACK_PERMS defined in stackinfo.h.
9877 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9878 * sysdeps/ia64/stackinfo.h: Likewise.
9879 * sysdeps/s390/stackinfo.h: Likewise.
9880 * sysdeps/sh/stackinfo.h: Likewise.
9881 * sysdeps/sparc/stackinfo.h: Likewise.
9882 * sysdeps/x86_64/stackinfo.h: Likewise.
9883 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9884 PF_X for powerpc64. Retain PF_X for powerpc32.
9885
db753e2c
UD
98862010-12-19 Ulrich Drepper <drepper@gmail.com>
9887
14b697f7
UD
9888 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9889 accurately.
db753e2c
UD
9890 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9891 GETDENTS_64BIT_ALIGNED.
9892
28300719
UD
98932010-12-14 Ulrich Drepper <dreper@gmail.com>
9894
14b697f7 9895 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 9896
4f197237
AS
98972010-12-10 Andreas Schwab <schwab@redhat.com>
9898
dbb0472f
AS
9899 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9900 _GNU_SOURCE.
9901
4f197237
AS
9902 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9903 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9904 Remove __restrict.
9905 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9906 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9907
fb88ac72
UD
99082010-12-09 Ulrich Drepper <drepper@gmail.com>
9909
9910 [BZ #11655]
9911 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9912 are initialized.
9913
42acbb92
JJ
99142010-12-09 Jakub Jelinek <jakub@redhat.com>
9915
9916 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9917
c038d98d
UD
99182010-12-03 Ulrich Drepper <drepper@gmail.com>
9919
9920 * po/it.po: Update from translation team.
9921
3a4a2499
L
99222010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9923
9924 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9925 unused codes.
9926
1e24cf6e
UD
99272010-11-30 Ulrich Drepper <drepper@gmail.com>
9928
9929 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9930
a7690819
AS
99312010-11-24 Andreas Schwab <schwab@redhat.com>
9932
9933 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9934 specially.
9935 (gaih_getanswer_slice): Likewise.
9936
3bf8d1b1
JJ
99372010-10-20 Jakub Jelinek <jakub@redhat.com>
9938
9939 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9940
6db52fbb
PB
99412010-05-31 Petr Baudis <pasky@suse.cz>
9942
9943 [BZ #11149]
9944 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9945 silently even in the chroot mode.
9946
eaca7569
UD
99472010-11-22 Ulrich Drepper <drepper@gmail.com>
9948
9949 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9950 last patch a bit. Pretty printing
9951
3056dcdb
UD
99522010-05-31 Petr Baudis <pasky@suse.cz>
9953
9954 [BZ #10085]
9955 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9956 initialization of skip_initgroups_dyn.
9957
cf7c9078
UD
99582010-11-19 Ulrich Drepper <drepper@gmail.com>
9959
9960 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9961 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9962
a1fb5e3e
UD
99632010-11-16 Ulrich Drepper <drepper@gmail.com>
9964
9965 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9966
3540d66b
AS
99672010-11-11 Andreas Schwab <schwab@redhat.com>
9968
9969 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9970 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9971 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9972 ($(objpfx)tst-fnmatch-mem): New rule.
9973 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9974 * posix/tst-fnmatch.c (main): Call mtrace.
9975
13b69574
L
99762010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9977
9978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9979 Support Intel processor model 6 and model 0x2c.
9980
da93d214
LM
99812010-11-10 Luis Machado <luisgpm@br.ibm.com>
9982
9983 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9984 signed comparison.
9985
8ca52c6e
L
99862010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9987
9988 [BZ #12205]
9989 * string/test-strncasecmp.c (check_result): New function.
9990 (do_one_test): Use it.
9991 (check1): New function.
9992 (test_main): Use it.
9993 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9994 Support strcasecmp and strncasecmp.
9995
69da074d
UD
99962010-11-08 Ulrich Drepper <drepper@gmail.com>
9997
9998 [BZ #12194]
9999 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10000 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10001
ff02d528
L
100022010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10003
10004 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10005 IFUNC support.
10006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10007 memset-x86-64.
10008 * sysdeps/x86_64/multiarch/bzero.S: New file.
10009 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10010 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10011 * sysdeps/x86_64/multiarch/memset.S: New file.
10012 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10014 Set bit_Prefer_SSE_for_memop for Intel processors.
10015 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10016 Define.
10017 (index_Prefer_SSE_for_memop): Define.
10018 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10019
344d0b54
LM
100202010-11-04 Luis Machado <luisgpm@br.ibm.com>
10021
10022 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10023 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10024
c0dde15b
UD
100252010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10026
10027 [BZ #12191]
10028 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10029 (__x86_64_raw_data_cache_size_half): Likewise.
10030 (__x86_64_raw_shared_cache_size): Likewise.
10031 (__x86_64_raw_shared_cache_size_half): Likewise.
10032
10033 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10034 (__x86_64_raw_data_cache_size_half): Likewise.
10035 (__x86_64_raw_shared_cache_size): Likewise.
10036 (__x86_64_raw_shared_cache_size_half): Likewise.
10037 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10038 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10039 and __x86_64_raw_shared_cache_size_half. Round
10040 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10041 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10042 to multiple of 256 bytes.
10043
0e516e0e
MS
100442010-11-03 Ulrich Drepper <drepper@gmail.com>
10045
10046 [BZ #12167]
10047 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10048 of inacessible symlinks. Verify result of symlink before returning it.
10049 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10050 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10051
0e012e87
ER
100522010-10-28 Erich Ritz <erichritz@gmail.com>
10053
10054 * math/math.h (isinf): Fix typo in comment.
10055
de0ff7bc
UD
100562010-11-01 Ulrich Drepper <drepper@gmail.com>
10057
10058 * po/da.po: Update from translation team.
10059
fa41c84d
UD
100602010-10-26 Ulrich Drepper <drepper@gmail.com>
10061
10062 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10063 is added to the list.
10064
f0967738
AK
100652010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10066 Ulrich Drepper <drepper@gmail.com>
10067
10068 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10069 the global list here. Move code to...
10070 (_dl_add_to_namespace_list): ...here. New function.
10071 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10072 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10073 * elf/dl-load.c (lose): Don't remove the element from the list.
10074 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10075 (_dl_map_object): Likewise.
10076
100772010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
10078
10079 [BZ #12159]
10080 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10081 into all bytes of SSE register.
10082 Patch by Richard Li <richardpku@gmail.com>.
10083
f0967738 100842010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
10085
10086 [BZ #12140]
10087 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10088 perturbing.
10089
d0b9e94f
MB
100902010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10091
10092 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10093 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10094 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10095 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10097 submachine.
10098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10099
8e9f92e9
AS
101002010-10-22 Andreas Schwab <schwab@redhat.com>
10101
10102 * include/dlfcn.h (__RTLD_SECURE): Define.
10103 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10104 mode & __RTLD_SECURE instead.
10105 (open_path): Rename preloaded parameter to secure.
10106 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10107 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10108 * elf/dl-deps.c (openaux): Likewise.
10109 * elf/rtld.c (struct map_args): Remove is_preloaded.
10110 (map_doit): Don't use it.
10111 (dl_main): Likewise.
10112 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10113 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10114
bc96fbda
AS
101152010-09-09 Andreas Schwab <schwab@redhat.com>
10116
10117 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10118 (sysd-rules-targets): Remove duplicates.
10119 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10120 rtld-%.$o dependency.
10121
22cd1c9b
AS
101222010-10-18 Andreas Schwab <schwab@redhat.com>
10123
10124 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10125 _dl_map_object do it.
10126
18edac48
UD
101272010-10-19 Ulrich Drepper <drepper@gmail.com>
10128
10129 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10130 fast fma builtins, define the macros in the C99 standard.
10131 (FP_FAST_FMAF): Likewise.
10132 (FP_FAST_FMAL): Likewise.
10133 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10134
10135 * bits/mathdef.h: Update copyright year.
10136 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10137
d2050124
MM
101382010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10139
10140 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10141 builtins, define the macros in the C99 standard.
10142 (FP_FAST_FMAF): Likewise.
10143 (FP_FAST_FMAL): Likewise.
10144 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10145 multiply/add.
10146 (FP_FAST_FMAF): Likewise.
10147
475facd1
JJ
101482010-10-15 Jakub Jelinek <jakub@redhat.com>
10149
10150 [BZ #3268]
10151 * math/libm-test.inc (fma_test): Some new testcases.
10152 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10153 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10154 y and infinite z. Do multiplication by C already in long double.
10155 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10156 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10157 y and infinite z. Do bitwise or of inexact bit into u.d.
10158 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10159 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10160 * sysdeps/i386/fpu/s_fma.S: Removed.
10161 * sysdeps/i386/fpu/s_fmal.S: Removed.
10162
7c08a05c
JJ
101632010-10-16 Jakub Jelinek <jakub@redhat.com>
10164
10165 [BZ #3268]
10166 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10167 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10168 computation is not scheduled after fetestexcept. Fix value
10169 of minimum denormal long double.
10170
f3f7372d
JJ
101712010-10-14 Jakub Jelinek <jakub@redhat.com>
10172
10173 [BZ #3268]
10174 * math/libm-test.inc (fma_test): Add some more tests.
10175 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10176 correctly.
10177
14d43591
AS
101782010-10-15 Andreas Schwab <schwab@redhat.com>
10179
10180 * scripts/data/localplt-s390-linux-gnu.data: New file.
10181 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10182
5e908464
JJ
101832010-10-13 Jakub Jelinek <jakub@redhat.com>
10184
10185 [BZ #3268]
10186 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10187 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10188 instead of dbl-64.
10189 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10190 inlines.
10191 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10192 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10193 if one of x and y is very large and the other is subnormal.
10194 * sysdeps/s390/fpu/s_fmaf.c: New file.
10195 * sysdeps/s390/fpu/s_fma.c: New file.
10196 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10197 * sysdeps/powerpc/fpu/s_fma.S: New file.
10198 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10199 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10200 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10201
102022010-10-12 Jakub Jelinek <jakub@redhat.com>
10203
10204 [BZ #3268]
10205 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10206 fma tests.
10207 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10208 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10209 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10210 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10211 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10212 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10213 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10214
b833d51f
UD
102152010-10-12 Ulrich Drepper <drepper@redhat.com>
10216
10217 [BZ #12078]
10218 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10219 * posix/bug-regex31.input: Add test case.
10220
1751705d
UD
102212010-10-11 Ulrich Drepper <drepper@gmail.com>
10222
e9b9cbf5
UD
10223 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10224 * posix/bug-regex31.input: New file.
10225
10226 [BZ #12078]
10227 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10228 (parse_sub_exp): Fix last change, use postorder.
10229
ef06edbe
UD
10230 * posix/bug-regex31.c: New file.
10231 * posix/Makefile: Add rules to build and run bug-regex31.
10232
a129c80d
UD
10233 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10234
10235 [BZ #12078]
10236 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10237
b76b818e
UD
10238 [BZ #12108]
10239 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10240 to have entries in sys_siglist.
10241
1751705d
UD
10242 [BZ #12093]
10243 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10244 be NULL.
10245
9ff8d36f
JJ
102462010-10-07 Jakub Jelinek <jakub@redhat.com>
10247
10248 [BZ #3268]
10249 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10250 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10251 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10252 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10253 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10254 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10255 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10256 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10257 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10258 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10259 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10260 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10261 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10262 * math/ftestexcept.c (fetestexcept): Likewise.
10263 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10264 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10265 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10266 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10267 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10268 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10269 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10270
af325969
UD
102712010-10-11 Ulrich Drepper <drepper@gmail.com>
10272
c579b202 10273 [BZ #12107]
af325969
UD
10274 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10275 newline.
10276
67a67b95
UD
102772010-10-06 Ulrich Drepper <drepper@gmail.com>
10278
10279 * string/bug-strstr1.c: New file.
10280 * string/Makefile: Add rules to build and run bug-strstr1.
10281
5fb308bc
EB
102822010-10-05 Eric Blake <eblake@redhat.com>
10283
10284 [BZ #12092]
10285 * string/str-two-way.h (two_way_long_needle): Always clear memory
10286 when skipping input due to the shift table.
10287
45db99c7
UD
102882010-10-03 Ulrich Drepper <drepper@gmail.com>
10289
3b111893
UD
10290 [BZ #12005]
10291 * malloc/mcheck.c: Handle large requests.
10292
45db99c7
UD
10293 [BZ #12077]
10294 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10295 for strncmp and strncasecmp.
10296 * string/stratcliff.c: Add tests for strcmp and strncmp.
10297 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10298
cf7a1eb8
NI
102992010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10300
10301 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10302 __set_fpscr.
10303
6484ba5e
AJ
103042010-09-30 Andreas Jaeger <aj@suse.de>
10305
10306 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10307 (CGROUP_SUPER_MAGIC): Define.
10308 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10309 Handle btrfs and cgroup file systems.
10310 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10311 Likewise.
10312
91c42559
LM
103132010-09-27 Luis Machado <luisgpm@br.ibm.com>
10314
10315 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10316 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10317
87a97932
AK
103182010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10319
10320 [BZ #12067]
10321 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10322 trying to locate the ELF header.
10323
c21cc9bc
AS
103242010-09-27 Andreas Schwab <schwab@redhat.com>
10325
10326 [BZ #11611]
10327 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10328 Mask out sign-bit copies when constructing f_fsid.
10329
315970f6
PB
103302010-09-24 Petr Baudis <pasky@suse.cz>
10331
10332 * debug/stack_chk_fail_local.c: Add missing licence exception.
10333 * debug/warning-nop.c: Likewise.
10334
1ac7a2c7
JM
103352010-09-15 Joseph Myers <joseph@codesourcery.com>
10336
10337 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10338 implementing getdents64 using getdents syscall, set d_type if
10339 __ASSUME_GETDENTS32_D_TYPE.
10340
56801c50
AS
103412010-09-16 Andreas Schwab <schwab@redhat.com>
10342
10343 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10344 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10345
dda51327
UD
103462010-09-21 Ulrich Drepper <drepper@redhat.com>
10347
10348 [BZ #12037]
10349 * posix/unistd.h: Undo change of feature selection for ftruncate from
10350 2010-01-11.
10351
8ffcee4a
UD
103522010-09-20 Ulrich Drepper <drepper@redhat.com>
10353
a545ecd9 10354 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
10355 detection.
10356
e24f0a8b
AS
103572010-09-20 Andreas Schwab <schwab@redhat.com>
10358
10359 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10360 fanotify_mark.
10361 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10362
7291c56f
AS
103632010-09-14 Andreas Schwab <schwab@redhat.com>
10364
10365 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10366 variables after CHECK_SP call.
10367 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10368
bc5fb037
AS
103692010-09-13 Andreas Schwab <schwab@redhat.com>
10370 Ulrich Drepper <drepper@redhat.com>
10371
10372 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10373 re-relocationg ld.so.
10374 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10375 _dl_init_paths call.
10376 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10377 here anymore.
10378
e66e7419
UD
103792010-09-14 Ulrich Drepper <drepper@redhat.com>
10380
10381 * resolv/res_init.c (__res_vinit): Count the default server we added.
10382
c044aa75
CLT
103832010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10384 Ulrich Drepper <drepper@redhat.com>
10385
10386 [BZ #11968]
10387 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10388 (____longjmp_chk): Use %ebx for saving value across system call.
10389 Add unwind info.
10390
32cf4069
AS
103912010-09-06 Andreas Schwab <schwab@redhat.com>
10392
10393 * manual/Makefile: Don't mix pattern rules with normal rules.
10394
817328ee
AS
103952010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10396
10397 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10398 operation.
10399 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10400 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10401 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10402 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10403 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10404 Likewise.
10405
29fddf61
UD
104062010-09-04 Ulrich Drepper <drepper@redhat.com>
10407
10408 [BZ #11979]
10409 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10410 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10411
0959ffc9
UD
104122010-09-02 Ulrich Drepper <drepper@redhat.com>
10413
10414 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10415 * sysdeps/x86_64/addmul_1.S: Likewise.
10416 * sysdeps/x86_64/lshift.S: Likewise.
10417 * sysdeps/x86_64/mul_1.S: Likewise.
10418 * sysdeps/x86_64/rshift.S: Likewise.
10419 * sysdeps/x86_64/sub_n.S: Likewise.
10420 * sysdeps/x86_64/submul_1.S: Likewise.
10421
ece29840
ST
104222010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10423
0959ffc9
UD
10424 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10425 Define __sched_param instead of SCHED_* and sched_param when
ece29840 10426 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 10427 * bits/sched.h [__need_schedparam]
ece29840 10428 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
10429 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10430 (__defined_schedparam): Define to 1.
ece29840
ST
10431 (__sched_param): New structure, identical to sched_param.
10432 (__need_schedparam): Undefine.
10433
e53a31fe
MF
104342010-08-31 Mike Frysinger <vapier@gentoo.org>
10435
fdc0c10d
MF
10436 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10437 (epoll_create1): Declare.
10438
e53a31fe
MF
10439 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10440
a726d796
AS
104412010-08-31 Andreas Schwab <schwab@redhat.com>
10442
10443 [BZ #7066]
10444 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10445 shifting retval into place.
10446
2f3e3dc7
UD
104472010-09-01 Ulrich Drepper <drepper@redhat.com>
10448
f2933da9
UD
10449 * nis/rpcsvc/nis.h: Update copyright notice.
10450 * nis/rpcsvc/nis.x: Likewise.
10451 * nis/rpcsvc/nis_callback.h: Likewise.
10452 * nis/rpcsvc/nis_callback.x: Likewise.
10453 * nis/rpcsvc/nis_object.x: Likewise.
10454 * nis/rpcsvc/nis_tags.h: Likewise.
10455 * nis/rpcsvc/yp.h: Likewise.
10456 * nis/rpcsvc/yp.x: Likewise.
10457 * nis/rpcsvc/ypupd.h: Likewise.
10458 * nis/yp_xdr.c: Likewise.
10459 * nis/ypupdate_xdr.c: Likewise.
10460
2f3e3dc7
UD
10461 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10462 mainly the body of pmap_getport. Add parameters to specify timeouts.
10463 (pmap_getport): Use __libc_rpc_getport.
10464 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10465 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10466 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10467
f3dcc2f9
AS
104682010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10469
10470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10471 fanotify_mark.
10472
6d34eb5b
RM
104732010-08-27 Roland McGrath <roland@redhat.com>
10474
10475 * sysdeps/i386/i686/multiarch/Makefile
10476 (CFLAGS-varshift.c): New variable.
10477
9ea3de11
UD
104782010-08-27 Ulrich Drepper <drepper@redhat.com>
10479
c96d23fc
UD
10480 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10481 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10482
9ea3de11
UD
10483 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10484
10485 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10486
623aac7f
L
104872010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10488
10489 * sysdeps/x86_64/strlen.S: Unroll the loop.
10490 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10491 strlen-sse2 strlen-sse2-bsf.
10492 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10493 __strlen_no_bsf if bit_Slow_BSF is set.
10494 (__strlen_sse42): Removed.
10495 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10496 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10497
8b2b7715
RM
104982010-08-25 Roland McGrath <roland@redhat.com>
10499
10500 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10501 * sysdeps/x86_64/multiarch/varshift.c: New file.
10502 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10503 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10504 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10505 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10506
e73015f2
L
105072010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10508
10509 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10510 strlen-sse2 strlen-sse2-bsf.
10511 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10512 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10513 (__strlen_sse2): Removed.
10514 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10515 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10516 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10517 bit_Slow_BSF for Atom.
10518 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10519 (index_Slow_BSF): Define.
10520 (HAS_SLOW_BSF): Define.
10521
df24a73e
UD
105222010-08-25 Ulrich Drepper <drepper@redhat.com>
10523
10524 [BZ #10851]
10525 * resolv/res_init.c (__res_vinit): When no server address at all
10526 is given default to loopback.
10527
f2ac4868
RM
105282010-08-24 Roland McGrath <roland@redhat.com>
10529
09055553
RM
10530 * configure.in: Remove config-name.h generation.
10531 * configure: Regenerated.
10532 * config-name.in: File removed.
10533 * scripts/config-uname.sh: New file.
10534 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10535 ($(objdir)config-name.h): New target.
10536
f2ac4868
RM
10537 * sunrpc/rpc_parse.h: Avoid nested comment.
10538
73f27d5e
RH
105392010-08-24 Richard Henderson <rth@redhat.com>
10540 Ulrich Drepper <drepper@redhat.com>
10541 H.J. Lu <hongjiu.lu@intel.com>
10542
10543 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10545 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10546 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10547 _mm_alignr_epi8 with _mm_loadu_si128.
10548 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10549 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10550 (__m128i_shift_right): Removed.
10551 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10552 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10553 * sysdeps/x86_64/multiarch/varshift.h: New file.
10554 * sysdeps/x86_64/multiarch/varshift.S: New file.
10555
84b9230c
MF
105562010-08-21 Mike Frysinger <vapier@gentoo.org>
10557
10558 * configure.in: Move assembler checks to before sysdep dir checking.
10559
9bbd0ddc
PB
105602010-08-20 Petr Baudis <pasky@suse.cz>
10561
10562 * LICENSES: Sync the sunrpc license.
10563
9da4bb31
UD
105642010-08-19 Ulrich Drepper <drepper@redhat.com>
10565
a7ab6ec8
UD
10566 * sunrpc/auth_des.c: Update copyright notice once again.
10567 * sunrpc/auth_none.c: Likewise.
10568 * sunrpc/auth_unix.c: Likewise.
10569 * sunrpc/authdes_prot.c: Likewise.
10570 * sunrpc/authuxprot.c: Likewise.
10571 * sunrpc/bindrsvprt.c: Likewise.
10572 * sunrpc/clnt_gen.c: Likewise.
10573 * sunrpc/clnt_perr.c: Likewise.
10574 * sunrpc/clnt_raw.c: Likewise.
10575 * sunrpc/clnt_simp.c: Likewise.
10576 * sunrpc/clnt_tcp.c: Likewise.
10577 * sunrpc/clnt_udp.c: Likewise.
10578 * sunrpc/clnt_unix.c: Likewise.
10579 * sunrpc/des_crypt.c: Likewise.
10580 * sunrpc/des_soft.c: Likewise.
10581 * sunrpc/get_myaddr.c: Likewise.
10582 * sunrpc/getrpcport.c: Likewise.
10583 * sunrpc/key_call.c: Likewise.
10584 * sunrpc/key_prot.c: Likewise.
10585 * sunrpc/openchild.c: Likewise.
10586 * sunrpc/pm_getmaps.c: Likewise.
10587 * sunrpc/pm_getport.c: Likewise.
10588 * sunrpc/pmap_clnt.c: Likewise.
10589 * sunrpc/pmap_prot.c: Likewise.
10590 * sunrpc/pmap_prot2.c: Likewise.
10591 * sunrpc/pmap_rmt.c: Likewise.
10592 * sunrpc/rpc/auth.h: Likewise.
10593 * sunrpc/rpc/auth_unix.h: Likewise.
10594 * sunrpc/rpc/clnt.h: Likewise.
10595 * sunrpc/rpc/des_crypt.h: Likewise.
10596 * sunrpc/rpc/key_prot.h: Likewise.
10597 * sunrpc/rpc/netdb.h: Likewise.
10598 * sunrpc/rpc/pmap_clnt.h: Likewise.
10599 * sunrpc/rpc/pmap_prot.h: Likewise.
10600 * sunrpc/rpc/pmap_rmt.h: Likewise.
10601 * sunrpc/rpc/rpc.h: Likewise.
10602 * sunrpc/rpc/rpc_des.h: Likewise.
10603 * sunrpc/rpc/rpc_msg.h: Likewise.
10604 * sunrpc/rpc/svc.h: Likewise.
10605 * sunrpc/rpc/svc_auth.h: Likewise.
10606 * sunrpc/rpc/types.h: Likewise.
10607 * sunrpc/rpc/xdr.h: Likewise.
10608 * sunrpc/rpc_clntout.c: Likewise.
10609 * sunrpc/rpc_cmsg.c: Likewise.
10610 * sunrpc/rpc_common.c: Likewise.
10611 * sunrpc/rpc_cout.c: Likewise.
10612 * sunrpc/rpc_dtable.c: Likewise.
10613 * sunrpc/rpc_hout.c: Likewise.
10614 * sunrpc/rpc_main.c: Likewise.
10615 * sunrpc/rpc_parse.c: Likewise.
10616 * sunrpc/rpc_parse.h: Likewise.
10617 * sunrpc/rpc_prot.c: Likewise.
10618 * sunrpc/rpc_sample.c: Likewise.
10619 * sunrpc/rpc_scan.c: Likewise.
10620 * sunrpc/rpc_scan.h: Likewise.
10621 * sunrpc/rpc_svcout.c: Likewise.
10622 * sunrpc/rpc_tblout.c: Likewise.
10623 * sunrpc/rpc_util.c: Likewise.
10624 * sunrpc/rpc_util.h: Likewise.
10625 * sunrpc/rpcinfo.c: Likewise.
10626 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10627 * sunrpc/rpcsvc/key_prot.x: Likewise.
10628 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10629 * sunrpc/rpcsvc/mount.x: Likewise.
10630 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10631 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10632 * sunrpc/rpcsvc/rex.x: Likewise.
10633 * sunrpc/rpcsvc/rstat.x: Likewise.
10634 * sunrpc/rpcsvc/rusers.x: Likewise.
10635 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10636 * sunrpc/rpcsvc/spray.x: Likewise.
10637 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10638 * sunrpc/rtime.c: Likewise.
10639 * sunrpc/svc.c: Likewise.
10640 * sunrpc/svc_auth.c: Likewise.
10641 * sunrpc/svc_authux.c: Likewise.
10642 * sunrpc/svc_raw.c: Likewise.
10643 * sunrpc/svc_run.c: Likewise.
10644 * sunrpc/svc_simple.c: Likewise.
10645 * sunrpc/svc_tcp.c: Likewise.
10646 * sunrpc/svc_udp.c: Likewise.
10647 * sunrpc/svc_unix.c: Likewise.
10648 * sunrpc/svcauth_des.c: Likewise.
10649 * sunrpc/xcrypt.c: Likewise.
10650 * sunrpc/xdr.c: Likewise.
10651 * sunrpc/xdr_array.c: Likewise.
10652 * sunrpc/xdr_float.c: Likewise.
10653 * sunrpc/xdr_mem.c: Likewise.
10654 * sunrpc/xdr_rec.c: Likewise.
10655 * sunrpc/xdr_ref.c: Likewise.
10656 * sunrpc/xdr_sizeof.c: Likewise.
10657 * sunrpc/xdr_stdio.c: Likewise.
10658
9da4bb31
UD
10659 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10660 handling.
10661
bdaa77bc
AS
106622010-08-19 Andreas Schwab <schwab@redhat.com>
10663
10664 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10665
fe2f79db
LM
106662010-08-19 Luis Machado <luisgpm@br.ibm.com>
10667
10668 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10669 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10670 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10671 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10672 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10673 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10674 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10675 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10676 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10677 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10678 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10679 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10680 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10681 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10682
b9b42ee0
AB
106832010-07-26 Anton Blanchard <anton@samba.org>
10684
10685 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10686 * malloc/arena.c (heap_trim): Likewise.
10687
1c06ba31
UD
106882010-08-16 Ulrich Drepper <drepper@redhat.com>
10689
10690 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10691 here. Not...
10692 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10693 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10694
f8392f40
L
106952010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10696
10697 * sysdeps/i386/elf/Makefile: New file.
10698
3162f12e
AS
106992010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10700
10701 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10702 from fanotify_init.
10703 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10704 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10705
28c90b2c
UD
107062010-08-15 Ulrich Drepper <drepper@redhat.com>
10707
10708 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10709 of strncasecmp_l.
1feccb6c 10710 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 10711
ca6bb004
UD
107122010-08-14 Ulrich Drepper <drepper@redhat.com>
10713
e9f82e0d
UD
10714 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10715 strncase_l-nonascii.
10716 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10717 Add strncase_l-ssse3.
10718 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10719 * sysdeps/x86_64/strcmp.S: Likewise.
10720 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10721 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10722 * sysdeps/x86_64/strncase.S: New file.
10723 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10724 * sysdeps/x86_64/strncase_l.S: New file.
10725 * string/Makefile (strop-tests): Add strncasecmp.
10726 * string/test-strncasecmp.c: New file.
10727
10728 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10729 warning.
10730
ca6bb004
UD
10731 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10732 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10733
052fa7b3
AS
107342010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10735
10736 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10737
962dba78
UD
107382010-08-12 Ulrich Drepper <drepper@redhat.com>
10739
10740 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10741 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10742 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10743
bebff237
AM
107442010-05-01 Alan Modra <amodra@gmail.com>
10745
10746 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10747 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10748 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10749 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10750 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10751 tidying. Don't tail-call __sigjmp_save for static lib.
10752 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10753 save location.
10754 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10755 (CALL_MCOUNT): Add eh info, and nop after bl.
10756 (TAIL_CALL_SYSCALL_ERROR): New macro.
10757 (PSEUDO_RET): Use it.
10758 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10759 Correct save location of integer regs and cr.
10760 (_dl_profile_resolve): Correct cr save location. Delete nops
10761 after bl when SHARED. Reduce cfi size a little by better
10762 placement of cfi directives.
10763 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10764 make a stack frame. Instead use parm save area as a temp.
10765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10766 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10768 Don't make a stack frame for parent, use parm save area.
10769 Increase child stack frame to 112 bytes. Don't save unused reg,
10770 and adjust reg usage. Set up cfi on error recovery and
10771 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10773 (__makecontext): Add dummy nop after jump to exit.
10774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10775 Use correct parm save area and cr save, reduce stack frame.
10776 Correct cfi for possible PSEUDO_RET frame setup.
10777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10778 Branch to local label emitted by PSEUDO_RET rather than
10779 __syscall_error.
10780
02637374
AS
107812010-08-12 Andreas Schwab <schwab@redhat.com>
10782
10783 [BZ #11904]
10784 * locale/programs/locale.c (print_assignment): New function.
10785 (show_locale_vars): Use it.
10786
c3e2f19b
UD
107872010-08-11 Ulrich Drepper <drepper@redhat.com>
10788
3cdaa6ad
UD
10789 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10790 field.
10791 (struct statfs64): Likewise.
10792 (_STATFS_F_FLAGS): Define.
10793 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10794 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10795 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10796 (ST_VALID): Define locally.
10797 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10798 __statvfs_getflags, use the provided value.
10799 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10800 __ASSUME_STATFS_F_FLAGS.
10801
754f7da3
UD
10802 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10803
10b3bedc
UD
10804 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10805 Add sys/fanotify.h.
10806 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10807 fanotify_mask for GLIBC_2.13.
10808 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10809 fanotify_init and fanotify_mark.
10810 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10811 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10812
c08fb0d7
UD
10813 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10814 Add prlimit.
10815 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10816 prlimit64 for GLIBC_2.13.
10817 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10818 prlimit64.
10819 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10820 syscall.
10821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10822 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10823 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10824 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10825 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10826 add prlimit alias.
10827 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10828
15bac72b
UD
10829 [BZ #11903]
10830 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10831 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10832
c3e2f19b
UD
10833 * nss/Makefile: Add rules to build and run tst-nss-test1.
10834 * shlib-versions: Add entry for libnss_test1.
10835 * nss/nss_test1.c: New file.
10836 * nss/tst-nss-test1.c: New file.
10837
10838 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10839 (__nss_configure_lookup): Set appropriate entry in
10840 __nss_configure_lookup to true.
10841 * nss/nsswitch.h: Define enum with indeces of databases in
10842 databases and __nss_database_custom arrays. Declare
10843 __nss_database_custom.
10844 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10845 to avoid using nscd when custom rules are installed.
10846 * nss/getXXbyYY_r.c: Likewise.
10847 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10848
10849 * nss/nss_files/files-parse.c: Whitespace fixes.
10850
f15ce4d8
UD
108512010-08-09 Ulrich Drepper <drepper@redhat.com>
10852
10853 [BZ #11883]
10854 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10855 * posix/fnmatch_loop.c: Likewise.
10856
d22e4cc9
AK
108572010-07-17 Andi Kleen <ak@linux.intel.com>
10858
10859 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10860 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10861 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10862 * Versions.def [GLIBC_2.13]: Add.
10863
805bc17d
UD
108642010-08-06 Ulrich Drepper <drepper@redhat.com>
10865
10866 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10867 Also fail if tpwd after pwuid call is NULL.
10868
5a42321d
ST
108692010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10870
10871 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10872 when converting to ms.
10873
fd3ebeda
ST
108742010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10875
10876 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10877 EOPNOTSUPP errors with ENOTTY.
10878 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10879 EOPNOTSUPP errors with ENOTTY.
10880
73507d3a
UD
108812010-07-31 Ulrich Drepper <drepper@redhat.com>
10882
10883 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10884 Add strcasecmp_l-ssse3.
10885 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10886 strcasecmp.
10887 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10888 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10889 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10890
fe36dd02
UD
108912010-07-30 Ulrich Drepper <drepper@redhat.com>
10892
66f6765a
UD
10893 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10894
42e08a54
UD
10895 * string/Makefile (strop-tests): Add strcasecmp.
10896 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10897 strcasecmp_l-nonascii.
10898 (gen-as-const-headers): Add locale-defines.sym.
10899 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10900 * sysdeps/x86_64/strcasecmp.S: New file.
10901 * sysdeps/x86_64/strcasecmp_l.S: New file.
10902 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10903 * sysdeps/x86_64/locale-defines.sym: New file.
10904 * string/test-strcasecmp.c: New file.
10905
fe36dd02
UD
10906 * string/test-strcasestr.c: Test both ends of the range of characters.
10907 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10908
48cbc0d6
RM
109092010-07-29 Roland McGrath <roland@redhat.com>
10910
76e6d6bc 10911 [BZ #11856]
48cbc0d6
RM
10912 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10913
880113d9
UD
109142010-07-27 Ulrich Drepper <drepper@redhat.com>
10915
10916 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10917 for ld.so.
10918
deb9cabb
AS
109192010-07-27 Andreas Schwab <schwab@redhat.com>
10920
10921 * manual/memory.texi (Malloc Tunable Parameters): Document
10922 M_PERTURB.
10923
1c7570ff
RM
109242010-07-26 Roland McGrath <roland@redhat.com>
10925
10926 [BZ #11840]
10927 * configure.in (-fgnu89-inline check): Set and substitute
10928 gnu89_inline, not libc_cv_gnu89_inline.
10929 * configure: Regenerated.
10930 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10931
24fb0f88
UD
109322010-07-26 Ulrich Drepper <drepper@redhat.com>
10933
10934 * string/test-strnlen.c: New file.
10935 * string/Makefile (strop-tests): Add strnlen.
10936 * string/tester.c (test_strnlen): Add a few more test cases.
10937 * string/tst-strlen.c: Better error reporting.
10938
10939 * sysdeps/x86_64/strnlen.S: New file.
10940
8e96b93a
UD
109412010-07-24 Ulrich Drepper <drepper@redhat.com>
10942
10943 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10944 lower-latency instructions.
10945
dbc676d4
UD
109462010-07-23 Ulrich Drepper <drepper@redhat.com>
10947
10948 * string/test-strcasestr.c: New file.
10949 * string/test-strstr.c: New file.
10950 * string/Makefile (strop-tests): Add strstr and strcasestr.
10951 * string/str-two-way.h: Don't undefine MAX.
10952 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10953
f6a31e0e
AS
109542010-07-21 Andreas Schwab <schwab@redhat.com>
10955
10956 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10957 strcasestr-nonascii.
10958 (CFLAGS-strcasestr-nonascii.c): Define.
10959 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10960 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10961 Remove unused attribute.
10962
5dbc3b6c
RM
109632010-07-20 Roland McGrath <roland@redhat.com>
10964
10965 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10966 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10967 ld.so.cache was broken. With it, there is no way to disable dsocaps
10968 like LD_HWCAP_MASK can disable hwcaps.
10969
23d101d8
EPM
109702010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10971
10972 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10973
cc9f2e47
UD
109742010-07-16 Ulrich Drepper <drepper@redhat.com>
10975
10976 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10977 call in strcasestr.
10978 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10979 __strcasestr_sse42_nonascii.
10980 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10981 strcasestr-nonascii.c.
10982 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10983
77c1b069
LM
109842010-06-15 Luis Machado <luisgpm@br.ibm.com>
10985
10986 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10987 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10988 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10989 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10990
440566c3
UD
109912010-07-09 Ulrich Drepper <drepper@redhat.com>
10992
10993 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10994 fcntl.
10995
5be9d05d
AS
109962010-07-06 Andreas Schwab <schwab@redhat.com>
10997
c30b7ee2 10998 [BZ #11577]
5be9d05d
AS
10999 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11000 dl_signal_cerror.
11001
8a492a67
UD
110022010-07-06 Ulrich Drepper <drepper@redhat.com>
11003
11004 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11005 _PC_PIPE_BUF using F_GETPIPE_SZ.
11006
713df3d5
RM
110072010-07-05 Roland McGrath <roland@redhat.com>
11008
11009 * manual/arith.texi (Rounding Functions): Fix rint description
11010 implicit in round description.
11011
702e8f14
UD
110122010-07-02 Ulrich Drepper <drepper@redhat.com>
11013
11014 * elf/Makefile: Fix linking for a few tests to make recent linker
11015 happy.
11016
52ed8be9
AS
110172010-06-30 Andreas Schwab <schwab@redhat.com>
11018
11019 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11020 $(common-objpfx)libc_nonshared.a.
11021
f47c9a11
LM
110222010-06-21 Luis Machado <luisgpm@br.ibm.com>
11023
11024 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11025 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11026 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11027 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11028 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11029 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11030 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11031 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11046 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11047 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11048 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11049 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11050 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11051 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11052 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11053 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11054 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11055 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11056 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11057 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11072
6fb8cbcb
L
110732010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11074
11075 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11076 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11077 * string/memmove.c (memmove): Renamed to ...
11078 (MEMMOVE): ...this. Default to memmove.
11079 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11080 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11081 (END_CHK): Define.
11082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11083 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11084 mempcpy-ssse3-back memmove-ssse3-back.
11085 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11086 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11087 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11088 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11089 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11090 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11091 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11092 * sysdeps/x86_64/multiarch/memmove.c: New file.
11093 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11094 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11095 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11096 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11097 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11098 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11099 Define.
11100 (index_Fast_Copy_Backward): Define.
11101 (HAS_ARCH_FEATURE): Define.
11102 (HAS_FAST_REP_STRING): Define.
11103 (HAS_FAST_COPY_BACKWARD): Define.
11104
4e733bac 111052010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
11106
11107 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11108 Restore proper fallback handling.
11109
63c4ed22
UD
111102010-06-19 Ulrich Drepper <drepper@redhat.com>
11111
ac2b484c
UD
11112 [BZ #11701]
11113 * posix/group_member.c (__group_member): Correct checking loop.
11114
63c4ed22
UD
11115 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11116 OOM in getpwuid_r correctly. Return error number when the caller
11117 should return, otherwise -1.
11118 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11119 call returning > 0 value.
11120 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11121
765ade4b
AS
111222010-06-07 Andreas Schwab <schwab@redhat.com>
11123
11124 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11125 libc_nonshared.a from targets in modules-names.
11126
80da2e09
KS
111272010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11128
11129 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11130 requires it.
11131
158db122
LM
111322010-06-10 Luis Machado <luisgpm@br.ibm.com>
11133
11134 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11135 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11136 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11137 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11138
caa78cf8
AS
111392010-06-02 Andreas Schwab <schwab@redhat.com>
11140
11141 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11142
b2ef2c01
UD
111432010-06-14 Ulrich Drepper <drepper@redhat.com>
11144
11145 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11146 and F_GETPIPE_SZ.
11147 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11148 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11149 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11150 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11151 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11152 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11153
fbd643b6
RM
111542010-06-14 Roland McGrath <roland@redhat.com>
11155
11156 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11157
f32f2869
JJ
111582010-06-07 Jakub Jelinek <jakub@redhat.com>
11159
11160 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11161 __REDIRECT followed by __THROW.
11162 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11163 * posix/getopt.h (getopt): Likewise.
11164
2a50c078
EPM
111652010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11166
11167 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11168 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11169 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11170 in AT_FLAGS.
11171 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11172 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11173
eb5ad2eb
LM
111742010-05-28 Luis Machado <luisgpm@br.ibm.com>
11175
11176 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11177
3c88fe1e
L
111782010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11179
11180 [BZ #11640]
11181 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11182 Properly check family and model.
11183
d2f73151
TY
111842010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11185
11186 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11187
ebd2e13d
LM
111882010-05-24 Luis Machado <luisgpm@br.ibm.com>
11189
11190 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11191
b32b8b45
UD
111922010-05-21 Ulrich Drepper <drepper@redhat.com>
11193
11194 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11195 symbol reference.
11196
9acbe24d
AS
111972010-05-19 Andreas Schwab <schwab@redhat.com>
11198
11199 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11200 symbol reference.
11201
f0ccf6ea
AS
112022010-05-21 Andreas Schwab <schwab@redhat.com>
11203
3d04ff3a
AS
11204 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11205 and internal_recvmmsg.
11206 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11207 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11208 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11209 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11210
f0ccf6ea
AS
11211 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11212 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11213 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11214
5b08ac57
AS
112152010-05-20 Andreas Schwab <schwab@redhat.com>
11216
11217 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11218
4828935d
LM
112192010-05-17 Luis Machado <luisgpm@br.ibm.com>
11220
11221 POWER7 optimizations.
11222 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11223 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11224
373d545e
UD
112252010-05-19 Ulrich Drepper <drepper@redhat.com>
11226
11227 * version.h: Update for 2.13 development version.
11228
21a2b1ae
AS
112292010-05-12 Andrew Stubbs <ams@codesourcery.com>
11230
11231 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11232 exceptions. Return 0.
11233
3f7dcb2b
RM
112342010-05-07 Roland McGrath <roland@redhat.com>
11235
11236 * elf/ldconfig.c (main): Add a const.
11237
5f24d53a 112382010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11239
a160f8d8
UD
11240 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11241 (args_options): Add no-idn option.
11242 (ahosts_keys_int): Add idn_flags to ai_flags.
11243 (parse_option): Handle 'i' option to clear idn_flags.
11244
5f24d53a
UD
11245 * malloc/malloc.c (_int_free): Possible race in the most recently
11246 added check. Only act on the data if no current modification
11247 happened.
265bb1ce
UD
11248
11249See ChangeLog.17 for earlier changes.
This page took 1.372682 seconds and 5 git commands to generate.