]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Don't warn about unused result of mktemp
[thirdparty/glibc.git] / ChangeLog
CommitLineData
349fa79f
AJ
12012-04-05 Andreas Jaeger <aj@suse.de>
2
3 [BZ #13908]
4 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5 comment.
6
f402708f
KK
72012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8
9 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
10 which ROUND is no valid rounding mode.
11
2ecccfc9
KK
122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13
14 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15 read again.
16 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17
8a53f50f
KK
182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19
20 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21 an exception using FPU order intentionally.
22
232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24
25 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
29
d653abb7
SJ
302012-04-05 Simon Josefsson <simon@josefsson.org>
31
32 [BZ #12340]
33 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34 EINVAL when BUFLEN is too smal.
35
c3b1bf7d
TS
362012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37
38 [BZ #13553]
39 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41
b1aa60f3
AJ
422012-04-03 Andreas Jaeger <aj@suse.de>
43
c3b1bf7d 44 [BZ #13938]
67f60a26
AJ
45 * manual/setjmp.texi (System V contexts): Fix sentence.
46
b1aa60f3
AJ
47 [BZ #13926]
48 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
49 New macro for this case.
50 [!__GNUC__] (__bswap_64): New inline function for this case.
51 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52 * bits/byteswap.h: Likewise.
53 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
54 ull, guard with __GLIBC_HAVE_LONG_LONG.
55
56 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
57 __GLIBC_HAVE_LONG_LONG.
58
59 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
60 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
61
39c59c35
TMQMF
622012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
63
64 [BZ #13691]
65 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
66 inptr and inend, rather than using last_ch.
67
135ffda8
DM
682012-04-02 David S. Miller <davem@davemloft.net>
69
70 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
71 * stdio-common/printf-parse.h (read_int): Change return type to
72 'int', return -1 on INT_MAX overflow.
73 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
74 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
75 overflows INT_MAX. Check for overflow of in-format-string precision
76 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
77 SIZE_MAX not INT_MAX for integer overflow test.
78 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
79 skip the construct in the format string but do not record anything.
80 * stdio-common/bug22.c: Adjust to test both width/prevision
81 INT_MAX overflow as well as total length INT_MAX overflow. Check
82 explicitly for proper errno values.
83
228c019e
TS
842012-04-02 Thomas Schwinge <thomas@codesourcery.com>
85
302cadd3
TS
86 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
87 CHAR_MAX.
88 * string/test-strcmp.c [! WIDE]: Likewise.
89 * time/tst-mktime2.c: Likewise for INT_MAX.
90 * string/test-string.h: #include <sys/param.h> for MIN.
91
228c019e
TS
92 * csu/init-first.c (__libc_init_first): Call __ctype_init.
93 * sysdeps/i386/init-first.c (init): Likewise.
94 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
95 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
96 * sysdeps/sh/init-first.c (init): Likewise.
97
cfa633f5
UD
982012-04-01 Ulrich Drepper <drepper@gmail.com>
99
100 * po/ru.po: Update from translation team.
d1635ef8 101 * po/vi.po: Likewise.
cfa633f5 102
6cd0a5ea
SP
1032012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
104
105 * resolv/nss_dns/dns-host.c: Merge copyright years.
106
4b43400f
LD
1072012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
108
109 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
110 Optimize memcpy with prefetch if
111 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
112 src, dst pointers have unequal 16 byte alignments.
113
48c41d04
SP
1142012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
115
116 [BZ #13928]
117 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
118 from a CNAME entry and return the minimum ttl for the query.
119 (gaih_getanswer_slice): Likewise.
120
b8dc394d
JL
1212012-03-30 Jeff Law <law@redhat.com>
122
123 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
124 due to long keys.
125 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
126 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
127
2f5a5ed0
JL
128 * resolv/nss_dns/dns-host.c: Update copyright year.
129
1d39e359
UD
1302012-03-30 Ulrich Drepper <drepper@gmail.com>
131
c030f70c 132 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 133 requests to save a system call. Fix check that all bytes are sent.
c030f70c 134
1d39e359
UD
135 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
136 comments for sendmmsg.
137
1382012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
139
140 [BZ #13691]
141 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
142 with only 1 character between 0x0041 and 0x01b0.
143 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
144 * wcsmbs/tst-mbsnrtowcs.c: New file.
145
20fde227
DM
1462012-03-29 David S. Miller <davem@davemloft.net>
147
148 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
149 small copies by hand.
150
984a4237
JL
1512012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
152
153 [BZ #13761]
154 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
155 _nss_compat_initgroups_dyn): Fall back to malloc/free
156 for large group memberships.
157
18c9d62b
DM
1582012-03-28 David S. Miller <davem@davemloft.net>
159
88d85d4f
DM
160 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
161 that branches into memcpy.
162 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
163 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
164 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
165 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
166 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
167 bits.
168 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
169 implementation too.
170 * sysdeps/sparc/mempcpy.S: New file.
171
e5aa83e1
DM
172 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
173 the IFUNC routine in the libc case.
174 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
175
88570753
DM
176 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
177 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
178 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
179 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
180 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
181 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
182 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
183 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
184
249d7567
DM
185 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
186 loop to 256 bytes instead of 64 bytes and fix test signedness.
187
18c9d62b
DM
188 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
189 * sysdeps/sparc/sparc32/Makefile: rather than here...
190 * sysdeps/sparc/sparc64/Makefile: and here.
191
05f3d1f6
UD
1922012-03-28 Ulrich Drepper <drepper@gmail.com>
193
194 * malloc/mallocbug.c: Avoid warnings about unused variables.
195
86ae07a8
JL
1962012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
197
198 [BZ #13760]
199 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
200 in the right place. Discard and retry query if response is
201 larger than input buffer size.
202
41bf21a1
JM
2032012-03-28 Joseph Myers <joseph@codesourcery.com>
204
d6270972
JM
205 [BZ #369]
206 [BZ #2678]
207 [BZ #3866]
208 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
209 x for large integer exponent.
210 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
211 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
212 sign of result as needed afterwards.
213 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
214 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
215 result for underflowing pow the same as for overflow.
216 (__kernel_standard_l): Handle powl overflow and underflow here
217 rather than calling __kernel_standard.
218 * math/libm-test.inc (pow_test): Add more tests.
219
414fca03 220 [BZ #3868]
41bf21a1
JM
221 [BZ #13879]
222 [BZ #13910]
223 [BZ #13911]
224 [BZ #13912]
225 [BZ #13913]
226 [BZ #13915]
227 [BZ #13916]
228 [BZ #13917]
229 [BZ #13918]
230 [BZ #13919]
231 [BZ #13920]
232 [BZ #13921]
233 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
234 * sysdeps/ieee754/k_standard.c: Include <float.h>.
235 (__kernel_standard_l): New function.
236 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
237 __kernel_standard.
238 * math/w_acosl.c (__acosl): Likewise.
239 * math/w_asinl.c (__asinl): Likewise.
240 * math/w_atan2l.c (__atan2l): Likewise.
241 * math/w_atanhl.c (__atanhl): Likewise.
242 * math/w_coshl.c (__coshl): Likewise.
243 * math/w_exp10l.c (__exp10l): Likewise.
244 * math/w_exp2l.c (__exp2l): Likewise.
245 * math/w_fmodl.c (__fmodl): Likewise.
246 * math/w_hypotl.c (__hypotl): Likewise.
247 * math/w_j0l.c (__j0l, __y0l): Likewise.
248 * math/w_j1l.c (__j1l, __y1l): Likewise.
249 * math/w_jnl.c (__jnl, __ynl): Likewise.
250 * math/w_lgammal.c (__lgammal): Likewise.
251 * math/w_log10l.c (__log10l): Likewise.
252 * math/w_log2l.c (__log2l): Likewise.
253 * math/w_logl.c (__logl): Likewise.
254 * math/w_powl.c (__powl): Likewise.
255 * math/w_remainderl.c (__remainderl): Likewise.
256 * math/w_scalbl.c (sysv_scalbl): Likewise.
257 * math/w_sinhl.c (__sinhl): Likewise.
258 * math/w_sqrtl.c (__sqrtl): Likewise.
259 * math/w_tgammal.c (__tgammal): Likewise.
260 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
261 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
262 * math/libm-test.inc (acos_test): Add more tests.
263 (acosh_test): Likewise.
264 (asin_test): Likewise.
265 (atanh_test): Likewise.
266 (exp_test): Likewise.
267 (exp10_test): Likewise.
268 (exp2_test): Likewise.
269 (expm1_test): Likewise.
270 (lgamma_test): Likewise.
271 (log_test): Likewise.
272 (log10_test): Likewise.
273 (log1p_test): Likewise.
274 (log2_test): Likewise.
275 (pow_test): Do not allow some spurious overflow exceptions.
276 (sqrt_test): Add more tests.
277 (tgamma_test): Likewise.
278 (y0_test): Likewise.
279 (y1_test): Likewise.
280 (yn_test): Likewise.
281
dd62fda6
AB
2822012-03-27 Anton Blanchard <anton@samba.org>
283
284 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
285 MAP_HUGETLB.
286 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
287 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
288 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
289
1e3cdfda
AJ
2902012-03-27 David S. Miller <davem@davemloft.net>
291
b855ab85
DM
292 * conform/Makefile: Run run-conformtest.sh using $(BASH).
293
1e3cdfda
AJ
294 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
295 have-as-vis3 check.
296
2972012-03-27 Andreas Jaeger <aj@suse.de>
298
299 * sysdeps/x86_64/elf/configure.in: Moved to ...
300 * sysdeps/x86_64/configure.in: ... here.
301 * sysdeps/x86_64/elf/start.S: Moved to ...
302 * sysdeps/x86_64/start.S: ... here.
303 * sysdeps/x86_64/elf/configure: Delete.
304
305 * sysdeps/x86_64/configure.in: Merge contents from
306 sysdeps/i386/configure.in (without i686 check).
307
308 * sysdeps/i386/elf/Versions: Merge into ...
309 * sysdeps/i386/Versions: ... this.
310 * sysdeps/i386/elf/Versions: Delete file.
311 * sysdeps/i386/elf/start.S: Moved to ...
312 * sysdeps/i386/start.S: ...here.
313 * sysdeps/i386/elf/configure.in: Merge into...
314 * sysdeps/i386/configure.in: ...here.
315 * sysdeps/i386/elf/configure.in: Delete file.
316 * sysdeps/i386/elf/configure: Delete file.
317
318 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
319 * debug/backtracesyms.c: ... here.
320 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
321 * debug/backtracesymsfd.c: ... here.
322 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
323 * sysdeps/generic/ifunc-sel.h: ... here.
324
325 * sysdeps/unix/i386/start.c: Delete file.
326 * sysdeps/unix/sparc/start.c: Delete file.
327 * sysdeps/unix/start.c: Delete file.
328
329 * sysdeps/sh/elf/configure.in: Moved to ...
330 * sysdeps/sh/configure.in: ... here.
331 * sysdeps/sh/elf/start.S: Moved to ...
332 * sysdeps/sh/start.S: ... here.
333 * sysdeps/sh/elf/configure: Delete file.
334
335 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
336 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
337 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
338 * sysdeps/powerpc/powerpc64/entry.h: ... here.
339 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
340 * sysdeps/powerpc/powerpc64/start.S: here.
341 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
342 * sysdeps/powerpc/powerpc64/Makefile: ... this.
343 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
344 * sysdeps/powerpc/powerpc64/configure.in: ... this.
345 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
346
347 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
348 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
349 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
350 * sysdeps/powerpc/powerpc32/start.S: ... here.
351 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
352 * sysdeps/powerpc/powerpc32/configure.in: ... this.
353 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
354
355 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
356 * sysdeps/powerpc/ifunc-sel.h: ... here.
357 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
358 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
359
360 * sysdeps/sparc/elf/configure.in: Moved to ...
361 * sysdeps/sparc/configure.in: ... here.
362 * sysdeps/sparc/elf/configure: Delete file.
363 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
364 * sysdeps/sparc/sparc32/start.S: ... here.
365 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
366 * sysdeps/sparc/sparc64/start.S: ... here.
367 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
368 * sysdeps/sparc/sparc32/Makefile: ... this.
369 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
370 * sysdeps/sparc/sparc64/Makefile: ... this.
371
372 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
373 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
374 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
375 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
376 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
377 * sysdeps/s390/s390-32/setjmp.S: ... here.
378 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
379 * sysdeps/s390/s390-32/configure.in: ... here.
380 * sysdeps/s390/s390-32/elf/configure: Delete file.
381 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
382 * sysdeps/s390/s390-32/start.S: ... here.
383
384 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
385 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
386 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
387 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
388 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
389 * sysdeps/s390/s390-64/setjmp.S: ... here.
390 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
391 * sysdeps/s390/s390-64/configure.in: ... here
392 * sysdeps/s390/s390-64/elf/configure: Delete file.
393 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
394 * sysdeps/s390/s390-64/start.S: ... here.
395 * sysdeps/s390/s390-64/elf/configure: Delete.
396
397 * configure.in: Remove support for elf directories in sysdeps.
398
399 * configure: Regenerated.
400 * sysdeps/i386/configure: Regenerated.
401 * sysdeps/powerpc/powerpc32/configure: Regenerated.
402 * sysdeps/powerpc/powerpc64/configure: Regenerated.
403 * sysdeps/s390/s390-32/configure: Regenerated.
404 * sysdeps/s390/s390-64/configure: Regenerated.
405 * sysdeps/sh/configure: Regenerated.
406 * sysdeps/sparc/configure: Regenerated.
407 * sysdeps/x86_64/configure: Regenerated.
408
a3f61311
AS
4092012-03-26 Andreas Schwab <schwab@linux-m68k.org>
410
c876e002
AS
411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
412
a3f61311
AS
413 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
414 denormal result into account.
415
ac4c54f0
RM
4162012-03-25 Roland McGrath <roland@hack.frob.com>
417
418 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
419 Reported by Allan McRae <allan@archlinux.org>.
420
6a9b9c02
JL
4212012-03-23 Jeff Law <law@redhat.com>
422
423 * nss/getnssent.c (__nss_getent): Fix typo.
424
4c42a0c1
DM
4252012-03-23 David S. Miller <davem@davemloft.net>
426
427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
428
1532c7ac
L
4292012-03-23 H.J. Lu <hongjiu.lu@intel.com>
430
431 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
432 to pad to uint64_t for each field.
433 (dl_tls_index): Replace unsigned long with uint64_t.
434
3ff42526
PP
4352012-03-23 Daniel Jacobowitz <dmj@google.com>
436 Paul Pluzhnikov <ppluzhnikov@google.com>
437
438 [BZ #6528]
439 * grp/Makefile (otherlibs): Don't set it.
440 * inet/Makefile (otherlibs): Likewise.
441 * login/Makefile (otherlibs): Likewise.
442 * nscd/Makefile (otherlibs): Likewise.
443 * posix/Makefile (otherlibs): Likewise.
444 * pwd/Makefile (otherlibs): Likewise.
445 * rt/Makefile (otherlibs): Likewise.
446 * sunrpc/Makefile (otherlibs): Likewise.
447 * nss/Makefile (otherlibs): Likewise.
448 Add libnss_files to routines and static-only-routines.
449 ($(objpfx)getent): Remove rule.
450 * resolv/Makefile: Add libnss_dns and libresolv to routines and
451 static-only-routines.
452
7c69cd14
JM
4532012-03-22 Joseph Myers <joseph@codesourcery.com>
454
455 [BZ #13892]
456 * math/s_cexp.c: Include <float.h>.
457 (__cexp): Handle exp result overflowing not necessarily
458 overflowing both real and imaginary parts of result.
459 * math/s_cexpf.c: Likewise.
460 * math/s_cexpl.c: Likewise.
461 * math/libm-test.inc (cexp_test): Add more tests.
462 * sysdeps/i386/fpu/libm-test-ulps: Update.
463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
464
81b035fe
L
4652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
466
467 * include/link.h (ELFW): New macro.
468 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
469 Replace ELF64_R_TYPE with ELFW(R_TYPE).
470
1da7940c
L
4712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
472
473 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
474 with uint64_t.
475
b749dbb9
L
4762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
477
478 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
479 declaration.
480 (struct La_x32_retval): Likewise.
481
2ff87f3f
L
4822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
483
484 * sysdeps/x86_64/preconfigure.in: New file.
485 * sysdeps/x86_64/preconfigure: New generated file.
486
c0df8e69
JM
4872012-03-22 Joseph Myers <joseph@codesourcery.com>
488
48e44791
JM
489 [BZ #13824]
490 * math/e_exp2l.c: Include <float.h>.
491 (__ieee754_exp2l): Handle overflow and underflow cases
492 separately. Only pass fractional part of argument to
493 __ieee754_expl.
494 * math/libm-test.inc (exp2_test): Add more tests.
495
c0df8e69
JM
496 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
497 negating x to take absolute value.
498 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
499 Likewise.
500 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
501 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
502 Likewise.
503 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
504 computing low part if x was negated.
505 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
506
c8e43ba7
L
5072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
508
509 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
510 la_x32_gnu_pltexit.
511 (pltexit): Cast int_retval to ptrdiff_t.
512 * elf/tst-auditmod3b.c: Likewise.
513 * elf/tst-auditmod4b.c: Likewise.
514 * elf/tst-auditmod5b.c: Likewise.
515 * elf/tst-auditmod6b.c: Likewise.
516 * elf/tst-auditmod6c.c: Likewise.
517 * elf/tst-auditmod7b.c: Likewise.
518
519 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
520 and x32_gnu_pltexit.
521
522 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
523 __ELF_NATIVE_CLASS.
524 (La_x32_regs): New macro.
525 (La_x32_retval): Likewise.
526 (la_x32_gnu_pltenter): New function prototype.
527 (la_x32_gnu_pltexit): Likewise.
528
7998fa78
AS
5292012-03-21 Andreas Schwab <schwab@linux-m68k.org>
530
dcb33988
AS
531 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
532 exponent.
533
233fc563
AS
534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
535
7998fa78
AS
536 * configure.in (libc_cv_cc_nofma): Check for option to disable
537 generation of FMA instructions.
538 * configure: Regenerate.
539 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
540 * sysdeps/ieee754/dbl-64/Makefile: New file.
541 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
542 Remove brandred-fma4.
543 (CFLAGS-brandred-fma4.c): Remove.
544 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
545 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
546 define.
547 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
548 define.
549
8e95c99a
L
5502012-03-21 H.J. Lu <hongjiu.lu@intel.com>
551
552 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
553 LLONG_MAX != LONG_MAX.
554 (_itoa_word): Use _ITOA_WORD_TYPE on value.
555 (_fitoa_word): Likewise.
556 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
557 LLONG_MAX != LONG_MAX.
558 * stdio-common/_itowa.h: Include <_itoa.h>.
559 (_itowa_word): Use _ITOA_WORD_TYPE on value.
560 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
561 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
562 only if not defined.
563 (_ITOA_WORD_TYPE): Likewise.
564 (_itoa_word): Use _ITOA_WORD_TYPE on value.
565 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
566
6f4db457
DM
5672012-03-21 David S. Miller <davem@davemloft.net>
568
569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
570
7785fe5a
L
5712012-03-21 H.J. Lu <hongjiu.lu@intel.com>
572
573 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
574 of x86_64 when setting libc_cv_slibdir, libdir and
575 libc_cv_localedir.
576 * sysdeps/unix/sysv/linux/configure: Regenerated.
577
4535cd55
JM
5782012-03-21 Joseph Myers <joseph@codesourcery.com>
579
580 * manual/lang.texi (Old Varargs): Remove section.
581 (How Variadic): Update menu.
582 (va_start): Do not mention varargs.h.
583
17228132
TS
5842012-03-21 Thomas Schwinge <thomas@codesourcery.com>
585 Joseph Myers <joseph@codesourcery.com>
586
587 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
588 link test.
589 * configure: Regenerated.
590
8149f976
TS
5912012-03-21 Thomas Schwinge <thomas@codesourcery.com>
592
05f3d1f6
UD
593 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
594 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
595 conformtest.pl
8149f976 596
1a4ac776
JM
5972012-03-21 Joseph Myers <joseph@codesourcery.com>
598
be22ce65
JM
599 * NOTES: Remove.
600 * Makefile (files-for-dist): Remove NOTES.
601 (NOTES): Remove rule.
602 * README: Don't refer to NOTES.
603 * manual/creature.texi: Don't include macros.texi.
604 * manual/intro.texi (creature.texi): Remove comment referring to
605 NOTES.
606
40b601fb
JM
607 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
608 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
609 * configure: Regenerated.
610 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
611 LIBC_TRY_CC_OPTION.
612 (libc_cv_as_i686): Likewise.
613 (libc_cv_cc_avx): Likewise.
614 (libc_cv_cc_sse2avx): Likewise.
615 (libc_cv_cc_fma4): Likewise.
616 (libc_cv_cc_novzeroupper): Likewise.
617 * sysdeps/i386/configure: Regenerated.
618
1a4ac776
JM
619 [BZ #13883]
620 * sysdeps/i386/fpu/s_cexp.S: Remove.
621 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
622 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
623 * math/libm-test.inc (cexp_test): Add more tests.
624 * sysdeps/i386/fpu/libm-test-ulps: Update.
625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
626
a458e7fe
AM
6272012-03-21 Allan McRae <allan@archlinux.org>
628
629 * timezone/Makefile: Do not install iso3166.tab and zone.tab
630
0cb7efc5
JM
6312012-03-21 Joseph Myers <joseph@codesourcery.com>
632
633 [BZ #13871]
634 * math/w_exp2.c: Do not include <float.h>.
635 (o_threshold, u_threshold): Remove.
636 (__exp2): Calculate result before checking finiteness and calling
637 __kernel_standard.
638 * math/w_exp2f.c: Likewise.
639 * math/w_exp2l.c: Likewise.
640 * math/libm-test.inc (exp2_test): Require overflow exception for
641 1e6 input.
2460d3aa
JM
642
643 [BZ #3866]
644 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
645 range of signed 64-bit integers before using fistpll. Remove
646 checks for whether integers fit in mantissa bits.
647 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
648 the range of signed 32-bit integers before using fistpl. Remove
649 checks for whether integers fit in mantissa bits.
650 * sysdeps/i386/fpu/e_powl.S (p64): New object.
651 (__ieee754_powl): Test for y outside the range of signed 64-bit
652 integers before using fistpll. Reduce 64-bit values to 63-bit
653 ones as needed.
654 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
655 divide-by-zero is raised for zero to large negative powers.
656 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
657 (__ieee754_powl): Test for y outside the range of signed 64-bit
658 integers before using fistpll. Reduce 64-bit values to 63-bit
659 ones as needed.
660 * math/libm-test.inc (pow_test): Add more tests.
661
eb96ffb0
L
6622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
663
664 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
665 <stdio-common/_itoa.h>.
666 * debug/segfault.c: Likewise.
667 * elf/dl-cache.c: Likewise.
668 * elf/dl-minimal.c: Likewise.
669 * elf/dl-misc.c: Likewise.
670 * elf/dl-sysdep.c: Likewise.
671 * elf/dl-version.c: Likewise.
672 * elf/rtld.c: Likewise.
673 * hurd/hurdsock.c: Likewise.
674 * hurd/lookup-retry.c: Likewise.
675 * malloc/malloc.c: Likewise.
676 * malloc/mtrace.c: Likewise.
677 * nscd/nscd_getgr_r.c: Likewise.
678 * nscd/nscd_getpw_r.c: Likewise.
679 * nscd/nscd_getserv_r.c: Likewise.
680 * posix/getopt_init.c: Likewise.
681 * posix/wordexp.c: Likewise.
682 * stdio-common/_itoa.c: Likewise.
683 * stdio-common/printf_fphex.c: Likewise.
684 * stdio-common/vfprintf.c: Likewise.
685 * string/_strerror.c: Likewise.
686 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
687 * sysdeps/i386/i686/hp-timing.h: Likewise.
688 * sysdeps/mach/_strerror.c: Likewise.
689 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
690 * sysdeps/mach/hurd/sethostid.c: Likewise.
691 * sysdeps/mach/hurd/xmknodat.c: Likewise.
692 * sysdeps/mach/xpg-strerror.c: Likewise.
693 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
694 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
695 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
696 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
697 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
698 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
699 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
700 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
701 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
702 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
703 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
704 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
705 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
706 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
707 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
708 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
709 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
710 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
711 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
712 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
713 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
714
715 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
716
717 * stdio-common/_itoa.h: Moved to ...
718 * sysdeps/generic/_itoa.h: Here.
719
720 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
721
722 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
723 instead of "_itoa.h" and "_itowa.h".
724 * stdio-common/vfprintf.: Likewise.
725
d1af992d
L
7262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
727
728 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
729 <bits/wordsize.h>.
730 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
731 (__signbit): Likwise.
732 (llrintf): Likwise.
733 (llrint): Likwise.
734
114883e0
L
7352012-03-20 H.J. Lu <hongjiu.lu@intel.com>
736
737 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
738 __WORDSIZE != 64.
739
c135cc1b
JM
7402012-03-20 Joseph Myers <joseph@codesourcery.com>
741
742 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
743 OVERFLOW_EXCEPTION_OK.
744 * math/libm-test.inc ("Philosophy"): Update comment about
745 exception testing.
746 (OVERFLOW_EXCEPTION): Define.
747 (OVERFLOW_EXCEPTION_OK): Likewise.
748 (INVALID_EXCEPTION_OK): Renumber.
749 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
750 (IGNORE_ZERO_INF_SIGN): Likewise.
751 (test_exceptions): Handle FE_OVERFLOW.
752 (exp10_test): Expect overflow exceptions.
753 (exp2_test): Likewise.
754 (expm1_test): Likewise.
755 (nextafter_test): Likewise.
756 (pow_test): Likewise.
757 (scalbn_test): Likewise.
758 (scalbln_test): Likewise.
759
95443d88
L
7602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
761
762 * sysdeps/x86_64/bits/atomic.h
763 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
764 64bit integer.
765 (atomic_exchange_acq): Likewise.
766 (__arch_exchange_and_add_body): Likewise.
767 (__arch_add_body): Likewise.
768 (atomic_add_negative): Likewise.
769 (atomic_add_zero): Likewise.
770
490df6c4
L
7712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
772
c2722551 773 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
774 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
775
5e52b189
L
7762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
777
778 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
779 Check __x86_64__ instead of __WORDSIZE.
780
a9879d4c
L
7812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
782
783 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
784
5df98260
DM
7852012-03-19 David S. Miller <davem@davemloft.net>
786
e1497744
DM
787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
788
5df98260
DM
789 * sysdeps/sparc/fpu/fenv_private.h: New file.
790 * sysdeps/sparc/fpu/math_private.h: Use it.
791 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
792 Remove.
793 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
794 (libc_feholdexcept_setroundl): Remove.
795 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
796 Remove.
797 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
798 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
799
b4c35121
L
8002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
801
802 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
803 int64_t instead of long int.
804 (INSERT_WORDS64): Likwise.
805
56965fd7
L
8062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
807
808 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
809 _Unwind_GetCFA return to _Unwind_Ptr first.
810
83d1aec8
JM
8112012-03-19 Joseph Myers <joseph@codesourcery.com>
812
1897ad44
JM
813 [BZ #13629]
814 * math/s_clog.c: Include <float.h>.
815 (__clog): Scale large or subnormal inputs.
816 * math/s_clogf.c: Likewise.
817 * math/s_clogl.c: Likewise.
818 * math/s_clog10.c: Include <float.h>.
819 (M_LOG10_2): Define.
820 (__clog10): Scale large or subnormal inputs.
821 * math/s_clog10f.c: Likewise.
822 * math/s_clog10l.c: Likewise.
823 * math/libm-test.inc (clog_test): Add more tests.
824 (clog10_test): Likewise.
825 * sysdeps/i386/fpu/libm-test-ulps: Update.
826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
827
7726d6a9
JM
828 [BZ #11451]
829 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
830 x and y.
831 * math/libm-test.inc (atan2_test): Add another test.
832
83d1aec8
JM
833 * Makerules (common-objdir-compile): Remove.
834 * sysdeps/unix/Makefile (config-generated): Do not add
835 $(unix-generated) to variable.
836 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
837 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
838 Remove rule.
839 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
840 Likewise.
841 [generic bits/local_lim.h] (before-compile): Do not append to
842 variable.
843 [generic bits/local_lim.h] (common-generated): Likewise.
844 [generic sys/param.h] (before-compile): Do not append to variable.
845 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
846 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
847 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
848 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
849 include.
850 [generic sys/param.h] (sys/param.h-includes): Remove variable.
851 [generic sys/param.h] (sys/param.h-includes): Remove rule.
852 [generic sys/param.h] ($(addprefix
853 $(common-objpfx),$(sys/param.h-includes))): Likewise.
854 [generic sys/param.h] (common-generated): Do not append to
855 variable.
856 [generic sys/param.h] (sysdep_headers): Likewise.
857 [generic bits/errno.h] (before-compile): Do not append to
858 variable.
859 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
860 rule.
861 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
862 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
863 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
864 [generic bits/errno.h] (common-generated): Do not append to
865 variable.
866 [generic bits/ioctls.h] (before-compile): Do not append to
867 variable.
868 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
869 rule.
870 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
871 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
872 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
873 rule.
874 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
875 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
876 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
877 [generic bits/ioctls.h] (common-generated): Do not append to
878 variable.
879 [generic sys/syscall.h] (syscall.h): Remove variable.
880 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
881 rule.
882 [generic sys/syscall.h] (before-compile): Do not append to
883 variable.
884 [generic sys/syscall.h] (common-generated): Likewise.
885 * sysdeps/unix/errnos-tmpl.c: Remove file.
886 * sysdeps/unix/errnos.awk: Likewise.
887 * sysdeps/unix/ioctls-tmpl.c: Likewise.
888 * sysdeps/unix/ioctls.awk: Likewise.
889 * sysdeps/unix/mk-local_lim.c: Likewise.
890 * sysdeps/unix/snarf-ioctls: Likewise.
891
4851a949
RH
8922012-03-19 Richard Henderson <rth@twiddle.net>
893
bd37f2ee
RH
894 * sysdeps/i386/fpu/fenv_private.h: New file.
895 * sysdeps/i386/fpu/math_private.h: Use it.
896 (math_opt_barrier, math_force_eval): Remove.
897 (libc_feholdexcept_setround_53bit): Remove.
898 (libc_feupdateenv_53bit): Remove.
899 * sysdeps/x86_64/fpu/math_private.h: Likewise.
900 (math_opt_barrier, math_force_eval): Remove.
901 (libc_feholdexcept): Remove.
902 (libc_feholdexcept_setround): Remove.
903 (libc_fetestexcept, libc_fesetenv): Remove.
904 (libc_feupdateenv_test): Remove.
905 (libc_feupdateenv, libc_feholdsetround): Remove.
906 (libc_feresetround): Remove.
907
d0adc922
RH
908 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
909 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
910
0fe0f1f8
RH
911 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
912 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
913 (libc_feupdateenv_testl): New.
914 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
915 (libc_feupdateenv_testf): New.
916 (libc_feupdateenv): Use libc_feupdateenv_test.
917 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
918 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
919
eb92c487
RH
920 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
921 (libc_feholdsetroundf, libc_feholdsetroundl): New.
922 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
923 (libc_feresetround_noex): New.
924 (libc_feresetround_noexf): New.
925 (libc_feresetround_noexl): New.
926 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
927 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
928 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
929 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
930 SET_RESTORE_ROUND.
931 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
932 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
933 (__cos): Likewise.
934 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
935 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
936 SET_RESTORE_ROUND_NOEX.
937 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
938 SET_RESTORE_ROUND_NOEXF.
939 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
940 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
941 (libc_feholdsetroundf): New.
942 (libc_feresetround, libc_feresetroundf): New.
943
7d2e8012
RH
944 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
945 (libc_feholdexcept_setround_53bit): Convert from macro to function.
946 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
947
b4dabbb4
RH
948 * sysdeps/generic/math_private.h: Include <fenv.h>.
949 (default_libc_feholdexcept): New.
950 (default_libc_feholdexcept_setround): New.
951 (default_libc_fesetenv, default_libc_feupdateenv): New.
952 (libc_feholdexcept): Only define if undefined.
953 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
954 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
955 (libc_feholdexcept_setroundl): Likewise.
956 (libc_feholdexcept_setround_53bit): Likewise.
957 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
958 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
959 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
960 (libc_feupdateenv_53bit): Likewise.
961 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
962 (libc_feholdexcept): Convert from macro to inline function.
963 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
964 (libc_fesetenv, libc_feupdateenv): Likewise.
965
4851a949
RH
966 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
967 not previously defined.
968 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
969 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
970 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
971 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
972 * sysdeps/ieee754/flt-32/math_private.h: New file.
973 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
974 math_private.h below SET_FLOAT_WORD.
975 (__isnan, __isinf_ns, __finite): Remove.
976 (__isnanf, __isinf_nsf, __finitef): Remove.
977
e79d442e
AS
9782012-03-18 Andreas Schwab <schwab@linux-m68k.org>
979
980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
981
90b80344
DM
9822012-03-17 David S. Miller <davem@davemloft.net>
983
984 [BZ #6471]
985 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
986 for 2.16.
987
edc21804
DM
9882012-03-16 David S. Miller <davem@davemloft.net>
989
77e927af
DM
990 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
991 warnings.
992
374976dd
DM
993 [BZ #6471]
994 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
995 properly.
996 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
997 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
998 sysdep_routines when subdir is sysvipc.
999 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1000 __getshmlba helper.
1001
edc21804
DM
1002 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1003
473c3ef3
L
10042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1005
1006 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1007 [__LP64__].
1008
eb0f39b6
L
10092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1010
1011 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1012 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1013 (__lround): Renamed to ...
1014 (__llround): This. Replace long int with long long int.
1015 Define lround functions as aliases of llround functions.
1016 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1017
6b6cd74b
L
10182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1019
1020 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1021 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1022 adresses to uintptr_t. Replace "long int" and "unsigned long
1023 int" with "greg_t" on va_arg.
1024
f1a77b01
L
10252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1026
1027 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1028 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1029
1030 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1031 Move e_machine check before EI_CLASS check. Handle x32
1032 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1033 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1034 SKIP_EM_IA_64 and include
1035 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1036
1037 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1038 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1039 (add_system_dir): New macro.
1040
1041 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1042 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1043
11b90b9f
JM
10442012-03-16 Joseph Myers <joseph@codesourcery.com>
1045
c36e1d23
JM
1046 [BZ #2551]
1047 [BZ #2552]
1048 [BZ #2553]
1049 [BZ #2554]
1050 [BZ #2562]
1051 [BZ #2563]
1052 [BZ #2565]
1053 [BZ #2566]
1054 [BZ #2576]
1055 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1056 (y0): Likewise.
1057 * math/w_j0f.c (j0f): Likewise.
1058 (y0f): Likewise.
1059 * math/w_j0l.c (__j0l): Likewise.
1060 (__y0l): Likewise.
1061 * math/w_j1.c (j1): Likewise.
1062 (y1): Likewise.
1063 * math/w_j1f.c (j1f): Likewise.
1064 (y1f): Likewise.
1065 * math/w_j1l.c (__j1l): Likewise.
1066 (__y1l): Likewise.
1067 * math/w_jn.c (jn): Likewise.
1068 (yn): Likewise.
1069 * math/w_jnf.c (jnf): Likewise.
1070 (ynf): Likewise.
1071 * math/w_jnl.c (__jnl): Likewise.
1072 (__ynl): Likewise.
1073 * math/libm-test.inc (j0_test): Add more tests.
1074 (j1_test): Likewise.
1075 (jn_test): Likewise. Add trailing semicolon to existing test.
1076 (y0_test): Likewise.
1077 (y1_test): Likewise.
1078 * sysdeps/i386/fpu/libm-test-ulps: Update.
1079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1080
11b90b9f
JM
1081 [BZ #13851]
1082 [BZ #13854]
1083 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1084 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1085 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1086 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1087 (__tanl): Set errno for infinite argument.
1088 * sysdeps/i386/fpu/mptan.c: Remove.
1089 * sysdeps/i386/fpu/s_tan.S: Likewise.
1090 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1091 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1092 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1093 * math/libm-test.inc (tan_test): Add more tests and enable more
1094 tests for double and long double.
1095 * sysdeps/i386/fpu/libm-test-ulps: Update.
1096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1097
6a1bd2a1
JK
10982012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1099
1100 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1101 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1102
10a803e0
RM
11032012-03-16 Roland McGrath <roland@hack.frob.com>
1104
1105 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1106 * configure.in: Use it for both main tree and add-ons.
1107 * configure: Regenerated.
1108
f196c7f7
L
11092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1110
1111 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1112
8848d99d
JM
11132012-03-16 Joseph Myers <joseph@codesourcery.com>
1114
96cbe7f4
JM
1115 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1116 in comment.
1117
8848d99d
JM
1118 [BZ #13851]
1119 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1120 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1121 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1122 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1123 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1124 infinite argument.
1125 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1126 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1127 != 0 for prec == 2.
1128 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1129 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1130 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1131 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1132 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1133 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1134 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1135 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1136 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1137 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1138 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1139 * math/libm-test.inc (cos_test): Add more tests and enable more
1140 tests for long double.
1141 (sin_test): Likewise.
1142 (sincos_test): Likewise.
1143 * sysdeps/i386/fpu/libm-test-ulps: Update.
1144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1145
dd7f4703
DM
11462012-03-16 David S. Miller <davem@davemloft.net>
1147
1148 * sysdeps/sparc/fpu/math_private.h: New file.
1149
006f1daa
DM
11502012-03-15 David S. Miller <davem@davemloft.net>
1151
c0c83bc8
DM
1152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1153 file.
e6a62e18 1154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
1155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1156 file.
e6a62e18
DM
1157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1158 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1159 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1160 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1161 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1162 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1163 sysdep routines.
1164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1165
88cb87d9
DM
1166 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1167 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1168
006f1daa 1169 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
1170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1171 sparc-ifunc.h
006f1daa 1172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
1173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1174 Likewise.
1175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1176 Likewise.
006f1daa
DM
1177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
1180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1181 Likewise.
006f1daa
DM
1182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
1186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1187 Likewise.
1188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1189 Likewise.
006f1daa
DM
1190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1194 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1195 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1196 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1197 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1198 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1199 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1200 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1201 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1204 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1205 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1206 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1207 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1208 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1209 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1210 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1211 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1212 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1213 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1214
11e0098e
AS
12152012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1216
1217 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1218 scaling.
1219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1220
e85b09d0
AJ
12212012-03-15 Andreas Jaeger <aj@suse.de>
1222
1223 [BZ #13852]
1224 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1225 ieee754/flt-32 implementation for sin, cos and sincos.
1226 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1227 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1228 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1229 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1230 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1231 ieee754/flt-32 implementation for tan.
1232
1233 * math/libm-test.inc (cos_test): Enable some large input tests for
1234 float as well
1235 (sin_test): Likewise.
1236 (sincos_test): Likewise.
1237 (tan_test): Add tests for large input.
1238
1239 * sysdeps/i386/fpu/libm-test-ulps: Update.
1240
81c64153
AJ
12412012-03-15 Andreas Jaeger <aj@suse.de>
1242
1243 [BZ #13658]
1244 * math/libm-test.inc (cos_test): Add more test cases.
1245 (sin_test): Likewise.
1246 (sincos_test): Likewise.
1247
7bbfa5c6
AJ
12482012-03-15 Andreas Jaeger <aj@suse.de>
1249
1250 [BZ #13837]
1251 * math/libm-test.inc (cos_test): Add a test case for large input
1252 value.
1253 (sin_test): Likewise.
1254 (sincos_test): Likewise.
1255
12562012-03-15 Andreas Jaeger <aj@suse.de>,
1257 Joseph Myers <joseph@codesourcery.com>
1258
1259 [BZ #13658]
0671f479 1260 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1261 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1262 * sysdeps/i386/fpu/branred.c: Likewise.
1263 * sysdeps/i386/fpu/dosincos.c: Likewise.
1264 * sysdeps/i386/fpu/mpa.c: Likewise.
1265 * sysdeps/i386/fpu/s_cos.S: Likewise.
1266 * sysdeps/i386/fpu/s_sin.S: Likewise.
1267 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1268 * sysdeps/i386/fpu/sincos32.c: Likewise.
1269
1270 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1271 Define.
1272 (libc_feupdateenv_53bit): Define.
1273 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1274 Define.
1275 (libc_feupdateenv_53bit): Define.
1276
1277 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1278 53 bit (without extend i386 double precision).
1279
1280 * math/libm-test.inc (sincos_test): Add tests for large input.
1281 (sin): Likewise.
1282 (cos): Likewise.
1283
1284 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1285
9cad04ea
AS
12862012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1287
1288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1289
f7062b9a
DM
12902012-03-15 David S. Miller <davem@davemloft.net>
1291
1292 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1293 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1294 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1295 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1301 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1302 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1303 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1304 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1306 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1308 file.
f7062b9a 1309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1311 file.
f7062b9a 1312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1314 file.
f7062b9a 1315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1317 file.
f7062b9a
DM
1318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1319 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1320 fmin/fmax sysdep routines.
1321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1322
7bd951ff
DM
13232012-03-14 David S. Miller <davem@davemloft.net>
1324
559398ab
DM
1325 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1326 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1327 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1328 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1329 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1330 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1331 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1332 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1333 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1334 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1335 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1336 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1337 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1338 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1339 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1340 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1341 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1342 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1343 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1344 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1345 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1346 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1347 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1348 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1349 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1350 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1351 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1352 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1353 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1354 routines.
1355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1356 file.
559398ab 1357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
1358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1359 file.
559398ab 1360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
1361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1362 file.
559398ab 1363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
1364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1365 file.
559398ab 1366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
1367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1368 file.
559398ab 1369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
1370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1371 file.
1372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1373 file.
1374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1375 file.
1376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1377 file.
1378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1379 New file.
1380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1381 file.
1382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1383 file.
559398ab 1384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
1385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1386 file.
559398ab 1387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1389 file.
559398ab 1390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
1391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1392 file.
559398ab 1393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
1394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1395 VIS3 routines.
559398ab
DM
1396
1397 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1398 New file.
1399
5a1c1e32
DM
1400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1401
eae47a36
DM
1402 * sysdeps/sparc/configure.in: New file.
1403 * sysdeps/sparc/configure: Generate.
1404 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1405 * configure: Regenerate.
1406 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1407 * config.make.in (have-as-vis3): New.
1408 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1409 available use -Av9d instead of -Av9a.
1410 * sysdeps/sparc/sparc64/Makefile: Likewise.
1411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
1412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1413 New file.
1414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1415 file.
1416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1417 New file.
1418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1419 file.
eae47a36
DM
1420 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1421 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1422 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1423 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1424 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1425
c0c83bc8
DM
1426 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1427 fzeros/fnegs to load 0x80000000 into a float register instead of
1428 using the stack.
7bd951ff
DM
1429 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1430
bd951ccb
JM
14312012-03-14 Joseph Myers <joseph@codesourcery.com>
1432
1433 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1434 bits/syscall.h.
1435 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1436 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1437 ($(inst_includedir)/bits/syscall.h): Remove rule.
1438 ($(objpfx)bits/syscall.d): Include instead of
1439 $(objpfx)syscall-list.d.
1440 (generated): Change syscall-list.h and syscall-list.d to
1441 bits/syscall.h and bits/syscall.d.
1442
bb4e6db2
RM
14432012-03-14 Roland McGrath <roland@hack.frob.com>
1444
1445 [BZ #13846]
1446 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1447
aa4a2ae1
JM
14482012-03-14 Joseph Myers <joseph@codesourcery.com>
1449
e456826d
JM
1450 [BZ #13841]
1451 * math/s_csqrt.c: Include <float.h>.
1452 (__csqrt): Scale large or subnormal inputs.
1453 * math/s_csqrtf.c: Likewise.
1454 * math/s_csqrtl.c: Likewise.
1455 * math/libm-test.inc (csqrt_test): Add more tests.
1456 * sysdeps/i386/fpu/libm-test-ulps: Update.
1457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1458
aa4a2ae1
JM
1459 [BZ #13840]
1460 * math/libm-test.inc (hypot_test): Add more tests.
1461
7c10fd35
DM
14622012-03-13 David S. Miller <davem@davemloft.net>
1463
1464 [BZ #13840]
1465 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1466 double-precision for the calculation instead of scaling.
1467
f453b98b
JM
14682012-03-13 Joseph Myers <joseph@codesourcery.com>
1469
1470 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1471 manipulate bits before adding and subtracting TWO52[sx].
1472 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1473 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1474 Likewise.
1475 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1476
09a3453f
DM
14772012-03-13 David S. Miller <davem@davemloft.net>
1478
8e59da90
DM
1479 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1480 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1481 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1482 rtld-global-offsets.h
1483 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1484
2a8ab7f2
DM
1485 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1486 large parameters.
1487
10f62770
DM
1488 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1489
5f0bdb18
DM
1490 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1491 'err' in the ifdef scope in which it is actually used.
1492
09a3453f
DM
1493 * nss/nss_db/db-init.c: Include string.h
1494
b4b2eb5e
DM
14952012-03-12 David S. Miller <davem@davemloft.net>
1496
98bb2f1c
DM
1497 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1498 masking out of the most significant byte of random value used.
1499 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1500 Fix coding style in previous change.
1501
b4b2eb5e
DM
1502 * sysdeps/unix/sysv/linux/kernel-features.h
1503 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1504 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1505 expression.
1506 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1507 later.
1508
6e226b09
DM
15092012-03-11 David S. Miller <davem@davemloft.net>
1510
a1bcbd40
DM
1511 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1512 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1513 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1514 for 'resultvar' otherwise things get truncated on 64-bit.
1515
cb9d6174
DM
1516 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1517 Fix masking out of the most significant byte of random value used.
1518
6e226b09
DM
1519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1520
058c132d
AS
15212012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1522
1523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1524
2d2cd515
DM
15252012-03-09 David S. Miller <davem@davemloft.net>
1526
1527 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1528 variables with appropriate CPP guards.
1529 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1530 frame pointer, not the stack pointer. Correct layout comments. Fix test
1531 on resulting framesize and the management of the outregs buffer for pltexit.
1532 Preserve floating point return values across _dl_call_pltexit call.
1533 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1534 framesize and the management of the outregs buffer for pltexit.
1535 Preserve floating point return values across _dl_call_pltexit
1536 call.
1537 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1538 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1539 (print_exit): Fix format string for return register value.
1540
9a07f9d0
JM
15412012-03-10 Joseph Myers <joseph@codesourcery.com>
1542
1543 * sunrpc/Makefile (others): Add rpcgen.
1544 ($(objpfx)rpcgen): Remove special build rule and dependency on
1545 libc.
1546 * sunrpc/rpcgen.c: New file.
1547
547b5e30
PE
15482012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1549
c524201a
PE
1550 [BZ #13673]
1551 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1552 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1553 * sysdeps/i386/crti.S: Likewise.
1554 * sysdeps/i386/crtn.S: Likewise.
1555 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1556 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1557 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1558 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1559 * sysdeps/sh/crti.S: Likewise.
1560 * sysdeps/sh/crtn.S: Likewise.
1561 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1562
7b6235f2
PE
1563 [BZ #13673]
1564 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1565 with URL.
1566 * locale/programs/locfile-kw.gperf: Likewise.
1567 * locale/programs/charmap-kw.h: Regenerated.
1568 * locale/programs/locfile-kw.h: Likewise.
1569
547b5e30
PE
1570 [BZ #13673]
1571 * intl/plural.y: Replace FSF snail mail address with URL.
1572 * intl/plural.c: Regenerated.
1573
5f0a5dae
RH
15742012-03-09 Richard Henderson <rth@twiddle.net>
1575
1576 * include/math_private.h: Remove file.
1577 * math/math_private.h: Move file ...
1578 * sysdeps/generic/math_private.h: ... here.
1579
b8c03620
RH
1580 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1581 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1582 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1583
4e234f5d 1584 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
1585 and <math_private.h>.
1586 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1587 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1588 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1589 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1590 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1591 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1592 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1593 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1594 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1595 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1596 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1597 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1598 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1599 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1600 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1601 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1602 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1603 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1604 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1605 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1606 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1607 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1608 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1609 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1610 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1611 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1612 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1613 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1614 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1615 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1616 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1617 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1618 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1619 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1620 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1621 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1622 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1623 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1624 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1625 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1626 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1627 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1628 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1629 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1630 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1631 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1632 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1633 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1634 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1635 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1636 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1637 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1638 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1639 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1640 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1641 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1642 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1643 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1644 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1645 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1646 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1647 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1648 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1649 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1650 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1651 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1652 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1653 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1654 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1655 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1656 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1657 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1658 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1659 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1660 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1661 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1662 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1663 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1664 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1665 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1666 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1667 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1668 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1669 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1670 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1671 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1672 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1673 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1674 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1675 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1676 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1677 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1678 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1679 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1680 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1681 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1682 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1683 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1684 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1685 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1686 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1687 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1688 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1689 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1690 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1691 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1692 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1693 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1694 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1695 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1696 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1697 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1698 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1699 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1700 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1701 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1702 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1703 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1704 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1705 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1706 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1707 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1708 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1709 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1710 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1711 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1712 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1713 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1714 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1715 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1716 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1717 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1718 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1719 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1720 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1721 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1722 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1723 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1724 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1725 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1726 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1727 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1728 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1729 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1730 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1731 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1732 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1733 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1734 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1735 * sysdeps/ieee754/k_standard.c: Likewise.
1736 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1737 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1738 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1739 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1740 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1741 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1742 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1743 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1744 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1745 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1746 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1747 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1748 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1749 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1750 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1751 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1752 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1753 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1754 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1755 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1756 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1757 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1758 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1759 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1760 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1761 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1762 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1763 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1764 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1765 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1766 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1767 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1768 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1769 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1770 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1771 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1772 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1773 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1774 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1775 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1776 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1777 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1778 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1779 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1780 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1781 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1782 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1783 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1784 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1785 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1786 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1787 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1788 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1789 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1790 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1791 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1792 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1793 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1794 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1795 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1796 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1797 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1798 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1799 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1800 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1801 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1802 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1803 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1804 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1805 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1806 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1807 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1808 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1809 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1810 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1811 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1812 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1813 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1814 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1815 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1816 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1817 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1818 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1819 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1820 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1821 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1822 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1823 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1824 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1825 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1826 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1827 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1828 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1829 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1830 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1831 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1832 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1833 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1834 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1835 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1836 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1837 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1838 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1839 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1840 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1841 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1842 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1843 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1844 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1845 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1846 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1847 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1848 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1849 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1850 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1851 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1852 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1853 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1854 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1855 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1856 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1857 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1858 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1859 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1860 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1861 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1862 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1863 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1864 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1865 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1866 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1867 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1868 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1869 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1870 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1871 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1872 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1873 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1874 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1875 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1876 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1877 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1878 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1879 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1880 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1881 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1882 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1883 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1884 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1885 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1886 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1887 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1888 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1889 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1890 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1891 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1892 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1893 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1894 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1895 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1896 * sysdeps/ieee754/s_lib_version.c: Likewise.
1897 * sysdeps/ieee754/s_matherr.c: Likewise.
1898 * sysdeps/ieee754/s_signgam.c: Likewise.
1899 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1900 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1901 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1902 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1903 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1904 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1905 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1906 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1907 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1908 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1909 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1910 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1911 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1912 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1913 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1914 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1915 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1916 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1917 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1918 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1919 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 1920
1991fa03
JM
19212012-03-09 Joseph Myers <joseph@codesourcery.com>
1922
1923 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1924 * sunrpc/rpc_main.c: Likewise.
1925 * sunrpc/rpc_svcout.c: Likewise.
1926
60d6f5a6
DM
19272012-03-09 David S. Miller <davem@davemloft.net>
1928
1929 * include/math_private.h: New file.
1930
4962050e
JM
19312012-03-09 Joseph Myers <joseph@codesourcery.com>
1932
02a6f887
JM
1933 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1934 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1935 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1936 from <bits/socket_type.h>.
1937 (enum __socket_type): Don't define here.
1938 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1939 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1940 bits/socket_type.h.
1941
c6e013c1
JM
1942 [BZ #13566]
1943 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1944 checking __USE_GNU.
1945
4962050e
JM
1946 * Makerules ($(inst_includedir)/%.h): New rule.
1947 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1948 (install-others): Remove variable setting.
1949 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1950
38842f45
RH
19512012-03-08 Richard Henderson <rth@twiddle.net>
1952
67bb6da6
RH
1953 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1954 from macro to inline function; merge with the
1955 !__LIBC_INTERNAL_MATH_INLINES version.
1956 (__ieee754_sqrtf): Likewise.
1957
15194b4b
RH
1958 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1959 to inline function.
1960 (__rintf, __floor, __floorf): Likewise.
1961
64e21ede
RH
1962 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1963 macro to inline function.
1964 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1965
38842f45
RH
1966 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1967 not <math/math_private.h>.
1968
c64bf5fe
DM
19692012-03-08 David S. Miller <davem@davemloft.net>
1970
1971 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1972 copyright year.
1973 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1974
82d86f28
TS
19752012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1976
1977 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1978 normalization.
1979 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1980 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1981
aea5d727
UD
19822012-03-08 Ulrich Drepper <drepper@gmail.com>
1983
1984 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1985 be defined individually, they must be defined as a block. Define
1986 S for printing a string instead of hidint the different by using a
1987 macro for adding the 'l'.
1988 * stdio-common/tst-fphex-wide.c: Adjust.
1989
70bca0a3
MP
19902012-03-07 Marek Polacek <polacek@redhat.com>
1991
1992 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1993
65b81130
MP
19942012-03-08 Marek Polacek <polacek@redhat.com>
1995
1996 [BZ #13806]
1997 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1998 * stdio-common/tst-fphex.c: Define a few macros to make the
1999 test reusable. Use them.
2000 * stdio-common/tst-fphex-wide.c: New file.
2001
07037eeb
JM
20022012-03-08 Joseph Myers <joseph@codesourcery.com>
2003
a7a93d50
JM
2004 [BZ #6911]
2005 * manual/macros.texi (gnusystems): New macro.
2006 (nongnusystems): Likewise.
2007 (gnulinuxhurdsystems): Likewise.
2008 (gnuhurdsystems): Likewise..
2009 (gnulinuxsystems): Likewise.
2010 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2011 variants of the GNU system, not "GNU system".
2012 * manual/conf.texi: Likewise.
2013 * manual/errno.texi: Likewise. Update example of errno macro
2014 expansion.
2015 * manual/filesys.texi: Likewise.
2016 (getumask): Document as specific to GNU/Hurd.
2017 * manual/install.texi: Likewise. Reword some references to
2018 GNU/Linux.
2019 * manual/intro.texi: Likewise.
2020 * manual/io.texi: Likewise.
2021 (File Name Portability): Detail which constraints are inapplicable
2022 to all GNU systems and which are only inapplicable to GNU/Hurd.
2023 * manual/job.texi: Likewise.
2024 * manual/llio.texi: Likewise.
2025 (O_NOCTTY): Document as present on GNU/Linux.
2026 * manual/maint.texi: Likewise.
2027 * manual/memory.texi: Likewise.
2028 * manual/pattern.texi: Likewise.
2029 * manual/pipe.texi: Likewise.
2030 * manual/process.texi: Likewise.
2031 * manual/resource.texi: Likewise.
2032 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2033 child on GNU/Hurd.
2034 * manual/setjmp.texi: Likewise.
2035 * manual/signal.texi: Likewise.
2036 * manual/startup.texi: Likewise.
2037 * manual/stdio.texi: Likewise.
2038 * manual/terminal.texi: Likewise.
2039 (ONLCR): Document as POSIX.
2040 (OXTABS): Document availability on GNU/Linux as XTABS.
2041 (ONOEOT): Document availability separately from other bits.
2042 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2043 * manual/time.texi: Likewise.
2044 * manual/users.texi: Likewise.
2045 * INSTALL: Regenerated.
2046 * sysdeps/gnu/errlist.c: Regenerated.
2047
07037eeb
JM
2048 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2049 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2050 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2051 puts.
2052 * configure: Regenerated.
2053
d1d3431a
JM
20542012-03-07 Joseph Myers <joseph@codesourcery.com>
2055
af6a1e37
JM
2056 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2057 default includes instead of AC_HEADER_CHECK.
2058 * sysdeps/i386/configure: Regenerated.
2059
d1d3431a
JM
2060 [BZ #10716]
2061 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2062 * math/s_cacoshf.c (__cacoshf): Likewise.
2063 * math/s_cacoshl.c (__cacoshl): Likewise.
2064 * math/s_casinh.c (__casinh): Set signs of result from argument.
2065 * math/s_casinhf.c (__casinhf): Likewise.
2066 * math/s_casinhl.c (__casinhl): Likewise.
2067 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2068 (casinh_test): Add more tests.
2069 * sysdeps/i386/fpu/libm-test-ulps: Update.
2070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2071
482ff4da
UD
20722012-03-07 Ulrich Drepper <drepper@gmail.com>
2073
872fda05
UD
2074 * po/zh_TW.po: Update from translation team.
2075
a4300c7a
UD
2076 * login/Makefile (distribute): Remove variable.
2077 * catgets/Makefile: Likewise.
2078 * mach/Makefile: Likewise.
2079 * malloc/Makefile: Likewise.
2080 * misc/Makefile: Likewise.
2081 * iconv/Makefile: Likewise.
2082 * nscd/Makefile: Likewise.
2083 * hurd/Makefile: Likewise.
2084 * manual/Makefile: Likewise.
2085 * locale/Makefile: Likewise.
2086 * intl/Makefile: Likewise.
2087 * conform/Makefile: Likewise.
2088 * nss/Makefile: Likewise.
2089 * time/Makefile: Likewise.
2090 * soft-fp/Makefile: Likewise.
2091 * dirent/Makefile: Likewise.
2092 * gmon/Makefile: Likewise.
2093 * po/Makefile: Likewise.
2094 * rt/Makefile: Likewise.
2095 * socket/Makefile: Likewise.
2096 * math/Makefile: Likewise.
2097 * signal/Makefile: Likewise.
2098 * debug/Makefile: Likewise.
2099 * elf/Makefile: Likewise.
2100 * timezone/Makefile: Likewise.
2101 * stdlib/Makefile: Likewise.
2102 * iconvdata/Makefile: Likewise.
2103 * sunrpc/Makefile: Likewise.
2104 * io/Makefile: Likewise.
2105 * argp/Makefile: Likewise.
2106 * inet/Makefile: Likewise.
2107 * hesiod/Makefile: Likewise.
2108 * grp/Makefile: Likewise.
2109 * csu/Makefile: Likewise.
2110 * wctype/Makefile: Likewise.
2111 * crypt/Makefile: Likewise.
2112 * libio/Makefile: Likewise.
2113 * string/Makefile: Likewise.
2114 * nis/Makefile: Likewise.
2115 * resolv/Makefile: Likewise.
2116 * stdio-common/Makefile: Likewise.
2117 * wcsmbs/Makefile: Likewise.
2118 * dlfcn/Makefile: Likewise.
2119 * posix/Makefile: Likewise.
2120
482ff4da
UD
2121 * timezone/Makefile: Don't install timezone files, just the programs
2122 and scripts.
2123
f72ed77d
UD
21242012-03-06 Ulrich Drepper <drepper@gmail.com>
2125
a000466f
UD
2126 * nss/databases.def: Add missing gshadow entry.
2127
f72ed77d
UD
2128 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2129
a53b7a4e
MP
21302012-03-06 Marek Polacek <polacek@redhat.com>
2131
2132 [BZ #13726]
2133 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2134 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2135 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2136 * stdio-common/tst-long-dbl-fphex.c: New file.
2137
e9258400
DM
21382012-03-06 David S. Miller <davem@davemloft.net>
2139
2140 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2141 (set_obp_int): New function.
2142 (get_obp_int): New function.
2143 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
2144 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2145 Avoid unused variable warnings on 'val' and use builtin_expect.
2146 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2147 __builtin_expect.
e9258400
DM
2148 (INLINE_CLONE_SYSCALL): Likewise.
2149
3bd2c723
DM
21502012-03-05 David S. Miller <davem@davemloft.net>
2151
2152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2153
bbb78d03
AS
21542012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2155
884c5db4
AS
2156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2157
bbb78d03
AS
2158 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2159 only for |x| >= 40.
2160 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2161
1c9f702a 21622012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
2163
2164 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2165 Replace gettimeofday with __vdso_gettimeofday.
2166
7be16f82
RM
2167 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2168 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2169 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
2170
2171 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2172 time with __vdso_time.
2173
ed58a00f
JM
21742012-03-05 Joseph Myers <joseph@codesourcery.com>
2175
2176 * manual/lang.texi (size_t): Note types to which size_t may be
2177 equivalent with the GNU C Library, but do not describe when
2178 differences between them are significant.
2179
30ee4ced
AJ
21802012-03-05 Andreas Jaeger <aj@suse.de>
2181
2182 * sysdeps/i386/fpu/libm-test-ulps: Update.
2183
b7cd39e8
JM
21842012-03-05 Joseph Myers <joseph@codesourcery.com>
2185
2186 [BZ #3976]
2187 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2188 (__ieee754_pow): Save and restore rounding mode and use
2189 round-to-nearest for main computations.
2190 * math/libm-test.inc (pow_test_tonearest): New function.
2191 (pow_test_towardzero): Likewise.
2192 (pow_test_downward): Likewise.
2193 (pow_test_upward): Likewise.
2194 (main): Call the new functions.
2195 * sysdeps/i386/fpu/libm-test-ulps: Update.
2196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
2197
2198 [BZ #3976]
2199 * math/libm-test.inc (cosh_test_tonearest): New function.
2200 (cosh_test_towardzero): Likewise.
2201 (cosh_test_downward): Likewise.
2202 (cosh_test_upward): Likewise.
2203 (sinh_test_tonearest): Likewise.
2204 (sinh_test_towardzero): Likewise.
2205 (sinh_test_downward): Likewise.
2206 (sinh_test_upward): Likewise.
2207 (main): Call the new functions.
2208 * sysdeps/i386/fpu/libm-test-ulps: Update.
2209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2210
6c6a98c9
TV
22112012-03-05 Tom de Vries <tom@codesourcery.com>
2212
2213 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2214 default stack guard is set in last bytes.
2215 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2216
21bb2d2e 22172012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2218
21bb2d2e 2219 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2220
21bb2d2e
AJ
2221 [BZ #13656]
2222 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2223 possibly allocate from heap instead of stack.
2224 * stdio-common/bug-vfprintf-nargs.c: New file.
2225 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2226
c6922934
AS
22272012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2228
2229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2230
bc957d53
MP
22312012-03-03 Marek Polacek <polacek@redhat.com>
2232
2233 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2234 * math/math_private.h: Likewise.
2235 * stdlib/tst-strtod.c: Likewise.
2236 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2237 * sysdeps/x86_64/bits/atomic.h: Likewise.
2238
6358490d
DM
22392012-03-02 David S. Miller <davem@davemloft.net>
2240
2241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2245 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2246 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2247 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2248 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2249
01ae168d
RM
22502012-03-02 Roland McGrath <roland@hack.frob.com>
2251
d9a17c07
RM
2252 [BZ #13792]
2253 * manual/examples/README: New file, says the example source files
2254 can be used under GPL>=2.
2255 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2256 line containing just "*/".
2257 * manual/examples/add.c: Add copyright header (GPL>=2).
2258 * manual/examples/argp-ex1.c: Likewise.
2259 * manual/examples/argp-ex2.c: Likewise.
2260 * manual/examples/argp-ex3.c: Likewise.
2261 * manual/examples/argp-ex4.c: Likewise.
2262 * manual/examples/atexit.c: Likewise.
2263 * manual/examples/db.c: Likewise.
2264 * manual/examples/dir.c: Likewise.
2265 * manual/examples/dir2.c: Likewise.
2266 * manual/examples/execinfo.c: Likewise.
2267 * manual/examples/filecli.c: Likewise.
2268 * manual/examples/filesrv.c: Likewise.
2269 * manual/examples/fmtmsgexpl.c: Likewise.
2270 * manual/examples/genpass.c: Likewise.
2271 * manual/examples/inetcli.c: Likewise.
2272 * manual/examples/inetsrv.c: Likewise.
2273 * manual/examples/isockad.c: Likewise.
2274 * manual/examples/longopt.c: Likewise.
2275 * manual/examples/memopen.c: Likewise.
2276 * manual/examples/memstrm.c: Likewise.
2277 * manual/examples/mkfsock.c: Likewise.
2278 * manual/examples/mkisock.c: Likewise.
2279 * manual/examples/mygetpass.c: Likewise.
2280 * manual/examples/pipe.c: Likewise.
2281 * manual/examples/popen.c: Likewise.
2282 * manual/examples/rprintf.c: Likewise.
2283 * manual/examples/search.c: Likewise.
2284 * manual/examples/select.c: Likewise.
2285 * manual/examples/setjmp.c: Likewise.
2286 * manual/examples/sigh1.c: Likewise.
2287 * manual/examples/sigusr.c: Likewise.
2288 * manual/examples/stpcpy.c: Likewise.
2289 * manual/examples/strdupa.c: Likewise.
2290 * manual/examples/strftim.c: Likewise.
2291 * manual/examples/strncat.c: Likewise.
2292 * manual/examples/subopt.c: Likewise.
2293 * manual/examples/swapcontext.c: Likewise.
2294 * manual/examples/termios.c: Likewise.
2295 * manual/examples/testopt.c: Likewise.
2296 * manual/examples/testpass.c: Likewise.
2297 * manual/examples/timeval_subtract.c: Likewise.
2298
01ae168d
RM
2299 [BZ #13792]
2300 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2301 function to ...
2302 * manual/timeval_subtract.c.texi: ... here, new file.
2303
49efa33d
DM
23042012-03-02 David S. Miller <davem@davemloft.net>
2305
2306 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2307
28afd92d
JM
23082012-03-02 Joseph Myers <joseph@codesourcery.com>
2309
804360ed
JM
2310 [BZ #3976]
2311 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2312 (__sin): Save and restore rounding mode and use round-to-nearest
2313 for all computations.
2314 (__cos): Save and restore rounding mode and use round-to-nearest
2315 for all computations.
2316 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2317 <fenv.h>.
2318 (tan): Save and restore rounding mode and use round-to-nearest for
2319 all computations.
2320 * math/libm-test.inc (cos_test_tonearest): New function.
2321 (cos_test_towardzero): Likewise.
2322 (cos_test_downward): Likewise.
2323 (cos_test_upward): Likewise.
2324 (sin_test_tonearest): Likewise.
2325 (sin_test_towardzero): Likewise.
2326 (sin_test_downward): Likewise.
2327 (sin_test_upward): Likewise.
2328 (tan_test_tonearest): Likewise.
2329 (tan_test_towardzero): Likewise.
2330 (tan_test_downward): Likewise.
2331 (tan_test_upward): Likewise.
2332 (main): Call the new functions.
2333 * sysdeps/i386/fpu/libm-test-ulps: Update.
2334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2335
a6d06d7b
JM
2336 [BZ #10135]
2337 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2338 small n, then large n, before computing and testing k+n.
2339 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2340 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2341 Likewise.
2342 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2343 Likewise.
2344 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2345 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2346 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2347 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2348 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2349 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2350 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2351 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2352 * math/libm-test.inc (scalbn_test): Add more tests.
2353 (scalbln_test): Likewise.
2354
07e12bb3
JM
2355 * manual/filesys.texi (mode_t): Describe constraints on size and
2356 signedness, not exact equivalence to a particular type.
2357 (ino_t): Likewise.
2358 (ino64_t): Likewise.
2359 (dev_t): Likewise.
2360 (nlink_t): Likewise.
2361 (blkcnt_t): Likewise.
2362 (blkcnt64_t): Likewise.
2363 * manual/llio.texi (off_t): Likewise.
2364
28afd92d
JM
2365 [BZ #3976]
2366 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2367 (__ieee754_exp): Save and restore rounding mode and use
2368 round-to-nearest for all computations.
2369 * math/libm-test.inc (exp_test_tonearest): New function.
2370 (exp_test_towardzero): Likewise.
2371 (exp_test_downward): Likewise.
2372 (exp_test_upward): Likewise.
2373 (main): Call the new functions.
2374 * sysdeps/i386/fpu/libm-test-ulps: Update.
2375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2376
b1eeb65d
CD
23772012-03-01 Chris Demetriou <cgd@google.com>
2378
2379 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2380 have predictable order.
2381
53362a4b
DM
23822012-03-01 David S. Miller <davem@davemloft.net>
2383
3c969083
DM
2384 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2385
759707de
DM
2386 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2387 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2388 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2389 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2390
dfdb8ff2
DM
2391 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2392 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2393 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2395 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2396 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2397 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2398 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2399 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2400
ead89f96
DM
2401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2402
7f66bd07
DM
2403 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2404 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2405 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2406
53362a4b
DM
2407 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2408 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2409 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2410 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2411 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2412 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2413 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2414 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2415 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2416 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2417 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2418 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2419 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2420 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2421 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2422 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2423 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2424 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2425 * sysdeps/sparc/elf/configure: Regenerated.
2426
7b1902cb
JM
24272012-03-01 Joseph Myers <joseph@codesourcery.com>
2428
bec039bc
JM
2429 * configure.in (AS, LD): Require binutils 2.20 or later.
2430 * configure: Regenerated.
2431 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2432 as required minimum version.
2433 * INSTALL: Regenerated.
2434
7b1902cb
JM
2435 [BZ #2541]
2436 [BZ #4108]
2437 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2438 before squaring exponent.
2439 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2440 bottom long double and 27 bits of top long double before squaring
2441 exponent.
2442 * math/libm-test.inc (erfc_test): Add more tests.
2443 * sysdeps/i386/fpu/libm-test-ulps: Update.
2444 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2446
f775c276
KT
24472012-03-01 Kai Tietz <ktietz@redhat.com>
2448
2449 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2450 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2451 containing bit-fields.
2452 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2453 * soft-fp/single.h (_FP_UNION_S): Likewise.
2454 * soft-fp/double.h (_FP_UNION_D): Likewise.
2455
5b8a4d4a
JM
24562012-02-29 Joseph Myers <joseph@codesourcery.com>
2457
0bab47b6
JM
2458 [BZ #13786]
2459 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2460 not include ../strcmp.S.
2461 [USE_AS_STRNCASECMP_L]: Likewise.
2462 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2463 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2464 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2465 (__strncasecmp_l_ia32): Define as alias to
2466 __strncasecmp_l_nonascii.
2467
0fcad3e2
JM
2468 [BZ #5794]
2469 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2470 * sysdeps/i386/fpu/libm-test-ulps: Update.
2471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2472
5b8a4d4a
JM
2473 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2475
8fdceb2e
JL
24762012-02-29 Jeff Law <law@redhat.com>
2477
2478 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2479 out of bounds read.
2480
1f393a11
MP
24812012-02-29 Marek Polacek <polacek@redhat.com>
2482
2483 [BZ #13706]
2484 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2485 * elf/Makefile: Add rules to run tst-unused-dep.out.
2486
8847f037
DM
24872012-02-28 David S. Miller <davem@davemloft.net>
2488
2489 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2490 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2491 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2492 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2493 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2494 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2495
169d7f11
JM
24962012-02-29 Joseph Myers <joseph@codesourcery.com>
2497
2498 * math/libm-test.inc (llround_test): Move one test from
2499 lround_test. Use TEST_f_L in moved test.
2500 (lround_test): Move misplaced test to llround_test. Add testcase
2501 from bug 2561.
2502
39adf059
UD
25032012-02-28 Ulrich Drepper <drepper@gmail.com>
2504
2505 * sysdeps/x86_64/fpu/e_expf.S: New file.
2506 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2507
71b5d1c5
SB
25082012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2509
2510 [BZ #13637]
2511 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2512 of remain_len that may cause incomplete multi-byte character and
2513 false match.
2514 * posix/bug-regex33.c: New file.
2515 * posix/Makefile (tests): Add bug-regex33.
2516
1f77f049
JM
25172012-02-28 Joseph Myers <joseph@codesourcery.com>
2518
2519 * manual/macros.texi: New file.
2520 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2521 * manual/libc.texinfo: Include macros.texi.
2522 * manual/creatute.texi: Likewise.
2523 * manual/install.texi: Likewise.
2524 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2525 @glibcadj{} in references to the GNU C Library.
2526 * manual/charset.texi: Likewise.
2527 * manual/conf.texi: Likewise.
2528 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2529 when not using those macros.
2530 * manual/creature.texi: Likewise.
2531 * manual/crypt.texi: Likewise.
2532 * manual/errno.texi: Likewise.
2533 * manual/filesys.texi: Likewise.
2534 * manual/header.texi: Likewise.
2535 * manual/install.texi: Likewise.
2536 * manual/intro.texi: Likewise.
2537 * manual/io.texi: Likewise.
2538 * manual/job.texi: Likewise.
2539 * manual/lang.texi: Likewise.
2540 * manual/libc.texiinfo: Likewise.
2541 * manual/llio.texi: Likewise.
2542 * manual/locale.texi: Likewise.
2543 * manual/maint.texi: Likewise.
2544 * manual/math.texi: Likewise.
2545 * manual/memory.texi: Likewise.
2546 * manual/message.texi: Likewise.
2547 * manual/nss.texi: Likewise.
2548 * manual/pattern.texi: Likewise.
2549 * manual/process.texi: Likewise.
2550 * manual/resource.texi: Likewise.
2551 * manual/search.texi: Likewise.
2552 * manual/setjmp.texi: Likewise.
2553 * manual/signal.texi: Likewise.
2554 * manual/socket.texi: Likewise.
2555 * manual/startup.texi: Likewise.
2556 * manual/stdio.texi: Likewise.
2557 * manual/string.texi: Likewise.
2558 * manual/sysinfo.texi: Likewise.
2559 * manual/syslog.texi: Likewise.
2560 * manual/terminal.texi: Likewise.
2561 * manual/time.texi: Likewise.
2562 * manual/users.texi: Likewise.
2563 * INSTALL: Regenerated.
2564 * NOTES: Regenerated.
d40c5d54 2565 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 2566
450bf206
AS
25672012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2568
2569 * include/dirent.h: Include <dirstream.h> before
2570 <dirent/dirent.h>.
2571
741a235b
DM
25722012-02-28 David S. Miller <davem@davemloft.net>
2573
2574 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2575 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2576 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2577 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2578
d6b5aa58
DM
25792012-02-27 David S. Miller <davem@davemloft.net>
2580
1aff59a3
DM
2581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2583 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2584 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2585
d6b5aa58
DM
2586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2587 frame pointer instead of stack pointer relative arg slot.
2588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2589 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2590 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2591
433f48bf
CD
25922012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2593
2594 [BZ #3992]
2595 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2596
d674b76d
DM
25972012-02-27 David S. Miller <davem@davemloft.net>
2598
2599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2603 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2604 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2605 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2606 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2607
0e7727f7
JM
26082012-02-27 Joseph Myers <joseph@codesourcery.com>
2609
2610 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2611 later. Allow versions 5-9.
43be4ca2 2612 * configure: Regenerated.
0e7727f7
JM
2613 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2614 required minimum version and 4.6 as recommended version. Do not
2615 mention bugs in GCC 2.7 and 2.8.
43be4ca2 2616 * INSTALL: Regenerated.
0e7727f7 2617
a78bc654
DM
26182012-02-27 David S. Miller <davem@davemloft.net>
2619
428d5830
DM
2620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2624 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2625 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2626 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2627 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2628
a78bc654
DM
2629 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2630 manipulate bits before adding and subtracting TWO112[sx].
2631 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2632
4579f81c
RM
26332012-02-27 Roland McGrath <roland@hack.frob.com>
2634
36c8acb4
RM
2635 [BZ #13775]
2636 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2637 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2638 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2639 being in POSIX, because they are in 1003.1-2008.
2640
84ad622b
RM
2641 * rt/tst-aio.c: Include <fcntl.h>.
2642 * rt/tst-aio7.c: Likewise.
2643 * rt/tst-aio64.c: Likewise.
2644
4579f81c
RM
2645 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2646
abd923db
JM
26472012-02-27 Joseph Myers <joseph@codesourcery.com>
2648
2649 * manual/install.texi (--with-headers): Describe headers as
2650 interface headers, not private headers.
2651 (Specific advice for GNU/Linux systems): Describe use of headers
2652 from "make headers_install", not private headers from older
2653 kernels.
43be4ca2 2654 * INSTALL: Regenerated.
abd923db
JM
2655 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2656 Change to 2.6.19.
2657 * sysdeps/unix/sysv/linux/configure: Regenerated.
2658
6664049b
JM
2659 * manual/llio.texi (fclean): Remove documentation.
2660
bb8b6697
JM
2661 * manual/Makefile (libc-texi-generated): New variable. Include
2662 version.texi.
2663 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2664 $(libc-texi-generated), not duplicated list of files.
2665 (version.texi, stamp-version): New rules.
2666 (realclean): Remove $(libc-texi-generated), not individual files
2667 from that list. Do not remove dir-add.texinfo.
2668 * manual/libc.texinfo: Comment out uses of edition numbers and
2669 references to printed manual. Remove last-updated dates.
2670 (EDITION): Comment out.
2671 (ISBN): Likewise.
2672 (VERSION, UPDATED): Remove.
2673 (version.texi): Include.
2674
12e5c3b9
AS
26752012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2676
2677 * sysdeps/posix/spawni.c: Include <signal.h>.
2678 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2679 * sysdeps/pthread/aio_fsync.c: Likewise.
2680
4efeffc1 26812012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 2682
ba63ba08
UD
2683 * conform/Makefile (tests): Run only when not cross-compiling and
2684 when fast-check is not defined.
2685
d94a4670
UD
2686 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2687 * conform/data/limits.h-data: Fixes for POSIX2008.
2688 * conform/run-conformtest.sh: Run all tests.
2689 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2690 headers.
2691 * include/bits/dlfcn.h: Likewise.
2692 * include/langinfo.h: Likewise.
2693 * include/monetary.h: Likewise.
2694 * include/sys/poll.h: Likewise.
2695
2696 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2697 for __USE_GNU.
2698 * posix/spawn.h: Define __need_sigset_t.
2699 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2700 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2701 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2702 to get sigevent_t only.
2703 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2704 only for __USE_GNU.
2705 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2706 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2707 process_vm_writev only for __USE_GNU.
2708 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
2709
2710 * conform/Makefile: For now ignore errors from run-conformtest.
2711 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2712 POSIX to avoid namespace pollution. Don't prepend headers.
2713 * conform/data/aio.h-data: Fixes for POSIX testing.
2714 * conform/data/fcntl.h-data: Likewise.
2715 * conform/data/glob.h-data: Likewise.
2716 * conform/data/grp.h-data: Likewise.
2717 * conform/data/pthread.h-data: Likewise.
2718 * conform/data/pwd.h-data: Likewise.
2719 * conform/data/signal.h-data: Likewise.
2720 * conform/data/spawn.h-data: Likewise.
2721 * conform/data/stdio.h-data: Likewise.
2722 * conform/data/stdlib.h-data: Likewise.
2723 * conform/data/stropts.h-data: Likewise.
2724 * conform/data/sys/mman.h-data: Likewise.
2725 * conform/data/sys/stat.h-data: Likewise.
2726 * conform/data/sys/types.h-data: Likewise.
2727 * conform/data/sys/wait.h-data: Likewise.
2728 * conform/data/time.h-data: Likewise.
2729 * conform/data/unistd.h-data: Likewise.
2730 * conform/data/utime.h-data: Likewise.
2731
2732 * io/sys/stat.h: fchmod was always in POSIX.
2733 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2734 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2735 * rt/aio.h: Define __need_timespec before including <time.h>.
2736 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2737 struct. Add forward declaration of pthread_attr_t and use it in
2738 sigevent.
2739 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2740 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2741 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2742 always remove CLK_TCK definition.
2743
c20105c3
AS
27442012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2745
2746 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2747
7a270350
UD
27482012-02-25 Ulrich Drepper <drepper@gmail.com>
2749
31341567
UD
2750 * conform/run-conformtest.sh: New file.
2751 * conform/Makefile: Run run-conformtest for tests.
2752 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2753 support.
2754
2755 * conform/data/uchar.h-data: New file.
2756 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2757 * conform/data/arpa/inet.h-data: Likewise.
2758 * conform/data/assert.h-data: Likewise.
2759 * conform/data/complex.h-data: Likewise.
2760 * conform/data/cpio.h-data: Likewise.
2761 * conform/data/ctype.h-data: Likewise.
2762 * conform/data/dirent.h-data: Likewise.
2763 * conform/data/dlfcn.h-data: Likewise.
2764 * conform/data/errno.h-data: Likewise.
2765 * conform/data/fcntl.h-data: Likewise.
2766 * conform/data/float.h-data: Likewise.
2767 * conform/data/fmtmsg.h-data: Likewise.
2768 * conform/data/fnmatch.h-data: Likewise.
2769 * conform/data/ftw.h-data: Likewise.
2770 * conform/data/glob.h-data: Likewise.
2771 * conform/data/grp.h-data: Likewise.
2772 * conform/data/iconv.h-data: Likewise.
2773 * conform/data/inttypes.h-data: Likewise.
2774 * conform/data/langinfo.h-data: Likewise.
2775 * conform/data/libgen.h-data: Likewise.
2776 * conform/data/limits.h-data: Likewise.
2777 * conform/data/locale.h-data: Likewise.
2778 * conform/data/math.h-data: Likewise.
2779 * conform/data/monetary.h-data: Likewise.
2780 * conform/data/mqueue.h-data: Likewise.
2781 * conform/data/ndbm.h-data: Likewise.
2782 * conform/data/net/if.h-data: Likewise.
2783 * conform/data/netdb.h-data: Likewise.
2784 * conform/data/netinet/in.h-data: Likewise.
2785 * conform/data/nl_types.h-data: Likewise.
2786 * conform/data/poll.h-data: Likewise.
2787 * conform/data/pthread.h-data: Likewise.
2788 * conform/data/pwd.h-data: Likewise.
2789 * conform/data/regex.h-data: Likewise.
2790 * conform/data/sched.h-data: Likewise.
2791 * conform/data/search.h-data: Likewise.
2792 * conform/data/semaphore.h-data: Likewise.
2793 * conform/data/setjmp.h-data: Likewise.
2794 * conform/data/signal.h-data: Likewise.
2795 * conform/data/spawn.h-data: Likewise.
2796 * conform/data/stdarg.h-data: Likewise.
2797 * conform/data/stdio.h-data: Likewise.
2798 * conform/data/stdlib.h-data: Likewise.
2799 * conform/data/string.h-data: Likewise.
2800 * conform/data/strings.h-data: Likewise.
2801 * conform/data/stropts.h-data: Likewise.
2802 * conform/data/sys/ipc.h-data: Likewise.
2803 * conform/data/sys/mman.h-data: Likewise.
2804 * conform/data/sys/msg.h-data: Likewise.
2805 * conform/data/sys/resource.h-data: Likewise.
2806 * conform/data/sys/select.h-data: Likewise.
2807 * conform/data/sys/sem.h-data: Likewise.
2808 * conform/data/sys/shm.h-data: Likewise.
2809 * conform/data/sys/socket.h-data: Likewise.
2810 * conform/data/sys/stat.h-data: Likewise.
2811 * conform/data/sys/statvfs.h-data: Likewise.
2812 * conform/data/sys/time.h-data: Likewise.
2813 * conform/data/sys/timeb.h-data: Likewise.
2814 * conform/data/sys/times.h-data: Likewise.
2815 * conform/data/sys/types.h-data: Likewise.
2816 * conform/data/sys/uio.h-data: Likewise.
2817 * conform/data/sys/un.h-data: Likewise.
2818 * conform/data/sys/utsname.h-data: Likewise.
2819 * conform/data/sys/wait.h-data: Likewise.
2820 * conform/data/syslog.h-data: Likewise.
2821 * conform/data/tar.h-data: Likewise.
2822 * conform/data/termios.h-data: Likewise.
2823 * conform/data/utime.h-data: Likewise.
2824 * conform/data/utmpx.h-data: Likewise.
2825 * conform/data/varargs.h-data: Likewise.
2826 * conform/data/wchar.h-data: Likewise.
2827 * conform/data/wctype.h-data: Likewise.
2828 * conform/data/wordexp.h-data: Likewise.
2829
2830 * include/stropts.h: New file.
2831 * include/uchar.h: New file.
2832 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2833 * include/assert.h: Likewise.
2834 * include/ctype.h: Likewise.
2835 * include/dirent.h: Likewise.
2836 * include/dlfcn.h: Likewise.
2837 * include/fcntl.h: Likewise.
2838 * include/fnmatch.h: Likewise.
2839 * include/glob.h: Likewise.
2840 * include/grp.h: Likewise.
2841 * include/libio.h: Likewise.
2842 * include/locale.h: Likewise.
2843 * include/math.h: Likewise.
2844 * include/net/if.h: Likewise.
2845 * include/netdb.h: Likewise.
2846 * include/netinet/in.h: Likewise.
2847 * include/pthread.h: Likewise.
2848 * include/pwd.h: Likewise.
2849 * include/regex.h: Likewise.
2850 * include/sched.h: Likewise.
2851 * include/search.h: Likewise.
2852 * include/setjmp.h: Likewise.
2853 * include/signal.h: Likewise.
2854 * include/stdio.h: Likewise.
2855 * include/stdlib.h: Likewise.
2856 * include/string.h: Likewise.
2857 * include/sys/cdefs.h: Likewise.
2858 * include/sys/mman.h: Likewise.
2859 * include/sys/msg.h: Likewise.
2860 * include/sys/resource.h: Likewise.
2861 * include/sys/select.h: Likewise.
2862 * include/sys/socket.h: Likewise.
2863 * include/sys/stat.h: Likewise.
2864 * include/sys/statvfs.h: Likewise.
2865 * include/sys/time.h: Likewise.
2866 * include/sys/times.h: Likewise.
2867 * include/sys/uio.h: Likewise.
2868 * include/sys/utsname.h: Likewise.
2869 * include/sys/wait.h: Likewise.
2870 * include/termios.h: Likewise.
2871 * include/time.h: Likewise.
2872 * include/ulimit.h: Likewise.
2873 * include/unistd.h: Likewise.
2874 * include/utime.h: Likewise.
2875 * include/wchar.h: Likewise.
2876 * include/wctype.h: Likewise.
2877 * include/wordexp.h: Likewise.
2878
2879 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2880
7a270350
UD
2881 * time/time.h: TIME_UTC must be a macro.
2882 Make timespec_get available for ISO C11 only as well.
2883
7724defc
UD
28842012-02-24 Ulrich Drepper <drepper@gmail.com>
2885
2886 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2887 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2888
6b1d1d46
JM
28892012-02-24 Joseph Myers <joseph@codesourcery.com>
2890
2891 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 2892
0f8bbd69
JM
28932012-02-24 Joseph Myers <joseph@codesourcery.com>
2894
2895 * manual/texinfo.tex: Update to version 2012-01-19.16.
2896
66ab80bc
JM
28972012-02-24 Joseph Myers <joseph@codesourcery.com>
2898
2899 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2900
74981cc5
RM
29012012-02-24 Roland McGrath <roland@hack.frob.com>
2902
ee968201
RM
2903 [BZ #13738]
2904 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2905 * manual/fdl-1.3.texi: New file.
2906 * manual/fdl-1.1.texi: File removed.
2907
74981cc5
RM
2908 [BZ #13738]
2909 * manual/libc.texinfo (FDL_VERSION): New @set.
2910 Use it for mention of FDL in cover text.
2911 (Documentation License): Use it in @include file name.
2912
7bb764bc
JM
29132012-02-22 Joseph Myers <joseph@codesourcery.com>
2914 Roland McGrath <roland@hack.frob.com>
2915
2916 [BZ #5461]
2917 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2918 not LONG_LONG_MAX and LONG_LONG_MIN.
2919 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2920 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2921 name.
2922 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2923
6cbeae47
JM
29242012-02-22 Joseph Myers <joseph@codesourcery.com>
2925
2926 [BZ #2547]
2927 [BZ #11365]
2928 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2929 manipulate bits before adding and subtracting TWO23[sx].
2930 * math/libm-test.inc (nearbyint_test): Add more tests.
2931
fe45ce09
JM
29322012-02-22 Joseph Myers <joseph@codesourcery.com>
2933
2934 [BZ #2548]
2935 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2936 bits before adding and subtracting TWO23[sx].
2937 * math/libm-test.inc (rint_test): Add more tests.
2938 (rint_test_tonearest): Likewise.
2939 (rint_test_towardzero): Likewise.
2940 (rint_test_downward): Likewise.
2941 (rint_test_upward: Likewise.
2942
ff3b3d82
JM
29432012-02-22 Joseph Myers <joseph@codesourcery.com>
2944
2945 [BZ #10110]
2946 * include/stdc-predef.h: New file. Extracted from features.h.
2947 * include/features.h: Include stdc-predef.h.
2948 * Makefile (headers): Add stdc-predef.h.
2949 * CONFORMANCE (Compiler limitations): Update.
2950
ef0aab35
JM
29512012-02-22 Joseph Myers <joseph@codesourcery.com>
2952
2953 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2954
58639409
DM
29552012-02-21 David S. Miller <davem@davemloft.net>
2956
2957 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2958 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2959
c0e70b25
DM
29602012-02-20 David S. Miller <davem@davemloft.net>
2961
2962 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2963 using a normal save/restore sequence, rather than allocating a
2964 dummy stack frame just to store a frame pointer and restore.
2965 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2966
fb06851d
JM
29672012-02-21 Joseph Myers <joseph@codesourcery.com>
2968
2969 * manual/install.texi: Fix stray word in line-wrapped comment.
2970
7a8b71c3
DM
29712012-02-20 David S. Miller <davem@davemloft.net>
2972
d510c123
DM
2973 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2974 both binutils and gcc support GOTDATA.
2975
0722d7c2
DM
2976 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2977 "rd %pc" in the PIC register setup sequences.
2978
3d2b3019
DM
2979 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2980 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2981 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2982 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2983 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2984 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2985 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2986 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2987 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2988 (SYSCALL_ERROR_HANDLER): Likewise.
2989 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2990 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2991 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2992 (SYSCALL_ERROR_HANDLER): Likewise.
2993
c80098a9
DM
2994 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2995 (HAVE_GCC_GOTDATA): New.
2996 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2997 relocation support in both binutils and gcc.
2998 * sysdeps/sparc/elf/configure: Regenerate.
2999
3a2545a0
DM
3000 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3001 * sysdeps/sparc/sparc32/elf/configure: Delete.
3002 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3003 * sysdeps/sparc/sparc64/elf/configure: Delete.
3004 * sysdeps/sparc/elf/configure.in: New file.
3005 * sysdeps/sparc/elf/configure: Generate.
3006
7a8b71c3
DM
3007 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3008 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3009 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3010 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3011 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3012
f1e86fca
JM
30132012-02-21 Joseph Myers <joseph@codesourcery.com>
3014
3015 * manual/install.texi: Do not mention specific glibc version
3016 numbers.
3017 * manual/libc.texinfo (VERSION, UPDATED): Update.
3018 (@copying): Use @copyright{} and range of years.
3019
0e7dfaef
JM
30202012-02-21 Joseph Myers <joseph@codesourcery.com>
3021
3022 [BZ #13695]
3023 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3024 [crti.S not in sysdirs] (generated): Do not append.
3025 [crti.S not in sysdirs] (omit-deps): Likewise.
3026 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3027 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3028 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3029 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3030 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3031 Likewise.
3032 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3033 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3034 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3035 * csu/defs.awk: Remove file.
3036 * sysdeps/generic/initfini.c: Likewise.
3037 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3038 variable.
3039 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3040 Likewise.
3041
599af3ca
JM
30422012-02-20 Joseph Myers <joseph@codesourcery.com>
3043
3044 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3045 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3046 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3047 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3048 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3049 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3050 <bits/epoll.h>.
3051 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3052 (__EPOLL_PACKED): Define to empty if not defined by
3053 <bits/epoll.h>.
3054 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3055 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3056 bits/epoll.h.
3057
0e499750
JM
30582012-02-20 Joseph Myers <joseph@codesourcery.com>
3059
3060 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3061 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3062 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3063 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3064 <bits/timerfd.h>.
3065 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3066 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3067 bits/timerfd.h.
3068
5ad91f6e
JM
30692012-02-20 Joseph Myers <joseph@codesourcery.com>
3070
3071 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3072 in C locale.
3073 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3074 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3075 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3077
06b99b02
AJ
30782012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3079
3080 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3081 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3082
7638c0fd
AS
30832012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3084
3085 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3086 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3087 defined.
3088 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3089 Likewise.
3090 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3091 entry for 2.16.
3092
92221550
AJ
30932012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3094
3095 * math/w_acos.c: Use non-signaling floating-point comparisons.
3096 * math/w_acosf.c: Likewise.
3097 * math/w_acosh.c: Likewise.
3098 * math/w_acoshf.c: Likewise.
3099 * math/w_acoshl.c: Likewise.
3100 * math/w_acosl.c: Likewise.
3101 * math/w_asin.c: Likewise.
3102 * math/w_asinf.c: Likewise.
3103 * math/w_asinl.c: Likewise.
3104 * math/w_atanh.c: Likewise.
3105 * math/w_atanhf.c: Likewise.
3106 * math/w_atanhl.c: Likewise.
3107 * math/w_exp2.c: Likewise.
3108 * math/w_exp2f.c: Likewise.
3109 * math/w_exp2l.c: Likewise.
3110 * math/w_j0.c: Likewise.
3111 * math/w_j0f.c: Likewise.
3112 * math/w_j0l.c: Likewise.
3113 * math/w_j1.c: Likewise.
3114 * math/w_j1f.c: Likewise.
3115 * math/w_j1l.c: Likewise.
3116 * math/w_jn.c: Likewise.
3117 * math/w_jnf.c: Likewise.
3118 * math/w_log.c: Likewise.
3119 * math/w_log10.c: Likewise.
3120 * math/w_log10f.c: Likewise.
3121 * math/w_log10l.c: Likewise.
3122 * math/w_log2.c: Likewise.
3123 * math/w_log2f.c: Likewise.
3124 * math/w_log2l.c: Likewise.
3125 * math/w_logf.c: Likewise.
3126 * math/w_logl.c: Likewise.
3127 * math/w_sqrt.c: Likewise.
3128 * math/w_sqrtf.c: Likewise.
3129 * math/w_sqrtl.c: Likewise.
3130 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3131 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3132 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3133 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3134 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3135
ebaf36eb
JM
31362012-02-19 Joseph Myers <joseph@codesourcery.com>
3137
3138 [BZ #9739]
3139 * manual/string.texi (strnlen): Use correct parameter name in
3140 equivalent expression.
3141
71c254a6
JM
31422012-02-19 Joseph Myers <joseph@codesourcery.com>
3143
3144 [BZ #11174]
3145 * manual/users.texi (seteuid): Consistently use neweuid for
3146 argument name.
3147
16d2c631
JM
31482012-02-19 Joseph Myers <joseph@codesourcery.com>
3149
3150 [BZ #13704]
3151 * manual/nss.texi (Services in the NSS configuration): Correct
3152 list of services in example configuration file.
3153
cd837b09
NB
31542012-02-19 Nick Bowler <nbowler@draconx.ca>
3155
3156 [BZ #11322]
3157 * manual/arith.texi: Remove statements about negative zero
3158 behaving identically to zero.
3159
02c4bbad
JM
31602012-02-18 Joseph Myers <joseph@codesourcery.com>
3161
3162 [BZ #5993]
3163 * manual/install.texi: Do not document upgrading from libc5.
3164
366842e7
JM
31652012-02-18 Joseph Myers <joseph@codesourcery.com>
3166
3167 [BZ #4596]
3168 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3169
dd54084d
DM
31702012-02-18 David S. Miller <davem@davemloft.net>
3171
3172 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3173 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3174 %o7 across the call.
3175 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3176 instead.
3177 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3178 SETUP_PIC_REG_LEAF.
3179 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3180 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3181 * sysdeps/sparc/crtn.S: Likewise.
3182
2bcc53a3
UD
31832012-02-17 Ulrich Drepper <drepper@gmail.com>
3184
3185 * aout/Makefile: Remove.
3186
09c093b5
RK
31872012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3188
3189 [BZ #13058]
3190 * manual/examples/argp-ex1.c (main): Format definition in GNU
3191 style.
3192 * manual/examples/argp-ex2.c (main): Likewise.
3193 * manual/examples/argp-ex3.c (main): Likewise.
3194 * manual/examples/argp-ex4.c (main): Likewise.
3195 * manual/examples/longopt.c (main): Use new-style prototype
3196 definition.
3197 * manual/examples/strncat.c (main): Specify return type and use
3198 (void) for arguments.
3199 * manual/examples/subopt.c (main): Use char **argv argument.
3200
2ee633a2
JM
32012012-02-17 Joseph Myers <joseph@codesourcery.com>
3202
3203 [BZ #5077]
3204 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3205 rounding modes.
3206
0520adde
FB
32072012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3208
3209 [BZ #6907]
3210 * manual/string.texi (strchr): Change when strchrnul is
3211 recommended.
3212
3f4081cd
DGM
32132012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3214
3215 [BZ #174]
3216 * manual/locale.texi (setlocale): Document LOCPATH.
3217
d1b10e78
JM
32182012-02-17 Joseph Myers <joseph@codesourcery.com>
3219
3220 [BZ #10210]
3221 * manual/process.texi (execle): Move @dots{} before last argument.
3222
79c6869c
PB
32232012-02-17 Paul Bolle <pebolle@tiscali.nl>
3224
3225 [BZ #12047]
3226 * manual/charset.texi (Generic Charset Conversion): Fix typo
3227 (LC_TYPE -> LC_CTYPE).
3228
cc6e48bc
NB
32292012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3230
3231 [BZ #5805]
3232 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3233 (scalbnf): Likewise.
3234 (scalbnl): Likewise.
3235 (scalbln): Likewise.
3236 (scalblnf): Likewise.
3237 (scalblnl): Likewise.
3238 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3239 (vwarnx): Likewise.
3240 (verr): Likewise.
3241 (verrx): Likewise.
3242 * manual/filesys.texi (telldir): Use braces around return type.
3243 * manual/llio.texi (mmap): Add space after comma.
3244 (mmap64): Likewise.
3245 * manual/math.texi (jn): Use @var{} on parameter names.
3246 (jnf): Likewise.
3247 (jnl): Likewise.
3248 (yn): Likewise.
3249 (ynf): Likewise.
3250 (ynl): Likewise.
3251 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3252 line.
3253 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3254 "...".
3255 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3256 (sched_get_priority_max): Likewise.
3257 * manual/signal.texi (sigvec): Add space after comma.
3258 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3259 names.
3260 (if_indextoname): Likewise.
3261 (if_freenameindex): Likewise.
3262 (sendto): Use ',' instead of '.' in prototype.
3263 * manual/startup.texi (syscall): Use @dots{} instead of literal
3264 "...".
3265 * manual/stdio.texi (__fpending): Separate initial words of
3266 paragraph from @deftypefun line.
3267 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3268 "...".
3269 (vsyslog): Use @var{} on parameter names.
3270 * manual/terminal.texi (stty): Use @var{} on parameter names.
3271 * manual/users.texi (getutmp): Use @var{} on parameter names.
3272 (getutmpx): Likewise.
3273
5b23062f
JM
32742012-02-17 Joseph Myers <joseph@codesourcery.com>
3275
3276 [BZ #6884]
3277 * manual/stdio.texi (fopen): Fix typos in description of
3278 ",ccs=STRING".
3279
8dee4833
AJ
32802012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3281
3282 [BZ #4026]
3283 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3284 get clock_id definition.
3285
9078ce93
TS
32862012-02-17 Thomas Schwinge <thomas@schwinge.name>
3287
3288 [BZ #4822]
3289 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3290 (madvise): Cast every argument to void on its own.
3291
3835c55f
JM
32922012-02-17 Joseph Myers <joseph@codesourcery.com>
3293
3294 [BZ #9902]
3295 * manual/startup.texi (Exit Status): Fix typo.
3296
35c47e37
JM
32972012-02-17 Joseph Myers <joseph@codesourcery.com>
3298
3299 [BZ #10140]
3300 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3301 * manual/examples/argp-ex2.c: Likewise.
3302 * manual/examples/argp-ex3.c: Likewise.
3303
e3b69ca7
RH
33042012-02-16 Richard Henderson <rth@redhat.com>
3305
3306 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3307 * sysdeps/s390/s390-32/initfini.c: Remove.
3308 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3309 * sysdeps/s390/s390-64/initfini.c: Remove.
3310
df83af67
KK
33112012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3312
3313 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3314 compiler output for sysdeps/generic/initfini.c.
3315 * sysdeps/sh/elf/initfini.c: Remove file.
3316
f63f3380
DM
33172012-02-16 David S. Miller <davem@davemloft.net>
3318
fb59b3a4
DM
3319 [BZ #11494]
3320 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3321
f63f3380
DM
3322 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3323 * sysdeps/sparc/crti.S: New file.
3324 * sysdeps/sparc/crtn.S: New file.
3325 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3326 * sysdeps/sparc/sparc64/Makefile: Likewise.
3327
df6a4a4a
MF
33282012-02-15 Mike Frysinger <vapier@gentoo.org>
3329
6dd8f3dc 3330 [BZ #3335]
df6a4a4a
MF
3331 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3332
1cac7236
RM
33332012-02-15 Roland McGrath <roland@hack.frob.com>
3334
d2c736f8
RM
3335 [BZ #4822]
3336 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3337
1cac7236
RM
3338 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3339 (write, read, close): Likewise.
3340 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3341
8e475601
JM
33422012-02-15 Joseph Myers <joseph@codesourcery.com>
3343
3344 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3345 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3346 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3347 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3348 <bits/signalfd.h>.
3349 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3350 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3351 bits/signalfd.h.
3352
ed656b40
MP
33532012-02-14 Marek Polacek <polacek@redhat.com>
3354
3355 * sysdeps/x86_64/crti.S: New file.
3356 * sysdeps/x86_64/crtn.S: New file.
3357 * sysdeps/x86_64/elf/initfini.c: Remove file.
3358
2a979d3a
JM
33592012-02-13 Joseph Myers <joseph@codesourcery.com>
3360
3361 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3362 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3363 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3364 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3365 <bits/inotify.h>.
3366 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3367 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3368 bits/inotify.h.
3369
2a418ac3
JM
33702012-02-13 Joseph Myers <joseph@codesourcery.com>
3371
3372 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3373 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3374 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3375 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3376 <bits/eventfd.h>.
3377 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3378 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3379 bits/eventfd.h.
3380
fb779be7
TS
33812012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3382
e19e83c5
RM
3383 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3384 __feraiseexcept instead of feraiseexcept.
7c35ffed 3385
fb779be7
TS
3386 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3387 nanosleep invocations.
3388 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3389 strings, and add error checking for a nanosleep invocations.
3390
59ba27a6
PE
33912012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3392
3393 Replace FSF snail mail address with URLs, as per GNU coding standards.
3394 Most of the snail mail addresses were wrong anyway, and omitting
3395 them makes the source code easier to maintain. Almost all of the
3396 changes are to license notices and to locale LC_IDENTIFICATION
3397 addresses, except for this one:
3398 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3399 not its snail mail address.
3400
57b957eb
RH
34012012-02-09 Richard Henderson <rth@twiddle.net>
3402
af850b1c
RH
3403 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3404 of kernel-features.h.
3405
57b957eb
RH
3406 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3407
6b73181a
MP
34082012-02-08 Marek Polacek <polacek@redhat.com>
3409
3410 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3411 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3412 * sysdeps/gnu/_G_config.h: Likewise.
3413 * sysdeps/generic/_G_config.h: Likewise.
3414
26ecc33a
AS
34152012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3416
6c6dbc63
AS
3417 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3418 tests.
3419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3420
e216c012
AS
3421 * sysdeps/powerpc/powerpc32/crti.S: New file.
3422 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3423 * sysdeps/powerpc/powerpc64/crti.S: New file.
3424 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3425
26ecc33a
AS
3426 * Makeconfig (have-initfini): Don't set.
3427 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3428 * configure.in (nopic_initfini): Don't substitute.
3429 * config.h.in (HAVE_INITFINI): Don't #undef.
3430 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3431 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3432
3add8e13
JM
34332012-02-08 Joseph Myers <joseph@codesourcery.com>
3434
3435 Support crti.S and crtn.S provided directly by architectures.
3436 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3437 [crti.S in sysdirs] (omit-deps): Likewise.
3438 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3439 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3440 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3441 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3442 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3443 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3444 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3445 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3446 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3447 compiler output for sysdeps/generic/initfini.c.
3448 * sysdeps/i386/elf/Makefile: Remove file.
3449 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3450
a22f12b4
MP
34512012-02-07 Marek Polacek <polacek@redhat.com>
3452
3453 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3454 * sysdeps/gnu/_G_config.h: Likewise.
3455 * sysdeps/mach/hurd/_G_config.h: Likewise.
3456
148cf100
MP
34572012-02-07 Marek Polacek <polacek@redhat.com>
3458
3459 * math/Makefile (tests): Add tst-CMPLX2.
3460 * math/tst-CMPLX2.c: New file.
3461
cfdc0dd7
AS
34622012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3463
84ba42c4
AS
3464 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3465
cfdc0dd7
AS
3466 * math/libm-test.inc (jn_test): Add missing L suffix.
3467
622c86f4
MP
34682012-02-06 Marek Polacek <polacek@redhat.com>
3469
3470 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3471 * sysdeps/i386/fpu/e_powf.S: Likewise.
3472 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3473 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3474 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3475 * sysdeps/i386/fpu/e_pow.S: Likewise.
3476 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3477 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3478 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3479 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3480 * sysdeps/i386/fpu/e_log2.S: Likewise.
3481 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3482 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3483 * sysdeps/i386/fpu/e_powl.S: Likewise.
3484 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3485 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3486 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3487 * sysdeps/i386/fpu/e_logl.S: Likewise.
3488 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3489 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3490 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3491 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3492 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3493 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3494 * sysdeps/i386/fpu/e_log.S: Likewise.
3495 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3496 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3497 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3498 * sysdeps/i386/fpu/e_logf.S: Likewise.
3499 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3500 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3501 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3502 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3503 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3504 * sysdeps/i386/fpu/e_log10.S: Likewise.
3505 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3506 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3507 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3508 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3509 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3510 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3511 * sysdeps/i386/asm-syntax.h: Likewise.
3512 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3513 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3514 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3515 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3516 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3517 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3518 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3519 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3520 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3521 * sysdeps/powerpc/sysdep.h: Likewise.
3522 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3523 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3524
d4a54ac6
JM
35252012-02-06 Joseph Myers <joseph@codesourcery.com>
3526
3527 [BZ #411]
3528 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3529
314054ea
JM
35302012-02-06 Joseph Myers <joseph@codesourcery.com>
3531
3532 * sysdeps/i386/sysdep.h: Include <features.h>.
3533 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3534 version.
3535
d8e0ca50
JM
35362012-02-05 Joseph Myers <joseph@codesourcery.com>
3537
3538 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3539 Define.
3540 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3541 LOAD_PIC_REG_STR.
3542
b1da7dd9
JM
35432012-02-03 Joseph Myers <joseph@codesourcery.com>
3544
3545 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3546 (SETUP_PIC_REG): Use GET_PC_THUNK.
3547 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3548 macro.
3549
9a1d9254
JM
35502012-02-03 Joseph Myers <joseph@codesourcery.com>
3551
3552 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3553 for non-PIC compilation.
3554 (SETUP_PIC_REG): Add .p2align directive.
3555 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3556 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3557 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3558 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3559 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3560 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3561 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3562 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3563 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3564 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3565 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3566 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3567 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3568 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3569 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3570 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3571 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3572 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3573 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3574 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3575 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3576 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3577 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3578 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3579 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3580 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3581 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3582 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3583 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3584 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3585 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3586 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3587 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3588 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3589 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3590 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3591 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3592 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3593 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3594 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3595 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3596
65dc3b75
JM
35972012-02-03 Joseph Myers <joseph@codesourcery.com>
3598
3599 * math/tst-CMPLX.c: Include <stdio.h>.
3600
d55bf177
JM
36012012-01-31 Joseph Myers <joseph@codesourcery.com>
3602
3603 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3604 float.
3605 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3606 * sysdeps/sparc/bits/mathdef.h: Likewise.
3607
69db4f8f
MP
36082012-01-31 Marek Polacek <polacek@redhat.com>
3609
3610 * libio/libio.h: Don't define _PARAMS.
3611 * locale/programs/config.h: Don't define PARAMS.
3612 * stdlib/strtol_l.c: Likewise.
3613 (__strtol_l): Remove PARAMS from the prototype.
3614
41b81892
UD
36152012-01-31 Ulrich Drepper <drepper@gmail.com>
3616
3b49edc0
UD
3617 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3618 names. Just use the correct names. Remove unnecessary wrapper
3619 functions.
3620 * malloc/arena.c: Likewise.
3621 * malloc/hooks.c: Likewise.
3622
41b81892
UD
3623 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3624 ARENA_TEST says not to. Simplify test for creation of a new arena.
3625 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3626
27a25b6e
UD
36272012-01-30 Ulrich Drepper <drepper@gmail.com>
3628
3629 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3630 into tail calls.
3631 (update_get_addr): New function.
3632 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3633 GET_ADDR_MODULE parameter.
3634
c8a89e7d
JM
36352012-01-30 Joseph Myers <joseph@codesourcery.com>
3636
3637 * crypt/cert.c: Remove __STDC__ conditionals.
3638 * crypt/crypt-entry.c: Likewise.
3639 * crypt/crypt_util.c: Likewise.
3640 * libio/filedoalloc.c: Likewise.
3641 * libio/fileops.c: Likewise.
3642 * libio/genops.c: Likewise.
3643 * libio/iofclose.c: Likewise.
3644 * libio/iofdopen.c: Likewise.
3645 * libio/iofopen.c: Likewise.
3646 * libio/iofopen64.c: Likewise.
3647 * libio/iogetdelim.c: Likewise.
3648 * libio/iopopen.c: Likewise.
3649 * libio/obprintf.c: Likewise.
3650 * libio/oldfileops.c: Likewise.
3651 * libio/oldiofclose.c: Likewise.
3652 * libio/oldiofdopen.c: Likewise.
3653 * libio/oldiofopen.c: Likewise.
3654 * libio/oldiopopen.c: Likewise.
3655 * libio/wfiledoalloc.c: Likewise.
3656 * libio/wgenops.c: Likewise.
3657 * locale/programs/xmalloc.c: Likewise.
3658 * misc/syslog.c: Likewise.
3659 * stdio-common/xbug.c: Likewise.
3660 * string/memchr.c: Likewise.
3661 * string/memcmp.c: Likewise.
3662 * string/memrchr.c: Likewise.
3663 * string/rawmemchr.c: Likewise.
3664 * sysdeps/posix/getcwd.c: Likewise.
3665 * time/strftime_l.c: Likewise.
3666
3b100462
JM
36672012-01-30 Joseph Myers <joseph@codesourcery.com>
3668
3669 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
3670 * config.make.in (config-cflags-sse2avx): Define.
3671 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3672 Fix typo.
3673
607998af
CM
36742012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3675
3676 * scripts/config.guess: Update from upstream config git repository.
3677 * scripts/config.sub: Likewise.
3678
3601428f
CM
36792012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3680
3ac8b282
CM
3681 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3682 (EM_NUM): Update.
3683 (R_TILEPRO_*, R_TILEGX_*): New macros.
3684
e034841e
CM
3685 * scripts/firstversions.awk: Fix bug in version range handling.
3686
540d7568
CM
3687 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3688
3601428f
CM
3689 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3690
463de862
CM
3691 * include/sys/epoll.h: New file.
3692 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3693 libc_hidden_def.
3694
73139a76
UD
36952012-01-28 Ulrich Drepper <drepper@gmail.com>
3696
96bc5b45
UD
3697 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3698 Avoid unnecessary __WORDSIZE == 64 test.
3699 (fmaxf): Use VEX format if possible.
3700 (fmax): Likewise.
3701 (fminf): Likewise.
3702 (fmin): Likewise.
3703
56f6f6a2
UD
3704 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3705 * math/math_private.h: Remove libc_fegetround* and
3706 libc_fesetround*.
3707 * sysdeps/i386/configure.in: Check for -msse2avx.
3708 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3709 also if SSE2AVX is defined.
3710 Remove libc_fegetround* and libc_fesetround*.
3711 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3712 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3713 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3714 of HAS_YMM_USABLE.
3715 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3716 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3717 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3718 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3719 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3720
73139a76
UD
3721 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3722
d73f93a4
AZ
37232012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3724
3725 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3726 size is not set.
3727 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3728
6ee65ed6
UD
37292012-01-27 Ulrich Drepper <drepper@gmail.com>
3730
3731 [BZ #13618]
3732 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3733 relocation.
3734 * Makeconfig (libm): Define.
3735 * elf/Makefile: Add rules to build and run tst-relsort1.
3736 * elf/tst-relsort1.c: New file.
3737 * elf/tst-relsort1mod1.c: New file.
3738 * elf/tst-relsort1mod2.c: New file.
3739
8db21882
JM
37402012-01-27 Joseph Myers <joseph@codesourcery.com>
3741
3742 * math/s_ldexp.c: Remove __STDC__ conditionals.
3743 * math/s_ldexpf.c: Likewise.
3744 * math/s_ldexpl.c: Likewise.
3745 * math/s_nextafter.c: Likewise.
3746 * math/s_nexttowardf.c: Likewise.
3747 * math/s_significand.c: Likewise.
3748 * math/s_significandf.c: Likewise.
3749 * math/s_significandl.c: Likewise.
3750 * math/w_jnl.c: Likewise.
3751 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3752 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3753 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3754 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3755 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3756 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3757 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3758 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3759 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3760 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3761 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3762 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3763 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3764 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3765 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3766 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3767 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3768 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3769 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3770 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3771 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3772 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3773 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3774 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3775 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3776 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3777 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3778 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3779 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3780 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3781 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3782 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3783 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3784 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3785 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3786 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3787 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3788 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3789 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3790 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3791 * sysdeps/ieee754/k_standard.c: Likewise.
3792 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3793 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3794 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3795 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3796 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3797 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3798 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3799 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3800 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3801 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3802 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3803 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3804 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3805 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3806 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3807 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3808 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3809 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3810 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3811 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3812 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3813 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3814 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3815 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3816 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3817 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3818 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3819 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3820 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3821 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3822 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3823 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3824 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3825 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3826 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3827 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3828 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3829 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3830 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3831 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3832 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3833 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3834 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3835 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3836 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3837 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3838 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3839 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3840 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3841 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3842 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3843 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3844 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3845 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3846 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3847 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3848 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3849 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3850 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3851 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3852 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3853 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3854 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3855 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3856 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3857 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3858 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3859 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3860 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3861 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3862 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3863 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3864 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3865 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3866 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3867 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3868 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3869 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3870 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3871 * sysdeps/ieee754/s_matherr.c: Likewise.
3872 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3873 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3874 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3875 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3876
965a54a4
JM
38772012-01-26 Joseph Myers <joseph@codesourcery.com>
3878
3879 * crypt/md5.h: Remove __STDC__ conditionals.
3880 * libio/libioP.h: Likewise.
3881 * locale/programs/config.h: Likewise.
3882 * sysdeps/generic/sysdep.h: Likewise.
3883 * sysdeps/i386/asm-syntax.h: Likewise.
3884 * sysdeps/s390/asm-syntax.h: Likewise.
3885 * sysdeps/unix/sysdep.h: Likewise.
3886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3888
7071ad79
JM
38892012-01-26 Joseph Myers <joseph@codesourcery.com>
3890
3891 * libio/libio.h: Remove __STDC__ conditionals.
3892 * malloc/obstack.h: Likewise.
3893 * math/complex.h: Likewise.
3894 * math/math.h: Likewise.
3895 * sysdeps/generic/_G_config.h: Likewise.
3896 * sysdeps/gnu/_G_config.h: Likewise.
3897 * sysdeps/mach/hurd/_G_config.h: Likewise.
3898 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3899 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3900 * sysdeps/sparc/bits/mathdef.h: Likewise.
3901
afc5ed09
UD
39022012-01-26 Ulrich Drepper <drepper@gmail.com>
3903
3904 [BZ #13583]
3905 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 3906 Clean up HAS_* macros.
afc5ed09 3907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
3908 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3909 possible.
3910 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3911 HAS_AVX.
3912 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3913 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3914 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3915 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3916 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 3917
bdb6de1d
JM
39182012-01-25 Joseph Myers <joseph@codesourcery.com>
3919
3920 * elf/tst-unique3.cc (gets): Remove declaration.
3921 * elf/tst-unique3lib.cc (gets): Likewise.
3922 * elf/tst-unique3lib2.cc (gets): Likewise.
3923 * elf/tst-unique4.cc (gets): Likewise.
3924
b15549e6
UD
39252012-01-24 Ulrich Drepper <drepper@gmail.com>
3926
3927 * include/stdio.h: Add C++ protection. Add gets declarations and
3928 definitions.
3929 * debug/tst-chk1.c: Don't declare gets here.
3930 * stdio-common/tst-gets.c: Likewise.
3931
a037381f
JM
39322012-01-24 Joseph Myers <joseph@codesourcery.com>
3933
3934 * posix/glob: Remove directory.
3935
f1d4aa75
JM
39362012-01-24 Joseph Myers <joseph@codesourcery.com>
3937
3938 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3939
81c0c964
PT
39402012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3941
3942 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3943 of the non-standard EPFNOSUPPORT.
3944
0ea698ae
ST
39452011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3946
3947 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3948 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3949 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3950
d220b117
UD
39512012-01-21 Ulrich Drepper <drepper@gmail.com>
3952
3953 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3954
3e1aa84e
UD
39552012-01-20 Ulrich Drepper <drepper@gmail.com>
3956
3957 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3958 transient errors.
3959 * nscd/grpcache.c (cache_addgr): Likewise.
3960 * nscd/hstcache.c (cache_addhst): Likewise.
3961 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3962 * nscd/pwdcache.c (cache_addpw): Likewise.
3963 * nscd/servicescache.c (cache_addserv): Likewise.
3964
400aa020
UD
39652012-01-16 Ulrich Drepper <drepper@gmail.com>
3966
d77e7869
UD
3967 * malloc/malloc.c: Various cleanups.
3968 * malloc/hooks.c: Likewise.
3969
400aa020
UD
3970 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3971 * stdlib/bug-fmtmsg1.c: New file.
3972
3973 * stdlib/fmtmsg.c (init): Add missing unlock.
3974 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3975
e0a309cf
MP
39762012-01-12 Marek Polacek <polacek@redhat.com>
3977
3978 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3979 and _GNU_SOURCE.
3980
929d11c7
WS
39812012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3982
3983 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3984 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3985 macro to ensure uniqueness of label name.
3986 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3987 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3988
41d0e869
UD
39892012-01-11 Ulrich Drepper <drepper@gmail.com>
3990
0cc5ed3b
UD
3991 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3992
41d0e869
UD
3993 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3994 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3995 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3996 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3997
a47a831a
UD
39982012-01-10 Ulrich Drepper <drepper@gmail.com>
3999
daa891c0
UD
4000 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4001
4002 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4003 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4004 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4005
e58ef0f2
UD
4006 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4007
a47a831a 4008 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
4009 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4010 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 4011 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
4012
4013 * math/bits/math-finite.h: Add ldexp support.
4014
a0bfc9c7
MP
40152012-01-10 Marek Polacek <polacek@redhat.com>
4016
4017 * locale/programs/localedef.h (show_archive_content): Add noreturn
4018 attribute.
4019
d6e97a1d
UD
40202012-01-09 Ulrich Drepper <drepper@gmail.com>
4021
4022 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4023
d5835c26
UD
40242012-01-08 Ulrich Drepper <drepper@gmail.com>
4025
e5f484c6
UD
4026 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4027
d5835c26
UD
4028 * io/Makefile (headers): Add bits/poll2.h.
4029
d1f741e9
WS
40302011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4031
4032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4033 typo #include statement.
4034
ec09c1c4
UD
40352012-01-08 Ulrich Drepper <drepper@gmail.com>
4036
4037 * include/sys/cdefs.h: Define __attribute_alloc_size.
4038 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4039 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4040 * elf/pldd.c: Likewise.
4041 * iconv/iconv_charmap.c: Likewise.
4042 * iconv/iconvconfig.c: Likewise.
4043 * iconv/strtab.c: Likewise.
4044 * locale/programs/locale.c: Likewise.
4045 * locale/programs/localedef.h: Likewise.
4046 * locale/programs/simple-hash.c: Likewise.
4047 * nscd/nscd.h: Likewise.
4048 * nss/makedb.c: Likewise.
4049 * sysdeps/generic/ldconfig.h: Likewise.
4050 * locale/programs/localedef.c: Remove xmalloc prototype.
4051 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4052
20b38e03
PP
40532012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4054
4055 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4056 appropriate.
4057
a0da5fe1
UD
40582012-01-08 Ulrich Drepper <drepper@gmail.com>
4059
1d5a644a 4060 * math/Makefile (tests): Add tst-CMPLX.
669704fd 4061 * math/tst-CMPLX.c: New file.
1d5a644a 4062
8784a6db
UD
4063 * math/complex.h (CMPLXL): Fix typo.
4064
d9a216c0
UD
4065 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4066 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4067 GLIBC_2.16.
4068 * debug/tst-chk1.c: Add poll and ppoll tests.
4069 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4070 * include/sys/poll.h: Add hidden proto for ppoll.
4071 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4072 * sysdeps/mach/hurd/ppoll.c: Likewise.
4073 * io/ppoll.c: Likewise.
4074 * debug/poll_chk.c: New file.
4075 * debug/ppoll_chk.c: New file.
4076 * include/bits/poll2.h: New file.
4077 * io/bits/poll2.h: New file.
4078
ac097f5c
UD
4079 [BZ #1350]
4080 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4081
2119dcfa
UD
4082 * configure.in: static is always set to yes. Remove.
4083 * config.make.in: Don't set build-static.
4084 * Makeconfig: Remove use of build-static.
4085 * dlfcn/Makefile: Likewise.
4086 * elf/Makefile: Likewise.
4087 * math/Makefile: Likewise.
4088 * misc/Makefile: Likewise.
4089 * nptl/Makefile: Likewise.
4090 * sysdeps/mach/hurd/Makefile: Likewise.
4091
121766a9
UD
4092 * configure.in: PWD_P is not used anymore.
4093 * config.make.in: Remove PWD_P entry.
4094
51a1d39c 4095 * configure.in: Remove last remnants of RANLIB.
8720d066 4096 No need to check for signed size_t anymore.
215f4bdc
UD
4097 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4098 and IA-64.
3857022a 4099 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
4100 * aclocal.m4: Likewise.
4101
d3ed7225
UD
4102 * wcsmbs/mbrtoc16.c: Implement using towc function.
4103 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4104 * wcsmbs/wcsmbsload.c: Likewise.
4105 * iconv/gconv_simple.c: Likewise.
4106 * iconv/gconv_int.h: Likewise.
4107 * iconv/gconv_builtin.h: Likewise.
4108 * iconv/iconv_prog.c: Remove CHAR16 handling.
4109
4110 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4111
4112 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4113
a0da5fe1
UD
4114 * configure.in: Remove --with-elf and --enable-bounded options.
4115 Dont set base_machine for ia64. More non-ELF conditions removed.
4116 Remove testing and setting of leading underscore information.
4117 * config.make.in (build-bounded): Set to no.
4118 * config.h.in: Remove NO_UNDERSCORES entry.
4119 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4120 them.
4121 * csu/start.c: Remove !NO_UNDERSCORE code.
4122 * locale/localeinfo.h: Likewise.
4123 * sysdeps/generic/machine-gmon.h: Likewise.
4124 * sysdeps/generic/sysdep.h: Likewise.
4125 * sysdeps/i386/sysdep.h: Likewise.
4126 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4127 * sysdeps/mach/sysdep.h: Likewise.
4128 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4129 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4130 * sysdeps/sh/sysdep.h: Likewise.
4131 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4132 * sysdeps/unix/i386/sysdep.S: Likewise.
4133 * sysdeps/unix/sparc/start.c: Likewise.
4134 * sysdeps/unix/sparc/sysdep.S: Likewise.
4135 * sysdeps/unix/sparc/sysdep.h: Likewise.
4136 * sysdeps/unix/start.c: Likewise.
4137 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4138 * sysdeps/x86_64/sysdep.h: Likewise.
4139
df78418a
UD
41402012-01-07 Ulrich Drepper <drepper@gmail.com>
4141
a784e502
UD
4142 [BZ #13553]
4143 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4144 for non-gcc.
4145 * argp/argp-fmtstream.h: Use const instead __const.
4146 * argp/argp.h: Likewise.
4147 * assert/assert.h: Likewise.
4148 * bits/fenv.h: Likewise.
4149 * bits/sched.h: Likewise.
4150 * bits/sigset.h: Likewise.
4151 * bits/sigthread.h: Likewise.
4152 * catgets/nl_types.h: Likewise.
4153 * conform/data/pthread.h-data: Likewise.
4154 * crypt/crypt-private.h: Likewise.
4155 * crypt/crypt.h: Likewise.
4156 * crypt/crypt_util.c: Likewise.
4157 * ctype/ctype.h: Likewise.
4158 * debug/execinfo.h: Likewise.
4159 * debug/mbsnrtowcs_chk.c: Likewise.
4160 * debug/mbsrtowcs_chk.c: Likewise.
4161 * debug/wcsnrtombs_chk.c: Likewise.
4162 * debug/wcsrtombs_chk.c: Likewise.
4163 * debug/wcstombs_chk.c: Likewise.
4164 * dirent/dirent.h: Likewise.
4165 * dlfcn/dlfcn.h: Likewise.
4166 * elf/neededtest4.c: Likewise.
4167 * grp/grp.h: Likewise.
4168 * gshadow/gshadow.h: Likewise.
4169 * iconv/gconv.h: Likewise.
4170 * iconv/gconv_int.h: Likewise.
4171 * iconv/gconv_simple.c: Likewise.
4172 * iconv/iconv.h: Likewise.
4173 * iconv/loop.c: Likewise.
4174 * iconv/skeleton.c: Likewise.
4175 * include/aio.h: Likewise.
4176 * include/aliases.h: Likewise.
4177 * include/argz.h: Likewise.
4178 * include/arpa/inet.h: Likewise.
4179 * include/assert.h: Likewise.
4180 * include/dirent.h: Likewise.
4181 * include/dlfcn.h: Likewise.
4182 * include/execinfo.h: Likewise.
4183 * include/fcntl.h: Likewise.
4184 * include/fenv.h: Likewise.
4185 * include/glob.h: Likewise.
4186 * include/grp.h: Likewise.
4187 * include/libintl.h: Likewise.
4188 * include/mntent.h: Likewise.
4189 * include/netdb.h: Likewise.
4190 * include/pwd.h: Likewise.
4191 * include/rpc/netdb.h: Likewise.
4192 * include/sched.h: Likewise.
4193 * include/search.h: Likewise.
4194 * include/shadow.h: Likewise.
4195 * include/signal.h: Likewise.
4196 * include/stdio.h: Likewise.
4197 * include/stdlib.h: Likewise.
4198 * include/string.h: Likewise.
4199 * include/sys/socket.h: Likewise.
4200 * include/sys/stat.h: Likewise.
4201 * include/sys/statfs.h: Likewise.
4202 * include/sys/statvfs.h: Likewise.
4203 * include/sys/syslog.h: Likewise.
4204 * include/sys/time.h: Likewise.
4205 * include/sys/uio.h: Likewise.
4206 * include/time.h: Likewise.
4207 * include/unistd.h: Likewise.
4208 * include/utmp.h: Likewise.
4209 * include/wchar.h: Likewise.
4210 * include/wctype.h: Likewise.
4211 * inet/aliases.h: Likewise.
4212 * inet/arpa/inet.h: Likewise.
4213 * inet/netinet/ether.h: Likewise.
4214 * inet/netinet/in.h: Likewise.
4215 * intl/libintl.h: Likewise.
4216 * io/bits/fcntl2.h: Likewise.
4217 * io/fcntl.h: Likewise.
4218 * io/ftw.h: Likewise.
4219 * io/sys/poll.h: Likewise.
4220 * io/sys/stat.h: Likewise.
4221 * io/sys/statfs.h: Likewise.
4222 * io/sys/statvfs.h: Likewise.
4223 * io/utime.h: Likewise.
4224 * libio/bits/stdio.h: Likewise.
4225 * libio/bits/stdio2.h: Likewise.
4226 * libio/libio.h: Likewise.
4227 * libio/libioP.h: Likewise.
4228 * libio/stdio.h: Likewise.
4229 * locale/lc-ctype.c: Likewise.
4230 * locale/locale.h: Likewise.
4231 * login/utmp.h: Likewise.
4232 * malloc/arena.c: Likewise.
4233 * malloc/malloc.c: Likewise.
4234 * malloc/malloc.h: Likewise.
4235 * malloc/mcheck.c: Likewise.
4236 * malloc/mtrace.c: Likewise.
4237 * math/bits/mathcalls.h: Likewise.
4238 * math/fenv.h: Likewise.
4239 * math/math_private.h: Likewise.
4240 * misc/bits/error.h: Likewise.
4241 * misc/bits/syslog.h: Likewise.
4242 * misc/err.h: Likewise.
4243 * misc/error.h: Likewise.
4244 * misc/fstab.h: Likewise.
4245 * misc/mntent.h: Likewise.
4246 * misc/regexp.h: Likewise.
4247 * misc/search.h: Likewise.
4248 * misc/sgtty.h: Likewise.
4249 * misc/sys/mman.h: Likewise.
4250 * misc/sys/syslog.h: Likewise.
4251 * misc/sys/uio.h: Likewise.
4252 * misc/sys/xattr.h: Likewise.
4253 * misc/ttyent.h: Likewise.
4254 * nis/rpcsvc/ypclnt.h: Likewise.
4255 * nss/nss.h: Likewise.
4256 * posix/bits/unistd.h: Likewise.
4257 * posix/fnmatch.h: Likewise.
4258 * posix/glob.h: Likewise.
4259 * posix/sched.h: Likewise.
4260 * posix/spawn.h: Likewise.
4261 * posix/sys/wait.h: Likewise.
4262 * posix/unistd.h: Likewise.
4263 * posix/wordexp.h: Likewise.
4264 * pwd/pwd.h: Likewise.
4265 * resolv/netdb.h: Likewise.
4266 * resource/sys/resource.h: Likewise.
4267 * rt/aio.h: Likewise.
4268 * rt/bits/mqueue2.h: Likewise.
4269 * rt/mqueue.h: Likewise.
4270 * shadow/shadow.h: Likewise.
4271 * signal/signal.h: Likewise.
4272 * socket/send.c: Likewise.
4273 * socket/sendto.c: Likewise.
4274 * socket/sys/socket.h: Likewise.
4275 * stdio-common/printf.h: Likewise.
4276 * stdlib/bits/stdlib.h: Likewise.
4277 * stdlib/fmtmsg.h: Likewise.
4278 * stdlib/monetary.h: Likewise.
4279 * stdlib/stdlib.h: Likewise.
4280 * stdlib/ucontext.h: Likewise.
4281 * streams/stropts.h: Likewise.
4282 * string/argz.h: Likewise.
4283 * string/bits/string2.h: Likewise.
4284 * string/string.h: Likewise.
4285 * string/strings.h: Likewise.
4286 * sunrpc/rpc/auth.h: Likewise.
4287 * sunrpc/rpc/auth_des.h: Likewise.
4288 * sunrpc/rpc/clnt.h: Likewise.
4289 * sunrpc/rpc/netdb.h: Likewise.
4290 * sunrpc/rpc/pmap_clnt.h: Likewise.
4291 * sunrpc/rpc/xdr.h: Likewise.
4292 * sysdeps/generic/inttypes.h: Likewise.
4293 * sysdeps/generic/net/if.h: Likewise.
4294 * sysdeps/generic/sys/swap.h: Likewise.
4295 * sysdeps/gnu/net/if.h: Likewise.
4296 * sysdeps/gnu/utmpx.h: Likewise.
4297 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4298 * sysdeps/i386/i486/bits/string.h: Likewise.
4299 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4300 * sysdeps/s390/bits/string.h: Likewise.
4301 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4302 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4303 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4304 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4305 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4306 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4307 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4308 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4309 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4310 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4311 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4312 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4313 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4314 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4315 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4316 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4317 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4318 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4319 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4320 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4321 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4322 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4323 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4324 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4325 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4326 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4327 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4328 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4329 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4330 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4331 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4332 * sysvipc/sys/ipc.h: Likewise.
4333 * sysvipc/sys/msg.h: Likewise.
4334 * sysvipc/sys/sem.h: Likewise.
4335 * sysvipc/sys/shm.h: Likewise.
4336 * termios/termios.h: Likewise.
4337 * time/sys/time.h: Likewise.
4338 * time/time.h: Likewise.
4339 * wcsmbs/bits/wchar2.h: Likewise.
4340 * wcsmbs/uchar.h: Likewise.
4341 * wcsmbs/wchar.h: Likewise.
4342 * wctype/wctype.h: Likewise.
4343
0269750c
UD
4344 [BZ #13551]
4345 * Makeconfig: Remove all but ELF support including AIX support.
4346 * Makerules: Likewise.
4347 * config.h.in: Likewise.
4348 * config.make.in: Likewise.
4349 * configure: Likewise.
4350 * configure.in: Likewise.
4351 * csu/Makefile: Likewise.
4352 * csu/version.c: Likewise.
4353 * debug/Makefile: Likewise.
4354 * dlfcn/Makefile: Likewise.
4355 * elf/Makefile: Likewise.
4356 * extra-lib.mk: Likewise.
4357 * iconv/Makefile: Likewise.
4358 * include/libc-symbols.h: Likewise.
4359 * include/shlib-compat.h: Likewise.
4360 * resolv/Makefile: Likewise.
4361 * resolv/res_libc.c: Likewise.
4362 * rt/Makefile: Likewise.
4363 * sysdeps/i386/asm-syntax.h: Likewise.
4364 * sysdeps/i386/sysdep.h: Likewise.
4365 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4366 * sysdeps/mach/sysdep.h: Likewise.
4367 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4368 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4369 * sysdeps/s390/asm-syntax.h: Likewise.
4370 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4371 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4372 * sysdeps/sh/sysdep.h: Likewise.
4373 * sysdeps/unix/sparc/sysdep.h: Likewise.
4374 * sysdeps/wordsize-32/divdi3.c: Likewise.
4375 * sysdeps/x86_64/sysdep.h: Likewise.
4376
00bbd29b
UD
4377 * argp/Versions: Remove _argp_unlock_xxx.
4378
4379 [BZ #13559]
4380 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4381 * abilist/libBrokenLocale.abilist: Likewise.
4382 * abilist/libanl.abilist: Likewise.
4383 * abilist/libc.abilist: Likewise.
4384 * abilist/libcrypt.abilist: Likewise.
4385 * abilist/libdl.abilist: Likewise.
4386 * abilist/libm.abilist: Likewise.
4387 * abilist/libnsl.abilist: Likewise.
4388 * abilist/libpthread.abilist: Likewise.
4389 * abilist/libresolv.abilist: Likewise.
4390 * abilist/librt.abilist: Likewise.
4391 * abilist/libthread_db.abilist: Likewise.
4392 * abilist/libutil.abilist: Likewise.
4393 * abilist/libnss_db.abilist: New file.
4394
4395 * scripts/abilist.awk: Add support for indirect functions.
4396
a2693a0e
UD
4397 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4398
3f05895f
UD
4399 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4400
ecb6fb48
UD
4401 * shlib-versions: Remove entries for ports architectures.
4402
664f8cb9
UD
4403 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4404 files in ports.
4405 * elf/stackguard-macros.h: Remove support for IA-64.
4406 * elf/tst-auditmod1.c: Likewise.
4407 * sysdeps/generic/ldsodefs.h: Likewise.
4408
7ae81d88
UD
4409 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4410 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4411 configure files.
4412
bdeba135
UD
4413 [BZ #13552]
4414 * configure.in: Remove --enable-omitfp support.
4415 * FAQ.in: Adjust.
4416 * config.make.in: Likewise.
4417 * Makeconfig: Likewise.
4418 * manual/install.texi: Likewise.
4419
d75a0a62
UD
4420 In case anyone cares, the IA-64 architecture could move to ports.
4421 * sysdeps/ia64/*: Removed.
4422 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 4423 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 4424
dcc9756b
UD
4425 [BZ #13555]
4426 * configure.in: Remove entries for unsupported architectures.
4427
d3761ebc 4428 [BZ #13533]
9954432e
UD
4429 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4430 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4431 routines.
4432 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4433 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4434 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4435 fall back to using wcrtomb.
4436 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4437 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4438 renaming.
4439 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4440 * wcsmbs/tst-c16c32-1.c: New file.
4441
4442 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4443 local variable.
4444
c3a87236
UD
4445 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4446
28926a1b
UD
4447 * elf/tst-unique3.cc: Add explicit declaration of gets.
4448 * elf/tst-unique3lib.cc: Likewise.
4449 * elf/tst-unique3lib2.cc: Likewise.
4450 * elf/tst-unique4.cc: Likewise.
4451
df78418a
UD
4452 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4453
8ecd6b2a
JM
44542012-01-06 Joseph Myers <joseph@codesourcery.com>
4455
4456 [BZ #13566]
4457 * assert/assert.h (static_assert): Don't define for C++.
4458 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4459 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4460
9f115170
UD
44612012-01-03 Ulrich Drepper <drepper@gmail.com>
4462
5e0d0300
UD
4463 * iconv/loop.c (single loop): Fix assertion in storing of
4464 remaining bytes.
4465
9f115170
UD
4466 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4467
81fb02b0
UD
44682012-01-01 Ulrich Drepper <drepper@gmail.com>
4469
4470 * posix/getconf.c: Update copyright year.
4471 * nss/getent.c: Likewise.
a316c1f6 4472 * nss/makedb.c: Likewise.
81fb02b0
UD
4473 * iconv/iconvconfig.c: Likewise.
4474 * iconv/iconv_prog.c: Likewise.
4475 * elf/ldconfig.c: Likewise.
a316c1f6
UD
4476 * elf/pldd.c: Likewise.
4477 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
4478 * catgets/gencat.c: Likewise.
4479 * csu/version.c: Likewise.
4480 * elf/ldd.bash.in: Likewise.
4481 * elf/sprof.c (print_version): Likewise.
4482 * locale/programs/locale.c: Likewise.
4483 * locale/programs/localedef.c: Likewise.
a316c1f6 4484 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4485 * nscd/nscd.c (print_version): Likewise.
4486 * debug/xtrace.sh: Likewise.
4487 * malloc/memusage.sh: Likewise.
4488 * malloc/mtrace.pl: Likewise.
4489 * debug/catchsegv.sh: Likewise.
4490
2ba92745
JJ
44912011-12-30 Jakub Jelinek <jakub@redhat.com>
4492
4493 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4494 pure attribute.
4495
dadebdae
UD
44962011-12-24 Ulrich Drepper <drepper@gmail.com>
4497
d3761ebc 4498 [BZ #13533]
db6af3eb
UD
4499 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4500 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4501 transformations.
4502 * iconv/gconv_int.h: Likewise.
4503 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4504 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4505 from libc for GLIBC_2.16.
4506 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4507 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4508 * wcsmbs/uchar.h: Really define mbstate_t.
4509 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4510 * wcsmbs/c16rtomb.c: New file.
4511 * wcsmbs/mbrtoc16.c: New file.
4512 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4513 for C/POSIX locale.
4514 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4515 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4516
dadebdae
UD
4517 * wcsmbs/wchar.h: Add missing __restrict.
4518
67371b56
UD
45192011-12-23 Ulrich Drepper <drepper@gmail.com>
4520
74033a25
UD
4521 [BZ #13532]
4522 * time/Makefile (routines): Add timespec_get.
4523 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4524 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4525 timespec for ISO C11.
4526 * time/timespec_get.c: New file.
4527 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4528 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4529
380d7e87
UD
4530 [BZ #13531]
4531 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4532 * stdlib/stdlib.h: Declare aligned_alloc.
4533 * Versions.def: Add GLIBC_2.16 for libc.
4534 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4535
4e9e7a35
UD
4536 [BZ 13527]
4537 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4538 ISO C11.
4539
380d7e87 4540 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
4541 code.
4542
03a71829
UD
4543 [BZ #13528]
4544 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4545
839e283e
UD
4546 [BZ #13529]
4547 * assert/assert.h (static_assert): Define.
4548
ce5294e2 4549 * version.h: Update for 2.16 development version.
90fa7312 4550
8d44e150 4551 [BZ #13526]
d7809905
UD
4552 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4553 _ISOC11_SOURCE.
4554
c0da14cd
UD
4555 * version.h (RELEASE): Bump for 2.15 release.
4556 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4557
530a3249
MP
4558 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4559 Patch by Marek Polacek <mpolacek@redhat.com>.
4560
67371b56
UD
4561 * bits/byteswap.h: Protect long long constants with __extension__.
4562 * sysdeps/i386/bits/byteswap.h: Likewise.
4563 * sysdeps/ia64/bits/byteswap.h: Likewise.
4564 * sysdeps/s390/bits/byteswap.h: Likewise.
4565 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4566
15db4de1
LD
45672011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4568
4569 [BZ #13540]
bbe315ea
LD
4570 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4571 destination buffer.
15db4de1
LD
4572 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4573
2b2596b1
MP
45742011-12-23 Marek Polacek <polacek@redhat.com>
4575
4576 * elf/dl-addr.c (determine_info): Add inline keyword.
4577 * elf/tst-auditmod4b.c (check_avx): Likewise.
4578 * elf/tst-auditmod6b.c (check_avx): Likewise.
4579 * elf/tst-auditmod6c.c (check_avx): Likewise.
4580 * elf/tst-auditmod7b.c (check_avx): Likewise.
4581
70c6c246
UD
45822011-12-23 Ulrich Drepper <drepper@gmail.com>
4583
4584 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4585 !__SSE_MATH__.
4586
c044cf14
LD
45872011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4588
15db4de1 4589 [BZ #13540]
c044cf14
LD
4590 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4591 processing for last bytes.
4592
6b13d9d9
BH
45932011-08-06 Bruno Haible <bruno@clisp.org>
4594
d455f537
BH
4595 [BZ #13061]
4596 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4597 U+0385, not to U+1FEE.
4598
6b13d9d9
BH
4599 [BZ #13062]
4600 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4601 entry for U+00A5 U+0301.
4602
db910efd
UD
46032011-12-22 Ulrich Drepper <drepper@gmail.com>
4604
27deeafc
UD
4605 [BZ #13166]
4606 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4607 buffer for the output is too small.
4608
aed9d171
UD
4609 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4610 optimization.
4611
db910efd
UD
4612 [BZ #13185]
4613 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4614 SSE flags if possible.
4615
2bd779ae
LD
46162011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4617
e7f9dac3 4618 [BZ #13540]
2bd779ae
LD
4619 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4620 processing for last bytes.
4621
154bfc16
JM
46222011-12-22 Joseph Myers <joseph@codesourcery.com>
4623
4624 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4625 (syscall-list-default-options, syscall-list-default-condition)
4626 (syscall-list-includes): Define.
4627 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4628 list of ABIs and options and #if conditions for each ABI. Do not
4629 handle common syscalls between ABIs specially.
4630 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4631 Remove.
4632 (syscall-list-variants, syscall-list-32bit-options)
4633 (syscall-list-32bit-condition, syscall-list-64bit-options)
4634 (syscall-list-64bit-condition): Define.
4635 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4636 (syscall-list-variants, syscall-list-32bit-options)
4637 (syscall-list-32bit-condition, syscall-list-64bit-options)
4638 (syscall-list-64bit-condition): Define.
4639 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4640 Remove.
4641 (syscall-list-variants, syscall-list-32bit-options)
4642 (syscall-list-32bit-condition, syscall-list-64bit-options)
4643 (syscall-list-64bit-condition): Define.
4644 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4645 Remove.
4646 (syscall-list-variants, syscall-list-32bit-options)
4647 (syscall-list-32bit-condition, syscall-list-64bit-options)
4648 (syscall-list-64bit-condition): Define.
4649
21eaf3a5
UD
46502011-12-22 Ulrich Drepper <drepper@gmail.com>
4651
16c6f992
UD
4652 * locale/iso-639.def: Add brx entry.
4653
41043168
UD
4654 [BZ #13328]
4655 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4656 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4657
21eaf3a5
UD
4658 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4659 __feraiseexcept_renamed.
4660
e3a851a2
UD
46612011-12-21 Ulrich Drepper <drepper@gmail.com>
4662
4920765e
UD
4663 [BZ #13538]
4664 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4665 EPOLLET with unsigned values.
4666 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4667 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4668
e3a851a2
UD
4669 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4670 to large cancellation.
4671 * math/s_cacoshf.c: Likewise.
4672 * math/s_cacoshl.c: Likewise.
4673
b27e24b8
RK
46742011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4675
4676 [BZ #13305]
aebefeee 4677 [BZ #12786]
b27e24b8
RK
4678 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4679 * math/s_cacoshf.c: Likewise.
4680 * math/s_cacoshl.c: Likewise.
4681
ee190f67
UD
46822011-12-21 Ulrich Drepper <drepper@gmail.com>
4683
4684 [BZ #13439]
4685 * iconv/gconv.h: Define __GCONV_SWAP.
4686 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4687 * iconvdata/utf-16.c: Likewise.
4688 * iconvdata/utf-32.c: Likewise.
4689
707f25df
AS
46902011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4691
4692 [BZ #13524]
4693 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4694 numerator after shifting it by one limb.
4695
d2daaa1e
RÁE
46962011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4697
4698 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4699 under [__USE_EXTERN_INLINES].
4700
a4647e72
UD
47012011-12-17 Ulrich Drepper <drepper@gmail.com>
4702
4703 [BZ #13446]
4704 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4705
f0b264f1
AZ
47062011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4707
4708 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4709 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4710 optimized code.
4711 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4712 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4713 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4714 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4715 for strncasecmp/strncasecmp_l compilation.
4716 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4717 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4718
8ef4f244
MP
47192011-12-08 Marek Polacek <mpolacek@redhat.com>
4720
4721 [BZ #13484]
4722 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4723 of __asm__.
4724
97ac2654
UD
47252011-12-17 Ulrich Drepper <drepper@gmail.com>
4726
4727 [BZ #13506]
4728 * time/tzfile.c (__tzfile_read): Check values from file header.
4729
91d2a845
WS
47302011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4731
4732 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4733 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4734 * powerpc/powerpc32/dl-start.S: Likewise.
4735 * powerpc/powerpc32/elf/start.S: Likewise.
4736 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4737 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4738 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4739 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4740 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4741 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4742 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4743 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4744 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4745 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4746 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4747 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4748 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4749 * powerpc/powerpc32/memset.S: Likewise.
4750 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4751 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4752 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4753 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4754 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4755 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4756 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4757 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4758 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4759 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4760 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4761 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4762 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4763
a1267ba1
AZ
47642011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4765
4766 * math/libm-test.inc: Added more nearbyint tests.
4767 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4768 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4769 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4770 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4771
ad8ac1bd
RL
47722011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4773
4774 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4775 FD_CLOEXEC.
4776
1d3e4b61
UD
47772011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4778
4779 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4780 Add wcscpy-ssse3 wcscpy-c.
4781 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4782 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4783 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4784 * sysdeps/x86_64/wcschr.S: New file.
4785 * sysdeps/x86_64/wcsrchr.S: New file.
4786 * string/test-strcmp.c: Remove checking of wcscmp function for
4787 wrong alignments.
4788 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4789 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4790 wcsrchr-sse2 wcsrchr-c.
4791 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4792 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4793 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4794 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4795 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4796 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4797 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4798 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4799 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4800 * wcsmbc/wcschr.c (WCSCHR): New macro.
4801
5b330a2d
UD
48022011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4803
4804 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4805 * wcsmbs/test-wcsrchr.c: New file.
4806 * string/test-strrchr.c: Add wcsrchr support.
4807 (WIDE): New macro.
4808 * wcsmbs/test-wcscpy.c: New file.
4809 * string/test-strcpy.c: Add wcscpy support.
4810 (WIDE): New macro.
26428b7c 4811
f039c043
UD
48122011-12-10 Ulrich Drepper <drepper@gmail.com>
4813
4814 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4815 the inner loop.
4816
850fb039
AS
48172011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4818
4819 [BZ #13472]
4820 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4821
4efbd5cb
UD
48222011-12-04 Ulrich Drepper <drepper@gmail.com>
4823
52ff5dd0 4824 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 4825 Minor optimizations.
52ff5dd0 4826
4efbd5cb
UD
4827 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4828 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4829 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4830
8a426e12
UD
48312011-12-03 Ulrich Drepper <drepper@gmail.com>
4832
aff2453d
UD
4833 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4834 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4835 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4836 for gcc to avoid warnings.
4837 * inet/Makefile (tests): Add tst-checks.
4838 * inet/tst-checks.c: New file.
4839
4840 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4841 warning.
4842
4843 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4844 __wmemcmp_sse2.
4845
4846 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4847 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4848
8a426e12
UD
4849 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4850
9bea3473
UD
48512011-12-02 Ulrich Drepper <drepper@gmail.com>
4852
3a965496
UD
4853 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4854 problem.
4855
9bea3473
UD
4856 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4857
f101631b
UD
48582011-11-29 Joseph Myers <joseph@codesourcery.com>
4859
4860 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4861 conditional on GCC version.
4862 (__arch_compare_and_exchange_val_8_acq)
4863 (__arch_compare_and_exchange_val_16_acq)
4864 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4865 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4866 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4867
a98275aa
UD
48682011-12-02 Joseph Myers <joseph@codesourcery.com>
4869
4870 * sysdeps/sh/backtrace.c: New file.
4871
d4cc29a2
AS
48722011-12-02 Andreas Schwab <schwab@redhat.com>
4873
4874 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4875 parenthesis.
4876
6257af2d
AS
48772011-12-01 Andreas Schwab <schwab@redhat.com>
4878
4879 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4880 falling back to utime.
4881
b5f44c1a
AS
48822011-11-30 Andreas Schwab <schwab@redhat.com>
4883
4884 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4885 expectations for float.
4886
f3a6cc0a
AS
48872011-11-29 Andreas Schwab <schwab@redhat.com>
4888
4889 * locale/weight.h (findidx): Add parameter len.
4890 * locale/weightwc.h (findidx): Likewise.
4891 * posix/fnmatch_loop.c (FCT): Adjust caller.
4892 * posix/regcomp.c (build_equiv_class): Likewise.
4893 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4894 * posix/regexec.c (check_node_accept_bytes): Likewise.
4895 * string/strcoll_l.c (STRCOLL): Likewise.
4896 * string/strxfrm_l.c (STRXFRM): Likewise.
4897
9d65ea3a
UD
48982011-11-17 Ulrich Drepper <drepper@gmail.com>
4899
4900 * Makefile.in: Remove CVSOPT handling.
4901 * configure.in: Remove use of AC_REVISION.
4902 * iconvdata/Makefile (distribute): No need to filter out CVS.
4903 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4904 handling.
4905
5583a086
AS
49062011-11-16 Andreas Schwab <schwab@redhat.com>
4907
4908 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4909 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4910 [USE_AS_STRNCASECMP_L]: Likewise.
4911 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4912 NO_TLS_DIRECT_SEG_REFS.
4913 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4914 Fix argument offsets for non-PIC.
4915 [USE_AS_STRNCASECMP_L]: Likewise.
4916 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4917 NO_TLS_DIRECT_SEG_REFS.
4918
d62a8200
UD
49192011-11-15 Ulrich Drepper <drepper@gmail.com>
4920
9d65ea3a 4921 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
4922 O_CLOEXEC.
4923 * locale/loadlocale.c (_nl_load_locale): Likewise.
4924
09f93bd3
AS
49252011-11-15 Andreas Schwab <schwab@redhat.com>
4926
446514f9
AS
4927 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4928 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4929 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4930 (SYSCALL_GETTIME): Set errno on error.
4931
09f93bd3
AS
4932 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4933 count references to noai6ai_cached.
4934
312be3f9
UD
49352011-11-15 Ulrich Drepper <drepper@gmail.com>
4936
4937 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4938
4939 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4940 FD_CLOEXEC for /proc/self/maps.
4941
4942 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4943 FD_CLOEXEC for /proc/meminfo.
4944
4945 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4946 gai.conf.
4947
4948 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4949 FD_CLOEXEC for given file.
4950
4951 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4952
4953 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4954 FD_CLOEXEC for /etc/hosts.
4955 (_gethtent): Likewise.
4956
4957 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4958
4959 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4960 cancellation and set FD_CLOEXEC for /etc/netgroup.
4961
4962 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4963 reading /etc/publickey.
4964
4965 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4966 allow cancellation when reading /etc/group.
4967
4968 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4969 cancellation.
4970 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4971
4972 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4973 when using data file.
4974
4975 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4976
4977 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4978 (write_nis_obj): Use "c" and "e" in fopen.
4979
4980 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4981
4982 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4983
4984 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4985
4986 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4987
4988 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4989 locale.alias.
4990
4991 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4992
4993 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4994
4995 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4996
4997 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4998 file parsing and set FD_CLOEXEC.
4999
82af0fa8
UD
50002011-11-14 Ulrich Drepper <drepper@gmail.com>
5001
5002 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5003
a5fb313c
AS
50042011-11-14 Andreas Schwab <schwab@redhat.com>
5005
5006 * malloc/arena.c (arena_get2): Don't call reused_arena when
5007 _int_new_arena failed.
5008
6abf3465
UD
50092011-11-14 Ulrich Drepper <drepper@gmail.com>
5010
5011 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5012 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5013 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5014 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5015 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5016 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5017 to compile strcasecmp and strncasecmp.
5018 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5019 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5020
5021 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5022
76e3966e
UD
50232011-11-13 Ulrich Drepper <drepper@gmail.com>
5024
5025 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5026 locale-defines.sym to gen-as-const-headers.
5027 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5028 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5029 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5030 to compile strcasecmp and strncasecmp.
5031 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5032 strcasecmp_l and strncasecmp_l.
5033 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5034 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5035 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5036 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5037 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5038 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5039 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5040 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5041 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5042 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5043 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5044
ab26144e
UD
50452011-11-12 Ulrich Drepper <drepper@gmail.com>
5046
7edb22ef
UD
5047 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5048 result of SYSDEP_GETTIME_CPU to retval.
5049 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5050 parameter list to macro. Remove trailing semicolon. Adjust users.
5051
9694fc44
UD
5052 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5053 variable.
5054
8ad89ef8
UD
5055 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5056 mantissa words.
5057 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5058
0c822ef9
UD
5059 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5060 from unused variable.
5061
874e0564
UD
5062 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5063 DWARF definitions.
5064 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5065 for assembling.
5066
3a2edc79
UD
5067 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5068 over namespaces.
5069
f3c2577f
UD
5070 * sunrpc/rpc_prot.c (rejected): Fix case value.
5071
294ce126
UD
5072 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5073 unsigned long long int to avoid warnings in shift.
5074
5e2b63c6
UD
5075 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5076 of use of trans.
5077 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5078 variable tmp.
5079
e7f4b08e
UD
5080 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5081 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5082 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5083
ab26144e
UD
5084 * nis/nis_table.c (nis_list): Use variable of correct type for
5085 result of __follow_path call.
5086
8a6d5255
AZ
50872011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5088
5089 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5090 of math functions ceil, trunc, floor, round, and sqrt, when
5091 avaliable on the platform.
5092 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5093 name clash.
5094 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5095 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5096 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5097
aaddc98c
MP
50982011-10-30 Marek Polacek <mpolacek@redhat.com>
5099
5100 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5101 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5102
95b7042b
RM
51032011-11-11 Roland McGrath <roland@hack.frob.com>
5104
5105 * include/unistd.h: Fix __readlink return type.
5106 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5107
57769839
UD
51082011-11-11 Ulrich Drepper <drepper@gmail.com>
5109
5110 * stdlib/ucontext.h: Undo last change for makecontext.
5111
edc5984d
AS
51122011-11-11 Andreas Schwab <schwab@redhat.com>
5113
98591e58
AS
5114 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5115
edc5984d
AS
5116 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5117 * setjmp/setjmp.h: Mark functions as non-leaf.
5118 * setjmp/bits/setjmp2.h: Likewise.
5119 * stdlib/ucontext.h: Likewise.
5120
77cdc054
AS
51212011-11-10 Andreas Schwab <schwab@redhat.com>
5122
5123 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5124 (reused_arena): Don't check arena limit.
5125 (arena_get2): Atomically check arena limit.
5126
fe72eebd
UD
51272011-11-08 Ulrich Drepper <drepper@gmail.com>
5128
5f078c32
UD
5129 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5130 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5131
fe72eebd
UD
5132 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5133 instructions.
5134
ae1bc2fa
AS
51352011-11-07 Andreas Schwab <schwab@redhat.com>
5136
7583a88d
AS
5137 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5138 handler when locking.
5139
ae1bc2fa
AS
5140 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5141 Fix size of allocated buffer.
5142
10fb0bfa
AS
51432011-11-04 Andreas Schwab <schwab@redhat.com>
5144
998832a4
AS
5145 [BZ #10103]
5146 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5147 declarations for long double functions.
5148 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5149
10fb0bfa
AS
5150 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5151
3d7ba52b
AS
51522011-11-03 Andreas Schwab <schwab@redhat.com>
5153
a9ae54a1
AS
5154 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5155 installed.
5156
3d7ba52b
AS
5157 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5158 is disabled.
5159
bc8db248
ST
51602011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5161
5162 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5163
45b96dd6
AS
51642011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5165
647776f6
AS
5166 * include/alloca.h (stackinfo_alloca_round): Define.
5167 (extend_alloca): Use it.
5168 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5169 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5170 here.
5171
d91a8b93
AS
5172 * scripts/check-local-headers.sh: Ignore libaudit.h.
5173
45b96dd6
AS
5174 * nscd/Makefile (extra-objs): Make recursively expanded.
5175
432d41ce
UD
51762011-11-01 Ulrich Drepper <drepper@gmail.com>
5177
34372fc6
UD
5178 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5179 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5180
fadb59f8
UD
5181 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5182 * posix/tst-rfc3484-2.c: Likewise.
5183 * posix/tst-rfc3484-3.c: Likewise.
5184
78239589
UD
5185 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5186 process_vm_writev.
5187 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5188 process_vm_writev.
5189 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5190 process_vm_writev from libc using GLIBC_2.15 version.
5191
432d41ce
UD
5192 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5193
02f9c6cf
PP
51942011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5195
5196 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5197 stack usage.
5198
3a2c0242
UD
51992011-10-31 Ulrich Drepper <drepper@gmail.com>
5200
f4ec4833
UD
5201 [BZ #13367]
5202 * nss/getent.c (initgroups_keys): Show error message in case no group
5203 names are given.
5204
3a2c0242
UD
5205 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5206 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5207 __bump_nl_timestamp.
5208 * nscd/connections (nscd_init): When host database is served open
5209 netlink socket and request notification about configuration changes.
5210 (main_loop_poll): Track netlink file descriptor and bump timestamp
5211 in case data becomes available.
5212 (main_loop_epoll): Likewise.
5213 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5214 (database_pers_head): Add extra_data fileds.
5215 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5216 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5217 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5218 Adjust caller.
5219 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5220 in6ai data, call __free_in6ai.
5221 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5222 Add -DHAVE_NETLINK.
5223 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5224 interface information. Reuse previous data if netlink timestamp
5225 is not changed.
5226 (__bump_nl_timestamp): New function.
5227 (__free_in6ai): New function.
5228
636064eb
UD
52292011-10-30 Ulrich Drepper <drepper@gmail.com>
5230
5231 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5232 close_not_cancel_no_status here.
5233 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5234
9beb2334
UD
52352011-10-29 Ulrich Drepper <drepper@gmail.com>
5236
6ef76f3b
UD
5237 [BZ #13276]
5238 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5239 return value.
5240
0ffc4f3e 5241 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5242 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5243 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5244
cb95113e
UD
52452011-07-03 Andreas Jaeger <aj@suse.de>
5246
5247 [BZ #10709]
5248 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5249 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5250 * math/libm-test.inc (sin_test): Add test case.
5251
a1b560ff
UD
52522011-10-29 Ulrich Drepper <drepper@gmail.com>
5253
c9aaface
UD
5254 [BZ #13337]
5255 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5256 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5257
d272e7f1
UD
5258 * elf/chroot_canon.c (chroot_canon): Cleanups.
5259
1bc33071
UD
5260 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5261
1760874d
TJ
5262 [BZ #13335]
5263 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5264 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5265
51d91b18
UD
5266 * string/test-strchr.c: Make usable for strchrnul testing.
5267 * string/test-strchrnul.c: New file.
5268 * string/Makefile (strop-tests): Add strchrnul.
5269
a1b560ff 5270 * po/it.po: Update from translation team.
b611fb81 5271 * po/es.po: Likewise.
a1b560ff 5272
a5b81e1f
UD
52732011-10-28 Ulrich Drepper <drepper@gmail.com>
5274
fd52bc6d
UD
5275 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5276 the three constants needed as parameters. Drop the others.
5277 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5278 __m128i_strloadu_tolower.
52e4b9eb
UD
5279 Create and initialize variable zero and use it in all the places
5280 where _mm_setzero_si128 was used.
fd52bc6d 5281
a5b81e1f
UD
5282 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5283 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5284 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5285 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5286 anymore.
5287 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5288 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5289 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5290 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5291 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5292 __mpranred, __mptan.
5293 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5294 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5295 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5296 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5297 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5298 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5299 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5300 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5301 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5302
b4343346
AS
53032011-10-28 Andreas Schwab <schwab@redhat.com>
5304
0c92d8a8
AS
5305 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5306 redefine if SHARED.
5307 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5308
b4343346
AS
5309 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5310 wide char related routines to wcsmbs subdir.
5311
3871f58f
AS
53122011-10-27 Andreas Schwab <schwab@redhat.com>
5313
5314 [BZ #13344]
5315 * misc/sys/cdefs.h (__THROWNL): Define.
5316 * posix/unistd.h: Use __THREADNL instead of __THREAD
5317 for memory synchronization functions.
5318
94d44d9f
RM
53192011-10-26 Roland McGrath <roland@hack.frob.com>
5320
21b64b15 5321 [BZ #13349]
94d44d9f
RM
5322 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5323 doesn't exist.
5324 * manual/stdio.texi (Obstack Streams): Node removed.
5325
f6ce9294
AS
53262011-10-26 Andreas Schwab <schwab@redhat.com>
5327
80479147
AS
5328 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5329 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5330 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5331
f6ce9294
AS
5332 * math/math_private.h (math_force_eval): Allow non-addressable
5333 arguments.
5334 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5335
618280a1
UD
53362011-10-25 Ulrich Drepper <drepper@gmail.com>
5337
e0016b11
UD
5338 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5339 file is not needed.
5340
5341 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5342 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5343 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5344 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5345 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5346 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5347 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5348 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5349 Add AVX variants.
5350 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5351 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5352 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5353 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5354 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5355 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5356 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5357 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5358 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5359 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5360 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5361 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5362 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5363 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5364 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5365 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5366 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5367 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5368 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5369
5370 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5371 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5372
618280a1
UD
5373 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5374 place. Use VEX encoding when compiling for AVX.
5375
37822576
AS
53762011-10-25 Andreas Schwab <schwab@redhat.com>
5377
1f1e1947
AS
5378 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5379 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5380
37822576
AS
5381 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5382
31ea014d
UD
53832011-10-25 Ulrich Drepper <drepper@gmail.com>
5384
d7826aa1 5385 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 5386 useless if() expression.
d7826aa1
UD
5387 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5388 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5389 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5390 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5391 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5392 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5393 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5394 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5395 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5396 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5397 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5398 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5399 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5400 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5401 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5402 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5403 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5404 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5405 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5406
31ea014d
UD
5407 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5408
16437fec
AS
54092011-10-25 Andreas Schwab <schwab@redhat.com>
5410
5411 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5412 condition.
5413 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5414
31d3cc00
UD
54152011-10-25 Ulrich Drepper <drepper@gmail.com>
5416
5417 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5418 .text section. Avoid duplicate constants.
5419 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5420 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5421 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5422 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5423 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5424 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5425 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5426 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5427 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5428 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5429 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5430 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5431 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5432 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5433 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5434 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5435 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5436 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5437 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5438 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5439 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5440 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5441 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5442 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5443 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5444 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5445 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5446 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5447 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5448 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5449 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5450 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5451 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5452 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5453 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5454 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5455 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5456 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5457 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5458 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5459 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5460 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5461 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5462 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5463 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5464
58985aa9
UD
54652011-10-24 Ulrich Drepper <drepper@gmail.com>
5466
202c9deb
UD
5467 * sysdeps/x86_64/dla.h: Move to ...
5468 * sysdeps/x86_64/fpu/dla.h: ...here.
5469 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5470 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 5471
af968f62
UD
5472 * config.make.in: Add have-mfma4 entry.
5473 * configure.in: Substitute libc_cv_cc_fma4.
5474 * math/Makefile (dbl-only-routines): Add sincostab.
5475 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5476 Use __sincostab not sincos.
5477 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5478 name is a macro.
5479 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5480 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5481 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5482 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5483 using __copysign.
5484 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5485 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5486 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5487 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5488 and __inv.
5489 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5490 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5491 __copysign.
5492 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5493 define aliases when function name is a macro.
5494 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5495 sysdeps/ieee754/dbl-64/sincos.tbl.
5496 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5497 fma4-enabled routines.
5498 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5499 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5500 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5501 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5502 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5503 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5504 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5505 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5506 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5507 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5508 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5509 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5510 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5511 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5512 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5513 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5514 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5515 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5516 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5517 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5518 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5519 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5520 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5521 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5522 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5523 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5524 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5525 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5526 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5527 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5528
58985aa9
UD
5529 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5530 rename.
5531 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5532 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5533 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5534 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5535 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5536 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5537 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5538 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5539
a201fbcf
AS
55402011-10-24 Andreas Schwab <schwab@redhat.com>
5541
5542 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5543
fc2ee42a
LD
55442011-10-23 Ulrich Drepper <drepper@gmail.com>
5545
bb3129bd
UD
5546 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5547
0275fff8
UD
5548 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5549 prediction.
5550 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5551
2fa2ae85
UD
5552 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5553 Remove unused variable magic_bits.
5554 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5555
fc2ee42a
LD
5556 * string/strnlen.c: Define and use STRNLEN macro.
5557 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5558 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5559 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5560 * wcsmbs/wcslen.c: Define and use WCSLEN.
5561 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5562 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5563 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5564 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5565 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5566 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5567 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5568
ce7dd29f
LD
55692011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5570
5571 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5572 strnlen-sse2-no-bsf.
5573 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5574 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5575 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5576 Add strnlen support.
5577 (USE_AS_STRNLEN): New macro.
5578 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5579 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5580 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5581 * sysdeps/x86_64/wcslen.S: New file.
5582
979c70a3
MZ
55832011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5584
5585 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5586 XMM-moves are used for copying on small sizes.
5587
2d09f82f
LD
55882011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5589
5590 * wcsmbs/Makefile (strop-tests): Add wcschr.
5591 * wcsmbs/test-wcschr.c: New file.
5592 * string/test-strchr.c: Update.
5593 Add wcschr support.
5594 (WIDE): New macro.
5595
619fccca
LD
55962011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5597
2d09f82f 5598 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
5599 * wcsmbs/test-wcslen.c: New file.
5600 * string/test-strlen.c: Update.
5601 Add wcslen support.
5602 (WIDE): New macro.
5603
09f699ea
UD
56042011-10-23 Ulrich Drepper <drepper@gmail.com>
5605
5606 * po/it.po: Update from translation team.
5607
95584d3b
LD
56082011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5609
5610 * sysdeps/x86_64/wcscmp.S: Update.
5611 Fix wrong comparison semantics.
5612 wcscmp shall use signed comparison not unsigned.
5613 Don't use substraction to avoid overflow bug.
5614 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5615 * wcsmbc/wcscmp.c: Likewise.
5616 * string/test-strcmp.c: Likewise.
5617 Add new tests to check cases with negative values.
5618
c8b3296b
UD
56192011-10-23 Ulrich Drepper <drepper@gmail.com>
5620
5621 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5622 * sysdeps/x86_64/dla.h: ...here. New file.
5623 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5624 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5625 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5626 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5627 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5628 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5629 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5630 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5631 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5632
246ad57a
AS
56332011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5634
5635 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5636 __ynl_finite aliases.
5637
a1a87169
UD
56382011-10-22 Ulrich Drepper <drepper@gmail.com>
5639
0d355eb7
UD
5640 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5641
a1a87169
UD
5642 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5643 define DLA_FMA.
5644 [DLA_FMA] (EMULV): Use DLA_FMA.
5645 [DLA_FMA] (MUL12): Use EMULV.
5646 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5647 that are not needed.
5648 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5649 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5650 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5651 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5652 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5653 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5654 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5655
ee2aafe0
AS
56562011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5657
5658 * math/s_nan.c: Undef __nan.
5659 * math/s_nanf.c: Undef __nanf.
5660 * math/s_nanl.c: Undef __nanl.
5661 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5662 "math_private.h".
5663
bc62c2fb
UD
56642011-10-22 Ulrich Drepper <drepper@gmail.com>
5665
77425c63
UD
5666 * math/s_catan.c: Add branch predictions.
5667 * math/s_catanf.c: Likewise.
5668 * math/s_catanh.c: Likewise.
5669 * math/s_catanhf.c: Likewise.
5670 * math/s_catanhl.c: Likewise.
5671 * math/s_catanl.c: Likewise.
5672 * math/s_cexp.c: Likewise.
5673 * math/s_cexpf.c: Likewise.
5674 * math/s_cexpl.c: Likewise.
5675 * math/s_clog.c: Likewise.
5676 * math/s_clog10.c: Likewise.
5677 * math/s_clog10f.c: Likewise.
5678 * math/s_clog10l.c: Likewise.
5679 * math/s_clogf.c: Likewise.
5680 * math/s_clogl.c: Likewise.
5681 * math/s_csqrt.c: Likewise.
5682 * math/s_csqrtf.c: Likewise.
5683 * math/s_csqrtl.c: Likewise.
5684 * math/s_ctanf.c: Likewise.
5685 * math/s_ctanh.c: Likewise.
5686 * math/s_ctanhf.c: Likewise.
5687 * math/s_ctanhl.c: Likewise.
5688 * math/s_ctanl.c: Likewise.
5689
bc62c2fb
UD
5690 * math/math_private.h: Define __nan, __nanf, __nanl.
5691 * math/s_cacosh.c: Include <math_private.h>.
5692 * math/s_cacoshl.c: Likewise.
5693 * math/s_casinh.c: Likewise.
5694 * math/s_casinhf.c: Likewise.
5695 * math/s_casinhl.c: Likewise.
5696 * math/s_ccos.c: Rely entire on ccosh.
5697 * math/s_ccosf.c: Rely entire on ccoshf.
5698 * math/s_ccosl.c: Rely entirely on ccoshl.
5699 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5700 Remove tests for FE_INVALID.
5701 * math/s_ccoshf.c: Likewise.
5702 * math/s_ccoshl.c: Likewise.
5703 * math/s_csin.c: Likewise.
5704 * math/s_csinf.c: Likewise.
5705 * math/s_csinh.c Likewise.
5706 * math/s_csinhf.c: Likewise.
5707 * math/s_csinhl.c: Likewise.
5708 * math/s_csinl.c: Likewise.
5709 * math/s_ctan.c: Likewise.
5710 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5711 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5712 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5713
8ec250a4
UD
57142011-10-21 Ulrich Drepper <drepper@gmail.com>
5715
c196fed8
UD
5716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5717 compilation problems.
5718
8ec250a4
UD
5719 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5720 __builtin_expect.
5721
8d4f46c6
UD
57222011-10-20 Ulrich Drepper <drepper@gmail.com>
5723
ed72b654
UD
5724 * sysdeps/i386/configure.in: Test for -mfma4 option.
5725 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5726 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5727 COMMON_CPUID_INDEX_80000001.
5728 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5729 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5730 use it if FMA3 is not supported.
5731 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5732
8d4f46c6
UD
5733 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5734 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5735
d45c60c2
AS
57362011-10-20 Andreas Schwab <schwab@redhat.com>
5737
5738 [BZ #12892]
5739 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5740 it would create a cycle with a link time dependency.
5741
d9a4d2ab
UD
57422011-10-19 Ulrich Drepper <drepper@gmail.com>
5743
855d1560
UD
5744 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5745 instruction.
5746 * string/Makefile (strop-tests): Add rawmemchr.
5747 * string/test-rawmemchr.c: New file.
5748
d9a4d2ab
UD
5749 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5750 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5751 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5752 when compiling str{,n}casecmp and when AVX is available. Hook up
5753 new optimized code in initializers.
5754
8f3b1ffe
AS
57552011-10-19 Andreas Schwab <schwab@redhat.com>
5756
5757 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5758 __feraiseexcept instead of feraiseexcept.
5759
d38f1dba
UD
57602011-10-18 Ulrich Drepper <drepper@gmail.com>
5761
d9a8d0ab
UD
5762 * math/math_private.h: Define defaults for libc_fetestexcept and
5763 libc_feupdateenv.
5764 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5765 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5766 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5767 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5768 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5769 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5770 libc_fetestexcept and libc_feupdateenv.
5771
4855e3dd
UD
5772 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5773 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5774 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5775 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5776 libc_feholdexcept_setround.
5777
581d30e3
UD
5778 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5779 Add s_nearbyint-c and s_nearbyintf-c.
5780 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5781 nearbyintf inlines.
5782 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5783 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5784 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5785 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5786
d38f1dba
UD
5787 * math/math_private.h: Define defaults for libc_fegetround,
5788 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5789 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5790 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5791 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5792 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5793 standard functions.
5794 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5795 Remove comments and hacks for old compiler versions.
5796 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5797 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5798 libc_feholdexceptl.
5799
caa6c9d8
AS
58002011-10-18 Andreas Schwab <schwab@redhat.com>
5801
5802 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
5803 (__feraiseexcept_renamed): Add __NTH.
5804 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
5805 namespace violations.
5806
97c066e6
UD
58072011-10-17 Ulrich Drepper <drepper@gmail.com>
5808
99ce7b04
UD
5809 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5810
1004d182
UD
5811 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5812
228a984d
UD
5813 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5814 recently added interfaces.
5815 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5816
c8553a6a
UD
5817 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5818 about macro parameter expansion.
5819
ed22dcf6
UD
5820 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5821 __NO_MATH_INLINES is defined. Cleanups.
5822
5823 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5824 and __floorf is target has SSE4.1.
5825 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5826 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5827 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5828 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5829
b171c137
UD
5830 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5831 name.
5832 (floorf): Likewise.
5833
97c066e6
UD
5834 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5835
629f62ef
AS
58362011-10-17 Andreas Schwab <schwab@redhat.com>
5837
49a43d80
AS
5838 * misc/sys/cdefs.h: Fix last change.
5839
629f62ef
AS
5840 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5841 database lookup.
5842
e453f6cd
UD
58432011-10-16 Ulrich Drepper <drepper@gmail.com>
5844
aa78043a
UD
5845 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5846
ad0f5cad
UD
5847 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5848 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5849 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5850 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5851 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5852 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5853 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5854 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5855 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5856 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5857 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5858 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5859 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5860 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5861 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5862 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5863 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5864 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5865 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5866 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5867 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5868 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5869
5870 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5871 ceil, ceilf, floor, floorf.
5872
5873 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5874 Perform IRELATIVE relocations last.
5875
e453f6cd
UD
5876 * elf/do-rel.h: Add another parameter nrelative, replacing the
5877 local variable with the same name. Change name of the function
5878 to end in Rel or Rela (uppercase).
5879 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5880 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5881 elf_dynamic_do_##reloc function.
5882
fd5bdc09
UD
58832011-10-15 Ulrich Drepper <drepper@gmail.com>
5884
79b195b5
UD
5885 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5886 is sufficient, at least on modern CPUs.
5887
d4a28569
UD
5888 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5889
b61099b5
UD
5890 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5891 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5892
bcf01e6d
UD
5893 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5894 __expl_finite.
5895 * math/bits/math-finite.h: Add entries for exp.
5896 * math/e_expl.c: Add __*_finite alias.
5897 * sysdeps/i386/fpu/e_exp.S: Likewise.
5898 * sysdeps/i386/fpu/e_expf.S: Likewise.
5899 * sysdeps/i386/fpu/e_expl.c: Likewise.
5900 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5901 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5902 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5903 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5904 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5905 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5906 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5907
ba1a0d59
UD
5908 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5909 is sufficient, at least on modern CPUs.
5910
fd5bdc09
UD
5911 * ctype/ctype-info.c (__ctype_init): Define.
5912 * include/ctype.h (__ctype_init): Declare.
5913 (__ctype_b_loc): The variable is always initialized.
5914 (__ctype_toupper_loc): Likewise.
5915 (__ctype_tolower_loc): Likewise.
5916 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5917 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5918
7872cfb0
AS
59192011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5920
b468825a
AS
5921 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5922
7872cfb0
AS
5923 * configure.in: Also look in $cxxmachine/include for C++ system
5924 headers.
5925
be13f7bf
LD
59262011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5927
5928 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5929 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5930 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5931 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5932 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5933 (USE_AS_WMEMCMP): New macro.
5934 Fixing indents.
5935 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5936 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5937 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5938 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5939 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5940 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5941 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5942 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5943 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5944 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5945 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5946 (USE_AS_WMEMCMP): New macro.
5947 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5948 * sysdeps/string/test-memcmp.c: Update.
5949 Fix simple_wmemcmp.
5950 Add new tests.
5951 * wcsmbs/wmemcmp.c: Update.
5952 (WMEMCMP): New macro.
5953 Fix overflow bug.
5954
556a2007
AJ
59552011-10-12 Andreas Jaeger <aj@suse.de>
5956
5957 [BZ #13268]
5958 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5959
538faaa7
UD
59602011-10-15 Ulrich Drepper <drepper@gmail.com>
5961
ab6737ff
UD
5962 * libio/iofwide.c (do_length): Avoid warning.
5963
538faaa7
UD
5964 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5965
396a21b1
UD
59662011-10-14 Ulrich Drepper <drepper@gmail.com>
5967
cdf2901f
UD
5968 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5969
38ad40ce
UD
5970 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5971 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5972 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5973 * sysdeps/i386/i686/fpu/e_log.S: New file.
5974 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5975 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5976
396a21b1
UD
5977 * ctype/ctype.h: Add support for inlined isXXX functions when
5978 compiling C++ code.
5979
6b1f68c9
AS
59802011-10-14 Andreas Schwab <schwab@redhat.com>
5981
349290c0
AS
5982 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5983
6b1f68c9
AS
5984 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5985
f2282d42
RM
59862011-10-13 Roland McGrath <roland@hack.frob.com>
5987
5988 [BZ #13291]
5989 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5990
5298ffa8
AS
59912011-10-13 Andreas Schwab <schwab@redhat.com>
5992
714fad23
AS
5993 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5994 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5995 feraiseexcept.
5996
81dcc7fb
AS
5997 * sysdeps/x86_64/memrchr.S: Check for zero size.
5998
5298ffa8
AS
5999 * string/stratcliff.c: Add memrchr tests.
6000
951fbcec
LD
60012011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6002
6003 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6004 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6005 rawmemchr-sse2 rawmemchr-sse2-bsf.
6006 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6007 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6008 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6009 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6010 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6011 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6012 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6013 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6014 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6015 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6016 * string/memrchr.c (MEMRCHR): New macro.
6017
0ac5ae23
UD
60182011-10-12 Ulrich Drepper <drepper@gmail.com>
6019
6020 Add integration with gcc's -ffinite-math-only and optimize wrapper
6021 functions in libm.
6022 * Versions.def: Define GLIBC_2.15 version for libm.
6023 * math/Makefile (headers): Add bits/math-finite.h.
6024 * math/bits/math-finite.h: New file.
6025 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6026 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6027 * math/e_acoshl.c: Add __*_finite alias.
6028 * math/e_acosl.c: Likewise.
6029 * math/e_asinl.c: Likewise.
6030 * math/e_atan2l.c: Likewise.
6031 * math/e_atanhl.c: Likewise.
6032 * math/e_coshl.c: Likewise.
6033 * math/e_exp10.c: Likewise.
6034 * math/e_exp10f.c: Likewise.
6035 * math/e_exp10l.c: Likewise.
6036 * math/e_exp2l.c: Likewise.
6037 * math/e_fmodl.c: Likewise.
6038 * math/e_gammal_r.c: Likewise.
6039 * math/e_hypotl.c: Likewise.
6040 * math/e_j0l.c: Likewise.
6041 * math/e_j1l.c: Likewise.
6042 * math/e_jnl.c: Likewise.
6043 * math/e_lgammal_r.c: Likewise.
6044 * math/e_log10l.c: Likewise.
6045 * math/e_log2l.c: Likewise.
6046 * math/e_logl.c: Likewise.
6047 * math/e_powl.c: Likewise.
6048 * math/e_sinhl.c: Likewise.
6049 * math/e_sqrtl.c: Likewise.
6050 * math/e_scalb.c: Completely rewritten and optimized.
6051 * math/e_scalbf.c: Likewise.
6052 * math/e_scalbl.c: Likewise.
6053 * math/w_acos.c: Likewise.
6054 * math/w_acosf.c: Likewise.
6055 * math/w_acosl.c: Likewise.
6056 * math/w_acosh.c: Likewise.
6057 * math/w_acoshf.c: Likewise.
6058 * math/w_acoshl.c: Likewise.
6059 * math/w_asin.c: Likewise.
6060 * math/w_asinf.c: Likewise.
6061 * math/w_asinl.c: Likewise.
6062 * math/w_atan2.c: Likewise.
6063 * math/w_atan2f.c: Likewise.
6064 * math/w_atan2l.c: Likewise.
6065 * math/w_atanh.c: Likewise.
6066 * math/w_atanhf.c: Likewise.
6067 * math/w_atanhl.c: Likewise.
6068 * math/w_exp10.c: Likewise.
6069 * math/w_exp10f.c: Likewise.
6070 * math/w_exp10l.c: Likewise.
6071 * math/w_fmod.c: Likewise.
6072 * math/w_fmodf.c: Likewise.
6073 * math/w_fmodl.c: Likewise.
6074 * math/w_j0.c: Likewise.
6075 * math/w_j0f.c: Likewise.
6076 * math/w_j0l.c: Likewise.
6077 * math/w_j1.c: Likewise.
6078 * math/w_j1f.c: Likewise.
6079 * math/w_j1l.c: Likewise.
6080 * math/w_jn.c: Likewise.
6081 * math/w_jnf.c: Likewise.
6082 * math/w_log.c: Likewise.
6083 * math/w_logf.c: Likewise.
6084 * math/w_logl.c: Likewise.
6085 * math/w_log10.c: Likewise.
6086 * math/w_log10f.c: Likewise.
6087 * math/w_log10l.c: Likewise.
6088 * math/w_log2.c: Likewise.
6089 * math/w_log2f.c: Likewise.
6090 * math/w_log2l.c: Likewise.
6091 * math/w_pow.c: Likewise.
6092 * math/w_powf.c: Likewise.
6093 * math/w_powl.c: Likewise.
6094 * math/w_remainder.c: Likewise.
6095 * math/w_remainderf.c: Likewise.
6096 * math/w_remainderl.c: Likewise.
6097 * math/w_scalb.c: Likewise.
6098 * math/w_scalbf.c: Likewise.
6099 * math/w_scalbl.c: Likewise.
6100 * math/w_sqrt.c: Likewise.
6101 * math/w_sqrtf.c: Likewise.
6102 * math/w_sqrtl.c: Likewise.
6103 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6104 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6105 used.
6106 * math/math_private.h: Declare __kernel_standard_f.
6107 * math/w_cosh.c: Remove cruft and optimize a bit.
6108 * math/w_coshf.c: Likewise.
6109 * math/w_coshl.c: Likewise.
6110 * math/w_exp2.c: Likewise.
6111 * math/w_exp2f.c: Likewise.
6112 * math/w_exp2l.c: Likewise.
6113 * math/w_hypot.c: Likewise.
6114 * math/w_hypotf.c: Likewise.
6115 * math/w_hypotl.c: Likewise.
6116 * math/w_lgamma.c: Likewise.
6117 * math/w_lgamma_r.c: Likewise.
6118 * math/w_lgammaf.c: Likewise.
6119 * math/w_lgammaf_r.c: Likewise.
6120 * math/w_lgammal.c: Likewise.
6121 * math/w_lgammal_r.c: Likewise.
6122 * math/w_sinh.c: Likewise.
6123 * math/w_sinhf.c: Likewise.
6124 * math/w_sinhl.c: Likewise.
6125 * math/w_tgamma.c: Likewise.
6126 * math/w_tgammaf.c: Likewise.
6127 * math/w_tgammal.c: Likewise.
6128 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6129 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6130 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6131 Minor optimizations. Pretty printing. Remove cruft.
6132 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6133 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6134 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6135 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6136 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6137 * sysdeps/i386/fpu/e_asin.S: Likewise.
6138 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6139 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6140 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6141 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6142 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6143 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6144 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6145 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6146 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6147 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6148 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6149 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6150 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6151 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6152 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6153 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6154 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6155 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6156 * sysdeps/i386/fpu/e_log.S: Likewise.
6157 * sysdeps/i386/fpu/e_log10.S: Likewise.
6158 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6159 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6160 * sysdeps/i386/fpu/e_log2.S: Likewise.
6161 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6162 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6163 * sysdeps/i386/fpu/e_logf.S: Likewise.
6164 * sysdeps/i386/fpu/e_logl.S: Likewise.
6165 * sysdeps/i386/fpu/e_pow.S: Likewise.
6166 * sysdeps/i386/fpu/e_powf.S: Likewise.
6167 * sysdeps/i386/fpu/e_powl.S: Likewise.
6168 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6169 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6170 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6171 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6172 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6173 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6174 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6175 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6176 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6177 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6178 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6179 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6180 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6181 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6182 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6183 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6184 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6185 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6186 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6187 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6188 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6189 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6190 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6191 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6192 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6193 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6194 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6195 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6196 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6197 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6198 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6199 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6200 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6201 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6202 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6203 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6204 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6205 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6206 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6207 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6208 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6209 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6210 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6211 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6212 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6213 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6214 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6215 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6216 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6217 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6218 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6219 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6220 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6221 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6222 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6223 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6224 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6225 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6226 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6227 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6228 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6229 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6230 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6231 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6232 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6233 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6234 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6235 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6236 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6237 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6238 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6239 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6240 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6241 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6242 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6243 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6244 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6245 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6246 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6247 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6248 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6249 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6250 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6251 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6252 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6253 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6254 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6255 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6256 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6257 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6258 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6259 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6260 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6261 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6262 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6263 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6264 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6265 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6266 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6267 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6268 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6269 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6270 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6271 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6272 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6273 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6274 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6275 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6276 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6277 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6278 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6279 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6280 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6281 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6282 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6283 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6284 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6285 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6286 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6287 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6288 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6289 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6290 (__isnanf): Likewise.
6291 (__isinf_ns): Likewise.
6292 (__isinf_nsf): Likewise.
6293 (__finite): Likewise.
6294 (__finitef): Likewise.
6295 (__ieee754_sqrt): Define as macro.
6296 (__ieee754_sqrtf): Define as macro.
6297 (__ieee754_sqrtl): Define as macro.
6298 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6299 inlined copy.
6300 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6301 __FINITE_MATH_ONLY__ consistent.
6302 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6303
12cc2fcd
AS
63042011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6305
a843a204
AS
6306 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6307 of rawmemchr.
6308
12cc2fcd
AS
6309 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6310
c853acd5
UD
63112011-10-09 Ulrich Drepper <drepper@gmail.com>
6312
6313 * po/ja.po: Update from translation team.
6314
c658d255
RM
63152011-10-08 Roland McGrath <roland@hack.frob.com>
6316
110946e4
RM
6317 * locale/programs/locarchive.c (prepare_address_space): New function.
6318 (create_archive, enlarge_archive, open_archive): Use it.
6319
50604220
RM
6320 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6321 inside [SHARED], where it is used.
6322
c658d255
RM
6323 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6324
6325 * nss/getent.c (netgroup_keys): Remove unused variable.
6326 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6327
6a621eb7
UD
63282011-10-08 Ulrich Drepper <drepper@gmail.com>
6329
7edb55ce
UD
6330 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6331 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6332 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6333 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6334 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6335 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6336 * math/Makefile (libm-calls): Add s_isinf_ns.
6337 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6338 * math/multc3.c: Likewise.
6339 * math/s_casin.c: Likewise.
6340 * math/s_casinf.c: Likewise.
6341 * math/s_casinl.c: Likewise.
6342 * math/s_ccos.c: Likewise.
6343 * math/s_ccosf.c: Likewise.
6344 * math/s_ccosl.c: Likewise.
6345 * math/s_ctan.c: Likewise.
6346 * math/s_ctanf.c: Likewise.
6347 * math/s_ctanh.c: Likewise.
6348 * math/s_ctanhf.c: Likewise.
6349 * math/s_ctanhl.c: Likewise.
6350 * math/s_ctanl.c: Likewise.
6351 * math/w_fmod.c: Likewise.
6352 * math/w_fmodf.c: Likewise.
6353 * math/w_fmodl.c: Likewise.
6354 * math/w_remainder.c: Likewise.
6355 * math/w_remainderf.c: Likewise.
6356 * math/w_remainderl.c: Likewise.
6357 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6358 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6359 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6360 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6361 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6362 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6363 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6364 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6365
187da0ae
UD
6366 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6367 of the number.
6368 * stdio-common/printf_fphex.c: Likewise.
6369 * stdio-common/printf_size.c: Likewise.
6370
9277c064
UD
6371 * math/e_exp10.c: Include math_private.h using <...> not "...".
6372 * math/e_exp10f.c: Likewise.
6373 * math/e_exp10l.c: Likewise.
6374 * math/e_exp2l.c: Likewise.
6375 * math/e_j0l.c: Likewise.
6376 * math/e_j1l.c: Likewise.
6377 * math/e_jnl.c: Likewise.
6378 * math/e_lgammal_r.c: Likewise.
6379 * math/e_rem_pio2l.c: Likewise.
6380 * math/e_scalb.c: Likewise.
6381 * math/e_scalbf.c: Likewise.
6382 * math/e_scalbl.c: Likewise.
6383 * math/k_cosl.c: Likewise.
6384 * math/k_sinl.c: Likewise.
6385 * math/k_tanl.c: Likewise.
6386 * math/s_cacoshf.c: Likewise.
6387 * math/s_catan.c: Likewise.
6388 * math/s_catanf.c: Likewise.
6389 * math/s_catanh.c: Likewise.
6390 * math/s_catanhf.c: Likewise.
6391 * math/s_catanhl.c: Likewise.
6392 * math/s_catanl.c: Likewise.
6393 * math/s_ccosh.c: Likewise.
6394 * math/s_ccoshf.c: Likewise.
6395 * math/s_ccoshl.c: Likewise.
6396 * math/s_cexp.c: Likewise.
6397 * math/s_cexpf.c: Likewise.
6398 * math/s_cexpl.c: Likewise.
6399 * math/s_clog.c: Likewise.
6400 * math/s_clog10.c: Likewise.
6401 * math/s_clog10f.c: Likewise.
6402 * math/s_clog10l.c: Likewise.
6403 * math/s_clogf.c: Likewise.
6404 * math/s_clogl.c: Likewise.
6405 * math/s_csin.c: Likewise.
6406 * math/s_csinf.c: Likewise.
6407 * math/s_csinh.c: Likewise.
6408 * math/s_csinhf.c: Likewise.
6409 * math/s_csinhl.c: Likewise.
6410 * math/s_csinl.c: Likewise.
6411 * math/s_csqrt.c: Likewise.
6412 * math/s_csqrtf.c: Likewise.
6413 * math/s_csqrtl.c: Likewise.
6414 * math/s_ctan.c: Likewise.
6415 * math/s_ctanf.c: Likewise.
6416 * math/s_ctanh.c: Likewise.
6417 * math/s_ctanhf.c: Likewise.
6418 * math/s_ctanhl.c: Likewise.
6419 * math/s_ctanl.c: Likewise.
6420 * math/s_ldexp.c: Likewise.
6421 * math/s_ldexpf.c: Likewise.
6422 * math/s_ldexpl.c: Likewise.
6423 * math/s_significand.c: Likewise.
6424 * math/s_significandf.c: Likewise.
6425 * math/s_significandl.c: Likewise.
6426 * math/w_acos.c: Likewise.
6427 * math/w_acosf.c: Likewise.
6428 * math/w_acosh.c: Likewise.
6429 * math/w_acoshf.c: Likewise.
6430 * math/w_acoshl.c: Likewise.
6431 * math/w_acosl.c: Likewise.
6432 * math/w_asin.c: Likewise.
6433 * math/w_asinf.c: Likewise.
6434 * math/w_asinl.c: Likewise.
6435 * math/w_atan2.c: Likewise.
6436 * math/w_atan2f.c: Likewise.
6437 * math/w_atan2l.c: Likewise.
6438 * math/w_atanh.c: Likewise.
6439 * math/w_atanhf.c: Likewise.
6440 * math/w_atanhl.c: Likewise.
6441 * math/w_cosh.c: Likewise.
6442 * math/w_coshf.c: Likewise.
6443 * math/w_coshl.c: Likewise.
6444 * math/w_dremf.c: Likewise.
6445 * math/w_exp10.c: Likewise.
6446 * math/w_exp10f.c: Likewise.
6447 * math/w_exp10l.c: Likewise.
6448 * math/w_exp2.c: Likewise.
6449 * math/w_exp2f.c: Likewise.
6450 * math/w_fmod.c: Likewise.
6451 * math/w_fmodf.c: Likewise.
6452 * math/w_fmodl.c: Likewise.
6453 * math/w_hypot.c: Likewise.
6454 * math/w_hypotf.c: Likewise.
6455 * math/w_hypotl.c: Likewise.
6456 * math/w_j0.c: Likewise.
6457 * math/w_j0f.c: Likewise.
6458 * math/w_j0l.c: Likewise.
6459 * math/w_j1.c: Likewise.
6460 * math/w_j1f.c: Likewise.
6461 * math/w_j1l.c: Likewise.
6462 * math/w_jn.c: Likewise.
6463 * math/w_jnf.c: Likewise.
6464 * math/w_jnl.c: Likewise.
6465 * math/w_lgamma.c: Likewise.
6466 * math/w_lgamma_r.c: Likewise.
6467 * math/w_lgammaf.c: Likewise.
6468 * math/w_lgammaf_r.c: Likewise.
6469 * math/w_lgammal.c: Likewise.
6470 * math/w_lgammal_r.c: Likewise.
6471 * math/w_log.c: Likewise.
6472 * math/w_log10.c: Likewise.
6473 * math/w_log10f.c: Likewise.
6474 * math/w_log10l.c: Likewise.
6475 * math/w_log2.c: Likewise.
6476 * math/w_log2f.c: Likewise.
6477 * math/w_log2l.c: Likewise.
6478 * math/w_logf.c: Likewise.
6479 * math/w_logl.c: Likewise.
6480 * math/w_pow.c: Likewise.
6481 * math/w_powf.c: Likewise.
6482 * math/w_powl.c: Likewise.
6483 * math/w_remainder.c: Likewise.
6484 * math/w_remainderf.c: Likewise.
6485 * math/w_remainderl.c: Likewise.
6486 * math/w_scalb.c: Likewise.
6487 * math/w_scalbf.c: Likewise.
6488 * math/w_scalbl.c: Likewise.
6489 * math/w_sinh.c: Likewise.
6490 * math/w_sinhf.c: Likewise.
6491 * math/w_sinhl.c: Likewise.
6492 * math/w_sqrt.c: Likewise.
6493 * math/w_sqrtf.c: Likewise.
6494 * math/w_sqrtl.c: Likewise.
6495 * math/w_tgamma.c: Likewise.
6496 * math/w_tgammaf.c: Likewise.
6497 * math/w_tgammal.c: Likewise.
6498
6a621eb7
UD
6499 * po/ja.po: Update from translation team.
6500
bf582445
AJ
65012011-09-29 Andreas Jaeger <aj@suse.de>
6502
f9efbf3a
AJ
6503 [BZ #13179]
6504 * sunrpc/netname.c (netname2host): Fix logic.
6505
bf582445
AJ
6506 [BZ #6779]
6507 [BZ #6783]
6508 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6509 correctly.
6510 * math/w_remainder.c (__remainder): Likewise.
6511 * math/w_remainderf.c (__remainderf): Likewise.
6512 * math/libm-test.inc (remainder_test): Add test cases.
6513
48693bea
AK
65142011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6515
6516 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6517 sdiv_qrnnd.
6518
42622229
LD
65192011-10-07 Ulrich Drepper <drepper@gmail.com>
6520
6521 * string/test-memcmp.c: Avoid unncessary #defines.
6522 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6523
093ecf92
LD
65242011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6525
6526 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6527 Use new sse2 version for core i3 - i7 as it's faster
6528 than sse42 version.
6529 (bit_Prefer_PMINUB_for_stringop): New.
6530 * sysdeps/x86_64/rawmemchr.S: Update.
6531 Replace with faster SSE2 version.
6532 * sysdeps/x86_64/memrchr.S: New file.
6533 * sysdeps/x86_64/memchr.S: Update.
6534 Replace with faster SSE2 version.
6535
fde56e5c
MP
65362011-09-12 Marek Polacek <mpolacek@redhat.com>
6537
6538 * elf/dl-load.c (lose): Add cast to avoid warning.
6539
21fd49a9
UD
65402011-10-07 Ulrich Drepper <drepper@gmail.com>
6541
5a06e643
UD
6542 * po/ca.po: Update from translation team.
6543
684ae515
UD
6544 * inet/getnetgrent_r.c: Hook up nscd.
6545 * nscd/Makefile (routines): Add nscd_netgroup.
6546 (nscd-modules): Add netgroupcache.
6547 (CFLAGS-netgroupcache.c): Define.
6548 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6549 (cache_search): Add const to second parameter.
6550 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6551 INNETGR.
6552 (dbs): Add netgrdb entry.
6553 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6554 (verify_persistent_db): Handle netgrdb.
6555 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6556 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6557 GETFDNETGR.
6558 (netgroup_response_header): Define.
6559 (innetgroup_response_header): Define.
6560 (datahead): Add netgroup_response_header and innetgroup_response_header
6561 elements.
6562 * nscd/nscd.conf: Add entries for netgroup cache.
6563 * nscd/nscd.h (dbtype): Add netgrdb.
6564 (_PATH_NSCD_NETGROUP_DB): Define.
6565 (netgroup_iov_disabled): Declare.
6566 (xmalloc, xcalloc, xrealloc): Move declarations here.
6567 (cache_search): Adjust prototype.
6568 Add netgroup-related prototypes.
6569 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6570 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6571 (__nscd_innetgr): Declare.
6572 * nscd/selinux.c (perms): Use access_vector_t as element type and
6573 add netgroup-related initializers.
6574 * nscd/netgroupcache.c: New file.
6575 * nscd/nscd_netgroup.c: New file.
6576 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6577 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6578 For four parameters use innetgr.
6579 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6580 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6581 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6582 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6583
21fd49a9
UD
6584 * nscd/connections.c (register_traced_file): Don't register file
6585 for disabled databases.
6586
054c0457
UD
65872011-10-06 Ulrich Drepper <drepper@gmail.com>
6588
32b63198
UD
6589 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6590
054c0457
UD
6591 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6592 from tree and freeing node.
6593
64031225
JO
65942011-09-25 Jiri Olsa <jolsa@redhat.com>
6595
6596 * nss/nsswitch.c (__nss_database_lookup): Handle
6597 nss_parse_service_list out of memory case.
6598
0490345c
JO
65992011-09-15 Jiri Olsa <jolsa@redhat.com>
6600
6601 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6602 out of memory case.
6603
3a62d00d
AS
66042011-10-04 Andreas Schwab <schwab@redhat.com>
6605
6606 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6607 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6608 pass it down.
6609 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6610 elf_machine_rela, elf_machine_lazy_rel.
6611 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6612 (ELF_DYNAMIC_DO_REL): Likewise.
6613 (ELF_DYNAMIC_DO_RELA): Likewise.
6614 (ELF_DYNAMIC_RELOCATE): Likewise.
6615 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6616 to ELF_DYNAMIC_DO_REL.
6617 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6618 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6619 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6620 elf_machine_rela.
6621 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6622 skip_ifunc, don't call ifunc function if non-zero.
6623 (elf_machine_rela): Likewise.
6624 (elf_machine_lazy_rel): Likewise.
6625 (elf_machine_lazy_rela): Likewise.
6626 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6627 (elf_machine_lazy_rel): Likewise.
6628 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6629 Likewise.
6630 (elf_machine_lazy_rel): Likewise.
6631 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6632 Likewise.
6633 (elf_machine_lazy_rel): Likewise.
6634 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6635 (elf_machine_lazy_rel): Likewise.
6636 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6637 (elf_machine_lazy_rel): Likewise.
6638 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6639 (elf_machine_lazy_rel): Likewise.
6640 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6641 (elf_machine_lazy_rel): Likewise.
6642 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6643 (elf_machine_lazy_rel): Likewise.
6644 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6645 (elf_machine_lazy_rel): Likewise.
6646
68577918
UD
66472011-09-28 Ulrich Drepper <drepper@gmail.com>
6648
6649 * nss/nss_files/files-init.c (_nss_files_init): Use static
6650 initialization for all the *_traced_file variables.
6651
68822d74
AS
66522011-09-28 Andreas Schwab <schwab@redhat.com>
6653
6654 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6655
2056100b
RM
66562011-09-27 Roland McGrath <roland@hack.frob.com>
6657
6658 [BZ #13226]
6659 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6660
32c76b63
AS
66612011-09-27 Andreas Schwab <schwab@redhat.com>
6662
6663 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6664 Reread the line before reparsing it.
6665
bf972c9d
AS
66662011-09-26 Andreas Schwab <schwab@redhat.com>
6667
6668 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6669
e057a1b5
JM
66702011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6671 Maxim Kuvyrkov <maxim@codesourcery.com>
6672 Joseph Myers <joseph@codesourcery.com>
6673
6674 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6675 if needed for __stack_chk_guard.
6676
bc7e1c36
RM
66772011-09-19 Roland McGrath <roland@hack.frob.com>
6678
ecb1482f
RM
6679 * sysdeps/posix/spawni.c (script_execute): Always define it.
6680 It will be optimized away if unused.
6681 (maybe_script_execute): New function.
6682 (__spawni): Call it.
6683
bc7e1c36
RM
6684 * Makerules: Don't include tls.make.
6685 (config-tls): Always set to thread.
6686 * tls.make.c: File removed.
6687
1c3b002b
MF
66882011-09-19 Mike Frysinger <vapier@gentoo.org>
6689
6690 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6691 * config.make.in (CPPFLAGS-config): New substituted variable.
6692
2840865d
UD
66932011-09-15 Ulrich Drepper <drepper@gmail.com>
6694
88738eb6
UD
6695 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6696
cbf645a6 6697 [BZ #13192]
2840865d
UD
6698 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6699 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6700
b402e91a
RM
67012011-09-15 Roland McGrath <roland@hack.frob.com>
6702
6703 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6704 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6705 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6706 (CALL_FAIL): Likewise.
6707 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6708 (CALL_FAIL): Macro removed.
6709 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6710
4c1a1f71
UD
67112011-09-15 Ulrich Drepper <drepper@gmail.com>
6712
6713 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6714 for __FINITE_MATH_ONLY__ == 1.
6715
edc121be
AS
67162011-09-15 Andreas Schwab <schwab@redhat.com>
6717
6718 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6719 __ieee754_sqrt instead of sqrt.
6720 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6721 __ieee754_sqrtf instead of sqrtf.
6722 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6723 __floorf instead of floorf.
6724 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6725 __floorf, __truncf instead of floorf, truncf.
6726
cd205654
UD
67272011-09-14 Ulrich Drepper <drepper@gmail.com>
6728
ee4d0315
UD
6729 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6730
cd205654
UD
6731 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6732 __extern_always_inline.
6733 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6734 32-bit.
6735
48b67d71
AS
67362011-09-14 Andreas Schwab <schwab@redhat.com>
6737
6738 * elf/rtld.c (dl_main): Also relocate in dependency order when
6739 doing symbol dependency testing.
6740
1ae12c75
AS
67412011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6742
6743 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6744 Always define `refsym'.
6745
995a80df
AS
67462011-09-13 Andreas Schwab <schwab@redhat.com>
6747
e529793b
AS
6748 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6749 (__FD_ELT): Renamed from __FDELT.
6750 * misc/bits/select2.h (__FD_ELT): Likewise.
6751 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6752 __FD_MASK instead of __FDELT, __FDMASK.
6753 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6754 Likewise.
6755 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6756 Likewise.
6757
52d4fef8
AS
6758 * elf/Makefile (gen-ldd): Fix pattern.
6759
995a80df
AS
6760 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6761 (init_tls): Likewise.
6762
8682f8b0
UD
67632011-09-12 Ulrich Drepper <drepper@gmail.com>
6764
6765 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6766
de82006d
AS
67672011-09-12 Andreas Schwab <schwab@redhat.com>
6768
a7c8e6a1
AS
6769 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6770 `struct cmsghdr *' instead of `void *'.
6771 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6772 Likewise.
6773
0f31fe77
AS
67742011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6775
6776 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6777 if non-absolute.
6778 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6779 ldd_rewrite_script.
0f31fe77 6780
32b4c839
UD
67812011-09-11 Ulrich Drepper <drepper@gmail.com>
6782
83cd1420
UD
6783 * configure.in: Remove --with-tls option.
6784 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6785 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6786 out in case it is missing.
6787 * sysdeps/ia64/elf/configure.in: Likewise.
6788 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6789 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6790 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6791 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6792 * sysdeps/sh/elf/configure.in: Likewise.
6793 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6794 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6795 * sysdeps/x86_64/elf/configure.in: Likewise.
6796 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6797 * sysdeps/mach/hurd/tls.h: Likewise.
6798
633f745d
UD
6799 [BZ #13067]
6800 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6801
f318beb8
UD
6802 [BZ #13090]
6803 * configure.in: Fix use of AC_INIT.
6804
32b4c839
UD
6805 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6806
3ce1f295
UD
68072011-09-10 Ulrich Drepper <drepper@gmail.com>
6808
bb016596
UD
6809 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6810 __set_errno.
8e58439c
UD
6811 * malloc/hooks.c: Likewise.
6812
aebae053 6813 [BZ #11929]
02d46fc4
UD
6814 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6815 variables statically.
6816 (narenas): Initialize.
6817 (list_lock): Initialize.
bb016596
UD
6818 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6819 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
6820 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6821 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6822 Add initializers to main_arena and mp_.
6823 (malloc_state): Remove pagesize member. Change all users to use
6824 GLRO(dl_pagesize).
6825
6826 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6827 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6828 is always initialized.
6829
22a89187
UD
6830 * malloc/malloc.c: Removed unused configurations and dead code.
6831 * malloc/arena.c: Likewise.
6832 * malloc/hooks.c: Likewise.
02d46fc4 6833 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 6834
d063d164
UD
6835 * include/tls.h: Removed. USE___THREAD must always be defined.
6836 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6837 * elf/dl-libc.c: Likewise.
6838 * elf/dl-tsd.c: Likewise.
6839 * include/errno.h: Likewise.
6840 * include/netdb.h: Likewise.
6841 * include/resolv.h: Likewise.
6842 * inet/herrno-loc.c: Likewise.
6843 * inet/herrno.c: Likewise.
6844 * malloc/arena.c: Likewise.
6845 * malloc/hooks.c: Likewise.
6846 * malloc/malloc.c: Likewise.
6847 * resolv/res-state.c: Likewise.
6848 * resolv/res_libc.c: Likewise.
6849 * sysdeps/i386/dl-machine.h: Likewise.
6850 * sysdeps/ia64/dl-machine.h: Likewise.
6851 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6852 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6853 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6854 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6855 * sysdeps/sh/dl-machine.h: Likewise.
6856 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6857 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6858 * sysdeps/unix/i386/sysdep.S: Likewise.
6859 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6860 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6861 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6862 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6863 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6864 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6865 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6866 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6867 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6868 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6869 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6870 * sysdeps/x86_64/dl-machine.h: Likewise.
6871 * tls.make.c: Likewise.
6872
3ce1f295
UD
6873 * configure.in: Remove --with-__thread option. Make tests for
6874 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6875 tls_model attribute fail if no support is available. Remove
6876 USE_IN_LIBIO.
6877 * Makeconfig: Adjust for dropped configure option. All features are
6878 now mandatory.
6879 * Makerules: Likewise.
6880 * Versions.def: Likewise.
6881 * argp/argp-fmtstream.c: Likewise.
6882 * argp/argp-fmtstream.h: Likewise.
6883 * argp/argp-help.c: Likewise.
6884 * assert/assert.c: Likewise.
6885 * config.h.in: Likewise.
6886 * config.make.in: Likewise.
6887 * configure: Likewise.
6888 * configure.in: Likewise.
6889 * csu/Versions: Likewise.
6890 * csu/init.c: Likewise.
6891 * elf/tst-audit2.c: Likewise.
6892 * elf/tst-tls10.c: Likewise.
6893 * elf/tst-tls10.h: Likewise.
6894 * elf/tst-tls11.c: Likewise.
6895 * elf/tst-tls12.c: Likewise.
6896 * elf/tst-tls14.c: Likewise.
6897 * elf/tst-tlsmod11.c: Likewise.
6898 * elf/tst-tlsmod12.c: Likewise.
6899 * elf/tst-tlsmod13.c: Likewise.
6900 * elf/tst-tlsmod13a.c: Likewise.
6901 * elf/tst-tlsmod14a.c: Likewise.
6902 * elf/tst-tlsmod15b.c: Likewise.
6903 * elf/tst-tlsmod16a.c: Likewise.
6904 * elf/tst-tlsmod16b.c: Likewise.
6905 * elf/tst-tlsmod7.c: Likewise.
6906 * elf/tst-tlsmod8.c: Likewise.
6907 * elf/tst-tlsmod9.c: Likewise.
6908 * gmon/gmon.c: Likewise.
6909 * grp/fgetgrent_r.c: Likewise.
6910 * grp/putgrent.c: Likewise.
6911 * hurd/fopenport.c: Likewise.
6912 * include/libc-symbols.h: Likewise.
6913 * include/tls.h: Likewise.
6914 * intl/gettextP.h: Likewise.
6915 * intl/loadinfo.h: Likewise.
6916 * locale/global-locale.c: Likewise.
6917 * locale/localeinfo.h: Likewise.
6918 * mach/devstream.c: Likewise.
6919 * malloc/arena.c: Likewise.
6920 * malloc/set-freeres.c: Likewise.
6921 * misc/err.c: Likewise.
6922 * misc/getttyent.c: Likewise.
6923 * misc/mntent_r.c: Likewise.
6924 * posix/getopt.c: Likewise.
6925 * posix/wordexp.c: Likewise.
6926 * pwd/fgetpwent_r.c: Likewise.
6927 * resolv/Versions: Likewise.
6928 * resolv/res_hconf.c: Likewise.
6929 * shadow/fgetspent_r.c: Likewise.
6930 * shadow/putspent.c: Likewise.
6931 * stdio-common/printf_fphex.c: Likewise.
6932 * stdio-common/tmpfile.c: Likewise.
6933 * stdlib/abort.c: Likewise.
6934 * stdlib/fmtmsg.c: Likewise.
6935 * sunrpc/auth_unix.c: Likewise.
6936 * sunrpc/clnt_perr.c: Likewise.
6937 * sunrpc/clnt_tcp.c: Likewise.
6938 * sunrpc/clnt_udp.c: Likewise.
6939 * sunrpc/clnt_unix.c: Likewise.
6940 * sunrpc/openchild.c: Likewise.
6941 * sunrpc/svc_simple.c: Likewise.
6942 * sunrpc/svc_tcp.c: Likewise.
6943 * sunrpc/svc_udp.c: Likewise.
6944 * sunrpc/svc_unix.c: Likewise.
6945 * sunrpc/xdr.c: Likewise.
6946 * sunrpc/xdr_array.c: Likewise.
6947 * sunrpc/xdr_rec.c: Likewise.
6948 * sunrpc/xdr_ref.c: Likewise.
6949 * sunrpc/xdr_stdio.c: Likewise.
6950
1248c1c4
PB
69512011-09-09 Ulrich Drepper <drepper@gmail.com>
6952
6953 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6954
69552011-07-03 Andreas Jaeger <aj@suse.de>
6956
6957 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6958 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6959 regenerate with gen-libm-tests.pl.
6960
69612010-05-12 Petr Baudis <pasky@suse.cz>
6962
6963 [BZ #11589]
6964 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6965 around j0() zero points by switching to j1().
6966 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6967 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6968 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6969 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6970
f22e1074
UD
69712011-09-09 Ulrich Drepper <drepper@gmail.com>
6972
f19009c1
UD
6973 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6974 instead of 0.
6975 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6976 instead of 0. .
6977 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6978 Patch in part by Pavel Roskin <proski@gnu.org>.
6979
3f8cc204
UD
6980 [BZ #13138]
6981 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6982 realloc.
6983 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6984 Free memory block if necessary.
6985
f22e1074
UD
6986 [BZ #12847]
6987 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6988 be NULL. Don't lock in this case.
6989
0a2349f9
RM
69902011-09-09 Roland McGrath <roland@hack.frob.com>
6991
6992 * elf/elf.h (ELFOSABI_GNU): New macro.
6993 (ELFOSABI_LINUX): Define to that.
6994
f3cdd467
DZ
69952011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6996
6997 * string/strncat.c (strncat): Undef the symbol in case it has been
6998 defined in bits/string.h.
6999
74718d13
UD
70002011-09-09 Ulrich Drepper <drepper@gmail.com>
7001
633e9e0f
UD
7002 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7003
0a2349f9 7004 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
7005 link map.
7006
f9924780
AJ
70072011-08-17 Andreas Jaeger <aj@suse.de>
7008
7009 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7010
7f5517aa
PP
70112011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7012 Ian Lance Taylor <iant@google.com>
7013
7014 * math/libm-test.inc (lround_test): New testcase.
7015 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7016
762011fe
UD
70172011-09-08 Ulrich Drepper <drepper@gmail.com>
7018
92963737
UD
7019 * Makefile: Remove support for automatic cvs check-ins.
7020 * Makerules: Likewise.
7021 * config.make.in: Likewise.
7022 * configure.in: Likewise.
7023 * intl/Makefile: Likewise.
7024 * locale/Makefile: Likewise.
7025 * po/Makefile: Likewise.
7026 * posix/Makefile: Likewise.
7027 * sysdeps/gnu/Makefile: Likewise.
7028 * sysdeps/mach/hurd/Makefile: Likewise.
7029 * sysdeps/sparc/sparc32/Makefile: Likewise.
7030
b0727fd8
JS
7031 [BZ #13118]
7032 * posix/Makefile (bug-regex32-ENV): Define.
7033 Patch by John Stanley <jpsinthemix@verizon.net>.
7034
a0f33f99
UD
7035 * misc/Makefile (headers): Add bits/select2.h.
7036 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7037 * misc/bits/select2.h: New file.
7038 * include/bits/select2.h: New file.
7039 * debug/Makefile (routines): Add fdelt_chk.
7040 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7041 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7042 FD_ISSET.
7043 * debug/fdelt_chk.c: New file.
7044
762011fe
UD
7045 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7046 * wcsmbs/test-wmemcmp.c: Likewise.
7047 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 7048 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
7049
70502011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7051
7052 * string/Makefile (strop-tests): Add memcmp.
7053 * string/test-wmemcmp.c: New file.
7054 * string/test-memcmp.c: Add wmemcmp support.
7055
7f513ec8
RM
70562011-09-08 Roland McGrath <roland@hack.frob.com>
7057
0442afb4
RM
7058 [BZ #13153]
7059 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7060 2011-07-19 change.
7061
7f513ec8
RM
7062 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7063 garbage value in a __mach_port_mod_refs call in the cases of the
7064 task-self and thread-self ports.
7065
a12b2239
ST
70662011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7067
7068 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7069
610f9ab4
AS
70702011-09-08 Andreas Schwab <schwab@redhat.com>
7071
7f513ec8 7072 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 7073
48882a1a
LD
70742011-09-07 Ulrich Drepper <drepper@gmail.com>
7075
b49865be
UD
7076 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7077
fdc86bc9
UD
7078 * elf/dl-libc.c (dlerror_run): Pass back error code from
7079 dl_catch_error.
7080
c966526a
UD
7081 [BZ #13123]
7082 * elf/dl-load.c (lose): Free l_origin if it is valid.
7083
48882a1a
LD
7084 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7085 names.
7086 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7087 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7088 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7089 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7090 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7091 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7092
77a2a8b4
AZ
70932011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7094
7095 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7096 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7097 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7098 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7099 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7100 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7101 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7102 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7103 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7104 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7105
24f579d8
AM
71062011-08-15 Alan Modra <amodra@gmail.com>
7107
7108 [BZ #13092]
7109 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7110 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7111 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7112 ppc_mcount to static-only-routines.
7113 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7114 __mcount_internal.
7115 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7116 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7117
3d4837df
UD
71182011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7119
7120 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7121 for finite and infinity parameters.
7122
22700377
WS
71232011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7124
7125 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7126 and add nop instructions for throughput optimization.
7127 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7128
5025581e
WS
71292011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7130
7131 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7132 aligned copy for power7 with vector-scalar instructions.
7133 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7134
08a300c9
L
71352011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7136
7137 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7138 AVX check.
7139
59178ef9
AS
71402011-09-07 Andreas Schwab <schwab@redhat.com>
7141
7142 [BZ #13144]
7143 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7144 last change.
7145
e38ba7ab
UD
71462011-09-07 Ulrich Drepper <drepper@gmail.com>
7147
7148 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7149 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7150 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7151 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7152 clock_gettime.
7153
d53a73ac
UD
71542011-09-06 Ulrich Drepper <drepper@gmail.com>
7155
fc8bffcc
UD
7156 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7157 Forgot to demangle the pointer.
7158
ceaa0c5d
UD
7159 * sysdeps/i386/sysdep.h: Define atom_text_section.
7160 * sysdeps/x86_64/sysdep.h: Likewise.
7161 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7162 section with atom_text_section.
7163 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7164 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7165 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7166 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7167 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7168
a77d3c17
UD
7169 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7170 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7171 already be defined. Change to take two parameters and don't assign
7172 result to variable. Adjust all users.
7173 Define INTERNAL_GETTIME if not already defined.
7174 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7175 call.
7176 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7177 HAVE_CLOCK_GETTIME_VSYSCALL.
7178 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7179
d53a73ac
UD
7180 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7181 gettimeofday vsyscall, just use time.
7182
a8f84144
AS
71832011-09-06 Andreas Schwab <schwab@redhat.com>
7184
7185 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7186 <errno.h>.
7187
ef606249
UD
71882011-09-06 Ulrich Drepper <drepper@gmail.com>
7189
7190 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7191 syscall on x86-64.
7192 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7193 syscall.
7194 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7195 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7196 syscall if possible.
7197
6585cb60
UD
71982011-09-05 Ulrich Drepper <drepper@gmail.com>
7199
7200 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7201 e_ident. Don't pass to find_mapsXX.
7202 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7203
a5f524e4
LD
72042011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7205
7206 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7207 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7208 * sysdeps/x86_64/multiarch/strchr.S: Update.
7209 Check bit_slow_BSF bit.
7210 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7211 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7212 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7213
554881ef
UD
72142011-09-05 Ulrich Drepper <drepper@gmail.com>
7215
d96de963
UD
7216 [BZ #13134]
7217 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7218 before glibc 2.15.
7219 (tryshell): Define.
7220 (__spawni): Change last parameter to be flag. Test
7221 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7222 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7223 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7224 * posix/spawni.c: Likewise.
7225 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7226 * posix/spawnp.c: Likewise. Change normal version to use
7227 SPAWN_XFLAGS_USE_PATH.
7228 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7229 SPAWN_XFLAGS_TRY_SHELL.
7230
d48e5868
UD
7231 [BZ #13150]
7232 * posix/glob.h: Remove gcc 1.x support.
7233
554881ef
UD
7234 [BZ #13068]
7235 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7236
693fb948
LD
72372011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7238
7239 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7240 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7241 strrchr-sse2-bsf
7242 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7243 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7244 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7245 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7246 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7247 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7248
1b48c537
UD
72492011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7250
49d42c37
UD
7251 * sysdeps/x86_64/wcscmp.S: New file.
7252
1b48c537
UD
7253 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7254 wcscmp-c wcscmp-sse2
7255 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7256 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7257 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7258 * wcsmbs/wcscmp.c: Allow renaming.
7259
15c95c5d
DM
72602011-09-05 David S. Miller <davem@davemloft.net>
7261
7262 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7263 stack slot, rather than the struct return pointer slot.
7264 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7265 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7267 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7268
2f0ad8f3
UD
72692011-09-05 Ulrich Drepper <drepper@gmail.com>
7270
d88ae418
UD
7271 * po/ja.po: Update from translation team.
7272
2f0ad8f3
UD
7273 [BZ #13144]
7274 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7275 kernel in 64-bit binaries.
7276
5f4318d1
DM
72772011-09-01 David S. Miller <davem@davemloft.net>
7278
7279 * elf/elf.h (HWCAP_SPARC_*): Move to..
7280 * sysdeps/sparc/sysdep.h: this new file and add new values.
7281 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7282 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7283 _DL_HWCAP_COUNT to 24.
7284 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7285 entries.
7286 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7287 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7288 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7289 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7290 instead of magic constants.
7291 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7292
3ba57516
DM
72932011-08-31 David S. Miller <davem@davemloft.net>
7294
7295 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7296 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7297 Reimplement to do errno handling inline.
7298 (SYSCALL_ERROR_HANDLER): New macro.
7299 (__SYSCALL_STRING): Do not do errno handling in asm.
7300 (__CLONE_SYSCALL_STRING): Delete.
7301 (__INTERNAL_SYSCALL_STRING): Delete.
7302 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7303 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7304 (PSEUDO): Reimplement to do errno handling inline.
7305 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7306 (SYSCALL_ERROR_HANDLER): New macro.
7307 (__SYSCALL_STRING): Do not do errno handling in asm.
7308 (__CLONE_SYSCALL_STRING): Delete.
7309 (__INTERNAL_SYSCALL_STRING): Delete.
7310 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7311 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7312 i386.
7313 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7314 (inline_syscall*): Add 'err' argument.
7315 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7316 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7317 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7318 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7319
7320 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7321 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7322
2bc17433
AS
73232011-08-30 Andreas Schwab <schwab@redhat.com>
7324
7325 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7326
fbeb5f4d
JO
73272011-08-29 Jiri Olsa <jolsa@redhat.com>
7328
7329 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7330 directive.
7331
ad69cc26
DM
73322011-08-24 David S. Miller <davem@davemloft.net>
7333
7334 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7335
39dd69df
AS
73362011-08-24 Andreas Schwab <schwab@redhat.com>
7337
7338 * elf/Makefile: Add rules to build and run unload8 test.
7339 * elf/unload8.c: New file.
7340 * elf/unload8mod1.c: New file.
7341 * elf/unload8mod1x.c: New file.
7342 * elf/unload8mod2.c: New file.
7343 * elf/unload8mod3.c: New file.
7344
7345 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7346 it wasn't used.
7347
2c0b250a
DM
73482011-08-23 David S. Miller <davem@davemloft.net>
7349
7350 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7351 subtract stack bias.
7352 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7353 %sp not %fp in calculations.
7354 (_JMPBUF_UNWINDS_ADJ): Likewise.
7355
22044b48
DM
7356 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7357 (aio_suspend): Call it to force an exception region around the
7358 AIO_MISC_WAIT() invocation.
7359
2cae4995
AS
73602011-08-23 Andreas Schwab <schwab@redhat.com>
7361
7362 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7363 backslash.
7364
873a772e
AJ
73652011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7366
7367 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7368 protection macro.
7369 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7370 and <dl-machine.h>.
7371 (Elf64_FuncDesc): Remove.
7372
25ad0df1
DM
73732011-08-22 David S. Miller <davem@davemloft.net>
7374
7375 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7376 sigaltstack check, add missing cfi directives.
7377 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7378 missing cfi directives, and sigaltstack handling.
7379
e888bcbe
AS
73802011-08-16 Andreas Schwab <schwab@redhat.com>
7381
7382 [BZ #11724]
7383 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7384 object is seen twice.
7385 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7386
7387 * elf/Makefile (distribute): Add tst-initorder2.c.
7388 (tests): Add tst-initorder2.
7389 (modules-names): Add tst-initorder2a tst-initorder2b
7390 tst-initorder2c tst-initorder2d. Add rules to build them.
7391 ($(objpfx)tst-initorder2.out): New rule.
7392 * elf/tst-initorder2.c: New file.
7393 * elf/tst-initorder2.exp: New file.
7394
87162f46
AS
73952011-08-22 Andreas Schwab <schwab@redhat.com>
7396
70538b7f
AS
7397 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7398
f55ffe58
AS
7399 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7400 dependencies back to end of function.
7401
87162f46
AS
7402 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7403 $(elfobjdir)/ld.so.
7404
91b392a4
UD
74052011-08-21 Ulrich Drepper <drepper@gmail.com>
7406
7407 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7408 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7409 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7410 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7411 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7412 of __vdso_gettimeofday.
7413 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7414 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7415 attribute_hidden.
7416 (_libc_vdso_platform_setup): Remove initialization of
7417 __vdso_gettimeofday and __vdso_time.
7418
5c43483f
UD
74192011-08-20 Ulrich Drepper <drepper@gmail.com>
7420
775a77e7
UD
7421 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7422 and fgetc_unlocked.
7423 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7424 getc_unlocked.
89f447ed 7425
49c74ba9
UD
7426 * elf/dl-open.c (add_to_global): Report additions to the global scope
7427 for LD_DEBUG=scopes.
7428 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 7429 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 7430
5c43483f
UD
7431 [BZ #13114]
7432 * stdio-common/Makefile (tests): Add bug24.
7433 * stdio-common/bug24.c: New file.
7434
a101b025
AJ
74352011-08-19 Andreas Jaeger <aj@suse.de>
7436
7437 [BZ #13114]
7438 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7439 non-existant file when using close-on-exec mode.
7440
c88f1766
UD
74412011-08-20 Ulrich Drepper <drepper@gmail.com>
7442
0276a718
UD
7443 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7444 the very first instruction.
7445
c88f1766
UD
7446 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7447 the CFI state in the end.
7448 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7449 inclusion of dl-trampoline.h.
7450 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7451
51ccffa0
AS
74522011-08-19 Andreas Schwab <schwab@redhat.com>
7453
94d7165f
AS
7454 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7455 expectations for long double.
7456
51ccffa0
AS
7457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7458 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7459
fd708658 74602011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
7461
7462 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7463 artificual limit depends upon the system page size.
7464
44f0a71e
UD
74652011-08-17 Ulrich Drepper <drepper@gmail.com>
7466
7467 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7468 * resolv/Makefile: Define CFLAGS-libresolv.
7469
8de79a24
AS
74702011-08-17 Andreas Schwab <schwab@redhat.com>
7471
7472 * nss/makedb.c (compute_tables): Make variables used in nested
7473 function static.
7474
27724598
UD
74752011-08-17 Ulrich Drepper <drepper@gmail.com>
7476
c5305d88
UD
7477 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7478 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7479 if buffer was too small.
7480
27724598
UD
7481 * elf/pldd.c (main): Attach to all threads in the process.
7482 Rewrite /proc handling to use *at functions.
7483
076fe015
UD
74842011-08-16 Ulrich Drepper <drepper@gmail.com>
7485
174baab3
UD
7486 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7487 specifies first scope to show.
7488 (dl_open_worker): Update callers. Move printing scope of new
7489 object to before the relocation.
44f0a71e 7490 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7491 * sysdeps/generic/ldsodefs.h: Update declaration.
7492
076fe015
UD
7493 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7494 string for the scope number.
7495
a60df2c3
UD
74962011-08-14 Ulrich Drepper <drepper@gmail.com>
7497
7498 * nscd/servicescache.c (cache_addserv): Make sure written is always
7499 initialized.
7500
5e4287d1
RM
75012011-08-14 Roland McGrath <roland@hack.frob.com>
7502
85ae0589
RM
7503 * sysdeps/i386/i486/bits/atomic.h
7504 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7505 statement expression, so as to suppress "set but not used" warning.
7506 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7507
69f63097
RM
7508 * string/strncat.c (STRNCAT): Use prototype definition.
7509
675456ef
RM
7510 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7511 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7512 -Iprograms here.
7513 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7514 (localedef-modules): Add localedef.
7515 (locale-modules): Add locale.
7516
5e4287d1
RM
7517 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7518 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7519 to avoid a warning.
7520
9c96ff23
DM
75212011-08-14 David S. Miller <davem@davemloft.net>
7522
7523 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7524 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7525
f9ddf089
UD
75262011-08-13 Ulrich Drepper <drepper@gmail.com>
7527
44f0a71e 7528 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
7529 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7530 * elf/rtld.c (dl_main): Set l_name of vDSO.
7531 Call _dl_show_scope when DL_DEBUG_SCOPES.
7532 (process_dl_debug): Recognize scopes flag and also set it for all.
7533 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7534 Declare _dl_show_scope.
7535
1dc27704
UD
7536 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7537 (do_dlopen): Pass caller_dlopen to dl_open.
7538 (__libc_dlopen_mode): Initialize caller_dlopen.
7539
f9ddf089
UD
7540 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7541 of libc. Make tolower call locale-independent. Optimize a bit by
7542 using isdigit instead of isalnum.
7543 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7544
9ac533d3
UD
75452011-08-12 Ulrich Drepper <drepper@gmail.com>
7546
7547 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7548 was a dependency or dynamically loaded.
7549
89edf2e9
UD
75502011-08-11 Ulrich Drepper <drepper@gmail.com>
7551
8e999d29
UD
7552 * intl/l10nflist.c: Allow architecture-specific pop function.
7553 * sysdeps/x86_64/l10nflist.c: New file.
7554
89edf2e9
UD
7555 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7556 classification.
7557
14d96785
AS
75582011-08-10 Andreas Schwab <schwab@redhat.com>
7559
7560 * include/dirent.h: Add libc_hidden_proto for scandirat and
7561 scandirat64. Don't declare __scandirat64.
7562 * dirent/scandirat.c: Add libc_hidden_def.
7563 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7564 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7565
6761ac04
DM
75662011-08-10 David S. Miller <davem@davemloft.net>
7567
7568 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7569 enum.
7570 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7571 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7572 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7573
c55fbd1e
UD
75742011-08-09 Ulrich Drepper <drepper@gmail.com>
7575
7576 * Versions.def [libc]: Add GLIBC_2.15.
7577 * dirent/Makefile (routines): Add scandirat and scandirat64.
7578 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7579 GLIBC_2.15.
7580 * dirent/dirent.h: Declare scandirat and scandirat64.
7581 * dirent/scandirat.c: New file.
7582 * dirent/scandirat64.c: New file.
7583 * sysdeps/wordsize-64/scandirat.c: New file.
7584 * sysdeps/wordsize-64/scandirat64.c: New file.
7585 * dirent/opendir.c: Define opendirat.
7586 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7587 using scandirat.
7588 * dirent/scandir64.c: Adjust for scandir.c change.
7589 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7590 __scandirat64, and __scandir_cancel_handler.
7591 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7592 additional parameter and use openat instead of open (outside of ld.so).
7593 Add new __opendir as wrapper around __opendirat.
7594 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7595 here without requiring old scandirat implementation.
7596
879165f2
UD
75972011-08-08 Ulrich Drepper <drepper@gmail.com>
7598
7599 * dirent/scandir.c (cancel_handler): Renamed to
7600 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7601 defined. Adjust users.
7602 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7603 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7604
cb7e923b
UD
76052011-08-04 Ulrich Drepper <drepper@gmail.com>
7606
16292edd
UD
7607 * string/test-string.h (IMPL): Use __STRING to expand name and then
7608 stringify it.
7609
cb7e923b
UD
7610 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7611 of cleanups.
7612
cff82933
LD
76132011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7614
7615 * string/Makefile: Update.
7616 (strop-tests): Append strncat.
7617 * string/test-wcscmp.c: New file.
7618 New comprehensive test for wcscmp.
7619 * string/test-strcmp.c: Update.
7620 (WIDE): New define.
7621
9be9bfcc
AS
76222011-07-22 Andreas Schwab <schwab@redhat.com>
7623
7624 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7625 line.
7626
2e96f1c7
AS
76272011-07-26 Andreas Schwab <schwab@redhat.com>
7628
7629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7630 encoding to ACE if AI_IDN.
7631
85188888
JJ
76322011-08-01 Jakub Jelinek <jakub@redhat.com>
7633
7634 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7635 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7636
5fa16e9b
LD
76372011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7638
7639 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7640 Fix overflow bug in strncat.
7641 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7642
7643 * string/test-strncat.c: Update.
7644 Add new tests for checking overflow bugs.
7645
76462011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7647
7648 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7649 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7650 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7651 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7652 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7653 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7654 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7655 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7656 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7657
7658 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7659 (USE_AS_STRCAT): Define.
7660 Add strcat and strncat support.
7661 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7662
8c1a459f
AS
76632011-07-25 Andreas Schwab <schwab@redhat.com>
7664
7665 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7666 __n bigger than INT_MAX+1.
7667 (__strncmp_g): Likewise.
7668
bba33c28
UD
76692011-07-23 Ulrich Drepper <drepper@gmail.com>
7670
798be72d
UD
7671 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7672 * libio/stido.h: Likewise.
7673
8accd4dc
UD
7674 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7675 (AF_NFC): Define.
7676 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7677 (AF_NFC): Define.
7678
cbff0d96
UD
7679 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7680 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7681 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7682 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7683 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7684
9191c04a
UD
7685 [BZ #13021]
7686 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7687 installed.
7688
bba33c28
UD
7689 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7690 typo.
7691 (_dl_x86_64_save_sse): Likewise.
7692
90f139dd
UD
76932011-07-22 Ulrich Drepper <drepper@gmail.com>
7694
1aae088a
UD
7695 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7696 OSXSAVE.
7697 (_dl_x86_64_save_sse): Likewise.
7698
8e2045f5
UD
7699 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7700
90f139dd
UD
7701 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7702
1d002f25
AS
77032011-07-21 Andreas Schwab <schwab@redhat.com>
7704
7705 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7706 change.
7707 (_dl_x86_64_save_sse): Use correct AVX check.
7708
21137f89
UD
77092011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7710
7711 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7712 bug in strncpy/strncat.
7713 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7714
a65c0b7a
UD
77152011-07-21 Ulrich Drepper <drepper@gmail.com>
7716
7717 * string/tester.c (test_strcat): Add tests for different alignments
7718 of source and destination.
7719 (test_strncat): Likewise.
7720
6986b98a
UD
77212011-07-20 Ulrich Drepper <drepper@gmail.com>
7722
90bb2039
UD
7723 [BZ #12852]
7724 * posix/glob.c (glob): Check passed in values before using them in
7725 expressions to avoid some overflows.
7726 (glob_in_dir): Likewise.
7727
5644ef54
UD
7728 [BZ #13007]
7729 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7730 check for AVX enablement so that we don't crash with old kernels and
7731 new hardware.
7732 * elf/tst-audit4.c: Add same checks here.
7733 * elf/tst-audit6.c: Likewise.
7734
7735 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 7736
bfc9dc9b
AS
77372011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7738
7739 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7740
702e64bb
UD
77412011-07-20 Ulrich Drepper <drepper@gmail.com>
7742
7743 * po/cs.po: Update from translation team.
7744 * po/bg.po: Likewise.
7745
295e904f
MP
77462011-07-12 Marek Polacek <mpolacek@redhat.com>
7747
7748 * misc/sys/cdefs.h: Add support for const attribute.
7749 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7750 to gnu_dev_{major,minor,makedev} functions.
7751
3ff94596
MP
77522011-07-20 Marek Polacek <mpolacek@redhat.com>
7753
7754 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7755
28b59fca
AS
77562011-07-20 Andreas Schwab <schwab@redhat.com>
7757
7758 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7759 strlen results.
7760
19df733e
AK
77612011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7762
7763 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7764 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7765 register in order to avoid conflicts with the soft frame pointer
7766 being held in r11 when necessary.
7767 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7768 (INTERNAL_VSYSCALL_NCS): Likewise.
7769
c8835729
MP
77702011-07-14 Marek Polacek <mpolacek@redhat.com>
7771
7772 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7773 * elf/dl-fini.c (_dl_fini): Adjust caller.
7774 * elf/dl-close.c (_dl_close_worker): Likewise.
7775 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7776
b902330c
MP
77772011-07-15 Marek Polacek <mpolacek@redhat.com>
7778
8991e135
MP
7779 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7780 "aux_cache->nlibs < 0".
7781
b902330c
MP
7782 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7783 in the reload-count case.
7784
99710781
LD
77852011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7786
7787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7788 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7789 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7790 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7791 * sysdeps/x86_64/multiarch/strcat.S: New file.
7792 * sysdeps/x86_64/multiarch/strncat.S: New file.
7793 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7794 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7795 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7796 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7797 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7798 (USE_AS_STRCAT): Define.
7799 Add strcat and strncat support.
7800 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7801 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7802 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7803 * string/strncat.c: Update.
7804 (USE_AS_STRNCAT): Define.
7805 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7806 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7807 and i7.
7808 * sysdeps/x86_64/multiarch/init-arch.h
7809 (bit_Prefer_PMINUB_for_stringop): New.
7810 (index_Prefer_PMINUB_for_stringop): Likewise.
7811 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7812 bit_Prefer_PMINUB_for_stringop.
7813
7dc6bd90
UD
78142011-07-19 Ulrich Drepper <drepper@gmail.com>
7815
7816 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7817 buffer64.
7818 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7819 of casting of buffer.
7820 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7821 buffer32 and buffer64.
7822 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7823 writes instead of casting of buffer.
7824 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7825 buffer32.
7826 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7827 casting of buffer.
7828
e0e72284
AS
78292011-07-19 Andreas Schwab <schwab@redhat.com>
7830
7831 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7832
feb1eb0b
UD
78332011-07-19 Ulrich Drepper <drepper@gmail.com>
7834
7835 * nscd/nscd.c (termination_handler): Don't do anything for a database
7836 if it has not yet been initialized.
7837
298711ff
UD
78382011-07-18 Ulrich Drepper <drepper@gmail.com>
7839
7840 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7841
78422011-07-15 Marek Polacek <mpolacek@redhat.com>
7843
7844 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7845
f9d68389
UD
78462011-07-18 Ulrich Drepper <drepper@gmail.com>
7847
7848 * po/nl.po: Update from translation team.
7849 * po/sv.po: Likewise.
7850
db290cf5
RM
78512011-07-16 Roland McGrath <roland@hack.frob.com>
7852
7853 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7854 now disallowed by GCC.
5c550700 7855
fd5e21c7
RM
7856 * configure.in (use-default-link): Default to yes if a test -shared
7857 link meets our qualifications.
7858 * configure: Regenerated.
7859
5c550700
RM
7860 * config.make.in (output-format): New variable.
7861 * configure.in: Check for ld --print-output-format support.
7862 * configure: Regenerated.
7863 * Makerules ($(common-objpfx)format.lds)
7864 [$(output-format) != unknown]: Just use $(output-format),
7865 instead of the linker-script munging.
7866
9fa2c032
RM
78672011-07-14 Roland McGrath <roland@hack.frob.com>
7868
a6928d51
RM
7869 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7870 of $(common-objpfx)shlib.lds.
7871 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7872
661607b3
RM
7873 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7874 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7875
9fa2c032
RM
7876 * configure.in (-z relro check): Adjust test code to add a large
7877 writable data section after it.
7878 * configure: Regenerated.
7879
defe9061
RM
78802011-07-11 Roland McGrath <roland@hack.frob.com>
7881
7882 * configure.in (-z relro check): Fix test code to make the variable
7883 truly const.
7884 * configure: Regenerated.
7885
319b9ad4
UD
78862011-07-11 Ulrich Drepper <drepper@gmail.com>
7887
7888 * nscd/nscd.h (struct traced_file): Define.
7889 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7890 elements. Add traced_files.
7891 (inotify_fd): Declare.
7892 (register_traced_file): Declare.
7893 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7894 (inotify_fd): Export.
7895 (resolv_conf_descr): Remove.
7896 (nscd_init): Move inotify descriptor creation to main.
7897 Don't register files for notification here.
7898 (register_traced_file): New function.
7899 (invalidate_cache): Don't use reset_res to determine whether to call
7900 res_init, go through the list of registered files.
7901 (main_loop_poll): The inotify descriptors are now stored in the
7902 structures for the traced files.
7903 (main_loop_epoll): Likewise
7904 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7905 to __nss_disable_nscd.
7906 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7907 for a database anymore. Check the records for all the registered
7908 files instead.
7909 * nss/Makefile (libnss_files-routines): Add files-init.
7910 (libnss_db-routines): Add db-init.
7911 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7912 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7913 * nss/nss_db/db-init.c: New file.
7914 * nss/nss_files/files-init.c: New file.
7915 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7916 __nss_lookup_function.
7917 (__nss_lookup_function): Call nss_load_library.
7918 (nss_load_all_libraries): New function.
7919 (__nss_disable_nscd): Take parameter with callback function for files
7920 to register. Set is_nscd. Load all the DSOs for the NSS modules
7921 used for the cached services.
7922 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7923 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7924 options for features to all the files in nscd.
7925
7926 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7927
23bee3e8
RM
79282011-07-10 Roland McGrath <roland@hack.frob.com>
7929
7930 * csu/elf-init.c (__libc_csu_init): Comment typo.
7931
46a5b7f0
UD
79322011-07-09 Ulrich Drepper <drepper@gmail.com>
7933
7934 * po/pl.po: Update from translation team.
7935 * po/ja.po: Likewise.
7936 * po/ru.po: Likewise.
7937 * po/ko.po: Likewise.
7938 * po/fr.po: Likewise.
7939
d30cf5bb
RM
79402011-07-09 Roland McGrath <roland@hack.frob.com>
7941
113ddea4
RM
7942 * configure.in (.ctors/.dtors header and trailer check):
7943 Use an empirical test on a built program.
7944 * configure: Regenerated.
7945
574920b4
RM
7946 * configure.in (-z relro check): Use an empirical test on a built DSO.
7947 Detect, but do not require, on ia64.
7948 * configure: Regenerated.
7949
d30cf5bb
RM
7950 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7951 Update tests that use readelf to use $READELF instead.
7952 * configure: Regenerated.
7953
8538fdb3
UD
79542011-07-08 Ulrich Drepper <drepper@gmail.com>
7955
7956 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7957 if the result is not used.
7958
04d08991
AJ
79592011-07-05 Andreas Jaeger <aj@suse.de>
7960
7961 [BZ#9696]
7962 * stdlib/tst-strtod.c: Add testcase.
7963
de283087
AD
79642011-07-07 Ulrich Drepper <drepper@gmail.com>
7965
4e5f31c8 7966 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 7967 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
7968 The latter has a higher limit. Take additional parameter to pass to
7969 the new function.
7970 (__pathconf): Pass file to __statfs_link_max.
7971 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7972 __statfs_link_max.
7973 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7974 __statfs_link_max.
7975
de283087
AD
7976 [BZ #12868]
7977 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7978 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7979 Handle Lustre.
7980 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7981 (__statfs_filesize_max): Likewise.
7982 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7983
c75fa153
AJ
79842011-07-05 Andreas Jaeger <aj@suse.de>
7985
7986 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7987
1a544854
UD
79882011-07-06 Marek Polacek <mpolacek@redhat.com>
7989
7990 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7991 `status' variable.
7992 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7993 Likewise.
7994
6f0eec67
UD
79952011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7996
7997 * Makefile (strop-tests): Add strncat.
7998 * string/test-strncat.c: New file.
7999
aae30307
UD
80002011-06-30 Marek Polacek <mpolacek@redhat.com>
8001
8002 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8003
c0cfb5eb
UD
80042011-06-21 Andreas Jaeger <aj@suse.de>
8005
8006 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8007 Copy rule from iconvdata/Makefile.
8008
01636b21
UD
80092011-07-06 Ulrich Drepper <drepper@gmail.com>
8010
8011 [BZ #12922]
8012 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8013 but no long options are defined, just return 'W'.
8014
9895c8bc
UD
80152011-06-22 Marek Polacek <mpolacek@redhat.com>
8016
8017 [BZ #9696]
8018 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8019
5d4cf042
UD
80202011-07-06 Ulrich Drepper <drepper@gmail.com>
8021
8022 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8023 netgroups to read.
960e5535 8024 (innetgr): Likewise.
5d4cf042 8025
751eb97e
RM
80262011-07-05 Roland McGrath <roland@hack.frob.com>
8027
8028 * config.make.in (install_root): Default to $(DESTDIR).
8029
f15f1e45
UD
80302011-07-05 Ulrich Drepper <drepper@gmail.com>
8031
8032 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8033
4e34ac6a
RM
80342011-07-02 Roland McGrath <roland@hack.frob.com>
8035
5e9b6af4
RM
8036 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8037
84f9ea0f
RM
8038 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8039 containing directory rather than embedding absolute directory names.
8040
ea5ee9f7
RM
8041 * scripts/check-local-headers.sh: Rewritten using awk.
8042 Match by word, not by line. Print error messages for matches.
8043 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8044
1b74661a
RM
8045 * Makerules [shlib-lds-flags empty]:
8046 ($(common-objpfx)libc_pic.opts): New target.
8047 ($(common-objpfx)libc_pic.os.clean): New target.
8048 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8049
8050 * config.make.in (OBJCOPY): New variable.
8051 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8052 * configure: Regenerated.
8053
f781ef40
RM
8054 * config.make.in (use-default-link): New variable.
8055 * configure.in (use_default_link): Grok --with-default-link to set it.
8056 * configure: Regenerated.
8057 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8058 (shlib-lds, shlib-lds-flags): Define to empty.
8059
2d4fa81e
RM
8060 * Makerules (shlib-lds): New variable.
8061 (shlib-lds-flags): New variable.
8062 (build-shlib, build-moduile, build-module-asneeded): Use it.
8063 ($(common-objpfx)libc.so): Use $(shlib-lds).
8064 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8065 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8066
31fffa6b
RM
8067 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8068 DT_FLAGS/DT_FLAGS_1 with zero flags.
8069
4e34ac6a
RM
8070 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8071 linker script munging.
8072
fcfc776b
UD
80732011-07-02 Ulrich Drepper <drepper@gmail.com>
8074
8075 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8076 as 128-bit value.
8077 * crypt/sha512.c (sha512_process_block): Perform total addition using
8078 128-bit if possible.
8079 (__sha512_finish_ctx): Likewise.
8080 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8081 as 64-bit value.
8082 * crypt/sha256.c (SWAP64): Define.
8083 (sha256_process_block): Perform total addition using 64-bit if
8084 possible.
8085 (__sha256_finish_ctx): Likewise.
8086
99231d9a
UD
80872011-07-01 Ulrich Drepper <drepper@gmail.com>
8088
8089 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8090 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8091 * nscd/hstcache.c (cache_addhst): Likewise.
8092 * nscd/grpcache.c (cache_addgr): Likewise.
8093 * nscd/aicache.c (addhstaiX): Likewise
8094 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8095
445b4a53
TK
80962011-07-01 Thorsten Kukuk <kukuk@suse.de>
8097
8098 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8099 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8100 * nscd/hstcache.c (cache_addhst): Likewise.
8101 * nscd/grpcache.c (cache_addgr): Likewise.
8102 * nscd/aicache.c (addhstaiX): Likewise
8103
6d4d8e8e
AS
81042011-07-01 Andreas Schwab <schwab@redhat.com>
8105
8106 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8107 domain only when needed.
8108
89f654c5
AS
81092011-06-30 Andreas Schwab <schwab@redhat.com>
8110
8111 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8112 is always restored.
8113
cf3b23ff
UD
81142011-06-29 Ulrich Drepper <drepper@gmail.com>
8115
8116 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8117 are re-adding the entry.
8118 * nscd/servicescache.c (cache_addserv): Likewise.
8119
751626f9
AJ
81202011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8121
8122 * sysdeps/generic/dl-irel.h: fix protection against multiple
8123 inclusions.
8124 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8125
9113ea1f
UD
81262011-06-28 Ulrich Drepper <drepper@gmail.com>
8127
5c0b8d90
UD
8128 [BZ #12935]
8129 * malloc/memusage.sh: Fix quoting in message.
8130 * debug/xtrace.sh: Likewise.
8131
9113ea1f
UD
8132 * configure.in: Remove support for --experimental-malloc option, make
8133 it the default.
8134 * config.make.in: Likewise.
8135 * malloc/Makefile: Likewise.
8136
a4172181
AS
81372011-06-27 Andreas Schwab <schwab@redhat.com>
8138
8139 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8140 two-byte characters.
8141
78a7eee7
RM
81422011-06-27 Roland McGrath <roland@hack.frob.com>
8143
62bede13
RM
8144 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8145 AC_CACHE_CHECK invocation.
8146 * configure: Regenerated.
8147
78a7eee7
RM
8148 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8149
5ce33a62
UD
81502011-06-27 Ulrich Drepper <drepper@gmail.com>
8151
034807a9
UD
8152 [BZ #12350]
8153 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8154 bit from old_res_options.
8155
4902da17
UD
8156 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8157
5ce33a62
UD
8158 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8159 value type for setfct.
8160
c2344f56
L
81612011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8162
8163 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8164 __gettimeofday instead of gettimeofday.
8165
68468076
UD
81662011-06-26 Ulrich Drepper <drepper@gmail.com>
8167
8168 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8169
acb0d739
L
81702011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8171
8172 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8173
8174 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8175 info.
8176
8912479f
L
81772011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8178
8179 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8180 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8181 strcpy-sse2-unaligned strncpy-sse2-unaligned
8182 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8183 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8184 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8185 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8186 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8187 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8188 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8189 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8190 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8191 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8192 (STRCPY): Support SSE2 and SSSE3 versions.
8193
d5495a11
UD
81942011-06-24 Ulrich Drepper <drepper@gmail.com>
8195
8196 [BZ #12874]
8197 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8198 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8199 kernels which artificially limit size of requests.
8200
0b1cbaae
L
82012011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8202
8203 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8204 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8205 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8206 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8207 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8208 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8209 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8210 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8211 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8212 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8213 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8214 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8215 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8216 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8217 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8218 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8219 Enable unaligned load optimization for Intel Core i3, i5 and i7
8220 processors.
8221 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8222 Define.
8223 (index_Fast_Unaligned_Load): Define.
8224 (HAS_FAST_UNALIGNED_LOAD): Define.
8225
07f494a0
MP
82262011-06-23 Marek Polacek <mpolacek@redhat.com>
8227
8228 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8229
fa3fc0fe
UD
82302011-06-22 Ulrich Drepper <drepper@gmail.com>
8231
8232 [BZ #12907]
8233 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8234 until it is clear that the information is realy needed.
8235 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8236
e12df166
AS
82372011-06-22 Andreas Schwab <schwab@redhat.com>
8238
8239 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8240
852eb34d
UD
82412011-06-22 Ulrich Drepper <drepper@gmail.com>
8242
84e2a551
UD
8243 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8244 /sys/devices/system/cpu/online if it is usable.
8245
852eb34d
UD
8246 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8247 reading the information from the /proc filesystem to once a second.
8248
6e502e19
UD
82492011-06-21 Andreas Jaeger <aj@suse.de>
8250
8251 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8252 NULL after inclusion of kernel headers.
8253
75d39ff2
UD
82542011-06-21 Ulrich Drepper <drepper@gmail.com>
8255
51f9aa6a
UD
8256 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8257 calls to internal_setent.
8258
c0244a9d
UD
8259 [BZ #12885]
8260 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8261 addresses using gethostbyname4_r ignore IPv4 addresses.
8262
c5e3c2ae
UD
8263 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8264 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8265
75d39ff2
UD
8266 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8267
42675c6f
DM
82682011-06-20 David S. Miller <davem@davemloft.net>
8269
8270 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8271 inclusions.
8272 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8273
8274 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8275 (elf_irel): Use it.
8276 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8277 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8278 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8279 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8280 * sysdeps/x86_64/dl-irel.h: Likewise.
8281
8282 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8283 * elf/dl-sym.c: Likewise.
8284
57912a71
UD
82852011-06-15 Ulrich Drepper <drepper@gmail.com>
8286
8287 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8288 need to dereference resplen2.
8289
ee22793d
AS
82902011-06-14 Andreas Schwab <schwab@redhat.com>
8291
8292 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8293
a9e836b0
UD
82942011-06-15 Ulrich Drepper <drepper@gmail.com>
8295
77fb9117
UD
8296 * Makeconfig: Define vardbdir and inst_vardbdir.
8297 * nss/Makefile: Add rules to install db-Makefile.
8298
40c1b22c
UD
8299 * nss/nss_db/db-XXX.c: Cleanup.
8300
9f2da732
UD
8301 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8302 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8303 GLIBC_PRIVATE.
8304 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8305 * nss/makedb.c: Implement -g option to specify that value strings
8306 are generated and should not be added to table iterated over for
8307 get*ent calls.
8308 * nss/nss_db/db-initgroups.c: New file.
8309
82e9a1f7
UD
8310 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8311 interface.
8312
c41af17e
UD
8313 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8314 (internal_getgrouplist): Adjust to name change.
8315 Update use_initgroups_entry if this is not the first call.
8316 * nss/databases.def: Add initgroups entry.
8317
a9e836b0
UD
8318 * nss/makedb.c (compute_tables): Check result of multiple hash table
8319 sizes to minimize maximum chain length.
8320
2666d441
UD
83212011-06-14 Ulrich Drepper <drepper@gmail.com>
8322
8323 * Versions.def: Add entry for libnss_db.
8324 * shlib-versions: Likewise.
8325 * nss/Makefile: Add rules to build libnss_db.
8326 * nss/Versions: Add libnss_db information. Organize libnss_files
8327 entries better.
8328 * nss/db-Makefile: Add gshadow support. Change rules for the new
8329 makedb progra. Some minor improvements to generate smaller files.
8330 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8331 here from...
8332 * nss/makedb.c: ...here.
8333 Improve database format to be smaller and require less memory at
8334 runtime.
8335 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8336 db anymore.
8337 * nss/nss_db/db-netgrp.c: Likewise.
8338 * nss/nss_db/db-open.c: Likewise.
8339 * nss/nss_files/flies-XXX.x: Adjust comments.
8340 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8341 * nss/nss_files/files-grp.c: Likewise.
8342 * nss/nss_files/files-hosts.c: Likewise.
8343 * nss/nss_files/files-network.c: Likewise.
8344 * nss/nss_files/files-proto.c: Likewise.
8345 * nss/nss_files/files-pwd.c: Likewise.
8346 * nss/nss_files/files-rpc.c: Likewise.
8347 * nss/nss_files/files-service.c: Likewise.
8348 * nss/nss_files/files-sgrp.c: Likewise.
8349 * nss/nss_files/files-spwd.c: Likewise.
8350 * nss/nss_db/db-alias.c: Removed.
8351 * nss/nss_db/dummy-db.h: Removed.
8352
9ee76b5a
UD
83532011-06-02 Ulrich Drepper <drepper@gmail.com>
8354
8355 * nss/makedb.c: Rewritten to not use database library.
8356 * nss/Makefile: Update to build new makedb program.
8357
c71ca1f8
AJ
83582011-06-14 Andreas Jaeger <aj@suse.de>
8359
8360 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8361 memset declaration.
8362
3154bfb8
UD
83632011-06-10 Andreas Schwab <schwab@redhat.com>
8364
8365 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8366 tmpbuf.
8367
b350afab
RM
83682011-06-10 Roland McGrath <roland@hack.frob.com>
8369
decd4e50
RM
8370 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8371 * elf/Makefile ($(objpfx)ld.so): Likewise.
8372
5615eaf2
RM
8373 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8374 Don't list ld.so twice in dependencies.
8375
8376 * posix/bug-regex31.c: Include <stdlib.h>.
8377
8378 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8379
8380 * nis/nss_compat/compat-spwd.c
8381 (getspent_next_nss_netgr): Remove unused variable.
8382 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8383
8384 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8385 nonmembers" output to use the right array.
8386
8387 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8388
8389 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8390
8391 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8392 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8393 * catgets/gencat.c (read_input_file): Likewise.
8394 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8395
8396 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8397 variable definition inside #if's controlling its use.
8398
8399 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8400
8401 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8402
8403 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8404
8405 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8406 unreachable code.
8407
8408 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8409
b68e08db
RM
8410 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8411 * configure: Regenerated.
8412
b350afab
RM
8413 * Makerules: Revert last change.
8414 * elf/Makefile: Likewise.
8415
28368601
RM
84162011-06-09 Roland McGrath <roland@hack.frob.com>
8417
8418 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8419 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8420 (reloc-link): Likewise.
8421
11988f8f
UD
84222011-06-09 Ulrich Drepper <drepper@gmail.com>
8423
8424 * elf/Makefile: Add rules to build pldd.
8425 * elf/pldd.c: New file.
8426 * elf/pldd-xx.c: New file.
8427
e80fab37
UD
84282011-06-07 Ulrich Drepper <drepper@gmail.com>
8429
8430 * version.h: Update for 2.15 development version.
8431
9b849836
DM
84322011-06-07 David S. Miller <davem@davemloft.net>
8433
8434 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8435 ifuncs.
8436 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8437 elf_machine_lazy_rel): Likewise.
8438 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8439 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8440 elf_machine_lazy_rel): Likewise.
8441 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8442 dl_hwcap via passed in argument.
8443 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8444 Likewise.
8445
5a31b283
AK
84462011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8447
8448 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8449
069e52f8
RM
84502011-06-06 Roland McGrath <roland@hack.frob.com>
8451
8452 [BZ #12849]
8453 * manual/fdl-1.1.texi: New file, verbatim from:
8454 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8455 * manual/lgpl-2.1.texi: New file, verbatim from:
8456 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8457 * manual/Makefile (licenses): New variable, list those new file names.
8458 (texis): Use it.
8459 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8460
8461 * manual/fdl.texi: File removed.
8462 * manual/lesser.texi: File removed.
8463 * manual/libc.texinfo (Copying, Documentation License):
8464 Use new @include file names, put @appendix directive before @include.
8465
f16846a5
JJ
84662011-06-04 Jakub Jelinek <jakub@redhat.com>
8467
8468 [BZ #12841]
8469 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8470 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8471 (mq_open): Add __NTH.
8472
3d29045b
L
84732011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8474
8475 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8476 Assume Intel Core i3/i5/i7 processor if AVX is available.
8477
8c297311
UD
84782011-05-31 Ulrich Drepper <drepper@gmail.com>
8479
8480 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8481 typo.
8482
c8fc0c91
UD
84832011-05-31 Andreas Schwab <schwab@redhat.com>
8484
8485 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8486 memory. Use alloca_account. Fix memory leak when retrying.
8487
5b27a807
UD
84882011-05-31 Ulrich Drepper <drepper@gmail.com>
8489
356f8bc6
UD
8490 * version.h (RELEASE): Bump for 2.14 release.
8491 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8492
5b27a807
UD
8493 * config.make.in (RANLIB): Remove entry.
8494
01f16ab0
UD
84952011-05-30 Ulrich Drepper <drepper@gmail.com>
8496
41fce8bd
UD
8497 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8498 (libc.pot): Work around missing support for .ksh extension in xgettext.
8499
4769ae77
UD
8500 [BZ #12684]
8501 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8502 if both request failed.
8503 (send_dg): In case of server errors clear resplen or *resplen2.
8504
6b1e7d19
UD
8505 [BZ #12454]
8506 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8507 when there are multiple maps.
8508 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8509 (_dl_fini): Remove test here.
8510
01f16ab0
UD
8511 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8512
b1ebd700
UD
85132011-05-29 Ulrich Drepper <drepper@gmail.com>
8514
7ae22829
UD
8515 [BZ #12350]
8516 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8517 bit from old_res_options.
8518 (gaih_inet): Likewise.
8519
553149f6 8520 [BZ #11099]
18a84741 8521 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8522 as signed.
8523
652ffab1
UD
8524 * resolv/res_init.c (res_setoptions): Make the code more compact.
8525
16985fd0
UD
8526 [BZ #11558]
8527 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8528 set RES_USEVC.
8529
0464f746
UD
8530 [BZ #11634]
8531 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8532
7d17596c
UD
8533 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8534
cf6bbbd7
UD
8535 [BZ #11781]
8536 * malloc/malloc.h: Declare malloc hook variables as volatile.
8537
13f1ab36
UD
8538 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8539 in last patch.
8540
b1ebd700
UD
8541 [BZ #11799]
8542 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 8543 raise in the comment.
80e2212d
UD
8544 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8545 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8546 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 8547
ce67228d
UD
85482011-05-28 Ulrich Drepper <drepper@gmail.com>
8549
8887a920
UD
8550 [BZ #12811]
8551 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8552 grow the buffers more if it already has to be sufficient.
8553 (build_wcs_upper_buffer): Likewise.
8554 * posix/regexec.c (check_matching): Likewise.
8555 (clean_state_log_if_needed): Likewise.
8556 (extend_buffers): Don't enlarge buffers beyond size of the input
8557 buffer.
8558 Patches mostly by Emil Wojak <emil@wojak.eu>.
8559 * posix/bug-regex32.c: New file.
8560 * posix/Makefile (tests): Add bug-regex32.
8561
4f031072
UD
8562 * locale/findlocale.c (_nl_find_locale): Return right away if
8563 _nl_explode_name failed.
8564 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8565
d0478f0c
UD
8566 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8567
de81b246
UD
8568 * debug/xtrace.sh: Unify messages.
8569 * malloc/memusage.sh: Likewise.
8570
c738465a
UD
8571 [BZ #12813]
8572 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8573 time symbol from vDSO. Substitute with vsyscall if not available.
8574 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8575 __vdso_time.
8576
f1f929d7
UD
8577 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8578 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8579 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8580 Add sendmmsg and internal_sendmmsg.
8581 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8582 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8583 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8584
ce67228d
UD
8585 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8586 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8587 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8588
e57420c6
UD
85892011-05-27 Ulrich Drepper <drepper@gmail.com>
8590
a8509ca5
UD
8591 [BZ #12813]
8592 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8593 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8594 available.
8595 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8596 __vdso_getcpu.
8597
e57420c6
UD
8598 [BZ #12814]
8599 * iconvdata/Makefile (tests): Add bug-iconv9.
8600 * iconvdata/bug-iconv9.c: New file.
8601
4d07db15
AS
86022011-05-27 Andreas Schwab <schwab@redhat.com>
8603
8604 [BZ #12814]
8605 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8606
ea486f69
JJ
86072011-05-25 Jakub Jelinek <jakub@redhat.com>
8608
8609 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8610 (struct user_regs_struct): Change intcs field back to cs.
8611
6f038433
UD
86122011-05-25 Ulrich Drepper <drepper@gmail.com>
8613
8614 * po/ja.po: Update from translation team.
8615
67f86a25
UD
86162011-05-23 Ulrich Drepper <drepper@gmail.com>
8617
8618 [BZ #12795]
8619 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8620 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8621
def7fbd6
AS
86222011-05-20 Andreas Schwab <schwab@redhat.com>
8623
8624 * stdlib/longlong.h: Update from GCC.
8625
f50ef8f1
AS
86262011-05-23 Andreas Schwab <schwab@redhat.com>
8627
8628 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8629 parameter name.
8630 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8631 Add parameter name.
8632 (__sysconf): Pass it down.
8633
de7ce8f1
UD
86342011-05-22 Ulrich Drepper <drepper@gmail.com>
8635
f2962a71
UD
8636 [BZ #12671]
8637 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8638 some situations.
8639 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8640 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8641 add in in __libc_use_alloca calls. Adjust callers.
8642 (glob): Use malloc in some situations.
8643
de7ce8f1
UD
8644 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8645 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8646 pltexit.
8647
aec84f53
UD
86482011-05-21 Ulrich Drepper <drepper@gmail.com>
8649
05bb4a68
UD
8650 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8651 and CLOCK_BOOTTIME_ALARM.
8652
7ea72f99
UD
8653 [BZ #12782]
8654 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8655 is returned.
8656
7e4afad5
UD
8657 * string/_strerror.c (__strerror_r): Print negative errors as signed
8658 numbers.
8659
8e211fec
UD
8660 [BZ #12777]
8661 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8662 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8663 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8664
f7d82dc9
UD
8665 * configure.in: Fix typo in redirection and correct removal of test
8666 files in two cases.
8667
cc9e536d
UD
8668 [BZ #12788]
8669 * locale/setlocale.c (new_composite_name): Fix test to check for
8670 identical name of all categories.
8671
aec84f53
UD
8672 [BZ #12792]
8673 * libio/filedoalloc.c (local_isatty): New function.
8674 (_IO_file_doallocate): Use local_isatty.
8675 * stdio-common/perror.c (perror): In case a new stream is used
8676 forward the stream error.
8677 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8678 error flag.
8679
78e64fdc
RT
86802011-05-20 Ulrich Drepper <drepper@gmail.com>
8681
34a9094f
UD
8682 [BZ #11869]
8683 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8684 alloca.
8685 * include/alloca.h (extend_alloca_account): Define.
8686
78e64fdc
RT
8687 [BZ #11857]
8688 * posix/regex.h: Fix comments with documentation of user-accessible
8689 fields after compilation and describe correct free'ing of pattern
8690 after re_compile_pattern.
8691 Patch by Reuben Thomas <rrt@sc3d.org>.
8692
457bddfc
RA
86932011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8694
8695 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8696 and -mno-altivec to prevent the compiler from using Altivec and/or
8697 VSX instructions when the corresponding registers are not available.
8698
a4527b51
AS
86992011-05-19 Andreas Schwab <schwab@redhat.com>
8700
8701 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8702
ed690b2f
UD
87032011-05-19 Ulrich Drepper <drepper@gmail.com>
8704
8705 * libio/freopen.c (freopen): Use __dup2, not dup2.
8706 * libio/freopen64.c (freopen64): Likewise.
8707
8db73634
L
87082011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8709
8710 [BZ #12775]
8711 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8712 * math/Makefile (tests): Add test-powl.
8713 (CFLAGS-test-powl.c): Define.
8714 * math/test-powl.c: New file.
8715
0a197a9d
L
87162011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8717
8718 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8719
ee30c380
UD
87202011-05-17 Ulrich Drepper <drepper@gmail.com>
8721
8722 [BZ #11837]
8723 * iconvdata/gb18030.c: Update to GB18020-2005.
8724
6ce75379
UD
87252011-05-16 Ulrich Drepper <drepper@gmail.com>
8726
a4b89fd8
AR
8727 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8728 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8729 Patch by Aharon Robbins <arnold@skeeve.com>.
8730
ea389b12
UD
8731 [BZ #11892]
8732 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8733 on the stack.
8734
68a3f91f
UD
8735 [BZ #11895]
8736 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8737 through underflows.
8738
15cc7dd1
UD
8739 [BZ #12766]
8740 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8741 point to strings before performing equality test for error_one_per_line
8742 mode.
8743
f3799213
UD
8744 [BZ #11697]
8745 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8746
d79a9c94
UD
8747 [BZ #11820]
8748 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8749 (struct user_fpregs_struct): Avoid __uint*_t types.
8750
56e5eb46
UD
8751 [BZ #6420]
8752 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8753 symbol info. Use it instead of calling _dl_addr locally.
8754 (lock_and_info): New function.
8755 (tr_freehook): Call lock_and_info and pass symbol info as additional
8756 parameter to tr_where.
8757 (tr_mallochook): Likewise.
8758 (tr_reallochook): Likewise.
8759 (tr_memalignhook): Likewise.
8760
6ce75379
UD
8761 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8762 used and couldn't be at all thread-safe.
8763
f8a3b5bf
UD
87642011-05-15 Ulrich Drepper <drepper@gmail.com>
8765
94b7cc37
UD
8766 * libio/freopen.c (freopen): Don't close old file descriptor
8767 before the new one is opened. Instead dup the new file descriptor
8768 to the old one after the new stream is created.
8769 * libio/freopen64.c (freopen64): Likewise.
8770 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8771 * libio/fileops.c (_IO_new_file_close_it): Handle new
8772 _IO_FLAGS2_NOCLOSE flag.
8773 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8774 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8775 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8776 _IO_FLAGS2_NOCLOSE flag.
8777 * include/unistd.h: Add hidden_proto for dup3.
8778 Define __have_dup3.
8779 * io/dup3.c: Define hidden symbol.
8780 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8781
bd25564e
UD
8782 [BZ #7101]
8783 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8784 when an incomplete long option is used.
8785 * posix/tst-getopt_long1.c: New file.
8786 * posix/Makefile (tests): Add tst-getopt_long1.
8787
c84cfef4
UD
8788 [BZ #10138]
8789 * scripts/config.guess: Update from autoconf-2.68.
8790 * scripts/config.sub: Likewise.
8791
3b85df27
UD
8792 [BZ #10157]
8793 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8794 tests into ...
8795 (has_cpuclock): ...this. New function.
8796 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8797 macro here based on has_cpuclock code.
8798
15a856b1
UD
8799 [BZ #10149]
8800 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8801 First byte (not low byte) is now always NUL.
8802 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8803
05f399e6
UD
8804 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8805 Use non-cancelable interfaces.
8806
10a52685 8807 [BZ #9809]
94ecc67d
UD
8808 * locale/iso-639.def: Add entry for Sorani.
8809
f8a3b5bf
UD
8810 [BZ #11901]
8811 * include/stdlib.h: Move include protection to the right place.
8812 Define abort_msg_s. Declare __abort_msg with it.
8813 * stdlib/abort.c (__abort_msg): Adjust type.
8814 * assert/assert.c (__assert_fail_base): New function. Majority
8815 of code from __assert_fail. Allocate memory for __abort_msg with
8816 mmap.
8817 (__assert_fail): Now call __assert_fail_base.
8818 * assert/assert-perr.c: Remove bulk of implementation. Use
8819 __assert_fail_base.
8820 * include/assert.hL Declare __assert_fail_base.
8821 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8822 mmap.
8823 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8824
1af4e298
UD
88252011-05-14 Ulrich Drepper <drepper@gmail.com>
8826
f8a3b5bf 8827 [BZ #11952]
d26dfc60
MG
8828 [BZ #12453]
8829 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8830 until all modules are registered in the DTV.
8831 * elf/Makefile: Add rules to build and run tst-tls19.
8832 * elf/tst-tls19.c: New file.
8833 * elf/tst-tls19mod1.c: New file.
8834 * elf/tst-tls19mod2.c: New file.
8835 * elf/tst-tls19mod3.c: New file.
8836 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8837
2fc54d6f
UD
8838 [BZ #12083]
8839 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8840 correctly.
8841
98d76b46
UD
8842 [BZ #12601]
8843 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8844 two-byte sequence errors.
8845 * iconvdata/Makefile (tests): Add bug-iconv8.
8846 * iconvdata/bug-iconv8.c: New file.
8847
da3c19ef
UD
8848 [BZ #12626]
8849 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8850 buf2 definition.
8851
ca408c15
UD
8852 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8853
d6f67f7d
UD
8854 [BZ #12432]
8855 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8856 (dummy_getcfa): New function.
8857 (init): Get _Unwind_GetCFA address, use dummy if not found.
8858 (backtrace_helper): In recursion check, also check whether CFA changes.
8859 (__backtrace): Completely initialize arg.
8860
1af4e298 8861 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
8862 storing incomplete byte sequence in state object. Avoid testing for
8863 guaranteed too small input if we know there is enough data available.
1af4e298 8864
da62f81b
AS
88652011-05-11 Andreas Schwab <schwab@redhat.com>
8866
8867 * Makeconfig (+link-pie): Indent.
8868 * Rules (binaries-pie): Define if $(have-fpie) and
8869 $(build-shared).
8870 (binaries-shared): Also filter out $(binaries-pie).
8871 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8872 * nscd/Makefile (others-pie): Add nscd.
8873 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8874 ($(objpfx)nscd): Remove command override.
8875 * login/Makefile (others-pie): Add pt_chown.
8876 ($(objpfx)pt_chown): Remove command override.
8877 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8878 remove command overrides.
8879
fcabc0f8
UD
88802011-05-13 Ulrich Drepper <drepper@gmail.com>
8881
20030ae6
UD
8882 * libio/tst_putwc.c: Fix error messages.
8883
fcabc0f8
UD
8884 [BZ #12724]
8885 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8886 currently writing and seek to current position when not.
8887 * libio/Makefile (tests): Add bug-fclose1.
8888 * libio/bug-fclose1.c: New file.
8889
320a5dc0
PB
88902011-05-12 Ulrich Drepper <drepper@gmail.com>
8891
8892 [BZ #12511]
8893 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8894 don't set DF_1_NODELETE here.
8895 (do_lookup_x): When entering new entry test for copy relocation
8896 and if necessary set DF_1_NODELETE flag.
8897 * elf/tst-unique4.cc: New file.
8898 * elf/tst-unique4.h: New file.
8899 * elf/tst-unique4lib.cc: New file.
8900 * elf/Makefile: Add rules to build and run tst-unique4.
8901 Patch by Piotr Bury <pbury@goahead.com>.
8902
22836f52
UD
89032011-05-11 Ulrich Drepper <drepper@gmail.com>
8904
f574184a
UD
8905 [BZ #12052]
8906 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8907
e1fb097f
UD
8908 [BZ #12625]
8909 * misc/mntent_r.c (addmntent): Flush the stream after the output
8910
22836f52
UD
8911 [BZ #12393]
8912 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8913 (is_trusted_path_normalize): Skip initial colon. Append slash
8914 to empty buffer. Duplicate is_trusted_path code but allow
8915 constructed patch to be prefix.
8916 (is_dst): Allow $ORIGIN followed by /.
8917 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8918 Correct testing of result of is_trusted_path_normalize
8919 (decompose_rpath): Fix warning.
8920
7b3b0b2a
UD
89212011-05-10 Ulrich Drepper <drepper@gmail.com>
8922
8923 [BZ #11257]
8924 * grp/initgroups.c (internal_getgrouplist): When we found the service
8925 list through the initgroups entry in nsswitch.conf do not always
8926 continue on a successful lookup. Don't always use the
eac80ce2 8927 __nss_group_database value if it is set.
7b3b0b2a
UD
8928 * nss/nsswitch.conf (initgroups): Change action for successful db
8929 lookup to continue for compatibility.
8930
2a81eaa5
UD
89312011-05-09 Ulrich Drepper <drepper@gmail.com>
8932
be97a69e
UD
8933 [BZ #11532]
8934 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8935 and CP774 modules.
8936 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8937 and CP774 modules.
8938 * iconvdata/tst-tables.sh: Likewise.
8939 * iconvdata/cp770.c: New file.
8940 * iconvdata/cp771.c: New file.
8941 * iconvdata/cp772.c: New file.
8942 * iconvdata/cp773.c: New file.
8943 * iconvdata/cp774.c: New file.
8944 * iconvdata/testdata/CP770: New file.
8945 * iconvdata/testdata/CP770..UTF8: New file.
8946 * iconvdata/testdata/CP771: New file.
8947 * iconvdata/testdata/CP771..UTF8: New file.
8948 * iconvdata/testdata/CP772: New file.
8949 * iconvdata/testdata/CP772..UTF8: New file.
8950 * iconvdata/testdata/CP773: New file.
8951 * iconvdata/testdata/CP773..UTF8: New file.
8952 * iconvdata/testdata/CP774: New file.
8953 * iconvdata/testdata/CP774..UTF8: New file.
8954
8955 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8956 END CHARMAP line.
8957 * iconvdata/gen-8bit-gap.sh: Likewise.
8958 * iconvdata/gen-8bit.sh: Likewise.
8959
c1e9e399
UD
8960 * locale/iso-639.def: Add ary entry.
8961
24c55fb3 8962 [BZ #11258]
96b4b1b0
UD
8963 * locale/C-translit.h.in: Add U20A1 transliteration.
8964
bdc2f971
KB
8965 [BZ #12178]
8966 * locale/iso-639.def: Add wae entry.
8967 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8968
2952b117
UD
8969 [BZ #12545]
8970 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8971 for n.
8972
2a81eaa5
UD
8973 [BZ #12711]
8974 * locale/C-translit.h.in: Add entry for U20B9.
8975 Patch by pravin.d.s@gmail.com.
8976
28377d1b
UD
89772011-05-08 Ulrich Drepper <drepper@gmail.com>
8978
7fb90fb8
UD
8979 [BZ #12713]
8980 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8981 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
8982 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8983 in rtld. Use *stat64.
7fb90fb8 8984 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 8985 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 8986 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
8987 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8988 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8989 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8990 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8991 __fstatat64 macros.
7fb90fb8
UD
8992 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8993 * dirent/rewinddir.c: Add libc_hidden_def.
8994 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 8995 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 8996
28377d1b
UD
8997 * include/dirent.h (__alloc_dir): Add flags parameter.
8998 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8999 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9000 __alloc_dir.
9001 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9002 from fdopendir if O_CLOEXEC is already set.
9003
66bdbaa4
AM
90042011-03-15 Alan Modra <amodra@gmail.com>
9005
9006 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9007 l_tls_firstbyte_offset non-zero. Save padding offset in
9008 l_tls_firstbyte_offset for later use.
9009 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9010 freeing static tls block.
9011
95721191
JN
90122011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9013
9014 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9015 where #ifdef was intended. The intent is to prevent ARG_MAX from
9016 being defined by the kernel headers.
9017
f87dfb1f
UD
90182011-05-07 Ulrich Drepper <drepper@gmail.com>
9019
9020 [BZ #12734]
9021 * resolv/resolv.h: Define RES_NOTLDQUERY.
9022 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9023 no-tld-query and set RES_NOTLDQUERY.
9024 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9025 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9026 modern BIND to search name as TLD unless forbidden.
9027
47c3cd7a
UD
90282011-05-07 Petr Baudis <pasky@suse.cz>
9029 Ulrich Drepper <drepper@gmail.com>
9030
9031 [BZ #12393]
9032 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9033 (is_trusted_path): ...to here.
c1e9ea35 9034 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 9035 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 9036 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 9037
8a35c912
PP
90382011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9039
9040 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9041 __BEGIN/__END_DECLS.
9042
acd41f47
UD
90432011-05-06 Ulrich Drepper <drepper@gmail.com>
9044
9045 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9046 NSS_STATUS_NOTFOUND if no record was found.
9047
597df647
AS
90482011-05-05 Andreas Schwab <schwab@redhat.com>
9049
9050 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9051 (headers-not-in-tirpc): Remove rpc/netdb.h
9052 * resolv/netdb.h: Revert last change.
9053
b9af1301
PP
90542011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9055
9056 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9057 circular dependency between libgcc.a and libc.a.
9058
4e34d5f5
AS
90592011-05-05 Andreas Schwab <schwab@redhat.com>
9060
9061 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9062 * nis/Makefile: Don't install rpcsvc/*.
9063 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9064 instead of <rpc/types.h>.
9065 (MAXHOSTNAMELEN): Define.
9066
00ee369c
AS
90672011-05-03 Andreas Schwab <schwab@redhat.com>
9068
9069 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9070
0b592a30
MB
90712011-04-28 Maciej Babinski <mbabinski@google.com>
9072
9073 [BZ #12714]
9074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9075 gethostbyname4_r when IPv6 results are possible.
9076
6e04cbbe
UD
90772011-05-02 Ulrich Drepper <drepper@gmail.com>
9078
9079 [BZ #12723]
9080 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9081 _PC_PIPE_BUF handling.
9082
e4ecafe0
BH
90832011-04-30 Bruno Haible <bruno@clisp.org>
9084
9085 [BZ #12717]
9086 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9087 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9088 to 'int'.
9089 * inet/getnameinfo.c (getnameinfo): Likewise.
9090
125ee683
UD
90912011-04-29 Ulrich Drepper <drepper@gmail.com>
9092
9093 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9094 to groups setting in database lookup.
9095 * nss/nsswitch.conf: Add initgroups entry.
9096
b722481a
EB
90972011-04-22 Ulrich Drepper <drepper@gmail.com>
9098
9099 [BZ #12685]
9100 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9101 mode string.
9102 Patch by Eric Blake <eblake@redhat.com>.
9103
4df46dbd
L
91042011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9105
9106 * sunrpc/Makefile (need-export-routines): Add svc_run.
9107 (routines): Remove svc_run.
9108 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9109 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9110 * sunrpc/svc_run.c (svc_run): Likewise.
9111 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9112
e84142d2
UD
91132011-04-21 Ulrich Drepper <drepper@gmail.com>
9114
9115 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9116 problem in reallocation in last patch.
9117
877175d8
UD
91182011-04-20 Ulrich Drepper <drepper@gmail.com>
9119
9120 * sunrpc/Makefile: Move inclusion of Rules.
9121
ab8eed78
UD
91222011-04-19 Ulrich Drepper <drepper@gmail.com>
9123
9124 * nss/nss_files/files-initgroups.c: New file.
9125 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9126 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9127 _nss_files_initgroups_dyn.
9128
e3d8f584
RS
91292011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9130
9131 * elf/elf.h (R_ARM_IRELATIVE): Define.
9132
af190f45
UD
91332011-04-19 Ulrich Drepper <drepper@gmail.com>
9134
9135 * po/ru.po: Update from translation team.
9136
53cf59ef
UD
91372011-04-17 Ulrich Drepper <drepper@gmail.com>
9138
9139 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9140 dependencies.
9141
4c559bcd
MF
91422011-02-06 Mike Frysinger <vapier@gentoo.org>
9143
9144 [BZ #12653]
9145 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9146 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9147 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9148 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9149 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9150
4420675c
AS
91512011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9152
9153 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9154 differing bytes.
9155 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9156 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9157 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9158
75ea32ab
UD
91592011-04-17 Ulrich Drepper <drepper@gmail.com>
9160
9161 [BZ #12420]
9162 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9163 storing it.
9164 * stdlib/bug-getcontext.c: New file.
9165 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9166
27390476
AK
91672011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9168
9169 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9170 instructions into .machine "z9-109".
9171 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9172 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9173
10442705
AK
91742011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9175
9176 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9177 between environment variables and auxiliary vector.
9178
7b57bfe5
UD
91792011-04-16 Ulrich Drepper <drepper@gmail.com>
9180
9181 * Makefile: Add rules to build linkobj/libc.so.
9182 * include/libc-symbols.h: Define libc_hidden_nolink.
9183 * include/rpc/auth.h: Mark functions which are to be hidden.
9184 * include/rpc/auth_des.h: Likewise.
9185 * include/rpc/auth_unix.h: Likewise.
9186 * include/rpc/clnt.h: Likewise.
9187 * include/rpc/des_crypt.h: Likewise.
9188 * include/rpc/key_prot.h: Likewise.
9189 * include/rpc/pmap_clnt.h: Likewise.
9190 * include/rpc/pmap_prot.h: Likewise.
9191 * include/rpc/pmap_rmt.h: Likewise.
9192 * include/rpc/rpc_msg.h: Likewise.
9193 * include/rpc/svc.h: Likewise.
9194 * include/rpc/svc_auth.h: Likewise.
9195 * include/rpc/xdr.h: Likewise.
9196 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9197 * nss/Makefile: Likewise.
9198 * sunrpc/Makefile: Don't install headers. Build library with normal
9199 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9200 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9201 for the compat linking library. Remove use of INTDEF/INTUSE.
9202 * sunrpc/auth_none.c: Likewise.
9203 * sunrpc/auth_unix.c: Likewise.
9204 * sunrpc/authdes_prot.c: Likewise.
9205 * sunrpc/authuxprot.c: Likewise.
9206 * sunrpc/clnt_gen.c: Likewise.
9207 * sunrpc/clnt_perr.c: Likewise.
9208 * sunrpc/clnt_raw.c: Likewise.
9209 * sunrpc/clnt_simp.c: Likewise.
9210 * sunrpc/clnt_tcp.c: Likewise.
9211 * sunrpc/clnt_udp.c: Likewise.
9212 * sunrpc/clnt_unix.c: Likewise.
9213 * sunrpc/des_crypt.c: Likewise.
9214 * sunrpc/des_soft.c: Likewise.
9215 * sunrpc/get_myaddr.c: Likewise.
9216 * sunrpc/key_call.c: Likewise.
9217 * sunrpc/key_prot.c: Likewise.
9218 * sunrpc/netname.c: Likewise.
9219 * sunrpc/pm_getmaps.c: Likewise.
9220 * sunrpc/pm_getport.c: Likewise.
9221 * sunrpc/pmap_clnt.c: Likewise.
9222 * sunrpc/pmap_prot.c: Likewise.
9223 * sunrpc/pmap_prot2.c: Likewise.
9224 * sunrpc/pmap_rmt.c: Likewise.
9225 * sunrpc/publickey.c: Likewise.
9226 * sunrpc/rpc_cmsg.c: Likewise.
9227 * sunrpc/rpc_common.c: Likewise.
9228 * sunrpc/rpc_dtable.c: Likewise.
9229 * sunrpc/rpc_prot.c: Likewise.
9230 * sunrpc/rpc_thread.c: Likewise.
9231 * sunrpc/rtime.c: Likewise.
9232 * sunrpc/svc.c: Likewise.
9233 * sunrpc/svc_auth.c: Likewise.
9234 * sunrpc/svc_authux.c: Likewise.
9235 * sunrpc/svc_raw.c: Likewise.
9236 * sunrpc/svc_run.c: Likewise.
9237 * sunrpc/svc_simple.c: Likewise.
9238 * sunrpc/svc_tcp.c: Likewise.
9239 * sunrpc/svc_udp.c: Likewise.
9240 * sunrpc/svc_unix.c: Likewise.
9241 * sunrpc/svcauth_des.c: Likewise.
9242 * sunrpc/xcrypt.c: Likewise.
9243 * sunrpc/xdr.c: Likewise.
9244 * sunrpc/xdr_array.c: Likewise.
9245 * sunrpc/xdr_float.c: Likewise.
9246 * sunrpc/xdr_intXX_t.c: Likewise.
9247 * sunrpc/xdr_mem.c: Likewise.
9248 * sunrpc/xdr_rec.c: Likewise.
9249 * sunrpc/xdr_ref.c: Likewise.
9250 * sunrpc/xdr_sizeof.c: Likewise.
9251 * sunrpc/xdr_stdio.c: Likewise.
9252
e6c61494
UD
92532011-04-10 Ulrich Drepper <drepper@gmail.com>
9254
9255 [BZ #12650]
9256 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9257 * sysdeps/ia64/dl-tls.h: Likewise.
9258 * sysdeps/powerpc/dl-tls.h: Likewise.
9259 * sysdeps/s390/dl-tls.h: Likewise.
9260 * sysdeps/sh/dl-tls.h: Likewise.
9261 * sysdeps/sparc/dl-tls.h: Likewise.
9262 * sysdeps/x86_64/dl-tls.h: Likewise.
9263 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9264
34fe483e
AS
92652011-03-14 Andreas Schwab <schwab@redhat.com>
9266
9267 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9268 rpath element also skip the following colon.
9269 (expand_dynamic_string_token): Add is_path parameter and pass
9270 down to DL_DST_REQUIRED and _dl_dst_substitute.
9271 (decompose_rpath): Call expand_dynamic_string_token with
9272 non-zero is_path. Ignore empty rpaths.
9273 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9274 with zero is_path.
9275
f12a32e6
AS
92762011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9277
9278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9279 Make cancelable.
9280
38a7d692
UD
92812011-04-09 Ulrich Drepper <drepper@gmail.com>
9282
9283 [BZ #12655]
9284 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9285 Patch by Filipe David Manana <fdmanana@apache.org>.
9286
e451d22b
AS
92872011-04-07 Andreas Schwab <schwab@redhat.com>
9288
9289 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9290 Maintain aligned stack.
9291 (CHECK_RSP): Remove unused macro.
9292
dedc7c7b
UD
92932011-04-03 Ulrich Drepper <drepper@gmail.com>
9294
9295 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9296 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9297
94521213
UD
92982011-04-02 Ulrich Drepper <drepper@gmail.com>
9299
9300 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9301
8cb700c0 9302 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9303
0354e355
L
93042011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9305
9306 [BZ #12518]
9307 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9308 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9309 * sysdeps/x86_64/memmove.c: New file.
9310 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9311 (memcpy): Renamed to ...
9312 (__new_memcpy): This.
9313 (memcpy): Provide GLIBC_2_14 memcpy.
9314 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9315 (memcpy): Provide GLIBC_2_2_5 memcpy.
9316
8593482f
UD
93172011-04-01 Ulrich Drepper <drepper@gmail.com>
9318
9319 [BZ #12631]
9320 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9321
81a5726b
AS
93222011-03-30 Andreas Schwab <schwab@redhat.com>
9323
9324 * misc/syncfs.c: New file.
9325 * misc/Makefile (routines): Add syncfs.
9326 * posix/unistd.h: Declare syncfs.
9327 * sysdeps/unix/syscalls.list: Add syncfs.
9328
00e5419f
AS
93292011-04-01 Andreas Schwab <schwab@redhat.com>
9330
9331 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9332 open_by_handle_at.
9333 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9334 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9335 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9336 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9337 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9338 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9339 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9340
748876bf
UD
93412011-04-01 Ulrich Drepper <drepper@gmail.com>
9342
658e451d
UD
9343 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9344 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9345 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9346 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9347 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9348 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9349 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9350
748876bf
UD
9351 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9352 sync_file_range.c with -fexceptions.
9353 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9354 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9355 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9356 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9357 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9358 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9359 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
9360 sync_file_range as cancellation point
9361 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9362 now a wrapper around __call_sync_file_range with cancellation handling.
9363 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9364 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9365 function name to __call_sync_file_range.
9366 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9367 Add call_sync_file_range.
748876bf 9368
6e63d5e1
AS
93692011-04-01 Andreas Schwab <schwab@redhat.com>
9370
9371 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 9372 bits/timex.h.
6e63d5e1 9373
46998f74
UD
93742011-04-01 Ulrich Drepper <drepper@gmail.com>
9375
4c1423ed
UD
9376 * iconv/iconv.h: Fix typo in comment.
9377 * io/fcntl.h: Likewise.
9378 * libio/stdio.h: Likewise.
9379 * posix/spawn.h: Likewise.
9380 * posix/unistd.h: Likewise.
9381 * stdlib/stdlib.h: Likewise.
9382 * time/time.h: Likewise.
9383 * wcsmbs/wchar.h: Likewise.
9384
158648c0
UD
9385 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9386 open_by_handle): Add.
9387 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9388 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9389 Augment a few comments.
9390 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9391 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9392 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9393 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9394 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9395 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9396 open_by_handle.
9397
46998f74
UD
9398 * io/fcntl.h (AT_EMPTY_PATH): Define.
9399
83fe108b
UD
94002011-03-30 Ulrich Drepper <drepper@gmail.com>
9401
9402 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9403 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9404 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9405 to...
9406 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
9407 * Versions.def: Add GLIBC_2.14.
9408 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9409 Export.
83fe108b 9410
bb242059
UD
94112011-03-22 Ulrich Drepper <drepper@gmail.com>
9412
9413 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9414 round counter.
9415 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9416
c97a1282
L
94172011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9418
9419 [BZ #12597]
9420 * string/test-strncmp.c (do_page_test): New function.
9421 (check2): Likewise.
9422 (test_main): Call check2.
9423 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9424
2a115601
UD
94252011-03-20 Ulrich Drepper <drepper@gmail.com>
9426
9427 [BZ #12587]
9428 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9429 Handle cache information in CPU leaf 4.
9430 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9431
8126d904
UD
94322011-03-18 Ulrich Drepper <drepper@gmail.com>
9433
042c49c6 9434 [BZ #12583]
8126d904
UD
9435 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9436 character representation.
9437 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9438
ccfe366e
RA
94392011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9440
9441 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9442 END(__isnan) to END(__isnanf) to match function entry point/label
9443 EALIGN(__isnanf,...).
9444
c6e13027
JJ
94452011-03-10 Jakub Jelinek <jakub@redhat.com>
9446
9447 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9448
33f85a3f
UD
94492011-03-10 Ulrich Drepper <drepper@gmail.com>
9450
028478fa
UD
9451 [BZ #12510]
9452 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9453 copy from the symbol referenced in the relocation to initialize the
9454 used variable.
9455 Patch by Piotr Bury <pbury@goahead.com>.
9456 * elf/Makefile: Add rules to build and tst-unique3.
9457 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9458 * elf/tst-unique3.cc: New file.
9459 * elf/tst-unique3.h: New file.
9460 * elf/tst-unique3lib.cc: New file.
9461 * elf/tst-unique3lib2.cc: New file.
9462
33f85a3f
UD
9463 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9464
03592fc7
MF
94652011-03-10 Mike Frysinger <vapier@gentoo.org>
9466
9467 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9468 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9469 to _start.
03592fc7 9470
6a5ee102
UD
94712011-03-06 Ulrich Drepper <drepper@gmail.com>
9472
9473 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9474 to-be-loaded object along a path to loader is ld.so.
9475
7e4ba49c
HJ
94762011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9477 Ulrich Drepper <drepper@gmail.com>
9478
9479 * sysdeps/x86_64/memset.S: After aligning destination, code
9480 branches to different locations depending on the value of
9481 misalignment, when multiarch is enabled. Fix this.
9482
94832011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9484
9485 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9486 Set _x86_64_preferred_memory_instruction for AMD processsors.
9487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9488 Set bit_Prefer_SSE_for_memop for AMD processors.
9489
13a804de
UD
94902011-03-04 Ulrich Drepper <drepper@gmail.com>
9491
9492 * libio/fmemopen.c (fmemopen): Optimize a bit.
9493
9d25c392
AS
94942011-03-03 Andreas Schwab <schwab@redhat.com>
9495
9496 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9497
a5543c6a
RM
94982011-03-03 Roland McGrath <roland@redhat.com>
9499
9500 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9501
012d35f7
DM
95022011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9503
7e4ba49c 9504 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9505 __bzero_ultra1 instead of __memset_ultra1.
9506
4bff6e01
AS
95072011-02-23 Andreas Schwab <schwab@redhat.com>
9508 Ulrich Drepper <drepper@gmail.com>
9509
9510 [BZ #12509]
9511 * include/link.h (struct link_map): Add l_orig_initfini.
9512 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9513 returning unsuccessfully.
9514 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9515 close of a file loaded at startup, restore the original l_initfini
9516 list.
9517 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9518 list, store the pointer.
9519 * elf/Makefile ($(objpfx)noload-mem): New rule.
9520 (noload-ENV): Define.
9521 (tests): Add $(objpfx)noload-mem.
9522 * elf/noload.c: Include <memcheck.h>.
9523 (main): Call mtrace. Close all opened handles.
9524
f2092faf
AS
95252011-02-17 Andreas Schwab <schwab@redhat.com>
9526
9527 [BZ #12454]
9528 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9529 dependencies are missing.
9530
6c8a2e88
ST
95312011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9532
f2092faf 9533 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
9534 Hurd needs munmap.
9535 * sysdeps/mach/hurd/ifreq.h: New file.
9536
84a42118
PB
95372011-01-27 Petr Baudis <pasky@suse.cz>
9538 Ulrich Drepper <drepper@gmail.com>
9539
071f805e 9540 [BZ 12445]#
84a42118
PB
9541 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9542 to extend_alloca().
9543 * stdio-common/bug23.c: New file.
9544 * stdio-common/Makefile (tests): Add bug23.
9545
e23fe25b
AS
95462010-09-28 Andreas Schwab <schwab@redhat.com>
9547 Ulrich Drepper <drepper@gmail.com>
9548
9549 [BZ #12489]
9550 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9551 before performing relro protection. At old place add assertion
9552 to make sure nothing changed.
9553
d3f02e10
NS
95542011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9555 Glauber de Oliveira Costa <glommer@gmail.com>
9556
9557 * elf/elf.h: Add new ARM TLS relocs.
9558
d55fd7a5
RA
95592011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9560
9561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9562 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9563 cast from r3.
9564 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9565 'tests' variable.
9566 * sysdeps/wordsize-64/tst-writev.c: New file.
9567
2206397e
RA
95682011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9569
9570 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9571 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9572 insns in _dl_start to prevent a TOC reference before relocs are
9573 resolved.
9574
e9433893
UD
95752011-02-15 Ulrich Drepper <drepper@gmail.com>
9576
9577 [BZ #12469]
9578 * Makeconfig: Remove RANLIB definition.
9579 * Makerules: Don't use RANLIB.
9580 * aclocal.m4: Remove ranlib test.
9581 * configure.in: No need to check for ranlib.
9582 * elf/rtld-Rules: Don't use RANLIB.
9583
f75286c6
ST
95842011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9585
8e31c82d
ST
9586 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9587 protection macro.
9588 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9589 inclusion protection macro.
9590
f75286c6
ST
9591 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9592 SIGRTMIN and SIGRTMAX and print information in that case only when
9593 SIGRTMIN is defined.
9594
c1d0e639
JJ
95952011-02-11 Jakub Jelinek <jakub@redhat.com>
9596
9597 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9598 arginfo fn returning -1.
9599
9600 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9601 and thousands string is zero terminated.
9602
edf9294e
AS
96032011-02-03 Andreas Schwab <schwab@redhat.com>
9604
9605 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9606 sysdeps/unix/sysv/linux/bits/socket.h.
9607
2b7e92df
ST
96082011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9609
edf9294e
AS
9610 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9611 (__CPU_COUNT): Remove old macros.
9612 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9613 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9614 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
9615 (__sched_cpualloc, __sched_cpufree): Add declarations.
9616
a4c7ea7b
UD
96172011-02-05 Ulrich Drepper <drepper@gmail.com>
9618
9619 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9620 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9621 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9622 (readdhstai): Return value of addhstaiX call.
9623 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9624 (addgrbyX): Return value returned by cache_addgr.
9625 (readdgrbyname): Return value returned by addgrbyX.
9626 (readdgrbygid): Likewise.
9627 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9628 (addpwbyX): Return value returned by cache_addpw.
9629 (readdpwbyname): Return value returned by addhstbyX.
9630 (readdpwbyuid): Likewise.
9631 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9632 (addservbyX): Return value returned by cache_addserv.
9633 (readdservbyname): Return value returned by addservbyX:
9634 (readdservbyport): Likewise.
9635 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9636 (addhstbyX): Return value returned by cache_addhst.
9637 (readdhstbyname): Return value returned by addhstbyX.
9638 (readdhstbyaddr): Likewise.
9639 (readdhstbynamev6): Likewise.
9640 (readdhstbyaddrv6): Likewise.
9641 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9642 (readdinitgroups): Return value returned by addinitgroupsX.
9643 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9644 (prune_cache): Keep track of timeout value of re-added entries.
9645 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9646 * nscd/nscd.h: Adjust prototypes of readd* functions.
9647
a0bf67cc
RM
96482011-02-04 Roland McGrath <roland@redhat.com>
9649
9650 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9651 (nis_stats): Likewise.
9652 * nis/nis_modify.c (nis_modify): Likewise.
9653 * nis/nis_remove.c (nis_remove): Likewise.
9654 * nis/nis_add.c (nis_add): Likewise.
9655
9656 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9657
9658 * posix/fnmatch_loop.c: Add some consts.
9659
9660 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9661
435b95eb
L
96622011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9663
9664 [BZ #12460]
9665 * config.make.in (config-cflags-novzeroupper): Define.
9666 * configure.in: Substitute libc_cv_cc_novzeroupper.
9667 * elf/Makefile (AVX-CFLAGS): Define.
9668 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9669 (CFLAGS-tst-auditmod4a.c): Likewise.
9670 (CFLAGS-tst-auditmod4b.c): Likewise.
9671 (CFLAGS-tst-auditmod6b.c): Likewise.
9672 (CFLAGS-tst-auditmod6c.c): Likewise.
9673 (CFLAGS-tst-auditmod7b.c): Likewise.
9674 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9675
8517b15e
UD
96762011-02-02 Ulrich Drepper <drepper@gmail.com>
9677
9678 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9679 function to the callback.
9680 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9681
10a656fe
AS
96822011-02-02 Andreas Schwab <schwab@redhat.com>
9683
9684 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9685 of errno.
9686
968dad0a
UD
96872011-01-19 Ulrich Drepper <drepper@gmail.com>
9688
9f94d2ea 9689 [BZ #11724]
968dad0a
UD
9690 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9691 of constructors.
9692 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9693 of destructors.
9694 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9695
9696 [BZ #11724]
9697 * elf/Makefile: Add rules to build and run new test.
9698 * elf/tst-initorder.c: New file.
9699 * elf/tst-initorder.exp: New file.
9700 * elf/tst-initordera1.c: New file.
9701 * elf/tst-initordera2.c: New file.
9702 * elf/tst-initordera3.c: New file.
9703 * elf/tst-initordera4.c: New file.
9704 * elf/tst-initorderb1.c: New file.
9705 * elf/tst-initorderb2.c: New file.
9706 * elf/tst-order-a1.c: New file.
9707 * elf/tst-order-a2.c: New file.
9708 * elf/tst-order-a3.c: New file.
9709 * elf/tst-order-a4.c: New file.
9710 * elf/tst-order-b1.c: New file.
9711 * elf/tst-order-b2.c: New file.
9712 * elf/tst-order-main.c: New file.
9713 New test case by George Gensure <werkt0@gmail.com>.
9714
86e92359
UD
97152010-10-01 Andreas Schwab <schwab@redhat.com>
9716
9717 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9718 decoding ACE if AI_CANONIDN.
9719
5d5732b0
UD
97202011-01-18 Ulrich Drepper <drepper@gmail.com>
9721
9722 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9723
a77e8cbc
UD
97242011-01-17 Ulrich Drepper <drepper@gmail.com>
9725
6392473f
UD
9726 * version.h (RELEASE): Bump for 2.13 release.
9727 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9728
620a0529
UD
9729 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9730
18ba70a5
UD
9731 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9732 MADV_NOHUGEPAGE.
32465c3e
UD
9733 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9734 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9735 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9736 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9737 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9738 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9739
c0dafcf1
UD
9740 * posix/getconf.c: Update copyright year.
9741 * catgets/gencat.c: Likewise.
9742 * csu/version.c: Likewise.
9743 * debug/catchsegv.sh: Likewise.
9744 * debug/xtrace.sh: Likewise.
9745 * elf/ldconfig.c: Likewise.
9746 * elf/ldd.bash.in: Likewise.
9747 * elf/sprof.c (print_version): Likewise.
9748 * iconv/iconv_prog.c: Likewise.
9749 * iconv/iconvconfig.c: Likewise.
9750 * locale/programs/locale.c: Likewise.
9751 * locale/programs/localedef.c: Likewise.
9752 * malloc/memusage.sh: Likewise.
9753 * malloc/mtrace.pl: Likewise.
9754 * nscd/nscd.c (print_version): Likewise.
9755 * nss/getent.c: Likewise.
9756
a77e8cbc
UD
9757 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9758 PF_CAIF, and PF_ALG.
9759 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9760
77e8bddf
AS
97612011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9762
1f20b93a
AS
9763 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9764 (modules-names): Use them.
9765 (ifunc-test-modules, ifunc-pie-tests): Define.
9766 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9767 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9768 (test-extras): Likewise.
9769 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9770 $(compile-command.c).
9771 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9772 (all-built-dso): Define.
9773 (check-textrel.out, check-execstack.out): Depend on it.
9774
77e8bddf
AS
9775 * configure.in: Don't override --enable-multi-arch.
9776
bc425b33
UD
97772011-01-15 Ulrich Drepper <drepper@gmail.com>
9778
9779 [BZ #6812]
9780 * nscd/hstcache.c (tryagain): Define.
9781 (cache_addhst): Return tryagain not notfound for temporary errors.
9782 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9783 failed.
9784
794c3ad3
UD
97852011-01-14 Ulrich Drepper <drepper@gmail.com>
9786
70181fdd
UD
9787 [BZ #10563]
9788 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9789 to make the syscall.
9790 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9791
794c3ad3
UD
9792 [BZ #12378]
9793 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9794 and fall back to matching as normal character if the string ends before
9795 the matching ']' is found. This is what POSIX requires.
9796 * posix/testfnm.c: Adjust test result.
9797 * posix/globtest.sh: Adjust test result. Add new test.
9798 * posix/tst-fnmatch.input: Likewise.
9799 * posix/tst-fnmatch2.c: Add new test.
9800
68dc9497
AS
98012010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9802
9803 * elf/Makefile (check-execstack): Revert last change. Depend on
9804 check-execstack.h.
9805 (check-execstack.h): New target.
9806 (generated): Add check-execstack.h.
9807 * elf/check-execstack.c: Include "check-execstack.h".
9808 (main): Revert last change.
9809 (handle_file): Return zero if GNU_STACK is absent and
9810 DEFAULT_STACK_PERMS doesn't include PF_X.
9811
451f001b
UD
98122011-01-13 Ulrich Drepper <drepper@gmail.com>
9813
cfa28e56
UD
9814 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9815 in child fails because the descriptor is already closed.
8cf8ce17
UD
9816 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9817 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9818 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 9819
1086d70d
UD
9820 [BZ #12397]
9821 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9822 syscall.
9823
451f001b
UD
9824 [BZ #10484]
9825 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9826 temporary buffer used to handle multi lookups locally.
a85b5cb4 9827 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 9828
08769175
UD
98292011-01-12 Ulrich Drepper <drepper@gmail.com>
9830
9831 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9832 loader is ld.so.
9833
5e49c52e
UD
98342011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9835
9836 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9837 alignment for SSE2.
9838
60522a5f
UD
98392011-01-12 Ulrich Drepper <drepper@gmail.com>
9840
9841 [BZ #12394]
9842 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9843 characters. When rounding increased number of integer digits recompute
9844 number of groups.
9845 * stdio-common/tst-grouping.c: New file.
9846 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9847
f257bbd7
UD
98482011-01-09 Ulrich Drepper <drepper@gmail.com>
9849
9850 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9851 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9852
9853 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9854 void.
9855 * bits/select.h: Likewise.
9856
fa9c15cb
UD
98572011-01-08 Ulrich Drepper <drepper@gmail.com>
9858
9859 * po/ja.po: Update from translation team.
9860
16c2895f
DM
98612011-01-04 David S. Miller <davem@sunset.davemloft.net>
9862
9863 [BZ #11155]
9864 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9865 implementation just like for lxstat, fxstatat, et al.
9866
2543fef2
JM
98672010-12-27 Jim Meyering <meyering@redhat.com>
9868
9869 [BZ #12348]
9870 * posix/regexec.c (build_trtable): Return failure indication upon
9871 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9872
98727dbe
UD
98732010-12-25 Ulrich Drepper <drepper@gmail.com>
9874
5bd6dc5c
UD
9875 [BZ #12201]
9876 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9877 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9878 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9879 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9880
97983464
UD
9881 [BZ #12207]
9882 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9883
98727dbe
UD
9884 [BZ #12204]
9885 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9886 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9887
4a531bb0
L
98882010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9889
9890 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9891 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9892 script has SORT_BY_INIT_PRIORITY.
9893 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9894 NO_CTORS_DTORS_SECTIONS is defined.
9895 * elf/soinit.c: Likewise.
9896 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9897 NO_CTORS_DTORS_SECTIONS is defined.
9898 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9899 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9900 * sysdeps/sh/init-first.c: Likewise.
9901 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9902
07eb4b71
UD
99032010-12-24 Ulrich Drepper <drepper@gmail.com>
9904
9905 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9906 always use the slow path.
9907
30950a5f
RA
99082010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9909
9910 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9911 similar rule which adds the sysdep directories to the header search in
9912 order to pick up the correct platform stackinfo.h.
9913 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9914 perform test if it is, otherwise return successfully without testing.
9915 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9916 DEFAULT_STACK_PERMS define in stackinfo.h.
9917 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9918 defined in stackinfo.h.
9919 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9920 DEFAULT_STACK_PERMS defined in stackinfo.h.
9921 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9922 * sysdeps/ia64/stackinfo.h: Likewise.
9923 * sysdeps/s390/stackinfo.h: Likewise.
9924 * sysdeps/sh/stackinfo.h: Likewise.
9925 * sysdeps/sparc/stackinfo.h: Likewise.
9926 * sysdeps/x86_64/stackinfo.h: Likewise.
9927 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9928 PF_X for powerpc64. Retain PF_X for powerpc32.
9929
db753e2c
UD
99302010-12-19 Ulrich Drepper <drepper@gmail.com>
9931
14b697f7
UD
9932 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9933 accurately.
db753e2c
UD
9934 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9935 GETDENTS_64BIT_ALIGNED.
9936
28300719
UD
99372010-12-14 Ulrich Drepper <dreper@gmail.com>
9938
14b697f7 9939 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 9940
4f197237
AS
99412010-12-10 Andreas Schwab <schwab@redhat.com>
9942
dbb0472f
AS
9943 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9944 _GNU_SOURCE.
9945
4f197237
AS
9946 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9947 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9948 Remove __restrict.
9949 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9950 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9951
fb88ac72
UD
99522010-12-09 Ulrich Drepper <drepper@gmail.com>
9953
9954 [BZ #11655]
9955 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9956 are initialized.
9957
42acbb92
JJ
99582010-12-09 Jakub Jelinek <jakub@redhat.com>
9959
9960 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9961
c038d98d
UD
99622010-12-03 Ulrich Drepper <drepper@gmail.com>
9963
9964 * po/it.po: Update from translation team.
9965
3a4a2499
L
99662010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9967
9968 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9969 unused codes.
9970
1e24cf6e
UD
99712010-11-30 Ulrich Drepper <drepper@gmail.com>
9972
9973 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9974
a7690819
AS
99752010-11-24 Andreas Schwab <schwab@redhat.com>
9976
9977 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9978 specially.
9979 (gaih_getanswer_slice): Likewise.
9980
3bf8d1b1
JJ
99812010-10-20 Jakub Jelinek <jakub@redhat.com>
9982
9983 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9984
6db52fbb
PB
99852010-05-31 Petr Baudis <pasky@suse.cz>
9986
9987 [BZ #11149]
9988 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9989 silently even in the chroot mode.
9990
eaca7569
UD
99912010-11-22 Ulrich Drepper <drepper@gmail.com>
9992
9993 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9994 last patch a bit. Pretty printing
9995
3056dcdb
UD
99962010-05-31 Petr Baudis <pasky@suse.cz>
9997
9998 [BZ #10085]
9999 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10000 initialization of skip_initgroups_dyn.
10001
cf7c9078
UD
100022010-11-19 Ulrich Drepper <drepper@gmail.com>
10003
10004 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10005 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10006
a1fb5e3e
UD
100072010-11-16 Ulrich Drepper <drepper@gmail.com>
10008
10009 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10010
3540d66b
AS
100112010-11-11 Andreas Schwab <schwab@redhat.com>
10012
10013 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10014 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10015 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10016 ($(objpfx)tst-fnmatch-mem): New rule.
10017 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10018 * posix/tst-fnmatch.c (main): Call mtrace.
10019
13b69574
L
100202010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10021
10022 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10023 Support Intel processor model 6 and model 0x2c.
10024
da93d214
LM
100252010-11-10 Luis Machado <luisgpm@br.ibm.com>
10026
10027 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10028 signed comparison.
10029
8ca52c6e
L
100302010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10031
10032 [BZ #12205]
10033 * string/test-strncasecmp.c (check_result): New function.
10034 (do_one_test): Use it.
10035 (check1): New function.
10036 (test_main): Use it.
10037 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10038 Support strcasecmp and strncasecmp.
10039
69da074d
UD
100402010-11-08 Ulrich Drepper <drepper@gmail.com>
10041
10042 [BZ #12194]
10043 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10044 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10045
ff02d528
L
100462010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10047
10048 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10049 IFUNC support.
10050 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10051 memset-x86-64.
10052 * sysdeps/x86_64/multiarch/bzero.S: New file.
10053 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10054 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10055 * sysdeps/x86_64/multiarch/memset.S: New file.
10056 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10057 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10058 Set bit_Prefer_SSE_for_memop for Intel processors.
10059 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10060 Define.
10061 (index_Prefer_SSE_for_memop): Define.
10062 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10063
344d0b54
LM
100642010-11-04 Luis Machado <luisgpm@br.ibm.com>
10065
10066 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10067 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10068
c0dde15b
UD
100692010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10070
10071 [BZ #12191]
10072 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10073 (__x86_64_raw_data_cache_size_half): Likewise.
10074 (__x86_64_raw_shared_cache_size): Likewise.
10075 (__x86_64_raw_shared_cache_size_half): Likewise.
10076
10077 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10078 (__x86_64_raw_data_cache_size_half): Likewise.
10079 (__x86_64_raw_shared_cache_size): Likewise.
10080 (__x86_64_raw_shared_cache_size_half): Likewise.
10081 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10082 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10083 and __x86_64_raw_shared_cache_size_half. Round
10084 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10085 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10086 to multiple of 256 bytes.
10087
0e516e0e
MS
100882010-11-03 Ulrich Drepper <drepper@gmail.com>
10089
10090 [BZ #12167]
10091 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10092 of inacessible symlinks. Verify result of symlink before returning it.
10093 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10094 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10095
0e012e87
ER
100962010-10-28 Erich Ritz <erichritz@gmail.com>
10097
10098 * math/math.h (isinf): Fix typo in comment.
10099
de0ff7bc
UD
101002010-11-01 Ulrich Drepper <drepper@gmail.com>
10101
10102 * po/da.po: Update from translation team.
10103
fa41c84d
UD
101042010-10-26 Ulrich Drepper <drepper@gmail.com>
10105
10106 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10107 is added to the list.
10108
f0967738
AK
101092010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10110 Ulrich Drepper <drepper@gmail.com>
10111
10112 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10113 the global list here. Move code to...
10114 (_dl_add_to_namespace_list): ...here. New function.
10115 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10116 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10117 * elf/dl-load.c (lose): Don't remove the element from the list.
10118 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10119 (_dl_map_object): Likewise.
10120
101212010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
10122
10123 [BZ #12159]
10124 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10125 into all bytes of SSE register.
10126 Patch by Richard Li <richardpku@gmail.com>.
10127
f0967738 101282010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
10129
10130 [BZ #12140]
10131 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10132 perturbing.
10133
d0b9e94f
MB
101342010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10135
10136 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10137 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10138 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10139 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10141 submachine.
10142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10143
8e9f92e9
AS
101442010-10-22 Andreas Schwab <schwab@redhat.com>
10145
10146 * include/dlfcn.h (__RTLD_SECURE): Define.
10147 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10148 mode & __RTLD_SECURE instead.
10149 (open_path): Rename preloaded parameter to secure.
10150 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10151 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10152 * elf/dl-deps.c (openaux): Likewise.
10153 * elf/rtld.c (struct map_args): Remove is_preloaded.
10154 (map_doit): Don't use it.
10155 (dl_main): Likewise.
10156 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10157 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10158
bc96fbda
AS
101592010-09-09 Andreas Schwab <schwab@redhat.com>
10160
10161 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10162 (sysd-rules-targets): Remove duplicates.
10163 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10164 rtld-%.$o dependency.
10165
22cd1c9b
AS
101662010-10-18 Andreas Schwab <schwab@redhat.com>
10167
10168 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10169 _dl_map_object do it.
10170
18edac48
UD
101712010-10-19 Ulrich Drepper <drepper@gmail.com>
10172
10173 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10174 fast fma builtins, define the macros in the C99 standard.
10175 (FP_FAST_FMAF): Likewise.
10176 (FP_FAST_FMAL): Likewise.
10177 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10178
10179 * bits/mathdef.h: Update copyright year.
10180 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10181
d2050124
MM
101822010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10183
10184 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10185 builtins, define the macros in the C99 standard.
10186 (FP_FAST_FMAF): Likewise.
10187 (FP_FAST_FMAL): Likewise.
10188 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10189 multiply/add.
10190 (FP_FAST_FMAF): Likewise.
10191
475facd1
JJ
101922010-10-15 Jakub Jelinek <jakub@redhat.com>
10193
10194 [BZ #3268]
10195 * math/libm-test.inc (fma_test): Some new testcases.
10196 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10197 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10198 y and infinite z. Do multiplication by C already in long double.
10199 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10200 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10201 y and infinite z. Do bitwise or of inexact bit into u.d.
10202 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10203 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10204 * sysdeps/i386/fpu/s_fma.S: Removed.
10205 * sysdeps/i386/fpu/s_fmal.S: Removed.
10206
7c08a05c
JJ
102072010-10-16 Jakub Jelinek <jakub@redhat.com>
10208
10209 [BZ #3268]
10210 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10211 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10212 computation is not scheduled after fetestexcept. Fix value
10213 of minimum denormal long double.
10214
f3f7372d
JJ
102152010-10-14 Jakub Jelinek <jakub@redhat.com>
10216
10217 [BZ #3268]
10218 * math/libm-test.inc (fma_test): Add some more tests.
10219 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10220 correctly.
10221
14d43591
AS
102222010-10-15 Andreas Schwab <schwab@redhat.com>
10223
10224 * scripts/data/localplt-s390-linux-gnu.data: New file.
10225 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10226
5e908464
JJ
102272010-10-13 Jakub Jelinek <jakub@redhat.com>
10228
10229 [BZ #3268]
10230 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10231 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10232 instead of dbl-64.
10233 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10234 inlines.
10235 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10236 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10237 if one of x and y is very large and the other is subnormal.
10238 * sysdeps/s390/fpu/s_fmaf.c: New file.
10239 * sysdeps/s390/fpu/s_fma.c: New file.
10240 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10241 * sysdeps/powerpc/fpu/s_fma.S: New file.
10242 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10243 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10244 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10245
102462010-10-12 Jakub Jelinek <jakub@redhat.com>
10247
10248 [BZ #3268]
10249 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10250 fma tests.
10251 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10252 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10253 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10254 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10255 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10256 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10257 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10258
b833d51f
UD
102592010-10-12 Ulrich Drepper <drepper@redhat.com>
10260
10261 [BZ #12078]
10262 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10263 * posix/bug-regex31.input: Add test case.
10264
1751705d
UD
102652010-10-11 Ulrich Drepper <drepper@gmail.com>
10266
e9b9cbf5
UD
10267 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10268 * posix/bug-regex31.input: New file.
10269
10270 [BZ #12078]
10271 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10272 (parse_sub_exp): Fix last change, use postorder.
10273
ef06edbe
UD
10274 * posix/bug-regex31.c: New file.
10275 * posix/Makefile: Add rules to build and run bug-regex31.
10276
a129c80d
UD
10277 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10278
10279 [BZ #12078]
10280 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10281
b76b818e
UD
10282 [BZ #12108]
10283 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10284 to have entries in sys_siglist.
10285
1751705d
UD
10286 [BZ #12093]
10287 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10288 be NULL.
10289
9ff8d36f
JJ
102902010-10-07 Jakub Jelinek <jakub@redhat.com>
10291
10292 [BZ #3268]
10293 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10294 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10295 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10296 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10297 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10298 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10299 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10300 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10301 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10302 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10303 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10304 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10305 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10306 * math/ftestexcept.c (fetestexcept): Likewise.
10307 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10308 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10309 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10310 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10311 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10312 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10313 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10314
af325969
UD
103152010-10-11 Ulrich Drepper <drepper@gmail.com>
10316
c579b202 10317 [BZ #12107]
af325969
UD
10318 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10319 newline.
10320
67a67b95
UD
103212010-10-06 Ulrich Drepper <drepper@gmail.com>
10322
10323 * string/bug-strstr1.c: New file.
10324 * string/Makefile: Add rules to build and run bug-strstr1.
10325
5fb308bc
EB
103262010-10-05 Eric Blake <eblake@redhat.com>
10327
10328 [BZ #12092]
10329 * string/str-two-way.h (two_way_long_needle): Always clear memory
10330 when skipping input due to the shift table.
10331
45db99c7
UD
103322010-10-03 Ulrich Drepper <drepper@gmail.com>
10333
3b111893
UD
10334 [BZ #12005]
10335 * malloc/mcheck.c: Handle large requests.
10336
45db99c7
UD
10337 [BZ #12077]
10338 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10339 for strncmp and strncasecmp.
10340 * string/stratcliff.c: Add tests for strcmp and strncmp.
10341 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10342
cf7a1eb8
NI
103432010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10344
10345 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10346 __set_fpscr.
10347
6484ba5e
AJ
103482010-09-30 Andreas Jaeger <aj@suse.de>
10349
10350 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10351 (CGROUP_SUPER_MAGIC): Define.
10352 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10353 Handle btrfs and cgroup file systems.
10354 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10355 Likewise.
10356
91c42559
LM
103572010-09-27 Luis Machado <luisgpm@br.ibm.com>
10358
10359 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10360 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10361
87a97932
AK
103622010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10363
10364 [BZ #12067]
10365 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10366 trying to locate the ELF header.
10367
c21cc9bc
AS
103682010-09-27 Andreas Schwab <schwab@redhat.com>
10369
10370 [BZ #11611]
10371 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10372 Mask out sign-bit copies when constructing f_fsid.
10373
315970f6
PB
103742010-09-24 Petr Baudis <pasky@suse.cz>
10375
10376 * debug/stack_chk_fail_local.c: Add missing licence exception.
10377 * debug/warning-nop.c: Likewise.
10378
1ac7a2c7
JM
103792010-09-15 Joseph Myers <joseph@codesourcery.com>
10380
10381 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10382 implementing getdents64 using getdents syscall, set d_type if
10383 __ASSUME_GETDENTS32_D_TYPE.
10384
56801c50
AS
103852010-09-16 Andreas Schwab <schwab@redhat.com>
10386
10387 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10388 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10389
dda51327
UD
103902010-09-21 Ulrich Drepper <drepper@redhat.com>
10391
10392 [BZ #12037]
10393 * posix/unistd.h: Undo change of feature selection for ftruncate from
10394 2010-01-11.
10395
8ffcee4a
UD
103962010-09-20 Ulrich Drepper <drepper@redhat.com>
10397
a545ecd9 10398 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
10399 detection.
10400
e24f0a8b
AS
104012010-09-20 Andreas Schwab <schwab@redhat.com>
10402
10403 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10404 fanotify_mark.
10405 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10406
7291c56f
AS
104072010-09-14 Andreas Schwab <schwab@redhat.com>
10408
10409 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10410 variables after CHECK_SP call.
10411 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10412
bc5fb037
AS
104132010-09-13 Andreas Schwab <schwab@redhat.com>
10414 Ulrich Drepper <drepper@redhat.com>
10415
10416 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10417 re-relocationg ld.so.
10418 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10419 _dl_init_paths call.
10420 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10421 here anymore.
10422
e66e7419
UD
104232010-09-14 Ulrich Drepper <drepper@redhat.com>
10424
10425 * resolv/res_init.c (__res_vinit): Count the default server we added.
10426
c044aa75
CLT
104272010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10428 Ulrich Drepper <drepper@redhat.com>
10429
10430 [BZ #11968]
10431 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10432 (____longjmp_chk): Use %ebx for saving value across system call.
10433 Add unwind info.
10434
32cf4069
AS
104352010-09-06 Andreas Schwab <schwab@redhat.com>
10436
10437 * manual/Makefile: Don't mix pattern rules with normal rules.
10438
817328ee
AS
104392010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10440
10441 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10442 operation.
10443 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10444 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10445 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10446 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10447 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10448 Likewise.
10449
29fddf61
UD
104502010-09-04 Ulrich Drepper <drepper@redhat.com>
10451
10452 [BZ #11979]
10453 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10454 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10455
0959ffc9
UD
104562010-09-02 Ulrich Drepper <drepper@redhat.com>
10457
10458 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10459 * sysdeps/x86_64/addmul_1.S: Likewise.
10460 * sysdeps/x86_64/lshift.S: Likewise.
10461 * sysdeps/x86_64/mul_1.S: Likewise.
10462 * sysdeps/x86_64/rshift.S: Likewise.
10463 * sysdeps/x86_64/sub_n.S: Likewise.
10464 * sysdeps/x86_64/submul_1.S: Likewise.
10465
ece29840
ST
104662010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10467
0959ffc9
UD
10468 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10469 Define __sched_param instead of SCHED_* and sched_param when
ece29840 10470 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 10471 * bits/sched.h [__need_schedparam]
ece29840 10472 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
10473 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10474 (__defined_schedparam): Define to 1.
ece29840
ST
10475 (__sched_param): New structure, identical to sched_param.
10476 (__need_schedparam): Undefine.
10477
e53a31fe
MF
104782010-08-31 Mike Frysinger <vapier@gentoo.org>
10479
fdc0c10d
MF
10480 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10481 (epoll_create1): Declare.
10482
e53a31fe
MF
10483 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10484
a726d796
AS
104852010-08-31 Andreas Schwab <schwab@redhat.com>
10486
10487 [BZ #7066]
10488 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10489 shifting retval into place.
10490
2f3e3dc7
UD
104912010-09-01 Ulrich Drepper <drepper@redhat.com>
10492
f2933da9
UD
10493 * nis/rpcsvc/nis.h: Update copyright notice.
10494 * nis/rpcsvc/nis.x: Likewise.
10495 * nis/rpcsvc/nis_callback.h: Likewise.
10496 * nis/rpcsvc/nis_callback.x: Likewise.
10497 * nis/rpcsvc/nis_object.x: Likewise.
10498 * nis/rpcsvc/nis_tags.h: Likewise.
10499 * nis/rpcsvc/yp.h: Likewise.
10500 * nis/rpcsvc/yp.x: Likewise.
10501 * nis/rpcsvc/ypupd.h: Likewise.
10502 * nis/yp_xdr.c: Likewise.
10503 * nis/ypupdate_xdr.c: Likewise.
10504
2f3e3dc7
UD
10505 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10506 mainly the body of pmap_getport. Add parameters to specify timeouts.
10507 (pmap_getport): Use __libc_rpc_getport.
10508 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10509 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10510 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10511
f3dcc2f9
AS
105122010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10513
10514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10515 fanotify_mark.
10516
6d34eb5b
RM
105172010-08-27 Roland McGrath <roland@redhat.com>
10518
10519 * sysdeps/i386/i686/multiarch/Makefile
10520 (CFLAGS-varshift.c): New variable.
10521
9ea3de11
UD
105222010-08-27 Ulrich Drepper <drepper@redhat.com>
10523
c96d23fc
UD
10524 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10525 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10526
9ea3de11
UD
10527 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10528
10529 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10530
623aac7f
L
105312010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10532
10533 * sysdeps/x86_64/strlen.S: Unroll the loop.
10534 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10535 strlen-sse2 strlen-sse2-bsf.
10536 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10537 __strlen_no_bsf if bit_Slow_BSF is set.
10538 (__strlen_sse42): Removed.
10539 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10540 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10541
8b2b7715
RM
105422010-08-25 Roland McGrath <roland@redhat.com>
10543
10544 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10545 * sysdeps/x86_64/multiarch/varshift.c: New file.
10546 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10547 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10548 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10549 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10550
e73015f2
L
105512010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10552
10553 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10554 strlen-sse2 strlen-sse2-bsf.
10555 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10556 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10557 (__strlen_sse2): Removed.
10558 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10559 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10560 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10561 bit_Slow_BSF for Atom.
10562 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10563 (index_Slow_BSF): Define.
10564 (HAS_SLOW_BSF): Define.
10565
df24a73e
UD
105662010-08-25 Ulrich Drepper <drepper@redhat.com>
10567
10568 [BZ #10851]
10569 * resolv/res_init.c (__res_vinit): When no server address at all
10570 is given default to loopback.
10571
f2ac4868
RM
105722010-08-24 Roland McGrath <roland@redhat.com>
10573
09055553
RM
10574 * configure.in: Remove config-name.h generation.
10575 * configure: Regenerated.
10576 * config-name.in: File removed.
10577 * scripts/config-uname.sh: New file.
10578 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10579 ($(objdir)config-name.h): New target.
10580
f2ac4868
RM
10581 * sunrpc/rpc_parse.h: Avoid nested comment.
10582
73f27d5e
RH
105832010-08-24 Richard Henderson <rth@redhat.com>
10584 Ulrich Drepper <drepper@redhat.com>
10585 H.J. Lu <hongjiu.lu@intel.com>
10586
10587 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10588 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10589 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10590 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10591 _mm_alignr_epi8 with _mm_loadu_si128.
10592 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10593 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10594 (__m128i_shift_right): Removed.
10595 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10596 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10597 * sysdeps/x86_64/multiarch/varshift.h: New file.
10598 * sysdeps/x86_64/multiarch/varshift.S: New file.
10599
84b9230c
MF
106002010-08-21 Mike Frysinger <vapier@gentoo.org>
10601
10602 * configure.in: Move assembler checks to before sysdep dir checking.
10603
9bbd0ddc
PB
106042010-08-20 Petr Baudis <pasky@suse.cz>
10605
10606 * LICENSES: Sync the sunrpc license.
10607
9da4bb31
UD
106082010-08-19 Ulrich Drepper <drepper@redhat.com>
10609
a7ab6ec8
UD
10610 * sunrpc/auth_des.c: Update copyright notice once again.
10611 * sunrpc/auth_none.c: Likewise.
10612 * sunrpc/auth_unix.c: Likewise.
10613 * sunrpc/authdes_prot.c: Likewise.
10614 * sunrpc/authuxprot.c: Likewise.
10615 * sunrpc/bindrsvprt.c: Likewise.
10616 * sunrpc/clnt_gen.c: Likewise.
10617 * sunrpc/clnt_perr.c: Likewise.
10618 * sunrpc/clnt_raw.c: Likewise.
10619 * sunrpc/clnt_simp.c: Likewise.
10620 * sunrpc/clnt_tcp.c: Likewise.
10621 * sunrpc/clnt_udp.c: Likewise.
10622 * sunrpc/clnt_unix.c: Likewise.
10623 * sunrpc/des_crypt.c: Likewise.
10624 * sunrpc/des_soft.c: Likewise.
10625 * sunrpc/get_myaddr.c: Likewise.
10626 * sunrpc/getrpcport.c: Likewise.
10627 * sunrpc/key_call.c: Likewise.
10628 * sunrpc/key_prot.c: Likewise.
10629 * sunrpc/openchild.c: Likewise.
10630 * sunrpc/pm_getmaps.c: Likewise.
10631 * sunrpc/pm_getport.c: Likewise.
10632 * sunrpc/pmap_clnt.c: Likewise.
10633 * sunrpc/pmap_prot.c: Likewise.
10634 * sunrpc/pmap_prot2.c: Likewise.
10635 * sunrpc/pmap_rmt.c: Likewise.
10636 * sunrpc/rpc/auth.h: Likewise.
10637 * sunrpc/rpc/auth_unix.h: Likewise.
10638 * sunrpc/rpc/clnt.h: Likewise.
10639 * sunrpc/rpc/des_crypt.h: Likewise.
10640 * sunrpc/rpc/key_prot.h: Likewise.
10641 * sunrpc/rpc/netdb.h: Likewise.
10642 * sunrpc/rpc/pmap_clnt.h: Likewise.
10643 * sunrpc/rpc/pmap_prot.h: Likewise.
10644 * sunrpc/rpc/pmap_rmt.h: Likewise.
10645 * sunrpc/rpc/rpc.h: Likewise.
10646 * sunrpc/rpc/rpc_des.h: Likewise.
10647 * sunrpc/rpc/rpc_msg.h: Likewise.
10648 * sunrpc/rpc/svc.h: Likewise.
10649 * sunrpc/rpc/svc_auth.h: Likewise.
10650 * sunrpc/rpc/types.h: Likewise.
10651 * sunrpc/rpc/xdr.h: Likewise.
10652 * sunrpc/rpc_clntout.c: Likewise.
10653 * sunrpc/rpc_cmsg.c: Likewise.
10654 * sunrpc/rpc_common.c: Likewise.
10655 * sunrpc/rpc_cout.c: Likewise.
10656 * sunrpc/rpc_dtable.c: Likewise.
10657 * sunrpc/rpc_hout.c: Likewise.
10658 * sunrpc/rpc_main.c: Likewise.
10659 * sunrpc/rpc_parse.c: Likewise.
10660 * sunrpc/rpc_parse.h: Likewise.
10661 * sunrpc/rpc_prot.c: Likewise.
10662 * sunrpc/rpc_sample.c: Likewise.
10663 * sunrpc/rpc_scan.c: Likewise.
10664 * sunrpc/rpc_scan.h: Likewise.
10665 * sunrpc/rpc_svcout.c: Likewise.
10666 * sunrpc/rpc_tblout.c: Likewise.
10667 * sunrpc/rpc_util.c: Likewise.
10668 * sunrpc/rpc_util.h: Likewise.
10669 * sunrpc/rpcinfo.c: Likewise.
10670 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10671 * sunrpc/rpcsvc/key_prot.x: Likewise.
10672 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10673 * sunrpc/rpcsvc/mount.x: Likewise.
10674 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10675 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10676 * sunrpc/rpcsvc/rex.x: Likewise.
10677 * sunrpc/rpcsvc/rstat.x: Likewise.
10678 * sunrpc/rpcsvc/rusers.x: Likewise.
10679 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10680 * sunrpc/rpcsvc/spray.x: Likewise.
10681 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10682 * sunrpc/rtime.c: Likewise.
10683 * sunrpc/svc.c: Likewise.
10684 * sunrpc/svc_auth.c: Likewise.
10685 * sunrpc/svc_authux.c: Likewise.
10686 * sunrpc/svc_raw.c: Likewise.
10687 * sunrpc/svc_run.c: Likewise.
10688 * sunrpc/svc_simple.c: Likewise.
10689 * sunrpc/svc_tcp.c: Likewise.
10690 * sunrpc/svc_udp.c: Likewise.
10691 * sunrpc/svc_unix.c: Likewise.
10692 * sunrpc/svcauth_des.c: Likewise.
10693 * sunrpc/xcrypt.c: Likewise.
10694 * sunrpc/xdr.c: Likewise.
10695 * sunrpc/xdr_array.c: Likewise.
10696 * sunrpc/xdr_float.c: Likewise.
10697 * sunrpc/xdr_mem.c: Likewise.
10698 * sunrpc/xdr_rec.c: Likewise.
10699 * sunrpc/xdr_ref.c: Likewise.
10700 * sunrpc/xdr_sizeof.c: Likewise.
10701 * sunrpc/xdr_stdio.c: Likewise.
10702
9da4bb31
UD
10703 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10704 handling.
10705
bdaa77bc
AS
107062010-08-19 Andreas Schwab <schwab@redhat.com>
10707
10708 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10709
fe2f79db
LM
107102010-08-19 Luis Machado <luisgpm@br.ibm.com>
10711
10712 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10713 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10714 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10715 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10716 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10717 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10718 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10719 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10720 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10721 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10722 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10723 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10724 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10725 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10726
b9b42ee0
AB
107272010-07-26 Anton Blanchard <anton@samba.org>
10728
10729 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10730 * malloc/arena.c (heap_trim): Likewise.
10731
1c06ba31
UD
107322010-08-16 Ulrich Drepper <drepper@redhat.com>
10733
10734 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10735 here. Not...
10736 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10737 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10738
f8392f40
L
107392010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10740
10741 * sysdeps/i386/elf/Makefile: New file.
10742
3162f12e
AS
107432010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10744
10745 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10746 from fanotify_init.
10747 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10748 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10749
28c90b2c
UD
107502010-08-15 Ulrich Drepper <drepper@redhat.com>
10751
10752 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10753 of strncasecmp_l.
1feccb6c 10754 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 10755
ca6bb004
UD
107562010-08-14 Ulrich Drepper <drepper@redhat.com>
10757
e9f82e0d
UD
10758 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10759 strncase_l-nonascii.
10760 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10761 Add strncase_l-ssse3.
10762 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10763 * sysdeps/x86_64/strcmp.S: Likewise.
10764 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10765 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10766 * sysdeps/x86_64/strncase.S: New file.
10767 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10768 * sysdeps/x86_64/strncase_l.S: New file.
10769 * string/Makefile (strop-tests): Add strncasecmp.
10770 * string/test-strncasecmp.c: New file.
10771
10772 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10773 warning.
10774
ca6bb004
UD
10775 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10776 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10777
052fa7b3
AS
107782010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10779
10780 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10781
962dba78
UD
107822010-08-12 Ulrich Drepper <drepper@redhat.com>
10783
10784 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10785 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10786 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10787
bebff237
AM
107882010-05-01 Alan Modra <amodra@gmail.com>
10789
10790 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10791 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10792 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10793 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10794 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10795 tidying. Don't tail-call __sigjmp_save for static lib.
10796 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10797 save location.
10798 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10799 (CALL_MCOUNT): Add eh info, and nop after bl.
10800 (TAIL_CALL_SYSCALL_ERROR): New macro.
10801 (PSEUDO_RET): Use it.
10802 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10803 Correct save location of integer regs and cr.
10804 (_dl_profile_resolve): Correct cr save location. Delete nops
10805 after bl when SHARED. Reduce cfi size a little by better
10806 placement of cfi directives.
10807 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10808 make a stack frame. Instead use parm save area as a temp.
10809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10810 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10812 Don't make a stack frame for parent, use parm save area.
10813 Increase child stack frame to 112 bytes. Don't save unused reg,
10814 and adjust reg usage. Set up cfi on error recovery and
10815 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10817 (__makecontext): Add dummy nop after jump to exit.
10818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10819 Use correct parm save area and cr save, reduce stack frame.
10820 Correct cfi for possible PSEUDO_RET frame setup.
10821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10822 Branch to local label emitted by PSEUDO_RET rather than
10823 __syscall_error.
10824
02637374
AS
108252010-08-12 Andreas Schwab <schwab@redhat.com>
10826
10827 [BZ #11904]
10828 * locale/programs/locale.c (print_assignment): New function.
10829 (show_locale_vars): Use it.
10830
c3e2f19b
UD
108312010-08-11 Ulrich Drepper <drepper@redhat.com>
10832
3cdaa6ad
UD
10833 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10834 field.
10835 (struct statfs64): Likewise.
10836 (_STATFS_F_FLAGS): Define.
10837 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10838 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10839 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10840 (ST_VALID): Define locally.
10841 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10842 __statvfs_getflags, use the provided value.
10843 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10844 __ASSUME_STATFS_F_FLAGS.
10845
754f7da3
UD
10846 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10847
10b3bedc
UD
10848 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10849 Add sys/fanotify.h.
10850 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10851 fanotify_mask for GLIBC_2.13.
10852 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10853 fanotify_init and fanotify_mark.
10854 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10855 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10856
c08fb0d7
UD
10857 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10858 Add prlimit.
10859 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10860 prlimit64 for GLIBC_2.13.
10861 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10862 prlimit64.
10863 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10864 syscall.
10865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10866 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10867 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10868 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10869 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10870 add prlimit alias.
10871 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10872
15bac72b
UD
10873 [BZ #11903]
10874 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10875 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10876
c3e2f19b
UD
10877 * nss/Makefile: Add rules to build and run tst-nss-test1.
10878 * shlib-versions: Add entry for libnss_test1.
10879 * nss/nss_test1.c: New file.
10880 * nss/tst-nss-test1.c: New file.
10881
10882 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10883 (__nss_configure_lookup): Set appropriate entry in
10884 __nss_configure_lookup to true.
10885 * nss/nsswitch.h: Define enum with indeces of databases in
10886 databases and __nss_database_custom arrays. Declare
10887 __nss_database_custom.
10888 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10889 to avoid using nscd when custom rules are installed.
10890 * nss/getXXbyYY_r.c: Likewise.
10891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10892
10893 * nss/nss_files/files-parse.c: Whitespace fixes.
10894
f15ce4d8
UD
108952010-08-09 Ulrich Drepper <drepper@redhat.com>
10896
10897 [BZ #11883]
10898 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10899 * posix/fnmatch_loop.c: Likewise.
10900
d22e4cc9
AK
109012010-07-17 Andi Kleen <ak@linux.intel.com>
10902
10903 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10904 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10905 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10906 * Versions.def [GLIBC_2.13]: Add.
10907
805bc17d
UD
109082010-08-06 Ulrich Drepper <drepper@redhat.com>
10909
10910 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10911 Also fail if tpwd after pwuid call is NULL.
10912
5a42321d
ST
109132010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10914
10915 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10916 when converting to ms.
10917
fd3ebeda
ST
109182010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10919
10920 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10921 EOPNOTSUPP errors with ENOTTY.
10922 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10923 EOPNOTSUPP errors with ENOTTY.
10924
73507d3a
UD
109252010-07-31 Ulrich Drepper <drepper@redhat.com>
10926
10927 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10928 Add strcasecmp_l-ssse3.
10929 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10930 strcasecmp.
10931 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10932 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10933 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10934
fe36dd02
UD
109352010-07-30 Ulrich Drepper <drepper@redhat.com>
10936
66f6765a
UD
10937 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10938
42e08a54
UD
10939 * string/Makefile (strop-tests): Add strcasecmp.
10940 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10941 strcasecmp_l-nonascii.
10942 (gen-as-const-headers): Add locale-defines.sym.
10943 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10944 * sysdeps/x86_64/strcasecmp.S: New file.
10945 * sysdeps/x86_64/strcasecmp_l.S: New file.
10946 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10947 * sysdeps/x86_64/locale-defines.sym: New file.
10948 * string/test-strcasecmp.c: New file.
10949
fe36dd02
UD
10950 * string/test-strcasestr.c: Test both ends of the range of characters.
10951 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10952
48cbc0d6
RM
109532010-07-29 Roland McGrath <roland@redhat.com>
10954
76e6d6bc 10955 [BZ #11856]
48cbc0d6
RM
10956 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10957
880113d9
UD
109582010-07-27 Ulrich Drepper <drepper@redhat.com>
10959
10960 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10961 for ld.so.
10962
deb9cabb
AS
109632010-07-27 Andreas Schwab <schwab@redhat.com>
10964
10965 * manual/memory.texi (Malloc Tunable Parameters): Document
10966 M_PERTURB.
10967
1c7570ff
RM
109682010-07-26 Roland McGrath <roland@redhat.com>
10969
10970 [BZ #11840]
10971 * configure.in (-fgnu89-inline check): Set and substitute
10972 gnu89_inline, not libc_cv_gnu89_inline.
10973 * configure: Regenerated.
10974 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10975
24fb0f88
UD
109762010-07-26 Ulrich Drepper <drepper@redhat.com>
10977
10978 * string/test-strnlen.c: New file.
10979 * string/Makefile (strop-tests): Add strnlen.
10980 * string/tester.c (test_strnlen): Add a few more test cases.
10981 * string/tst-strlen.c: Better error reporting.
10982
10983 * sysdeps/x86_64/strnlen.S: New file.
10984
8e96b93a
UD
109852010-07-24 Ulrich Drepper <drepper@redhat.com>
10986
10987 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10988 lower-latency instructions.
10989
dbc676d4
UD
109902010-07-23 Ulrich Drepper <drepper@redhat.com>
10991
10992 * string/test-strcasestr.c: New file.
10993 * string/test-strstr.c: New file.
10994 * string/Makefile (strop-tests): Add strstr and strcasestr.
10995 * string/str-two-way.h: Don't undefine MAX.
10996 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10997
f6a31e0e
AS
109982010-07-21 Andreas Schwab <schwab@redhat.com>
10999
11000 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11001 strcasestr-nonascii.
11002 (CFLAGS-strcasestr-nonascii.c): Define.
11003 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11004 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11005 Remove unused attribute.
11006
5dbc3b6c
RM
110072010-07-20 Roland McGrath <roland@redhat.com>
11008
11009 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11010 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11011 ld.so.cache was broken. With it, there is no way to disable dsocaps
11012 like LD_HWCAP_MASK can disable hwcaps.
11013
23d101d8
EPM
110142010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11015
11016 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11017
cc9f2e47
UD
110182010-07-16 Ulrich Drepper <drepper@redhat.com>
11019
11020 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11021 call in strcasestr.
11022 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11023 __strcasestr_sse42_nonascii.
11024 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11025 strcasestr-nonascii.c.
11026 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11027
77c1b069
LM
110282010-06-15 Luis Machado <luisgpm@br.ibm.com>
11029
11030 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11031 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11032 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11033 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11034
440566c3
UD
110352010-07-09 Ulrich Drepper <drepper@redhat.com>
11036
11037 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11038 fcntl.
11039
5be9d05d
AS
110402010-07-06 Andreas Schwab <schwab@redhat.com>
11041
c30b7ee2 11042 [BZ #11577]
5be9d05d
AS
11043 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11044 dl_signal_cerror.
11045
8a492a67
UD
110462010-07-06 Ulrich Drepper <drepper@redhat.com>
11047
11048 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11049 _PC_PIPE_BUF using F_GETPIPE_SZ.
11050
713df3d5
RM
110512010-07-05 Roland McGrath <roland@redhat.com>
11052
11053 * manual/arith.texi (Rounding Functions): Fix rint description
11054 implicit in round description.
11055
702e8f14
UD
110562010-07-02 Ulrich Drepper <drepper@redhat.com>
11057
11058 * elf/Makefile: Fix linking for a few tests to make recent linker
11059 happy.
11060
52ed8be9
AS
110612010-06-30 Andreas Schwab <schwab@redhat.com>
11062
11063 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11064 $(common-objpfx)libc_nonshared.a.
11065
f47c9a11
LM
110662010-06-21 Luis Machado <luisgpm@br.ibm.com>
11067
11068 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11069 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11070 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11071 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11072 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11073 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11074 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11075 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11090 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11091 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11092 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11093 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11094 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11095 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11096 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11097 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11098 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11099 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11100 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11101 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11116
6fb8cbcb
L
111172010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11118
11119 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11120 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11121 * string/memmove.c (memmove): Renamed to ...
11122 (MEMMOVE): ...this. Default to memmove.
11123 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11124 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11125 (END_CHK): Define.
11126 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11127 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11128 mempcpy-ssse3-back memmove-ssse3-back.
11129 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11130 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11131 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11132 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11133 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11134 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11135 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11136 * sysdeps/x86_64/multiarch/memmove.c: New file.
11137 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11138 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11139 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11140 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11141 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11142 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11143 Define.
11144 (index_Fast_Copy_Backward): Define.
11145 (HAS_ARCH_FEATURE): Define.
11146 (HAS_FAST_REP_STRING): Define.
11147 (HAS_FAST_COPY_BACKWARD): Define.
11148
4e733bac 111492010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
11150
11151 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11152 Restore proper fallback handling.
11153
63c4ed22
UD
111542010-06-19 Ulrich Drepper <drepper@redhat.com>
11155
ac2b484c
UD
11156 [BZ #11701]
11157 * posix/group_member.c (__group_member): Correct checking loop.
11158
63c4ed22
UD
11159 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11160 OOM in getpwuid_r correctly. Return error number when the caller
11161 should return, otherwise -1.
11162 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11163 call returning > 0 value.
11164 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11165
765ade4b
AS
111662010-06-07 Andreas Schwab <schwab@redhat.com>
11167
11168 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11169 libc_nonshared.a from targets in modules-names.
11170
80da2e09
KS
111712010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11172
11173 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11174 requires it.
11175
158db122
LM
111762010-06-10 Luis Machado <luisgpm@br.ibm.com>
11177
11178 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11179 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11180 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11181 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11182
caa78cf8
AS
111832010-06-02 Andreas Schwab <schwab@redhat.com>
11184
11185 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11186
b2ef2c01
UD
111872010-06-14 Ulrich Drepper <drepper@redhat.com>
11188
11189 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11190 and F_GETPIPE_SZ.
11191 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11192 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11193 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11194 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11195 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11196 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11197
fbd643b6
RM
111982010-06-14 Roland McGrath <roland@redhat.com>
11199
11200 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11201
f32f2869
JJ
112022010-06-07 Jakub Jelinek <jakub@redhat.com>
11203
11204 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11205 __REDIRECT followed by __THROW.
11206 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11207 * posix/getopt.h (getopt): Likewise.
11208
2a50c078
EPM
112092010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11210
11211 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11212 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11213 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11214 in AT_FLAGS.
11215 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11216 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11217
eb5ad2eb
LM
112182010-05-28 Luis Machado <luisgpm@br.ibm.com>
11219
11220 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11221
3c88fe1e
L
112222010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11223
11224 [BZ #11640]
11225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11226 Properly check family and model.
11227
d2f73151
TY
112282010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11229
11230 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11231
ebd2e13d
LM
112322010-05-24 Luis Machado <luisgpm@br.ibm.com>
11233
11234 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11235
b32b8b45
UD
112362010-05-21 Ulrich Drepper <drepper@redhat.com>
11237
11238 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11239 symbol reference.
11240
9acbe24d
AS
112412010-05-19 Andreas Schwab <schwab@redhat.com>
11242
11243 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11244 symbol reference.
11245
f0ccf6ea
AS
112462010-05-21 Andreas Schwab <schwab@redhat.com>
11247
3d04ff3a
AS
11248 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11249 and internal_recvmmsg.
11250 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11251 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11252 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11253 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11254
f0ccf6ea
AS
11255 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11256 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11257 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11258
5b08ac57
AS
112592010-05-20 Andreas Schwab <schwab@redhat.com>
11260
11261 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11262
4828935d
LM
112632010-05-17 Luis Machado <luisgpm@br.ibm.com>
11264
11265 POWER7 optimizations.
11266 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11267 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11268
373d545e
UD
112692010-05-19 Ulrich Drepper <drepper@redhat.com>
11270
11271 * version.h: Update for 2.13 development version.
11272
21a2b1ae
AS
112732010-05-12 Andrew Stubbs <ams@codesourcery.com>
11274
11275 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11276 exceptions. Return 0.
11277
3f7dcb2b
RM
112782010-05-07 Roland McGrath <roland@redhat.com>
11279
11280 * elf/ldconfig.c (main): Add a const.
11281
5f24d53a 112822010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11283
a160f8d8
UD
11284 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11285 (args_options): Add no-idn option.
11286 (ahosts_keys_int): Add idn_flags to ai_flags.
11287 (parse_option): Handle 'i' option to clear idn_flags.
11288
5f24d53a
UD
11289 * malloc/malloc.c (_int_free): Possible race in the most recently
11290 added check. Only act on the data if no current modification
11291 happened.
265bb1ce
UD
11292
11293See ChangeLog.17 for earlier changes.