]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
[BZ #12340] Fix return code of the Hurd's ttyname_r.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
f402708f
KK
12012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2
3 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4 which ROUND is no valid rounding mode.
5
2ecccfc9
KK
62012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7
8 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9 read again.
10 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11
8a53f50f
KK
122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13
14 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15 an exception using FPU order intentionally.
16
172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18
19 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23
d653abb7
SJ
242012-04-05 Simon Josefsson <simon@josefsson.org>
25
26 [BZ #12340]
27 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28 EINVAL when BUFLEN is too smal.
29
c3b1bf7d
TS
302012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31
32 [BZ #13553]
33 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35
b1aa60f3
AJ
362012-04-03 Andreas Jaeger <aj@suse.de>
37
c3b1bf7d 38 [BZ #13938]
67f60a26
AJ
39 * manual/setjmp.texi (System V contexts): Fix sentence.
40
b1aa60f3
AJ
41 [BZ #13926]
42 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43 New macro for this case.
44 [!__GNUC__] (__bswap_64): New inline function for this case.
45 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46 * bits/byteswap.h: Likewise.
47 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
48 ull, guard with __GLIBC_HAVE_LONG_LONG.
49
50 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
51 __GLIBC_HAVE_LONG_LONG.
52
53 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
54 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
55
39c59c35
TMQMF
562012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
57
58 [BZ #13691]
59 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
60 inptr and inend, rather than using last_ch.
61
135ffda8
DM
622012-04-02 David S. Miller <davem@davemloft.net>
63
64 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
65 * stdio-common/printf-parse.h (read_int): Change return type to
66 'int', return -1 on INT_MAX overflow.
67 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
68 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
69 overflows INT_MAX. Check for overflow of in-format-string precision
70 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
71 SIZE_MAX not INT_MAX for integer overflow test.
72 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
73 skip the construct in the format string but do not record anything.
74 * stdio-common/bug22.c: Adjust to test both width/prevision
75 INT_MAX overflow as well as total length INT_MAX overflow. Check
76 explicitly for proper errno values.
77
228c019e
TS
782012-04-02 Thomas Schwinge <thomas@codesourcery.com>
79
302cadd3
TS
80 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
81 CHAR_MAX.
82 * string/test-strcmp.c [! WIDE]: Likewise.
83 * time/tst-mktime2.c: Likewise for INT_MAX.
84 * string/test-string.h: #include <sys/param.h> for MIN.
85
228c019e
TS
86 * csu/init-first.c (__libc_init_first): Call __ctype_init.
87 * sysdeps/i386/init-first.c (init): Likewise.
88 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
89 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
90 * sysdeps/sh/init-first.c (init): Likewise.
91
cfa633f5
UD
922012-04-01 Ulrich Drepper <drepper@gmail.com>
93
94 * po/ru.po: Update from translation team.
d1635ef8 95 * po/vi.po: Likewise.
cfa633f5 96
6cd0a5ea
SP
972012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
98
99 * resolv/nss_dns/dns-host.c: Merge copyright years.
100
4b43400f
LD
1012012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
102
103 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
104 Optimize memcpy with prefetch if
105 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
106 src, dst pointers have unequal 16 byte alignments.
107
48c41d04
SP
1082012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
109
110 [BZ #13928]
111 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
112 from a CNAME entry and return the minimum ttl for the query.
113 (gaih_getanswer_slice): Likewise.
114
b8dc394d
JL
1152012-03-30 Jeff Law <law@redhat.com>
116
117 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
118 due to long keys.
119 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
120 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
121
2f5a5ed0
JL
122 * resolv/nss_dns/dns-host.c: Update copyright year.
123
1d39e359
UD
1242012-03-30 Ulrich Drepper <drepper@gmail.com>
125
c030f70c 126 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 127 requests to save a system call. Fix check that all bytes are sent.
c030f70c 128
1d39e359
UD
129 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
130 comments for sendmmsg.
131
1322012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
133
134 [BZ #13691]
135 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
136 with only 1 character between 0x0041 and 0x01b0.
137 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
138 * wcsmbs/tst-mbsnrtowcs.c: New file.
139
20fde227
DM
1402012-03-29 David S. Miller <davem@davemloft.net>
141
142 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
143 small copies by hand.
144
984a4237
JL
1452012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
146
147 [BZ #13761]
148 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
149 _nss_compat_initgroups_dyn): Fall back to malloc/free
150 for large group memberships.
151
18c9d62b
DM
1522012-03-28 David S. Miller <davem@davemloft.net>
153
88d85d4f
DM
154 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
155 that branches into memcpy.
156 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
157 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
158 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
159 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
160 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
161 bits.
162 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
163 implementation too.
164 * sysdeps/sparc/mempcpy.S: New file.
165
e5aa83e1
DM
166 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
167 the IFUNC routine in the libc case.
168 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
169
88570753
DM
170 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
171 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
172 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
173 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
174 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
175 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
176 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
177 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
178
249d7567
DM
179 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
180 loop to 256 bytes instead of 64 bytes and fix test signedness.
181
18c9d62b
DM
182 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
183 * sysdeps/sparc/sparc32/Makefile: rather than here...
184 * sysdeps/sparc/sparc64/Makefile: and here.
185
05f3d1f6
UD
1862012-03-28 Ulrich Drepper <drepper@gmail.com>
187
188 * malloc/mallocbug.c: Avoid warnings about unused variables.
189
86ae07a8
JL
1902012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
191
192 [BZ #13760]
193 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
194 in the right place. Discard and retry query if response is
195 larger than input buffer size.
196
41bf21a1
JM
1972012-03-28 Joseph Myers <joseph@codesourcery.com>
198
d6270972
JM
199 [BZ #369]
200 [BZ #2678]
201 [BZ #3866]
202 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
203 x for large integer exponent.
204 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
205 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
206 sign of result as needed afterwards.
207 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
208 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
209 result for underflowing pow the same as for overflow.
210 (__kernel_standard_l): Handle powl overflow and underflow here
211 rather than calling __kernel_standard.
212 * math/libm-test.inc (pow_test): Add more tests.
213
414fca03 214 [BZ #3868]
41bf21a1
JM
215 [BZ #13879]
216 [BZ #13910]
217 [BZ #13911]
218 [BZ #13912]
219 [BZ #13913]
220 [BZ #13915]
221 [BZ #13916]
222 [BZ #13917]
223 [BZ #13918]
224 [BZ #13919]
225 [BZ #13920]
226 [BZ #13921]
227 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
228 * sysdeps/ieee754/k_standard.c: Include <float.h>.
229 (__kernel_standard_l): New function.
230 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
231 __kernel_standard.
232 * math/w_acosl.c (__acosl): Likewise.
233 * math/w_asinl.c (__asinl): Likewise.
234 * math/w_atan2l.c (__atan2l): Likewise.
235 * math/w_atanhl.c (__atanhl): Likewise.
236 * math/w_coshl.c (__coshl): Likewise.
237 * math/w_exp10l.c (__exp10l): Likewise.
238 * math/w_exp2l.c (__exp2l): Likewise.
239 * math/w_fmodl.c (__fmodl): Likewise.
240 * math/w_hypotl.c (__hypotl): Likewise.
241 * math/w_j0l.c (__j0l, __y0l): Likewise.
242 * math/w_j1l.c (__j1l, __y1l): Likewise.
243 * math/w_jnl.c (__jnl, __ynl): Likewise.
244 * math/w_lgammal.c (__lgammal): Likewise.
245 * math/w_log10l.c (__log10l): Likewise.
246 * math/w_log2l.c (__log2l): Likewise.
247 * math/w_logl.c (__logl): Likewise.
248 * math/w_powl.c (__powl): Likewise.
249 * math/w_remainderl.c (__remainderl): Likewise.
250 * math/w_scalbl.c (sysv_scalbl): Likewise.
251 * math/w_sinhl.c (__sinhl): Likewise.
252 * math/w_sqrtl.c (__sqrtl): Likewise.
253 * math/w_tgammal.c (__tgammal): Likewise.
254 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
255 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
256 * math/libm-test.inc (acos_test): Add more tests.
257 (acosh_test): Likewise.
258 (asin_test): Likewise.
259 (atanh_test): Likewise.
260 (exp_test): Likewise.
261 (exp10_test): Likewise.
262 (exp2_test): Likewise.
263 (expm1_test): Likewise.
264 (lgamma_test): Likewise.
265 (log_test): Likewise.
266 (log10_test): Likewise.
267 (log1p_test): Likewise.
268 (log2_test): Likewise.
269 (pow_test): Do not allow some spurious overflow exceptions.
270 (sqrt_test): Add more tests.
271 (tgamma_test): Likewise.
272 (y0_test): Likewise.
273 (y1_test): Likewise.
274 (yn_test): Likewise.
275
dd62fda6
AB
2762012-03-27 Anton Blanchard <anton@samba.org>
277
278 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
279 MAP_HUGETLB.
280 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
281 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
282 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
283
1e3cdfda
AJ
2842012-03-27 David S. Miller <davem@davemloft.net>
285
b855ab85
DM
286 * conform/Makefile: Run run-conformtest.sh using $(BASH).
287
1e3cdfda
AJ
288 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
289 have-as-vis3 check.
290
2912012-03-27 Andreas Jaeger <aj@suse.de>
292
293 * sysdeps/x86_64/elf/configure.in: Moved to ...
294 * sysdeps/x86_64/configure.in: ... here.
295 * sysdeps/x86_64/elf/start.S: Moved to ...
296 * sysdeps/x86_64/start.S: ... here.
297 * sysdeps/x86_64/elf/configure: Delete.
298
299 * sysdeps/x86_64/configure.in: Merge contents from
300 sysdeps/i386/configure.in (without i686 check).
301
302 * sysdeps/i386/elf/Versions: Merge into ...
303 * sysdeps/i386/Versions: ... this.
304 * sysdeps/i386/elf/Versions: Delete file.
305 * sysdeps/i386/elf/start.S: Moved to ...
306 * sysdeps/i386/start.S: ...here.
307 * sysdeps/i386/elf/configure.in: Merge into...
308 * sysdeps/i386/configure.in: ...here.
309 * sysdeps/i386/elf/configure.in: Delete file.
310 * sysdeps/i386/elf/configure: Delete file.
311
312 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
313 * debug/backtracesyms.c: ... here.
314 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
315 * debug/backtracesymsfd.c: ... here.
316 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
317 * sysdeps/generic/ifunc-sel.h: ... here.
318
319 * sysdeps/unix/i386/start.c: Delete file.
320 * sysdeps/unix/sparc/start.c: Delete file.
321 * sysdeps/unix/start.c: Delete file.
322
323 * sysdeps/sh/elf/configure.in: Moved to ...
324 * sysdeps/sh/configure.in: ... here.
325 * sysdeps/sh/elf/start.S: Moved to ...
326 * sysdeps/sh/start.S: ... here.
327 * sysdeps/sh/elf/configure: Delete file.
328
329 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
330 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
331 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
332 * sysdeps/powerpc/powerpc64/entry.h: ... here.
333 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
334 * sysdeps/powerpc/powerpc64/start.S: here.
335 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
336 * sysdeps/powerpc/powerpc64/Makefile: ... this.
337 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
338 * sysdeps/powerpc/powerpc64/configure.in: ... this.
339 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
340
341 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
342 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
343 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
344 * sysdeps/powerpc/powerpc32/start.S: ... here.
345 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
346 * sysdeps/powerpc/powerpc32/configure.in: ... this.
347 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
348
349 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
350 * sysdeps/powerpc/ifunc-sel.h: ... here.
351 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
352 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
353
354 * sysdeps/sparc/elf/configure.in: Moved to ...
355 * sysdeps/sparc/configure.in: ... here.
356 * sysdeps/sparc/elf/configure: Delete file.
357 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
358 * sysdeps/sparc/sparc32/start.S: ... here.
359 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
360 * sysdeps/sparc/sparc64/start.S: ... here.
361 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
362 * sysdeps/sparc/sparc32/Makefile: ... this.
363 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
364 * sysdeps/sparc/sparc64/Makefile: ... this.
365
366 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
367 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
368 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
369 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
370 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
371 * sysdeps/s390/s390-32/setjmp.S: ... here.
372 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
373 * sysdeps/s390/s390-32/configure.in: ... here.
374 * sysdeps/s390/s390-32/elf/configure: Delete file.
375 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
376 * sysdeps/s390/s390-32/start.S: ... here.
377
378 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
379 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
380 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
381 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
382 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
383 * sysdeps/s390/s390-64/setjmp.S: ... here.
384 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
385 * sysdeps/s390/s390-64/configure.in: ... here
386 * sysdeps/s390/s390-64/elf/configure: Delete file.
387 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
388 * sysdeps/s390/s390-64/start.S: ... here.
389 * sysdeps/s390/s390-64/elf/configure: Delete.
390
391 * configure.in: Remove support for elf directories in sysdeps.
392
393 * configure: Regenerated.
394 * sysdeps/i386/configure: Regenerated.
395 * sysdeps/powerpc/powerpc32/configure: Regenerated.
396 * sysdeps/powerpc/powerpc64/configure: Regenerated.
397 * sysdeps/s390/s390-32/configure: Regenerated.
398 * sysdeps/s390/s390-64/configure: Regenerated.
399 * sysdeps/sh/configure: Regenerated.
400 * sysdeps/sparc/configure: Regenerated.
401 * sysdeps/x86_64/configure: Regenerated.
402
a3f61311
AS
4032012-03-26 Andreas Schwab <schwab@linux-m68k.org>
404
c876e002
AS
405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
406
a3f61311
AS
407 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
408 denormal result into account.
409
ac4c54f0
RM
4102012-03-25 Roland McGrath <roland@hack.frob.com>
411
412 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
413 Reported by Allan McRae <allan@archlinux.org>.
414
6a9b9c02
JL
4152012-03-23 Jeff Law <law@redhat.com>
416
417 * nss/getnssent.c (__nss_getent): Fix typo.
418
4c42a0c1
DM
4192012-03-23 David S. Miller <davem@davemloft.net>
420
421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
422
1532c7ac
L
4232012-03-23 H.J. Lu <hongjiu.lu@intel.com>
424
425 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
426 to pad to uint64_t for each field.
427 (dl_tls_index): Replace unsigned long with uint64_t.
428
3ff42526
PP
4292012-03-23 Daniel Jacobowitz <dmj@google.com>
430 Paul Pluzhnikov <ppluzhnikov@google.com>
431
432 [BZ #6528]
433 * grp/Makefile (otherlibs): Don't set it.
434 * inet/Makefile (otherlibs): Likewise.
435 * login/Makefile (otherlibs): Likewise.
436 * nscd/Makefile (otherlibs): Likewise.
437 * posix/Makefile (otherlibs): Likewise.
438 * pwd/Makefile (otherlibs): Likewise.
439 * rt/Makefile (otherlibs): Likewise.
440 * sunrpc/Makefile (otherlibs): Likewise.
441 * nss/Makefile (otherlibs): Likewise.
442 Add libnss_files to routines and static-only-routines.
443 ($(objpfx)getent): Remove rule.
444 * resolv/Makefile: Add libnss_dns and libresolv to routines and
445 static-only-routines.
446
7c69cd14
JM
4472012-03-22 Joseph Myers <joseph@codesourcery.com>
448
449 [BZ #13892]
450 * math/s_cexp.c: Include <float.h>.
451 (__cexp): Handle exp result overflowing not necessarily
452 overflowing both real and imaginary parts of result.
453 * math/s_cexpf.c: Likewise.
454 * math/s_cexpl.c: Likewise.
455 * math/libm-test.inc (cexp_test): Add more tests.
456 * sysdeps/i386/fpu/libm-test-ulps: Update.
457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
458
81b035fe
L
4592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
460
461 * include/link.h (ELFW): New macro.
462 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
463 Replace ELF64_R_TYPE with ELFW(R_TYPE).
464
1da7940c
L
4652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
466
467 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
468 with uint64_t.
469
b749dbb9
L
4702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
471
472 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
473 declaration.
474 (struct La_x32_retval): Likewise.
475
2ff87f3f
L
4762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
477
478 * sysdeps/x86_64/preconfigure.in: New file.
479 * sysdeps/x86_64/preconfigure: New generated file.
480
c0df8e69
JM
4812012-03-22 Joseph Myers <joseph@codesourcery.com>
482
48e44791
JM
483 [BZ #13824]
484 * math/e_exp2l.c: Include <float.h>.
485 (__ieee754_exp2l): Handle overflow and underflow cases
486 separately. Only pass fractional part of argument to
487 __ieee754_expl.
488 * math/libm-test.inc (exp2_test): Add more tests.
489
c0df8e69
JM
490 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
491 negating x to take absolute value.
492 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
493 Likewise.
494 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
495 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
496 Likewise.
497 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
498 computing low part if x was negated.
499 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
500
c8e43ba7
L
5012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
502
503 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
504 la_x32_gnu_pltexit.
505 (pltexit): Cast int_retval to ptrdiff_t.
506 * elf/tst-auditmod3b.c: Likewise.
507 * elf/tst-auditmod4b.c: Likewise.
508 * elf/tst-auditmod5b.c: Likewise.
509 * elf/tst-auditmod6b.c: Likewise.
510 * elf/tst-auditmod6c.c: Likewise.
511 * elf/tst-auditmod7b.c: Likewise.
512
513 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
514 and x32_gnu_pltexit.
515
516 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
517 __ELF_NATIVE_CLASS.
518 (La_x32_regs): New macro.
519 (La_x32_retval): Likewise.
520 (la_x32_gnu_pltenter): New function prototype.
521 (la_x32_gnu_pltexit): Likewise.
522
7998fa78
AS
5232012-03-21 Andreas Schwab <schwab@linux-m68k.org>
524
dcb33988
AS
525 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
526 exponent.
527
233fc563
AS
528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
529
7998fa78
AS
530 * configure.in (libc_cv_cc_nofma): Check for option to disable
531 generation of FMA instructions.
532 * configure: Regenerate.
533 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
534 * sysdeps/ieee754/dbl-64/Makefile: New file.
535 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
536 Remove brandred-fma4.
537 (CFLAGS-brandred-fma4.c): Remove.
538 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
539 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
540 define.
541 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
542 define.
543
8e95c99a
L
5442012-03-21 H.J. Lu <hongjiu.lu@intel.com>
545
546 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
547 LLONG_MAX != LONG_MAX.
548 (_itoa_word): Use _ITOA_WORD_TYPE on value.
549 (_fitoa_word): Likewise.
550 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
551 LLONG_MAX != LONG_MAX.
552 * stdio-common/_itowa.h: Include <_itoa.h>.
553 (_itowa_word): Use _ITOA_WORD_TYPE on value.
554 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
555 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
556 only if not defined.
557 (_ITOA_WORD_TYPE): Likewise.
558 (_itoa_word): Use _ITOA_WORD_TYPE on value.
559 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
560
6f4db457
DM
5612012-03-21 David S. Miller <davem@davemloft.net>
562
563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
564
7785fe5a
L
5652012-03-21 H.J. Lu <hongjiu.lu@intel.com>
566
567 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
568 of x86_64 when setting libc_cv_slibdir, libdir and
569 libc_cv_localedir.
570 * sysdeps/unix/sysv/linux/configure: Regenerated.
571
4535cd55
JM
5722012-03-21 Joseph Myers <joseph@codesourcery.com>
573
574 * manual/lang.texi (Old Varargs): Remove section.
575 (How Variadic): Update menu.
576 (va_start): Do not mention varargs.h.
577
17228132
TS
5782012-03-21 Thomas Schwinge <thomas@codesourcery.com>
579 Joseph Myers <joseph@codesourcery.com>
580
581 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
582 link test.
583 * configure: Regenerated.
584
8149f976
TS
5852012-03-21 Thomas Schwinge <thomas@codesourcery.com>
586
05f3d1f6
UD
587 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
588 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
589 conformtest.pl
8149f976 590
1a4ac776
JM
5912012-03-21 Joseph Myers <joseph@codesourcery.com>
592
be22ce65
JM
593 * NOTES: Remove.
594 * Makefile (files-for-dist): Remove NOTES.
595 (NOTES): Remove rule.
596 * README: Don't refer to NOTES.
597 * manual/creature.texi: Don't include macros.texi.
598 * manual/intro.texi (creature.texi): Remove comment referring to
599 NOTES.
600
40b601fb
JM
601 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
602 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
603 * configure: Regenerated.
604 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
605 LIBC_TRY_CC_OPTION.
606 (libc_cv_as_i686): Likewise.
607 (libc_cv_cc_avx): Likewise.
608 (libc_cv_cc_sse2avx): Likewise.
609 (libc_cv_cc_fma4): Likewise.
610 (libc_cv_cc_novzeroupper): Likewise.
611 * sysdeps/i386/configure: Regenerated.
612
1a4ac776
JM
613 [BZ #13883]
614 * sysdeps/i386/fpu/s_cexp.S: Remove.
615 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
616 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
617 * math/libm-test.inc (cexp_test): Add more tests.
618 * sysdeps/i386/fpu/libm-test-ulps: Update.
619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
620
a458e7fe
AM
6212012-03-21 Allan McRae <allan@archlinux.org>
622
623 * timezone/Makefile: Do not install iso3166.tab and zone.tab
624
0cb7efc5
JM
6252012-03-21 Joseph Myers <joseph@codesourcery.com>
626
627 [BZ #13871]
628 * math/w_exp2.c: Do not include <float.h>.
629 (o_threshold, u_threshold): Remove.
630 (__exp2): Calculate result before checking finiteness and calling
631 __kernel_standard.
632 * math/w_exp2f.c: Likewise.
633 * math/w_exp2l.c: Likewise.
634 * math/libm-test.inc (exp2_test): Require overflow exception for
635 1e6 input.
2460d3aa
JM
636
637 [BZ #3866]
638 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
639 range of signed 64-bit integers before using fistpll. Remove
640 checks for whether integers fit in mantissa bits.
641 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
642 the range of signed 32-bit integers before using fistpl. Remove
643 checks for whether integers fit in mantissa bits.
644 * sysdeps/i386/fpu/e_powl.S (p64): New object.
645 (__ieee754_powl): Test for y outside the range of signed 64-bit
646 integers before using fistpll. Reduce 64-bit values to 63-bit
647 ones as needed.
648 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
649 divide-by-zero is raised for zero to large negative powers.
650 * sysdeps/x86_64/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 * math/libm-test.inc (pow_test): Add more tests.
655
eb96ffb0
L
6562012-03-20 H.J. Lu <hongjiu.lu@intel.com>
657
658 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
659 <stdio-common/_itoa.h>.
660 * debug/segfault.c: Likewise.
661 * elf/dl-cache.c: Likewise.
662 * elf/dl-minimal.c: Likewise.
663 * elf/dl-misc.c: Likewise.
664 * elf/dl-sysdep.c: Likewise.
665 * elf/dl-version.c: Likewise.
666 * elf/rtld.c: Likewise.
667 * hurd/hurdsock.c: Likewise.
668 * hurd/lookup-retry.c: Likewise.
669 * malloc/malloc.c: Likewise.
670 * malloc/mtrace.c: Likewise.
671 * nscd/nscd_getgr_r.c: Likewise.
672 * nscd/nscd_getpw_r.c: Likewise.
673 * nscd/nscd_getserv_r.c: Likewise.
674 * posix/getopt_init.c: Likewise.
675 * posix/wordexp.c: Likewise.
676 * stdio-common/_itoa.c: Likewise.
677 * stdio-common/printf_fphex.c: Likewise.
678 * stdio-common/vfprintf.c: Likewise.
679 * string/_strerror.c: Likewise.
680 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
681 * sysdeps/i386/i686/hp-timing.h: Likewise.
682 * sysdeps/mach/_strerror.c: Likewise.
683 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
684 * sysdeps/mach/hurd/sethostid.c: Likewise.
685 * sysdeps/mach/hurd/xmknodat.c: Likewise.
686 * sysdeps/mach/xpg-strerror.c: Likewise.
687 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
688 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
689 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
690 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
691 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
692 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
693 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
694 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
695 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
696 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
697 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
698 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
699 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
700 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
701 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
702 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
703 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
704 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
705 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
706 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
707 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
708
709 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
710
711 * stdio-common/_itoa.h: Moved to ...
712 * sysdeps/generic/_itoa.h: Here.
713
714 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
715
716 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
717 instead of "_itoa.h" and "_itowa.h".
718 * stdio-common/vfprintf.: Likewise.
719
d1af992d
L
7202012-03-20 H.J. Lu <hongjiu.lu@intel.com>
721
722 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
723 <bits/wordsize.h>.
724 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
725 (__signbit): Likwise.
726 (llrintf): Likwise.
727 (llrint): Likwise.
728
114883e0
L
7292012-03-20 H.J. Lu <hongjiu.lu@intel.com>
730
731 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
732 __WORDSIZE != 64.
733
c135cc1b
JM
7342012-03-20 Joseph Myers <joseph@codesourcery.com>
735
736 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
737 OVERFLOW_EXCEPTION_OK.
738 * math/libm-test.inc ("Philosophy"): Update comment about
739 exception testing.
740 (OVERFLOW_EXCEPTION): Define.
741 (OVERFLOW_EXCEPTION_OK): Likewise.
742 (INVALID_EXCEPTION_OK): Renumber.
743 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
744 (IGNORE_ZERO_INF_SIGN): Likewise.
745 (test_exceptions): Handle FE_OVERFLOW.
746 (exp10_test): Expect overflow exceptions.
747 (exp2_test): Likewise.
748 (expm1_test): Likewise.
749 (nextafter_test): Likewise.
750 (pow_test): Likewise.
751 (scalbn_test): Likewise.
752 (scalbln_test): Likewise.
753
95443d88
L
7542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
755
756 * sysdeps/x86_64/bits/atomic.h
757 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
758 64bit integer.
759 (atomic_exchange_acq): Likewise.
760 (__arch_exchange_and_add_body): Likewise.
761 (__arch_add_body): Likewise.
762 (atomic_add_negative): Likewise.
763 (atomic_add_zero): Likewise.
764
490df6c4
L
7652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
766
c2722551 767 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
768 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
769
5e52b189
L
7702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
771
772 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
773 Check __x86_64__ instead of __WORDSIZE.
774
a9879d4c
L
7752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
776
777 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
778
5df98260
DM
7792012-03-19 David S. Miller <davem@davemloft.net>
780
e1497744
DM
781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
782
5df98260
DM
783 * sysdeps/sparc/fpu/fenv_private.h: New file.
784 * sysdeps/sparc/fpu/math_private.h: Use it.
785 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
786 Remove.
787 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
788 (libc_feholdexcept_setroundl): Remove.
789 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
790 Remove.
791 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
792 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
793
b4c35121
L
7942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
795
796 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
797 int64_t instead of long int.
798 (INSERT_WORDS64): Likwise.
799
56965fd7
L
8002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
801
802 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
803 _Unwind_GetCFA return to _Unwind_Ptr first.
804
83d1aec8
JM
8052012-03-19 Joseph Myers <joseph@codesourcery.com>
806
1897ad44
JM
807 [BZ #13629]
808 * math/s_clog.c: Include <float.h>.
809 (__clog): Scale large or subnormal inputs.
810 * math/s_clogf.c: Likewise.
811 * math/s_clogl.c: Likewise.
812 * math/s_clog10.c: Include <float.h>.
813 (M_LOG10_2): Define.
814 (__clog10): Scale large or subnormal inputs.
815 * math/s_clog10f.c: Likewise.
816 * math/s_clog10l.c: Likewise.
817 * math/libm-test.inc (clog_test): Add more tests.
818 (clog10_test): Likewise.
819 * sysdeps/i386/fpu/libm-test-ulps: Update.
820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
821
7726d6a9
JM
822 [BZ #11451]
823 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
824 x and y.
825 * math/libm-test.inc (atan2_test): Add another test.
826
83d1aec8
JM
827 * Makerules (common-objdir-compile): Remove.
828 * sysdeps/unix/Makefile (config-generated): Do not add
829 $(unix-generated) to variable.
830 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
831 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
832 Remove rule.
833 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
834 Likewise.
835 [generic bits/local_lim.h] (before-compile): Do not append to
836 variable.
837 [generic bits/local_lim.h] (common-generated): Likewise.
838 [generic sys/param.h] (before-compile): Do not append to variable.
839 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
840 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
841 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
842 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
843 include.
844 [generic sys/param.h] (sys/param.h-includes): Remove variable.
845 [generic sys/param.h] (sys/param.h-includes): Remove rule.
846 [generic sys/param.h] ($(addprefix
847 $(common-objpfx),$(sys/param.h-includes))): Likewise.
848 [generic sys/param.h] (common-generated): Do not append to
849 variable.
850 [generic sys/param.h] (sysdep_headers): Likewise.
851 [generic bits/errno.h] (before-compile): Do not append to
852 variable.
853 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
854 rule.
855 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
856 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
857 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
858 [generic bits/errno.h] (common-generated): Do not append to
859 variable.
860 [generic bits/ioctls.h] (before-compile): Do not append to
861 variable.
862 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
863 rule.
864 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
865 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
866 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
867 rule.
868 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
869 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
870 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
871 [generic bits/ioctls.h] (common-generated): Do not append to
872 variable.
873 [generic sys/syscall.h] (syscall.h): Remove variable.
874 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
875 rule.
876 [generic sys/syscall.h] (before-compile): Do not append to
877 variable.
878 [generic sys/syscall.h] (common-generated): Likewise.
879 * sysdeps/unix/errnos-tmpl.c: Remove file.
880 * sysdeps/unix/errnos.awk: Likewise.
881 * sysdeps/unix/ioctls-tmpl.c: Likewise.
882 * sysdeps/unix/ioctls.awk: Likewise.
883 * sysdeps/unix/mk-local_lim.c: Likewise.
884 * sysdeps/unix/snarf-ioctls: Likewise.
885
4851a949
RH
8862012-03-19 Richard Henderson <rth@twiddle.net>
887
bd37f2ee
RH
888 * sysdeps/i386/fpu/fenv_private.h: New file.
889 * sysdeps/i386/fpu/math_private.h: Use it.
890 (math_opt_barrier, math_force_eval): Remove.
891 (libc_feholdexcept_setround_53bit): Remove.
892 (libc_feupdateenv_53bit): Remove.
893 * sysdeps/x86_64/fpu/math_private.h: Likewise.
894 (math_opt_barrier, math_force_eval): Remove.
895 (libc_feholdexcept): Remove.
896 (libc_feholdexcept_setround): Remove.
897 (libc_fetestexcept, libc_fesetenv): Remove.
898 (libc_feupdateenv_test): Remove.
899 (libc_feupdateenv, libc_feholdsetround): Remove.
900 (libc_feresetround): Remove.
901
d0adc922
RH
902 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
903 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
904
0fe0f1f8
RH
905 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
906 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
907 (libc_feupdateenv_testl): New.
908 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
909 (libc_feupdateenv_testf): New.
910 (libc_feupdateenv): Use libc_feupdateenv_test.
911 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
912 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
913
eb92c487
RH
914 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
915 (libc_feholdsetroundf, libc_feholdsetroundl): New.
916 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
917 (libc_feresetround_noex): New.
918 (libc_feresetround_noexf): New.
919 (libc_feresetround_noexl): New.
920 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
921 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
922 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
923 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
924 SET_RESTORE_ROUND.
925 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
926 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
927 (__cos): Likewise.
928 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
929 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
930 SET_RESTORE_ROUND_NOEX.
931 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
932 SET_RESTORE_ROUND_NOEXF.
933 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
934 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
935 (libc_feholdsetroundf): New.
936 (libc_feresetround, libc_feresetroundf): New.
937
7d2e8012
RH
938 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
939 (libc_feholdexcept_setround_53bit): Convert from macro to function.
940 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
941
b4dabbb4
RH
942 * sysdeps/generic/math_private.h: Include <fenv.h>.
943 (default_libc_feholdexcept): New.
944 (default_libc_feholdexcept_setround): New.
945 (default_libc_fesetenv, default_libc_feupdateenv): New.
946 (libc_feholdexcept): Only define if undefined.
947 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
948 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
949 (libc_feholdexcept_setroundl): Likewise.
950 (libc_feholdexcept_setround_53bit): Likewise.
951 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
952 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
953 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
954 (libc_feupdateenv_53bit): Likewise.
955 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
956 (libc_feholdexcept): Convert from macro to inline function.
957 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
958 (libc_fesetenv, libc_feupdateenv): Likewise.
959
4851a949
RH
960 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
961 not previously defined.
962 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
963 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
964 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
965 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
966 * sysdeps/ieee754/flt-32/math_private.h: New file.
967 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
968 math_private.h below SET_FLOAT_WORD.
969 (__isnan, __isinf_ns, __finite): Remove.
970 (__isnanf, __isinf_nsf, __finitef): Remove.
971
e79d442e
AS
9722012-03-18 Andreas Schwab <schwab@linux-m68k.org>
973
974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
975
90b80344
DM
9762012-03-17 David S. Miller <davem@davemloft.net>
977
978 [BZ #6471]
979 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
980 for 2.16.
981
edc21804
DM
9822012-03-16 David S. Miller <davem@davemloft.net>
983
77e927af
DM
984 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
985 warnings.
986
374976dd
DM
987 [BZ #6471]
988 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
989 properly.
990 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
991 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
992 sysdep_routines when subdir is sysvipc.
993 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
994 __getshmlba helper.
995
edc21804
DM
996 * sysdeps/sparc/fpu/libm-test/ulps: Update.
997
473c3ef3
L
9982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
999
1000 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1001 [__LP64__].
1002
eb0f39b6
L
10032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1004
1005 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1006 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1007 (__lround): Renamed to ...
1008 (__llround): This. Replace long int with long long int.
1009 Define lround functions as aliases of llround functions.
1010 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1011
6b6cd74b
L
10122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1013
1014 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1015 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1016 adresses to uintptr_t. Replace "long int" and "unsigned long
1017 int" with "greg_t" on va_arg.
1018
f1a77b01
L
10192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1020
1021 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1022 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1023
1024 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1025 Move e_machine check before EI_CLASS check. Handle x32
1026 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1027 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1028 SKIP_EM_IA_64 and include
1029 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1030
1031 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1032 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1033 (add_system_dir): New macro.
1034
1035 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1036 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1037
11b90b9f
JM
10382012-03-16 Joseph Myers <joseph@codesourcery.com>
1039
c36e1d23
JM
1040 [BZ #2551]
1041 [BZ #2552]
1042 [BZ #2553]
1043 [BZ #2554]
1044 [BZ #2562]
1045 [BZ #2563]
1046 [BZ #2565]
1047 [BZ #2566]
1048 [BZ #2576]
1049 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1050 (y0): Likewise.
1051 * math/w_j0f.c (j0f): Likewise.
1052 (y0f): Likewise.
1053 * math/w_j0l.c (__j0l): Likewise.
1054 (__y0l): Likewise.
1055 * math/w_j1.c (j1): Likewise.
1056 (y1): Likewise.
1057 * math/w_j1f.c (j1f): Likewise.
1058 (y1f): Likewise.
1059 * math/w_j1l.c (__j1l): Likewise.
1060 (__y1l): Likewise.
1061 * math/w_jn.c (jn): Likewise.
1062 (yn): Likewise.
1063 * math/w_jnf.c (jnf): Likewise.
1064 (ynf): Likewise.
1065 * math/w_jnl.c (__jnl): Likewise.
1066 (__ynl): Likewise.
1067 * math/libm-test.inc (j0_test): Add more tests.
1068 (j1_test): Likewise.
1069 (jn_test): Likewise. Add trailing semicolon to existing test.
1070 (y0_test): Likewise.
1071 (y1_test): Likewise.
1072 * sysdeps/i386/fpu/libm-test-ulps: Update.
1073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1074
11b90b9f
JM
1075 [BZ #13851]
1076 [BZ #13854]
1077 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1078 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1079 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1080 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1081 (__tanl): Set errno for infinite argument.
1082 * sysdeps/i386/fpu/mptan.c: Remove.
1083 * sysdeps/i386/fpu/s_tan.S: Likewise.
1084 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1085 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1086 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1087 * math/libm-test.inc (tan_test): Add more tests and enable more
1088 tests for double and long double.
1089 * sysdeps/i386/fpu/libm-test-ulps: Update.
1090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1091
6a1bd2a1
JK
10922012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1093
1094 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1095 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1096
10a803e0
RM
10972012-03-16 Roland McGrath <roland@hack.frob.com>
1098
1099 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1100 * configure.in: Use it for both main tree and add-ons.
1101 * configure: Regenerated.
1102
f196c7f7
L
11032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1104
1105 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1106
8848d99d
JM
11072012-03-16 Joseph Myers <joseph@codesourcery.com>
1108
96cbe7f4
JM
1109 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1110 in comment.
1111
8848d99d
JM
1112 [BZ #13851]
1113 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1114 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1115 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1116 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1117 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1118 infinite argument.
1119 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1120 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1121 != 0 for prec == 2.
1122 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1123 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1124 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1125 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1126 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1127 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1128 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1129 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1130 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1131 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1132 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1133 * math/libm-test.inc (cos_test): Add more tests and enable more
1134 tests for long double.
1135 (sin_test): Likewise.
1136 (sincos_test): Likewise.
1137 * sysdeps/i386/fpu/libm-test-ulps: Update.
1138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1139
dd7f4703
DM
11402012-03-16 David S. Miller <davem@davemloft.net>
1141
1142 * sysdeps/sparc/fpu/math_private.h: New file.
1143
006f1daa
DM
11442012-03-15 David S. Miller <davem@davemloft.net>
1145
c0c83bc8
DM
1146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1147 file.
e6a62e18 1148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
1149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1150 file.
e6a62e18
DM
1151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1156 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1157 sysdep routines.
1158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1159
88cb87d9
DM
1160 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1161 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1162
006f1daa 1163 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
1164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1165 sparc-ifunc.h
006f1daa 1166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
1167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1168 Likewise.
1169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1170 Likewise.
006f1daa
DM
1171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
1174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1175 Likewise.
006f1daa
DM
1176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
1180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1181 Likewise.
1182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1183 Likewise.
006f1daa
DM
1184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1188 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1189 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1190 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1191 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1192 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1193 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1195 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1196 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1197 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1198 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1199 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1200 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1201 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1202 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1203 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1204 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1205 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1206 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1207 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1208
11e0098e
AS
12092012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1210
1211 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1212 scaling.
1213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1214
e85b09d0
AJ
12152012-03-15 Andreas Jaeger <aj@suse.de>
1216
1217 [BZ #13852]
1218 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1219 ieee754/flt-32 implementation for sin, cos and sincos.
1220 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1221 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1222 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1223 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1224 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1225 ieee754/flt-32 implementation for tan.
1226
1227 * math/libm-test.inc (cos_test): Enable some large input tests for
1228 float as well
1229 (sin_test): Likewise.
1230 (sincos_test): Likewise.
1231 (tan_test): Add tests for large input.
1232
1233 * sysdeps/i386/fpu/libm-test-ulps: Update.
1234
81c64153
AJ
12352012-03-15 Andreas Jaeger <aj@suse.de>
1236
1237 [BZ #13658]
1238 * math/libm-test.inc (cos_test): Add more test cases.
1239 (sin_test): Likewise.
1240 (sincos_test): Likewise.
1241
7bbfa5c6
AJ
12422012-03-15 Andreas Jaeger <aj@suse.de>
1243
1244 [BZ #13837]
1245 * math/libm-test.inc (cos_test): Add a test case for large input
1246 value.
1247 (sin_test): Likewise.
1248 (sincos_test): Likewise.
1249
12502012-03-15 Andreas Jaeger <aj@suse.de>,
1251 Joseph Myers <joseph@codesourcery.com>
1252
1253 [BZ #13658]
0671f479 1254 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1255 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1256 * sysdeps/i386/fpu/branred.c: Likewise.
1257 * sysdeps/i386/fpu/dosincos.c: Likewise.
1258 * sysdeps/i386/fpu/mpa.c: Likewise.
1259 * sysdeps/i386/fpu/s_cos.S: Likewise.
1260 * sysdeps/i386/fpu/s_sin.S: Likewise.
1261 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1262 * sysdeps/i386/fpu/sincos32.c: Likewise.
1263
1264 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1265 Define.
1266 (libc_feupdateenv_53bit): Define.
1267 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1268 Define.
1269 (libc_feupdateenv_53bit): Define.
1270
1271 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1272 53 bit (without extend i386 double precision).
1273
1274 * math/libm-test.inc (sincos_test): Add tests for large input.
1275 (sin): Likewise.
1276 (cos): Likewise.
1277
1278 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1279
9cad04ea
AS
12802012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1281
1282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1283
f7062b9a
DM
12842012-03-15 David S. Miller <davem@davemloft.net>
1285
1286 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1287 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1288 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1289 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1294 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1295 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1296 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1298 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1302 file.
f7062b9a 1303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1305 file.
f7062b9a 1306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1308 file.
f7062b9a 1309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1311 file.
f7062b9a
DM
1312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1313 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1314 fmin/fmax sysdep routines.
1315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1316
7bd951ff
DM
13172012-03-14 David S. Miller <davem@davemloft.net>
1318
559398ab
DM
1319 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1320 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1321 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1322 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1323 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1324 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1325 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1326 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1327 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1328 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1329 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1330 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1331 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1332 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1333 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1334 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1335 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1336 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1337 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1338 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1339 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1340 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1341 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1342 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1343 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1344 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1345 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1346 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1347 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1348 routines.
1349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1350 file.
559398ab 1351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
1352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1353 file.
559398ab 1354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
1355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1356 file.
559398ab 1357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
1358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1359 file.
559398ab 1360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
1361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1362 file.
559398ab 1363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
1364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1365 file.
1366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1367 file.
1368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1369 file.
1370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1371 file.
1372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1373 New file.
1374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1375 file.
1376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1377 file.
559398ab 1378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
1379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1380 file.
559398ab 1381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1383 file.
559398ab 1384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
1385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1386 file.
559398ab 1387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
1388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1389 VIS3 routines.
559398ab
DM
1390
1391 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1392 New file.
1393
5a1c1e32
DM
1394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1395
eae47a36
DM
1396 * sysdeps/sparc/configure.in: New file.
1397 * sysdeps/sparc/configure: Generate.
1398 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1399 * configure: Regenerate.
1400 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1401 * config.make.in (have-as-vis3): New.
1402 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1403 available use -Av9d instead of -Av9a.
1404 * sysdeps/sparc/sparc64/Makefile: Likewise.
1405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
1406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1407 New file.
1408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1409 file.
1410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1411 New file.
1412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1413 file.
eae47a36
DM
1414 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1415 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1416 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1417 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1418 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1419
c0c83bc8
DM
1420 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1421 fzeros/fnegs to load 0x80000000 into a float register instead of
1422 using the stack.
7bd951ff
DM
1423 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1424
bd951ccb
JM
14252012-03-14 Joseph Myers <joseph@codesourcery.com>
1426
1427 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1428 bits/syscall.h.
1429 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1430 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1431 ($(inst_includedir)/bits/syscall.h): Remove rule.
1432 ($(objpfx)bits/syscall.d): Include instead of
1433 $(objpfx)syscall-list.d.
1434 (generated): Change syscall-list.h and syscall-list.d to
1435 bits/syscall.h and bits/syscall.d.
1436
bb4e6db2
RM
14372012-03-14 Roland McGrath <roland@hack.frob.com>
1438
1439 [BZ #13846]
1440 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1441
aa4a2ae1
JM
14422012-03-14 Joseph Myers <joseph@codesourcery.com>
1443
e456826d
JM
1444 [BZ #13841]
1445 * math/s_csqrt.c: Include <float.h>.
1446 (__csqrt): Scale large or subnormal inputs.
1447 * math/s_csqrtf.c: Likewise.
1448 * math/s_csqrtl.c: Likewise.
1449 * math/libm-test.inc (csqrt_test): Add more tests.
1450 * sysdeps/i386/fpu/libm-test-ulps: Update.
1451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1452
aa4a2ae1
JM
1453 [BZ #13840]
1454 * math/libm-test.inc (hypot_test): Add more tests.
1455
7c10fd35
DM
14562012-03-13 David S. Miller <davem@davemloft.net>
1457
1458 [BZ #13840]
1459 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1460 double-precision for the calculation instead of scaling.
1461
f453b98b
JM
14622012-03-13 Joseph Myers <joseph@codesourcery.com>
1463
1464 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1465 manipulate bits before adding and subtracting TWO52[sx].
1466 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1467 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1468 Likewise.
1469 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1470
09a3453f
DM
14712012-03-13 David S. Miller <davem@davemloft.net>
1472
8e59da90
DM
1473 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1474 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1475 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1476 rtld-global-offsets.h
1477 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1478
2a8ab7f2
DM
1479 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1480 large parameters.
1481
10f62770
DM
1482 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1483
5f0bdb18
DM
1484 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1485 'err' in the ifdef scope in which it is actually used.
1486
09a3453f
DM
1487 * nss/nss_db/db-init.c: Include string.h
1488
b4b2eb5e
DM
14892012-03-12 David S. Miller <davem@davemloft.net>
1490
98bb2f1c
DM
1491 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1492 masking out of the most significant byte of random value used.
1493 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1494 Fix coding style in previous change.
1495
b4b2eb5e
DM
1496 * sysdeps/unix/sysv/linux/kernel-features.h
1497 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1498 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1499 expression.
1500 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1501 later.
1502
6e226b09
DM
15032012-03-11 David S. Miller <davem@davemloft.net>
1504
a1bcbd40
DM
1505 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1506 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1507 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1508 for 'resultvar' otherwise things get truncated on 64-bit.
1509
cb9d6174
DM
1510 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1511 Fix masking out of the most significant byte of random value used.
1512
6e226b09
DM
1513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1514
058c132d
AS
15152012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1516
1517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1518
2d2cd515
DM
15192012-03-09 David S. Miller <davem@davemloft.net>
1520
1521 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1522 variables with appropriate CPP guards.
1523 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1524 frame pointer, not the stack pointer. Correct layout comments. Fix test
1525 on resulting framesize and the management of the outregs buffer for pltexit.
1526 Preserve floating point return values across _dl_call_pltexit call.
1527 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1528 framesize and the management of the outregs buffer for pltexit.
1529 Preserve floating point return values across _dl_call_pltexit
1530 call.
1531 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1532 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1533 (print_exit): Fix format string for return register value.
1534
9a07f9d0
JM
15352012-03-10 Joseph Myers <joseph@codesourcery.com>
1536
1537 * sunrpc/Makefile (others): Add rpcgen.
1538 ($(objpfx)rpcgen): Remove special build rule and dependency on
1539 libc.
1540 * sunrpc/rpcgen.c: New file.
1541
547b5e30
PE
15422012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1543
c524201a
PE
1544 [BZ #13673]
1545 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1546 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1547 * sysdeps/i386/crti.S: Likewise.
1548 * sysdeps/i386/crtn.S: Likewise.
1549 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1550 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1551 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1552 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1553 * sysdeps/sh/crti.S: Likewise.
1554 * sysdeps/sh/crtn.S: Likewise.
1555 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1556
7b6235f2
PE
1557 [BZ #13673]
1558 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1559 with URL.
1560 * locale/programs/locfile-kw.gperf: Likewise.
1561 * locale/programs/charmap-kw.h: Regenerated.
1562 * locale/programs/locfile-kw.h: Likewise.
1563
547b5e30
PE
1564 [BZ #13673]
1565 * intl/plural.y: Replace FSF snail mail address with URL.
1566 * intl/plural.c: Regenerated.
1567
5f0a5dae
RH
15682012-03-09 Richard Henderson <rth@twiddle.net>
1569
1570 * include/math_private.h: Remove file.
1571 * math/math_private.h: Move file ...
1572 * sysdeps/generic/math_private.h: ... here.
1573
b8c03620
RH
1574 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1575 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1576 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1577
4e234f5d 1578 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
1579 and <math_private.h>.
1580 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1581 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1582 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1583 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1584 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1585 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1586 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1587 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1588 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1589 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1590 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1591 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1592 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1593 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1594 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1595 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1596 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1597 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1598 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1599 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1600 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1601 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1602 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1603 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1604 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1605 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1606 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1607 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1608 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1609 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1610 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1611 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1612 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1613 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1614 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1615 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1616 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1617 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1618 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1619 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1620 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1621 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1622 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1623 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1624 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1625 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1626 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1627 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1628 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1629 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1630 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1631 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1632 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1633 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1634 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1635 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1636 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1637 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1638 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1639 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1640 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1641 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1642 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1643 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1644 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1645 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1646 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1647 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1648 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1649 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1650 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1651 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1652 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1653 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1654 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1655 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1656 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1657 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1658 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1659 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1660 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1661 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1662 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1663 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1664 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1665 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1666 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1667 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1668 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1669 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1670 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1671 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1672 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1673 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1674 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1675 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1676 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1677 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1678 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1679 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1680 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1681 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1682 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1683 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1684 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1685 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1686 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1687 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1688 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1689 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1690 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1691 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1692 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1693 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1694 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1695 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1696 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1697 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1698 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1699 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1700 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1701 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1702 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1703 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1704 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1705 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1706 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1707 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1708 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1709 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1710 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1711 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1712 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1713 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1714 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1715 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1716 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1717 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1718 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1719 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1720 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1721 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1722 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1723 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1724 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1725 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1726 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1727 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1728 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1729 * sysdeps/ieee754/k_standard.c: Likewise.
1730 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1731 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1732 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1733 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1734 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1735 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1736 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1737 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1738 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1739 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1740 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1741 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1742 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1743 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1744 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1745 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1746 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1747 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1748 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1749 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1750 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1751 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1752 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1753 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1754 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1755 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1756 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1757 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1758 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1759 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1760 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1761 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1762 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1763 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1764 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1765 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1766 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1767 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1768 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1769 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1770 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1771 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1772 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1773 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1774 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1775 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1776 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1777 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1778 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1779 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1780 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1781 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1782 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1783 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1784 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1785 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1786 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1787 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1788 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1789 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1790 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1791 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1792 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1793 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1794 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1795 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1796 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1797 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1798 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1799 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1800 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1801 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1802 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1803 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1804 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1805 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1806 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1807 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1808 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1809 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1810 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1811 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1812 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1813 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1814 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1815 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1816 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1817 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1818 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1819 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1820 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1821 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1822 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1823 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1824 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1825 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1826 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1827 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1828 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1829 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1830 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1831 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1832 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1833 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1834 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1835 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1836 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1837 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1838 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1839 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1840 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1841 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1842 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1843 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1844 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1845 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1846 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1847 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1848 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1849 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1850 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1851 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1852 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1853 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1854 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1855 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1856 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1857 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1858 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1859 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1860 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1861 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1862 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1863 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1864 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1865 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1866 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1867 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1868 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1869 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1870 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1871 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1872 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1873 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1874 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1875 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1876 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1877 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1878 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1879 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1880 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1881 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1882 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1883 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1884 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1885 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1886 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1887 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1888 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1889 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1890 * sysdeps/ieee754/s_lib_version.c: Likewise.
1891 * sysdeps/ieee754/s_matherr.c: Likewise.
1892 * sysdeps/ieee754/s_signgam.c: Likewise.
1893 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1894 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1895 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1896 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1897 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1898 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1899 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1900 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1901 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1902 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1903 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1904 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1905 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1906 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1907 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1908 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1909 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1910 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1911 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1912 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1913 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 1914
1991fa03
JM
19152012-03-09 Joseph Myers <joseph@codesourcery.com>
1916
1917 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1918 * sunrpc/rpc_main.c: Likewise.
1919 * sunrpc/rpc_svcout.c: Likewise.
1920
60d6f5a6
DM
19212012-03-09 David S. Miller <davem@davemloft.net>
1922
1923 * include/math_private.h: New file.
1924
4962050e
JM
19252012-03-09 Joseph Myers <joseph@codesourcery.com>
1926
02a6f887
JM
1927 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1928 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1929 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1930 from <bits/socket_type.h>.
1931 (enum __socket_type): Don't define here.
1932 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1934 bits/socket_type.h.
1935
c6e013c1
JM
1936 [BZ #13566]
1937 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1938 checking __USE_GNU.
1939
4962050e
JM
1940 * Makerules ($(inst_includedir)/%.h): New rule.
1941 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1942 (install-others): Remove variable setting.
1943 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1944
38842f45
RH
19452012-03-08 Richard Henderson <rth@twiddle.net>
1946
67bb6da6
RH
1947 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1948 from macro to inline function; merge with the
1949 !__LIBC_INTERNAL_MATH_INLINES version.
1950 (__ieee754_sqrtf): Likewise.
1951
15194b4b
RH
1952 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1953 to inline function.
1954 (__rintf, __floor, __floorf): Likewise.
1955
64e21ede
RH
1956 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1957 macro to inline function.
1958 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1959
38842f45
RH
1960 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1961 not <math/math_private.h>.
1962
c64bf5fe
DM
19632012-03-08 David S. Miller <davem@davemloft.net>
1964
1965 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1966 copyright year.
1967 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1968
82d86f28
TS
19692012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1970
1971 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1972 normalization.
1973 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1974 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1975
aea5d727
UD
19762012-03-08 Ulrich Drepper <drepper@gmail.com>
1977
1978 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1979 be defined individually, they must be defined as a block. Define
1980 S for printing a string instead of hidint the different by using a
1981 macro for adding the 'l'.
1982 * stdio-common/tst-fphex-wide.c: Adjust.
1983
70bca0a3
MP
19842012-03-07 Marek Polacek <polacek@redhat.com>
1985
1986 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1987
65b81130
MP
19882012-03-08 Marek Polacek <polacek@redhat.com>
1989
1990 [BZ #13806]
1991 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1992 * stdio-common/tst-fphex.c: Define a few macros to make the
1993 test reusable. Use them.
1994 * stdio-common/tst-fphex-wide.c: New file.
1995
07037eeb
JM
19962012-03-08 Joseph Myers <joseph@codesourcery.com>
1997
a7a93d50
JM
1998 [BZ #6911]
1999 * manual/macros.texi (gnusystems): New macro.
2000 (nongnusystems): Likewise.
2001 (gnulinuxhurdsystems): Likewise.
2002 (gnuhurdsystems): Likewise..
2003 (gnulinuxsystems): Likewise.
2004 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2005 variants of the GNU system, not "GNU system".
2006 * manual/conf.texi: Likewise.
2007 * manual/errno.texi: Likewise. Update example of errno macro
2008 expansion.
2009 * manual/filesys.texi: Likewise.
2010 (getumask): Document as specific to GNU/Hurd.
2011 * manual/install.texi: Likewise. Reword some references to
2012 GNU/Linux.
2013 * manual/intro.texi: Likewise.
2014 * manual/io.texi: Likewise.
2015 (File Name Portability): Detail which constraints are inapplicable
2016 to all GNU systems and which are only inapplicable to GNU/Hurd.
2017 * manual/job.texi: Likewise.
2018 * manual/llio.texi: Likewise.
2019 (O_NOCTTY): Document as present on GNU/Linux.
2020 * manual/maint.texi: Likewise.
2021 * manual/memory.texi: Likewise.
2022 * manual/pattern.texi: Likewise.
2023 * manual/pipe.texi: Likewise.
2024 * manual/process.texi: Likewise.
2025 * manual/resource.texi: Likewise.
2026 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2027 child on GNU/Hurd.
2028 * manual/setjmp.texi: Likewise.
2029 * manual/signal.texi: Likewise.
2030 * manual/startup.texi: Likewise.
2031 * manual/stdio.texi: Likewise.
2032 * manual/terminal.texi: Likewise.
2033 (ONLCR): Document as POSIX.
2034 (OXTABS): Document availability on GNU/Linux as XTABS.
2035 (ONOEOT): Document availability separately from other bits.
2036 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2037 * manual/time.texi: Likewise.
2038 * manual/users.texi: Likewise.
2039 * INSTALL: Regenerated.
2040 * sysdeps/gnu/errlist.c: Regenerated.
2041
07037eeb
JM
2042 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2043 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2044 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2045 puts.
2046 * configure: Regenerated.
2047
d1d3431a
JM
20482012-03-07 Joseph Myers <joseph@codesourcery.com>
2049
af6a1e37
JM
2050 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2051 default includes instead of AC_HEADER_CHECK.
2052 * sysdeps/i386/configure: Regenerated.
2053
d1d3431a
JM
2054 [BZ #10716]
2055 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2056 * math/s_cacoshf.c (__cacoshf): Likewise.
2057 * math/s_cacoshl.c (__cacoshl): Likewise.
2058 * math/s_casinh.c (__casinh): Set signs of result from argument.
2059 * math/s_casinhf.c (__casinhf): Likewise.
2060 * math/s_casinhl.c (__casinhl): Likewise.
2061 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2062 (casinh_test): Add more tests.
2063 * sysdeps/i386/fpu/libm-test-ulps: Update.
2064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2065
482ff4da
UD
20662012-03-07 Ulrich Drepper <drepper@gmail.com>
2067
872fda05
UD
2068 * po/zh_TW.po: Update from translation team.
2069
a4300c7a
UD
2070 * login/Makefile (distribute): Remove variable.
2071 * catgets/Makefile: Likewise.
2072 * mach/Makefile: Likewise.
2073 * malloc/Makefile: Likewise.
2074 * misc/Makefile: Likewise.
2075 * iconv/Makefile: Likewise.
2076 * nscd/Makefile: Likewise.
2077 * hurd/Makefile: Likewise.
2078 * manual/Makefile: Likewise.
2079 * locale/Makefile: Likewise.
2080 * intl/Makefile: Likewise.
2081 * conform/Makefile: Likewise.
2082 * nss/Makefile: Likewise.
2083 * time/Makefile: Likewise.
2084 * soft-fp/Makefile: Likewise.
2085 * dirent/Makefile: Likewise.
2086 * gmon/Makefile: Likewise.
2087 * po/Makefile: Likewise.
2088 * rt/Makefile: Likewise.
2089 * socket/Makefile: Likewise.
2090 * math/Makefile: Likewise.
2091 * signal/Makefile: Likewise.
2092 * debug/Makefile: Likewise.
2093 * elf/Makefile: Likewise.
2094 * timezone/Makefile: Likewise.
2095 * stdlib/Makefile: Likewise.
2096 * iconvdata/Makefile: Likewise.
2097 * sunrpc/Makefile: Likewise.
2098 * io/Makefile: Likewise.
2099 * argp/Makefile: Likewise.
2100 * inet/Makefile: Likewise.
2101 * hesiod/Makefile: Likewise.
2102 * grp/Makefile: Likewise.
2103 * csu/Makefile: Likewise.
2104 * wctype/Makefile: Likewise.
2105 * crypt/Makefile: Likewise.
2106 * libio/Makefile: Likewise.
2107 * string/Makefile: Likewise.
2108 * nis/Makefile: Likewise.
2109 * resolv/Makefile: Likewise.
2110 * stdio-common/Makefile: Likewise.
2111 * wcsmbs/Makefile: Likewise.
2112 * dlfcn/Makefile: Likewise.
2113 * posix/Makefile: Likewise.
2114
482ff4da
UD
2115 * timezone/Makefile: Don't install timezone files, just the programs
2116 and scripts.
2117
f72ed77d
UD
21182012-03-06 Ulrich Drepper <drepper@gmail.com>
2119
a000466f
UD
2120 * nss/databases.def: Add missing gshadow entry.
2121
f72ed77d
UD
2122 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2123
a53b7a4e
MP
21242012-03-06 Marek Polacek <polacek@redhat.com>
2125
2126 [BZ #13726]
2127 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2128 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2129 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2130 * stdio-common/tst-long-dbl-fphex.c: New file.
2131
e9258400
DM
21322012-03-06 David S. Miller <davem@davemloft.net>
2133
2134 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2135 (set_obp_int): New function.
2136 (get_obp_int): New function.
2137 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
2138 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2139 Avoid unused variable warnings on 'val' and use builtin_expect.
2140 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2141 __builtin_expect.
e9258400
DM
2142 (INLINE_CLONE_SYSCALL): Likewise.
2143
3bd2c723
DM
21442012-03-05 David S. Miller <davem@davemloft.net>
2145
2146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2147
bbb78d03
AS
21482012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2149
884c5db4
AS
2150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2151
bbb78d03
AS
2152 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2153 only for |x| >= 40.
2154 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2155
1c9f702a 21562012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
2157
2158 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2159 Replace gettimeofday with __vdso_gettimeofday.
2160
7be16f82
RM
2161 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2162 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2163 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
2164
2165 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2166 time with __vdso_time.
2167
ed58a00f
JM
21682012-03-05 Joseph Myers <joseph@codesourcery.com>
2169
2170 * manual/lang.texi (size_t): Note types to which size_t may be
2171 equivalent with the GNU C Library, but do not describe when
2172 differences between them are significant.
2173
30ee4ced
AJ
21742012-03-05 Andreas Jaeger <aj@suse.de>
2175
2176 * sysdeps/i386/fpu/libm-test-ulps: Update.
2177
b7cd39e8
JM
21782012-03-05 Joseph Myers <joseph@codesourcery.com>
2179
2180 [BZ #3976]
2181 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2182 (__ieee754_pow): Save and restore rounding mode and use
2183 round-to-nearest for main computations.
2184 * math/libm-test.inc (pow_test_tonearest): New function.
2185 (pow_test_towardzero): Likewise.
2186 (pow_test_downward): Likewise.
2187 (pow_test_upward): Likewise.
2188 (main): Call the new functions.
2189 * sysdeps/i386/fpu/libm-test-ulps: Update.
2190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
2191
2192 [BZ #3976]
2193 * math/libm-test.inc (cosh_test_tonearest): New function.
2194 (cosh_test_towardzero): Likewise.
2195 (cosh_test_downward): Likewise.
2196 (cosh_test_upward): Likewise.
2197 (sinh_test_tonearest): Likewise.
2198 (sinh_test_towardzero): Likewise.
2199 (sinh_test_downward): Likewise.
2200 (sinh_test_upward): Likewise.
2201 (main): Call the new functions.
2202 * sysdeps/i386/fpu/libm-test-ulps: Update.
2203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2204
6c6a98c9
TV
22052012-03-05 Tom de Vries <tom@codesourcery.com>
2206
2207 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2208 default stack guard is set in last bytes.
2209 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2210
21bb2d2e 22112012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2212
21bb2d2e 2213 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2214
21bb2d2e
AJ
2215 [BZ #13656]
2216 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2217 possibly allocate from heap instead of stack.
2218 * stdio-common/bug-vfprintf-nargs.c: New file.
2219 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2220
c6922934
AS
22212012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2222
2223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2224
bc957d53
MP
22252012-03-03 Marek Polacek <polacek@redhat.com>
2226
2227 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2228 * math/math_private.h: Likewise.
2229 * stdlib/tst-strtod.c: Likewise.
2230 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2231 * sysdeps/x86_64/bits/atomic.h: Likewise.
2232
6358490d
DM
22332012-03-02 David S. Miller <davem@davemloft.net>
2234
2235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2239 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2240 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2241 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2242 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2243
01ae168d
RM
22442012-03-02 Roland McGrath <roland@hack.frob.com>
2245
d9a17c07
RM
2246 [BZ #13792]
2247 * manual/examples/README: New file, says the example source files
2248 can be used under GPL>=2.
2249 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2250 line containing just "*/".
2251 * manual/examples/add.c: Add copyright header (GPL>=2).
2252 * manual/examples/argp-ex1.c: Likewise.
2253 * manual/examples/argp-ex2.c: Likewise.
2254 * manual/examples/argp-ex3.c: Likewise.
2255 * manual/examples/argp-ex4.c: Likewise.
2256 * manual/examples/atexit.c: Likewise.
2257 * manual/examples/db.c: Likewise.
2258 * manual/examples/dir.c: Likewise.
2259 * manual/examples/dir2.c: Likewise.
2260 * manual/examples/execinfo.c: Likewise.
2261 * manual/examples/filecli.c: Likewise.
2262 * manual/examples/filesrv.c: Likewise.
2263 * manual/examples/fmtmsgexpl.c: Likewise.
2264 * manual/examples/genpass.c: Likewise.
2265 * manual/examples/inetcli.c: Likewise.
2266 * manual/examples/inetsrv.c: Likewise.
2267 * manual/examples/isockad.c: Likewise.
2268 * manual/examples/longopt.c: Likewise.
2269 * manual/examples/memopen.c: Likewise.
2270 * manual/examples/memstrm.c: Likewise.
2271 * manual/examples/mkfsock.c: Likewise.
2272 * manual/examples/mkisock.c: Likewise.
2273 * manual/examples/mygetpass.c: Likewise.
2274 * manual/examples/pipe.c: Likewise.
2275 * manual/examples/popen.c: Likewise.
2276 * manual/examples/rprintf.c: Likewise.
2277 * manual/examples/search.c: Likewise.
2278 * manual/examples/select.c: Likewise.
2279 * manual/examples/setjmp.c: Likewise.
2280 * manual/examples/sigh1.c: Likewise.
2281 * manual/examples/sigusr.c: Likewise.
2282 * manual/examples/stpcpy.c: Likewise.
2283 * manual/examples/strdupa.c: Likewise.
2284 * manual/examples/strftim.c: Likewise.
2285 * manual/examples/strncat.c: Likewise.
2286 * manual/examples/subopt.c: Likewise.
2287 * manual/examples/swapcontext.c: Likewise.
2288 * manual/examples/termios.c: Likewise.
2289 * manual/examples/testopt.c: Likewise.
2290 * manual/examples/testpass.c: Likewise.
2291 * manual/examples/timeval_subtract.c: Likewise.
2292
01ae168d
RM
2293 [BZ #13792]
2294 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2295 function to ...
2296 * manual/timeval_subtract.c.texi: ... here, new file.
2297
49efa33d
DM
22982012-03-02 David S. Miller <davem@davemloft.net>
2299
2300 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2301
28afd92d
JM
23022012-03-02 Joseph Myers <joseph@codesourcery.com>
2303
804360ed
JM
2304 [BZ #3976]
2305 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2306 (__sin): Save and restore rounding mode and use round-to-nearest
2307 for all computations.
2308 (__cos): Save and restore rounding mode and use round-to-nearest
2309 for all computations.
2310 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2311 <fenv.h>.
2312 (tan): Save and restore rounding mode and use round-to-nearest for
2313 all computations.
2314 * math/libm-test.inc (cos_test_tonearest): New function.
2315 (cos_test_towardzero): Likewise.
2316 (cos_test_downward): Likewise.
2317 (cos_test_upward): Likewise.
2318 (sin_test_tonearest): Likewise.
2319 (sin_test_towardzero): Likewise.
2320 (sin_test_downward): Likewise.
2321 (sin_test_upward): Likewise.
2322 (tan_test_tonearest): Likewise.
2323 (tan_test_towardzero): Likewise.
2324 (tan_test_downward): Likewise.
2325 (tan_test_upward): Likewise.
2326 (main): Call the new functions.
2327 * sysdeps/i386/fpu/libm-test-ulps: Update.
2328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2329
a6d06d7b
JM
2330 [BZ #10135]
2331 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2332 small n, then large n, before computing and testing k+n.
2333 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2334 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2335 Likewise.
2336 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2337 Likewise.
2338 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2339 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2340 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2341 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2342 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2343 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2344 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2345 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2346 * math/libm-test.inc (scalbn_test): Add more tests.
2347 (scalbln_test): Likewise.
2348
07e12bb3
JM
2349 * manual/filesys.texi (mode_t): Describe constraints on size and
2350 signedness, not exact equivalence to a particular type.
2351 (ino_t): Likewise.
2352 (ino64_t): Likewise.
2353 (dev_t): Likewise.
2354 (nlink_t): Likewise.
2355 (blkcnt_t): Likewise.
2356 (blkcnt64_t): Likewise.
2357 * manual/llio.texi (off_t): Likewise.
2358
28afd92d
JM
2359 [BZ #3976]
2360 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2361 (__ieee754_exp): Save and restore rounding mode and use
2362 round-to-nearest for all computations.
2363 * math/libm-test.inc (exp_test_tonearest): New function.
2364 (exp_test_towardzero): Likewise.
2365 (exp_test_downward): Likewise.
2366 (exp_test_upward): Likewise.
2367 (main): Call the new functions.
2368 * sysdeps/i386/fpu/libm-test-ulps: Update.
2369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2370
b1eeb65d
CD
23712012-03-01 Chris Demetriou <cgd@google.com>
2372
2373 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2374 have predictable order.
2375
53362a4b
DM
23762012-03-01 David S. Miller <davem@davemloft.net>
2377
3c969083
DM
2378 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2379
759707de
DM
2380 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2381 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2382 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2383 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2384
dfdb8ff2
DM
2385 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2386 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2387 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2389 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2390 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2391 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2392 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2393 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2394
ead89f96
DM
2395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2396
7f66bd07
DM
2397 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2398 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2399 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2400
53362a4b
DM
2401 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2402 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2403 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2404 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2405 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2406 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2407 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2408 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2409 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2410 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2411 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2412 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2413 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2414 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2415 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2416 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2417 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2418 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2419 * sysdeps/sparc/elf/configure: Regenerated.
2420
7b1902cb
JM
24212012-03-01 Joseph Myers <joseph@codesourcery.com>
2422
bec039bc
JM
2423 * configure.in (AS, LD): Require binutils 2.20 or later.
2424 * configure: Regenerated.
2425 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2426 as required minimum version.
2427 * INSTALL: Regenerated.
2428
7b1902cb
JM
2429 [BZ #2541]
2430 [BZ #4108]
2431 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2432 before squaring exponent.
2433 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2434 bottom long double and 27 bits of top long double before squaring
2435 exponent.
2436 * math/libm-test.inc (erfc_test): Add more tests.
2437 * sysdeps/i386/fpu/libm-test-ulps: Update.
2438 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2440
f775c276
KT
24412012-03-01 Kai Tietz <ktietz@redhat.com>
2442
2443 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2444 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2445 containing bit-fields.
2446 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2447 * soft-fp/single.h (_FP_UNION_S): Likewise.
2448 * soft-fp/double.h (_FP_UNION_D): Likewise.
2449
5b8a4d4a
JM
24502012-02-29 Joseph Myers <joseph@codesourcery.com>
2451
0bab47b6
JM
2452 [BZ #13786]
2453 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2454 not include ../strcmp.S.
2455 [USE_AS_STRNCASECMP_L]: Likewise.
2456 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2457 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2458 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2459 (__strncasecmp_l_ia32): Define as alias to
2460 __strncasecmp_l_nonascii.
2461
0fcad3e2
JM
2462 [BZ #5794]
2463 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2464 * sysdeps/i386/fpu/libm-test-ulps: Update.
2465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2466
5b8a4d4a
JM
2467 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2469
8fdceb2e
JL
24702012-02-29 Jeff Law <law@redhat.com>
2471
2472 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2473 out of bounds read.
2474
1f393a11
MP
24752012-02-29 Marek Polacek <polacek@redhat.com>
2476
2477 [BZ #13706]
2478 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2479 * elf/Makefile: Add rules to run tst-unused-dep.out.
2480
8847f037
DM
24812012-02-28 David S. Miller <davem@davemloft.net>
2482
2483 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2484 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2485 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2486 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2487 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2488 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2489
169d7f11
JM
24902012-02-29 Joseph Myers <joseph@codesourcery.com>
2491
2492 * math/libm-test.inc (llround_test): Move one test from
2493 lround_test. Use TEST_f_L in moved test.
2494 (lround_test): Move misplaced test to llround_test. Add testcase
2495 from bug 2561.
2496
39adf059
UD
24972012-02-28 Ulrich Drepper <drepper@gmail.com>
2498
2499 * sysdeps/x86_64/fpu/e_expf.S: New file.
2500 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2501
71b5d1c5
SB
25022012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2503
2504 [BZ #13637]
2505 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2506 of remain_len that may cause incomplete multi-byte character and
2507 false match.
2508 * posix/bug-regex33.c: New file.
2509 * posix/Makefile (tests): Add bug-regex33.
2510
1f77f049
JM
25112012-02-28 Joseph Myers <joseph@codesourcery.com>
2512
2513 * manual/macros.texi: New file.
2514 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2515 * manual/libc.texinfo: Include macros.texi.
2516 * manual/creatute.texi: Likewise.
2517 * manual/install.texi: Likewise.
2518 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2519 @glibcadj{} in references to the GNU C Library.
2520 * manual/charset.texi: Likewise.
2521 * manual/conf.texi: Likewise.
2522 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2523 when not using those macros.
2524 * manual/creature.texi: Likewise.
2525 * manual/crypt.texi: Likewise.
2526 * manual/errno.texi: Likewise.
2527 * manual/filesys.texi: Likewise.
2528 * manual/header.texi: Likewise.
2529 * manual/install.texi: Likewise.
2530 * manual/intro.texi: Likewise.
2531 * manual/io.texi: Likewise.
2532 * manual/job.texi: Likewise.
2533 * manual/lang.texi: Likewise.
2534 * manual/libc.texiinfo: Likewise.
2535 * manual/llio.texi: Likewise.
2536 * manual/locale.texi: Likewise.
2537 * manual/maint.texi: Likewise.
2538 * manual/math.texi: Likewise.
2539 * manual/memory.texi: Likewise.
2540 * manual/message.texi: Likewise.
2541 * manual/nss.texi: Likewise.
2542 * manual/pattern.texi: Likewise.
2543 * manual/process.texi: Likewise.
2544 * manual/resource.texi: Likewise.
2545 * manual/search.texi: Likewise.
2546 * manual/setjmp.texi: Likewise.
2547 * manual/signal.texi: Likewise.
2548 * manual/socket.texi: Likewise.
2549 * manual/startup.texi: Likewise.
2550 * manual/stdio.texi: Likewise.
2551 * manual/string.texi: Likewise.
2552 * manual/sysinfo.texi: Likewise.
2553 * manual/syslog.texi: Likewise.
2554 * manual/terminal.texi: Likewise.
2555 * manual/time.texi: Likewise.
2556 * manual/users.texi: Likewise.
2557 * INSTALL: Regenerated.
2558 * NOTES: Regenerated.
d40c5d54 2559 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 2560
450bf206
AS
25612012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2562
2563 * include/dirent.h: Include <dirstream.h> before
2564 <dirent/dirent.h>.
2565
741a235b
DM
25662012-02-28 David S. Miller <davem@davemloft.net>
2567
2568 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2569 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2570 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2571 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2572
d6b5aa58
DM
25732012-02-27 David S. Miller <davem@davemloft.net>
2574
1aff59a3
DM
2575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2577 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2578 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2579
d6b5aa58
DM
2580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2581 frame pointer instead of stack pointer relative arg slot.
2582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2583 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2584 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2585
433f48bf
CD
25862012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2587
2588 [BZ #3992]
2589 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2590
d674b76d
DM
25912012-02-27 David S. Miller <davem@davemloft.net>
2592
2593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2597 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2598 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2599 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2600 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2601
0e7727f7
JM
26022012-02-27 Joseph Myers <joseph@codesourcery.com>
2603
2604 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2605 later. Allow versions 5-9.
43be4ca2 2606 * configure: Regenerated.
0e7727f7
JM
2607 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2608 required minimum version and 4.6 as recommended version. Do not
2609 mention bugs in GCC 2.7 and 2.8.
43be4ca2 2610 * INSTALL: Regenerated.
0e7727f7 2611
a78bc654
DM
26122012-02-27 David S. Miller <davem@davemloft.net>
2613
428d5830
DM
2614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2618 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2619 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2620 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2621 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2622
a78bc654
DM
2623 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2624 manipulate bits before adding and subtracting TWO112[sx].
2625 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2626
4579f81c
RM
26272012-02-27 Roland McGrath <roland@hack.frob.com>
2628
36c8acb4
RM
2629 [BZ #13775]
2630 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2631 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2632 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2633 being in POSIX, because they are in 1003.1-2008.
2634
84ad622b
RM
2635 * rt/tst-aio.c: Include <fcntl.h>.
2636 * rt/tst-aio7.c: Likewise.
2637 * rt/tst-aio64.c: Likewise.
2638
4579f81c
RM
2639 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2640
abd923db
JM
26412012-02-27 Joseph Myers <joseph@codesourcery.com>
2642
2643 * manual/install.texi (--with-headers): Describe headers as
2644 interface headers, not private headers.
2645 (Specific advice for GNU/Linux systems): Describe use of headers
2646 from "make headers_install", not private headers from older
2647 kernels.
43be4ca2 2648 * INSTALL: Regenerated.
abd923db
JM
2649 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2650 Change to 2.6.19.
2651 * sysdeps/unix/sysv/linux/configure: Regenerated.
2652
6664049b
JM
2653 * manual/llio.texi (fclean): Remove documentation.
2654
bb8b6697
JM
2655 * manual/Makefile (libc-texi-generated): New variable. Include
2656 version.texi.
2657 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2658 $(libc-texi-generated), not duplicated list of files.
2659 (version.texi, stamp-version): New rules.
2660 (realclean): Remove $(libc-texi-generated), not individual files
2661 from that list. Do not remove dir-add.texinfo.
2662 * manual/libc.texinfo: Comment out uses of edition numbers and
2663 references to printed manual. Remove last-updated dates.
2664 (EDITION): Comment out.
2665 (ISBN): Likewise.
2666 (VERSION, UPDATED): Remove.
2667 (version.texi): Include.
2668
12e5c3b9
AS
26692012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2670
2671 * sysdeps/posix/spawni.c: Include <signal.h>.
2672 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2673 * sysdeps/pthread/aio_fsync.c: Likewise.
2674
4efeffc1 26752012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 2676
ba63ba08
UD
2677 * conform/Makefile (tests): Run only when not cross-compiling and
2678 when fast-check is not defined.
2679
d94a4670
UD
2680 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2681 * conform/data/limits.h-data: Fixes for POSIX2008.
2682 * conform/run-conformtest.sh: Run all tests.
2683 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2684 headers.
2685 * include/bits/dlfcn.h: Likewise.
2686 * include/langinfo.h: Likewise.
2687 * include/monetary.h: Likewise.
2688 * include/sys/poll.h: Likewise.
2689
2690 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2691 for __USE_GNU.
2692 * posix/spawn.h: Define __need_sigset_t.
2693 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2694 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2695 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2696 to get sigevent_t only.
2697 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2698 only for __USE_GNU.
2699 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2700 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2701 process_vm_writev only for __USE_GNU.
2702 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
2703
2704 * conform/Makefile: For now ignore errors from run-conformtest.
2705 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2706 POSIX to avoid namespace pollution. Don't prepend headers.
2707 * conform/data/aio.h-data: Fixes for POSIX testing.
2708 * conform/data/fcntl.h-data: Likewise.
2709 * conform/data/glob.h-data: Likewise.
2710 * conform/data/grp.h-data: Likewise.
2711 * conform/data/pthread.h-data: Likewise.
2712 * conform/data/pwd.h-data: Likewise.
2713 * conform/data/signal.h-data: Likewise.
2714 * conform/data/spawn.h-data: Likewise.
2715 * conform/data/stdio.h-data: Likewise.
2716 * conform/data/stdlib.h-data: Likewise.
2717 * conform/data/stropts.h-data: Likewise.
2718 * conform/data/sys/mman.h-data: Likewise.
2719 * conform/data/sys/stat.h-data: Likewise.
2720 * conform/data/sys/types.h-data: Likewise.
2721 * conform/data/sys/wait.h-data: Likewise.
2722 * conform/data/time.h-data: Likewise.
2723 * conform/data/unistd.h-data: Likewise.
2724 * conform/data/utime.h-data: Likewise.
2725
2726 * io/sys/stat.h: fchmod was always in POSIX.
2727 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2728 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2729 * rt/aio.h: Define __need_timespec before including <time.h>.
2730 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2731 struct. Add forward declaration of pthread_attr_t and use it in
2732 sigevent.
2733 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2734 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2735 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2736 always remove CLK_TCK definition.
2737
c20105c3
AS
27382012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2739
2740 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2741
7a270350
UD
27422012-02-25 Ulrich Drepper <drepper@gmail.com>
2743
31341567
UD
2744 * conform/run-conformtest.sh: New file.
2745 * conform/Makefile: Run run-conformtest for tests.
2746 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2747 support.
2748
2749 * conform/data/uchar.h-data: New file.
2750 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2751 * conform/data/arpa/inet.h-data: Likewise.
2752 * conform/data/assert.h-data: Likewise.
2753 * conform/data/complex.h-data: Likewise.
2754 * conform/data/cpio.h-data: Likewise.
2755 * conform/data/ctype.h-data: Likewise.
2756 * conform/data/dirent.h-data: Likewise.
2757 * conform/data/dlfcn.h-data: Likewise.
2758 * conform/data/errno.h-data: Likewise.
2759 * conform/data/fcntl.h-data: Likewise.
2760 * conform/data/float.h-data: Likewise.
2761 * conform/data/fmtmsg.h-data: Likewise.
2762 * conform/data/fnmatch.h-data: Likewise.
2763 * conform/data/ftw.h-data: Likewise.
2764 * conform/data/glob.h-data: Likewise.
2765 * conform/data/grp.h-data: Likewise.
2766 * conform/data/iconv.h-data: Likewise.
2767 * conform/data/inttypes.h-data: Likewise.
2768 * conform/data/langinfo.h-data: Likewise.
2769 * conform/data/libgen.h-data: Likewise.
2770 * conform/data/limits.h-data: Likewise.
2771 * conform/data/locale.h-data: Likewise.
2772 * conform/data/math.h-data: Likewise.
2773 * conform/data/monetary.h-data: Likewise.
2774 * conform/data/mqueue.h-data: Likewise.
2775 * conform/data/ndbm.h-data: Likewise.
2776 * conform/data/net/if.h-data: Likewise.
2777 * conform/data/netdb.h-data: Likewise.
2778 * conform/data/netinet/in.h-data: Likewise.
2779 * conform/data/nl_types.h-data: Likewise.
2780 * conform/data/poll.h-data: Likewise.
2781 * conform/data/pthread.h-data: Likewise.
2782 * conform/data/pwd.h-data: Likewise.
2783 * conform/data/regex.h-data: Likewise.
2784 * conform/data/sched.h-data: Likewise.
2785 * conform/data/search.h-data: Likewise.
2786 * conform/data/semaphore.h-data: Likewise.
2787 * conform/data/setjmp.h-data: Likewise.
2788 * conform/data/signal.h-data: Likewise.
2789 * conform/data/spawn.h-data: Likewise.
2790 * conform/data/stdarg.h-data: Likewise.
2791 * conform/data/stdio.h-data: Likewise.
2792 * conform/data/stdlib.h-data: Likewise.
2793 * conform/data/string.h-data: Likewise.
2794 * conform/data/strings.h-data: Likewise.
2795 * conform/data/stropts.h-data: Likewise.
2796 * conform/data/sys/ipc.h-data: Likewise.
2797 * conform/data/sys/mman.h-data: Likewise.
2798 * conform/data/sys/msg.h-data: Likewise.
2799 * conform/data/sys/resource.h-data: Likewise.
2800 * conform/data/sys/select.h-data: Likewise.
2801 * conform/data/sys/sem.h-data: Likewise.
2802 * conform/data/sys/shm.h-data: Likewise.
2803 * conform/data/sys/socket.h-data: Likewise.
2804 * conform/data/sys/stat.h-data: Likewise.
2805 * conform/data/sys/statvfs.h-data: Likewise.
2806 * conform/data/sys/time.h-data: Likewise.
2807 * conform/data/sys/timeb.h-data: Likewise.
2808 * conform/data/sys/times.h-data: Likewise.
2809 * conform/data/sys/types.h-data: Likewise.
2810 * conform/data/sys/uio.h-data: Likewise.
2811 * conform/data/sys/un.h-data: Likewise.
2812 * conform/data/sys/utsname.h-data: Likewise.
2813 * conform/data/sys/wait.h-data: Likewise.
2814 * conform/data/syslog.h-data: Likewise.
2815 * conform/data/tar.h-data: Likewise.
2816 * conform/data/termios.h-data: Likewise.
2817 * conform/data/utime.h-data: Likewise.
2818 * conform/data/utmpx.h-data: Likewise.
2819 * conform/data/varargs.h-data: Likewise.
2820 * conform/data/wchar.h-data: Likewise.
2821 * conform/data/wctype.h-data: Likewise.
2822 * conform/data/wordexp.h-data: Likewise.
2823
2824 * include/stropts.h: New file.
2825 * include/uchar.h: New file.
2826 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2827 * include/assert.h: Likewise.
2828 * include/ctype.h: Likewise.
2829 * include/dirent.h: Likewise.
2830 * include/dlfcn.h: Likewise.
2831 * include/fcntl.h: Likewise.
2832 * include/fnmatch.h: Likewise.
2833 * include/glob.h: Likewise.
2834 * include/grp.h: Likewise.
2835 * include/libio.h: Likewise.
2836 * include/locale.h: Likewise.
2837 * include/math.h: Likewise.
2838 * include/net/if.h: Likewise.
2839 * include/netdb.h: Likewise.
2840 * include/netinet/in.h: Likewise.
2841 * include/pthread.h: Likewise.
2842 * include/pwd.h: Likewise.
2843 * include/regex.h: Likewise.
2844 * include/sched.h: Likewise.
2845 * include/search.h: Likewise.
2846 * include/setjmp.h: Likewise.
2847 * include/signal.h: Likewise.
2848 * include/stdio.h: Likewise.
2849 * include/stdlib.h: Likewise.
2850 * include/string.h: Likewise.
2851 * include/sys/cdefs.h: Likewise.
2852 * include/sys/mman.h: Likewise.
2853 * include/sys/msg.h: Likewise.
2854 * include/sys/resource.h: Likewise.
2855 * include/sys/select.h: Likewise.
2856 * include/sys/socket.h: Likewise.
2857 * include/sys/stat.h: Likewise.
2858 * include/sys/statvfs.h: Likewise.
2859 * include/sys/time.h: Likewise.
2860 * include/sys/times.h: Likewise.
2861 * include/sys/uio.h: Likewise.
2862 * include/sys/utsname.h: Likewise.
2863 * include/sys/wait.h: Likewise.
2864 * include/termios.h: Likewise.
2865 * include/time.h: Likewise.
2866 * include/ulimit.h: Likewise.
2867 * include/unistd.h: Likewise.
2868 * include/utime.h: Likewise.
2869 * include/wchar.h: Likewise.
2870 * include/wctype.h: Likewise.
2871 * include/wordexp.h: Likewise.
2872
2873 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2874
7a270350
UD
2875 * time/time.h: TIME_UTC must be a macro.
2876 Make timespec_get available for ISO C11 only as well.
2877
7724defc
UD
28782012-02-24 Ulrich Drepper <drepper@gmail.com>
2879
2880 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2881 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2882
6b1d1d46
JM
28832012-02-24 Joseph Myers <joseph@codesourcery.com>
2884
2885 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 2886
0f8bbd69
JM
28872012-02-24 Joseph Myers <joseph@codesourcery.com>
2888
2889 * manual/texinfo.tex: Update to version 2012-01-19.16.
2890
66ab80bc
JM
28912012-02-24 Joseph Myers <joseph@codesourcery.com>
2892
2893 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2894
74981cc5
RM
28952012-02-24 Roland McGrath <roland@hack.frob.com>
2896
ee968201
RM
2897 [BZ #13738]
2898 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2899 * manual/fdl-1.3.texi: New file.
2900 * manual/fdl-1.1.texi: File removed.
2901
74981cc5
RM
2902 [BZ #13738]
2903 * manual/libc.texinfo (FDL_VERSION): New @set.
2904 Use it for mention of FDL in cover text.
2905 (Documentation License): Use it in @include file name.
2906
7bb764bc
JM
29072012-02-22 Joseph Myers <joseph@codesourcery.com>
2908 Roland McGrath <roland@hack.frob.com>
2909
2910 [BZ #5461]
2911 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2912 not LONG_LONG_MAX and LONG_LONG_MIN.
2913 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2914 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2915 name.
2916 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2917
6cbeae47
JM
29182012-02-22 Joseph Myers <joseph@codesourcery.com>
2919
2920 [BZ #2547]
2921 [BZ #11365]
2922 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2923 manipulate bits before adding and subtracting TWO23[sx].
2924 * math/libm-test.inc (nearbyint_test): Add more tests.
2925
fe45ce09
JM
29262012-02-22 Joseph Myers <joseph@codesourcery.com>
2927
2928 [BZ #2548]
2929 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2930 bits before adding and subtracting TWO23[sx].
2931 * math/libm-test.inc (rint_test): Add more tests.
2932 (rint_test_tonearest): Likewise.
2933 (rint_test_towardzero): Likewise.
2934 (rint_test_downward): Likewise.
2935 (rint_test_upward: Likewise.
2936
ff3b3d82
JM
29372012-02-22 Joseph Myers <joseph@codesourcery.com>
2938
2939 [BZ #10110]
2940 * include/stdc-predef.h: New file. Extracted from features.h.
2941 * include/features.h: Include stdc-predef.h.
2942 * Makefile (headers): Add stdc-predef.h.
2943 * CONFORMANCE (Compiler limitations): Update.
2944
ef0aab35
JM
29452012-02-22 Joseph Myers <joseph@codesourcery.com>
2946
2947 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2948
58639409
DM
29492012-02-21 David S. Miller <davem@davemloft.net>
2950
2951 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2952 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2953
c0e70b25
DM
29542012-02-20 David S. Miller <davem@davemloft.net>
2955
2956 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2957 using a normal save/restore sequence, rather than allocating a
2958 dummy stack frame just to store a frame pointer and restore.
2959 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2960
fb06851d
JM
29612012-02-21 Joseph Myers <joseph@codesourcery.com>
2962
2963 * manual/install.texi: Fix stray word in line-wrapped comment.
2964
7a8b71c3
DM
29652012-02-20 David S. Miller <davem@davemloft.net>
2966
d510c123
DM
2967 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2968 both binutils and gcc support GOTDATA.
2969
0722d7c2
DM
2970 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2971 "rd %pc" in the PIC register setup sequences.
2972
3d2b3019
DM
2973 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2974 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2975 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2976 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2977 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2978 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2979 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2980 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2981 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2982 (SYSCALL_ERROR_HANDLER): Likewise.
2983 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2984 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2985 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2986 (SYSCALL_ERROR_HANDLER): Likewise.
2987
c80098a9
DM
2988 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2989 (HAVE_GCC_GOTDATA): New.
2990 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2991 relocation support in both binutils and gcc.
2992 * sysdeps/sparc/elf/configure: Regenerate.
2993
3a2545a0
DM
2994 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2995 * sysdeps/sparc/sparc32/elf/configure: Delete.
2996 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2997 * sysdeps/sparc/sparc64/elf/configure: Delete.
2998 * sysdeps/sparc/elf/configure.in: New file.
2999 * sysdeps/sparc/elf/configure: Generate.
3000
7a8b71c3
DM
3001 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3002 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3003 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3004 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3005 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3006
f1e86fca
JM
30072012-02-21 Joseph Myers <joseph@codesourcery.com>
3008
3009 * manual/install.texi: Do not mention specific glibc version
3010 numbers.
3011 * manual/libc.texinfo (VERSION, UPDATED): Update.
3012 (@copying): Use @copyright{} and range of years.
3013
0e7dfaef
JM
30142012-02-21 Joseph Myers <joseph@codesourcery.com>
3015
3016 [BZ #13695]
3017 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3018 [crti.S not in sysdirs] (generated): Do not append.
3019 [crti.S not in sysdirs] (omit-deps): Likewise.
3020 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3021 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3022 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3023 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3024 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3025 Likewise.
3026 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3027 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3028 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3029 * csu/defs.awk: Remove file.
3030 * sysdeps/generic/initfini.c: Likewise.
3031 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3032 variable.
3033 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3034 Likewise.
3035
599af3ca
JM
30362012-02-20 Joseph Myers <joseph@codesourcery.com>
3037
3038 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3039 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3040 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3041 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3042 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3043 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3044 <bits/epoll.h>.
3045 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3046 (__EPOLL_PACKED): Define to empty if not defined by
3047 <bits/epoll.h>.
3048 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3049 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3050 bits/epoll.h.
3051
0e499750
JM
30522012-02-20 Joseph Myers <joseph@codesourcery.com>
3053
3054 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3055 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3056 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3057 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3058 <bits/timerfd.h>.
3059 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3060 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3061 bits/timerfd.h.
3062
5ad91f6e
JM
30632012-02-20 Joseph Myers <joseph@codesourcery.com>
3064
3065 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3066 in C locale.
3067 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3068 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3069 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3071
06b99b02
AJ
30722012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3073
3074 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3075 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3076
7638c0fd
AS
30772012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3078
3079 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3080 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3081 defined.
3082 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3083 Likewise.
3084 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3085 entry for 2.16.
3086
92221550
AJ
30872012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3088
3089 * math/w_acos.c: Use non-signaling floating-point comparisons.
3090 * math/w_acosf.c: Likewise.
3091 * math/w_acosh.c: Likewise.
3092 * math/w_acoshf.c: Likewise.
3093 * math/w_acoshl.c: Likewise.
3094 * math/w_acosl.c: Likewise.
3095 * math/w_asin.c: Likewise.
3096 * math/w_asinf.c: Likewise.
3097 * math/w_asinl.c: Likewise.
3098 * math/w_atanh.c: Likewise.
3099 * math/w_atanhf.c: Likewise.
3100 * math/w_atanhl.c: Likewise.
3101 * math/w_exp2.c: Likewise.
3102 * math/w_exp2f.c: Likewise.
3103 * math/w_exp2l.c: Likewise.
3104 * math/w_j0.c: Likewise.
3105 * math/w_j0f.c: Likewise.
3106 * math/w_j0l.c: Likewise.
3107 * math/w_j1.c: Likewise.
3108 * math/w_j1f.c: Likewise.
3109 * math/w_j1l.c: Likewise.
3110 * math/w_jn.c: Likewise.
3111 * math/w_jnf.c: Likewise.
3112 * math/w_log.c: Likewise.
3113 * math/w_log10.c: Likewise.
3114 * math/w_log10f.c: Likewise.
3115 * math/w_log10l.c: Likewise.
3116 * math/w_log2.c: Likewise.
3117 * math/w_log2f.c: Likewise.
3118 * math/w_log2l.c: Likewise.
3119 * math/w_logf.c: Likewise.
3120 * math/w_logl.c: Likewise.
3121 * math/w_sqrt.c: Likewise.
3122 * math/w_sqrtf.c: Likewise.
3123 * math/w_sqrtl.c: Likewise.
3124 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3125 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3126 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3127 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3128 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3129
ebaf36eb
JM
31302012-02-19 Joseph Myers <joseph@codesourcery.com>
3131
3132 [BZ #9739]
3133 * manual/string.texi (strnlen): Use correct parameter name in
3134 equivalent expression.
3135
71c254a6
JM
31362012-02-19 Joseph Myers <joseph@codesourcery.com>
3137
3138 [BZ #11174]
3139 * manual/users.texi (seteuid): Consistently use neweuid for
3140 argument name.
3141
16d2c631
JM
31422012-02-19 Joseph Myers <joseph@codesourcery.com>
3143
3144 [BZ #13704]
3145 * manual/nss.texi (Services in the NSS configuration): Correct
3146 list of services in example configuration file.
3147
cd837b09
NB
31482012-02-19 Nick Bowler <nbowler@draconx.ca>
3149
3150 [BZ #11322]
3151 * manual/arith.texi: Remove statements about negative zero
3152 behaving identically to zero.
3153
02c4bbad
JM
31542012-02-18 Joseph Myers <joseph@codesourcery.com>
3155
3156 [BZ #5993]
3157 * manual/install.texi: Do not document upgrading from libc5.
3158
366842e7
JM
31592012-02-18 Joseph Myers <joseph@codesourcery.com>
3160
3161 [BZ #4596]
3162 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3163
dd54084d
DM
31642012-02-18 David S. Miller <davem@davemloft.net>
3165
3166 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3167 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3168 %o7 across the call.
3169 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3170 instead.
3171 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3172 SETUP_PIC_REG_LEAF.
3173 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3174 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3175 * sysdeps/sparc/crtn.S: Likewise.
3176
2bcc53a3
UD
31772012-02-17 Ulrich Drepper <drepper@gmail.com>
3178
3179 * aout/Makefile: Remove.
3180
09c093b5
RK
31812012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3182
3183 [BZ #13058]
3184 * manual/examples/argp-ex1.c (main): Format definition in GNU
3185 style.
3186 * manual/examples/argp-ex2.c (main): Likewise.
3187 * manual/examples/argp-ex3.c (main): Likewise.
3188 * manual/examples/argp-ex4.c (main): Likewise.
3189 * manual/examples/longopt.c (main): Use new-style prototype
3190 definition.
3191 * manual/examples/strncat.c (main): Specify return type and use
3192 (void) for arguments.
3193 * manual/examples/subopt.c (main): Use char **argv argument.
3194
2ee633a2
JM
31952012-02-17 Joseph Myers <joseph@codesourcery.com>
3196
3197 [BZ #5077]
3198 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3199 rounding modes.
3200
0520adde
FB
32012012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3202
3203 [BZ #6907]
3204 * manual/string.texi (strchr): Change when strchrnul is
3205 recommended.
3206
3f4081cd
DGM
32072012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3208
3209 [BZ #174]
3210 * manual/locale.texi (setlocale): Document LOCPATH.
3211
d1b10e78
JM
32122012-02-17 Joseph Myers <joseph@codesourcery.com>
3213
3214 [BZ #10210]
3215 * manual/process.texi (execle): Move @dots{} before last argument.
3216
79c6869c
PB
32172012-02-17 Paul Bolle <pebolle@tiscali.nl>
3218
3219 [BZ #12047]
3220 * manual/charset.texi (Generic Charset Conversion): Fix typo
3221 (LC_TYPE -> LC_CTYPE).
3222
cc6e48bc
NB
32232012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3224
3225 [BZ #5805]
3226 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3227 (scalbnf): Likewise.
3228 (scalbnl): Likewise.
3229 (scalbln): Likewise.
3230 (scalblnf): Likewise.
3231 (scalblnl): Likewise.
3232 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3233 (vwarnx): Likewise.
3234 (verr): Likewise.
3235 (verrx): Likewise.
3236 * manual/filesys.texi (telldir): Use braces around return type.
3237 * manual/llio.texi (mmap): Add space after comma.
3238 (mmap64): Likewise.
3239 * manual/math.texi (jn): Use @var{} on parameter names.
3240 (jnf): Likewise.
3241 (jnl): Likewise.
3242 (yn): Likewise.
3243 (ynf): Likewise.
3244 (ynl): Likewise.
3245 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3246 line.
3247 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3248 "...".
3249 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3250 (sched_get_priority_max): Likewise.
3251 * manual/signal.texi (sigvec): Add space after comma.
3252 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3253 names.
3254 (if_indextoname): Likewise.
3255 (if_freenameindex): Likewise.
3256 (sendto): Use ',' instead of '.' in prototype.
3257 * manual/startup.texi (syscall): Use @dots{} instead of literal
3258 "...".
3259 * manual/stdio.texi (__fpending): Separate initial words of
3260 paragraph from @deftypefun line.
3261 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3262 "...".
3263 (vsyslog): Use @var{} on parameter names.
3264 * manual/terminal.texi (stty): Use @var{} on parameter names.
3265 * manual/users.texi (getutmp): Use @var{} on parameter names.
3266 (getutmpx): Likewise.
3267
5b23062f
JM
32682012-02-17 Joseph Myers <joseph@codesourcery.com>
3269
3270 [BZ #6884]
3271 * manual/stdio.texi (fopen): Fix typos in description of
3272 ",ccs=STRING".
3273
8dee4833
AJ
32742012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3275
3276 [BZ #4026]
3277 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3278 get clock_id definition.
3279
9078ce93
TS
32802012-02-17 Thomas Schwinge <thomas@schwinge.name>
3281
3282 [BZ #4822]
3283 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3284 (madvise): Cast every argument to void on its own.
3285
3835c55f
JM
32862012-02-17 Joseph Myers <joseph@codesourcery.com>
3287
3288 [BZ #9902]
3289 * manual/startup.texi (Exit Status): Fix typo.
3290
35c47e37
JM
32912012-02-17 Joseph Myers <joseph@codesourcery.com>
3292
3293 [BZ #10140]
3294 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3295 * manual/examples/argp-ex2.c: Likewise.
3296 * manual/examples/argp-ex3.c: Likewise.
3297
e3b69ca7
RH
32982012-02-16 Richard Henderson <rth@redhat.com>
3299
3300 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3301 * sysdeps/s390/s390-32/initfini.c: Remove.
3302 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3303 * sysdeps/s390/s390-64/initfini.c: Remove.
3304
df83af67
KK
33052012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3306
3307 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3308 compiler output for sysdeps/generic/initfini.c.
3309 * sysdeps/sh/elf/initfini.c: Remove file.
3310
f63f3380
DM
33112012-02-16 David S. Miller <davem@davemloft.net>
3312
fb59b3a4
DM
3313 [BZ #11494]
3314 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3315
f63f3380
DM
3316 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3317 * sysdeps/sparc/crti.S: New file.
3318 * sysdeps/sparc/crtn.S: New file.
3319 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3320 * sysdeps/sparc/sparc64/Makefile: Likewise.
3321
df6a4a4a
MF
33222012-02-15 Mike Frysinger <vapier@gentoo.org>
3323
6dd8f3dc 3324 [BZ #3335]
df6a4a4a
MF
3325 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3326
1cac7236
RM
33272012-02-15 Roland McGrath <roland@hack.frob.com>
3328
d2c736f8
RM
3329 [BZ #4822]
3330 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3331
1cac7236
RM
3332 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3333 (write, read, close): Likewise.
3334 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3335
8e475601
JM
33362012-02-15 Joseph Myers <joseph@codesourcery.com>
3337
3338 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3339 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3340 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3341 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3342 <bits/signalfd.h>.
3343 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3345 bits/signalfd.h.
3346
ed656b40
MP
33472012-02-14 Marek Polacek <polacek@redhat.com>
3348
3349 * sysdeps/x86_64/crti.S: New file.
3350 * sysdeps/x86_64/crtn.S: New file.
3351 * sysdeps/x86_64/elf/initfini.c: Remove file.
3352
2a979d3a
JM
33532012-02-13 Joseph Myers <joseph@codesourcery.com>
3354
3355 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3356 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3357 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3358 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3359 <bits/inotify.h>.
3360 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3361 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3362 bits/inotify.h.
3363
2a418ac3
JM
33642012-02-13 Joseph Myers <joseph@codesourcery.com>
3365
3366 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3367 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3368 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3369 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3370 <bits/eventfd.h>.
3371 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3372 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3373 bits/eventfd.h.
3374
fb779be7
TS
33752012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3376
e19e83c5
RM
3377 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3378 __feraiseexcept instead of feraiseexcept.
7c35ffed 3379
fb779be7
TS
3380 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3381 nanosleep invocations.
3382 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3383 strings, and add error checking for a nanosleep invocations.
3384
59ba27a6
PE
33852012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3386
3387 Replace FSF snail mail address with URLs, as per GNU coding standards.
3388 Most of the snail mail addresses were wrong anyway, and omitting
3389 them makes the source code easier to maintain. Almost all of the
3390 changes are to license notices and to locale LC_IDENTIFICATION
3391 addresses, except for this one:
3392 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3393 not its snail mail address.
3394
57b957eb
RH
33952012-02-09 Richard Henderson <rth@twiddle.net>
3396
af850b1c
RH
3397 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3398 of kernel-features.h.
3399
57b957eb
RH
3400 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3401
6b73181a
MP
34022012-02-08 Marek Polacek <polacek@redhat.com>
3403
3404 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3405 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3406 * sysdeps/gnu/_G_config.h: Likewise.
3407 * sysdeps/generic/_G_config.h: Likewise.
3408
26ecc33a
AS
34092012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3410
6c6dbc63
AS
3411 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3412 tests.
3413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3414
e216c012
AS
3415 * sysdeps/powerpc/powerpc32/crti.S: New file.
3416 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3417 * sysdeps/powerpc/powerpc64/crti.S: New file.
3418 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3419
26ecc33a
AS
3420 * Makeconfig (have-initfini): Don't set.
3421 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3422 * configure.in (nopic_initfini): Don't substitute.
3423 * config.h.in (HAVE_INITFINI): Don't #undef.
3424 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3425 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3426
3add8e13
JM
34272012-02-08 Joseph Myers <joseph@codesourcery.com>
3428
3429 Support crti.S and crtn.S provided directly by architectures.
3430 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3431 [crti.S in sysdirs] (omit-deps): Likewise.
3432 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3433 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3434 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3435 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3436 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3437 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3438 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3439 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3440 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3441 compiler output for sysdeps/generic/initfini.c.
3442 * sysdeps/i386/elf/Makefile: Remove file.
3443 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3444
a22f12b4
MP
34452012-02-07 Marek Polacek <polacek@redhat.com>
3446
3447 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3448 * sysdeps/gnu/_G_config.h: Likewise.
3449 * sysdeps/mach/hurd/_G_config.h: Likewise.
3450
148cf100
MP
34512012-02-07 Marek Polacek <polacek@redhat.com>
3452
3453 * math/Makefile (tests): Add tst-CMPLX2.
3454 * math/tst-CMPLX2.c: New file.
3455
cfdc0dd7
AS
34562012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3457
84ba42c4
AS
3458 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3459
cfdc0dd7
AS
3460 * math/libm-test.inc (jn_test): Add missing L suffix.
3461
622c86f4
MP
34622012-02-06 Marek Polacek <polacek@redhat.com>
3463
3464 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3465 * sysdeps/i386/fpu/e_powf.S: Likewise.
3466 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3467 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3468 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3469 * sysdeps/i386/fpu/e_pow.S: Likewise.
3470 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3471 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3472 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3473 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3474 * sysdeps/i386/fpu/e_log2.S: Likewise.
3475 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3476 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3477 * sysdeps/i386/fpu/e_powl.S: Likewise.
3478 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3479 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3480 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3481 * sysdeps/i386/fpu/e_logl.S: Likewise.
3482 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3483 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3484 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3485 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3486 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3487 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3488 * sysdeps/i386/fpu/e_log.S: Likewise.
3489 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3490 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3491 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3492 * sysdeps/i386/fpu/e_logf.S: Likewise.
3493 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3494 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3495 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3496 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3497 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3498 * sysdeps/i386/fpu/e_log10.S: Likewise.
3499 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3500 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3501 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3502 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3503 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3504 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3505 * sysdeps/i386/asm-syntax.h: Likewise.
3506 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3507 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3508 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3509 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3510 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3511 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3512 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3513 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3514 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3515 * sysdeps/powerpc/sysdep.h: Likewise.
3516 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3517 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3518
d4a54ac6
JM
35192012-02-06 Joseph Myers <joseph@codesourcery.com>
3520
3521 [BZ #411]
3522 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3523
314054ea
JM
35242012-02-06 Joseph Myers <joseph@codesourcery.com>
3525
3526 * sysdeps/i386/sysdep.h: Include <features.h>.
3527 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3528 version.
3529
d8e0ca50
JM
35302012-02-05 Joseph Myers <joseph@codesourcery.com>
3531
3532 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3533 Define.
3534 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3535 LOAD_PIC_REG_STR.
3536
b1da7dd9
JM
35372012-02-03 Joseph Myers <joseph@codesourcery.com>
3538
3539 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3540 (SETUP_PIC_REG): Use GET_PC_THUNK.
3541 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3542 macro.
3543
9a1d9254
JM
35442012-02-03 Joseph Myers <joseph@codesourcery.com>
3545
3546 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3547 for non-PIC compilation.
3548 (SETUP_PIC_REG): Add .p2align directive.
3549 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3550 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3551 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3552 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3553 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3554 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3555 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3556 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3557 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3558 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3559 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3560 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3561 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3562 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3563 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3564 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3565 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3566 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3567 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3568 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3569 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3570 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3571 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3572 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3573 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3574 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3575 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3576 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3577 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3578 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3579 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3580 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3581 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3582 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3583 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3584 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3585 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3586 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3587 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3588 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3589 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3590
65dc3b75
JM
35912012-02-03 Joseph Myers <joseph@codesourcery.com>
3592
3593 * math/tst-CMPLX.c: Include <stdio.h>.
3594
d55bf177
JM
35952012-01-31 Joseph Myers <joseph@codesourcery.com>
3596
3597 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3598 float.
3599 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3600 * sysdeps/sparc/bits/mathdef.h: Likewise.
3601
69db4f8f
MP
36022012-01-31 Marek Polacek <polacek@redhat.com>
3603
3604 * libio/libio.h: Don't define _PARAMS.
3605 * locale/programs/config.h: Don't define PARAMS.
3606 * stdlib/strtol_l.c: Likewise.
3607 (__strtol_l): Remove PARAMS from the prototype.
3608
41b81892
UD
36092012-01-31 Ulrich Drepper <drepper@gmail.com>
3610
3b49edc0
UD
3611 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3612 names. Just use the correct names. Remove unnecessary wrapper
3613 functions.
3614 * malloc/arena.c: Likewise.
3615 * malloc/hooks.c: Likewise.
3616
41b81892
UD
3617 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3618 ARENA_TEST says not to. Simplify test for creation of a new arena.
3619 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3620
27a25b6e
UD
36212012-01-30 Ulrich Drepper <drepper@gmail.com>
3622
3623 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3624 into tail calls.
3625 (update_get_addr): New function.
3626 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3627 GET_ADDR_MODULE parameter.
3628
c8a89e7d
JM
36292012-01-30 Joseph Myers <joseph@codesourcery.com>
3630
3631 * crypt/cert.c: Remove __STDC__ conditionals.
3632 * crypt/crypt-entry.c: Likewise.
3633 * crypt/crypt_util.c: Likewise.
3634 * libio/filedoalloc.c: Likewise.
3635 * libio/fileops.c: Likewise.
3636 * libio/genops.c: Likewise.
3637 * libio/iofclose.c: Likewise.
3638 * libio/iofdopen.c: Likewise.
3639 * libio/iofopen.c: Likewise.
3640 * libio/iofopen64.c: Likewise.
3641 * libio/iogetdelim.c: Likewise.
3642 * libio/iopopen.c: Likewise.
3643 * libio/obprintf.c: Likewise.
3644 * libio/oldfileops.c: Likewise.
3645 * libio/oldiofclose.c: Likewise.
3646 * libio/oldiofdopen.c: Likewise.
3647 * libio/oldiofopen.c: Likewise.
3648 * libio/oldiopopen.c: Likewise.
3649 * libio/wfiledoalloc.c: Likewise.
3650 * libio/wgenops.c: Likewise.
3651 * locale/programs/xmalloc.c: Likewise.
3652 * misc/syslog.c: Likewise.
3653 * stdio-common/xbug.c: Likewise.
3654 * string/memchr.c: Likewise.
3655 * string/memcmp.c: Likewise.
3656 * string/memrchr.c: Likewise.
3657 * string/rawmemchr.c: Likewise.
3658 * sysdeps/posix/getcwd.c: Likewise.
3659 * time/strftime_l.c: Likewise.
3660
3b100462
JM
36612012-01-30 Joseph Myers <joseph@codesourcery.com>
3662
3663 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
3664 * config.make.in (config-cflags-sse2avx): Define.
3665 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3666 Fix typo.
3667
607998af
CM
36682012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3669
3670 * scripts/config.guess: Update from upstream config git repository.
3671 * scripts/config.sub: Likewise.
3672
3601428f
CM
36732012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3674
3ac8b282
CM
3675 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3676 (EM_NUM): Update.
3677 (R_TILEPRO_*, R_TILEGX_*): New macros.
3678
e034841e
CM
3679 * scripts/firstversions.awk: Fix bug in version range handling.
3680
540d7568
CM
3681 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3682
3601428f
CM
3683 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3684
463de862
CM
3685 * include/sys/epoll.h: New file.
3686 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3687 libc_hidden_def.
3688
73139a76
UD
36892012-01-28 Ulrich Drepper <drepper@gmail.com>
3690
96bc5b45
UD
3691 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3692 Avoid unnecessary __WORDSIZE == 64 test.
3693 (fmaxf): Use VEX format if possible.
3694 (fmax): Likewise.
3695 (fminf): Likewise.
3696 (fmin): Likewise.
3697
56f6f6a2
UD
3698 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3699 * math/math_private.h: Remove libc_fegetround* and
3700 libc_fesetround*.
3701 * sysdeps/i386/configure.in: Check for -msse2avx.
3702 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3703 also if SSE2AVX is defined.
3704 Remove libc_fegetround* and libc_fesetround*.
3705 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3706 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3707 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3708 of HAS_YMM_USABLE.
3709 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3710 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3711 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3712 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3713 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3714
73139a76
UD
3715 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3716
d73f93a4
AZ
37172012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3718
3719 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3720 size is not set.
3721 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3722
6ee65ed6
UD
37232012-01-27 Ulrich Drepper <drepper@gmail.com>
3724
3725 [BZ #13618]
3726 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3727 relocation.
3728 * Makeconfig (libm): Define.
3729 * elf/Makefile: Add rules to build and run tst-relsort1.
3730 * elf/tst-relsort1.c: New file.
3731 * elf/tst-relsort1mod1.c: New file.
3732 * elf/tst-relsort1mod2.c: New file.
3733
8db21882
JM
37342012-01-27 Joseph Myers <joseph@codesourcery.com>
3735
3736 * math/s_ldexp.c: Remove __STDC__ conditionals.
3737 * math/s_ldexpf.c: Likewise.
3738 * math/s_ldexpl.c: Likewise.
3739 * math/s_nextafter.c: Likewise.
3740 * math/s_nexttowardf.c: Likewise.
3741 * math/s_significand.c: Likewise.
3742 * math/s_significandf.c: Likewise.
3743 * math/s_significandl.c: Likewise.
3744 * math/w_jnl.c: Likewise.
3745 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3746 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3747 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3748 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3749 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3750 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3751 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3752 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3753 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3754 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3755 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3756 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3757 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3758 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3759 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3760 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3761 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3762 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3763 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3764 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3765 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3766 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3767 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3768 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3769 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3770 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3771 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3772 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3773 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3774 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3775 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3776 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3777 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3778 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3779 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3780 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3781 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3782 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3783 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3784 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3785 * sysdeps/ieee754/k_standard.c: Likewise.
3786 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3787 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3788 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3789 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3790 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3791 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3792 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3793 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3794 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3795 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3796 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3797 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3798 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3799 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3800 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3801 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3802 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3803 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3804 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3805 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3806 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3807 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3808 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3809 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3810 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3811 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3812 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3813 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3814 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3815 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3816 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3817 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3818 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3819 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3820 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3821 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3822 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3823 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3824 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3825 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3826 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3827 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3828 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3829 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3830 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3831 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3832 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3833 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3834 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3835 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3836 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3837 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3838 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3839 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3840 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3841 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3842 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3843 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3844 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3845 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3846 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3847 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3848 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3849 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3850 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3851 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3852 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3853 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3854 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3855 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3856 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3857 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3858 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3859 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3860 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3861 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3862 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3863 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3864 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3865 * sysdeps/ieee754/s_matherr.c: Likewise.
3866 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3867 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3868 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3869 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3870
965a54a4
JM
38712012-01-26 Joseph Myers <joseph@codesourcery.com>
3872
3873 * crypt/md5.h: Remove __STDC__ conditionals.
3874 * libio/libioP.h: Likewise.
3875 * locale/programs/config.h: Likewise.
3876 * sysdeps/generic/sysdep.h: Likewise.
3877 * sysdeps/i386/asm-syntax.h: Likewise.
3878 * sysdeps/s390/asm-syntax.h: Likewise.
3879 * sysdeps/unix/sysdep.h: Likewise.
3880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3882
7071ad79
JM
38832012-01-26 Joseph Myers <joseph@codesourcery.com>
3884
3885 * libio/libio.h: Remove __STDC__ conditionals.
3886 * malloc/obstack.h: Likewise.
3887 * math/complex.h: Likewise.
3888 * math/math.h: Likewise.
3889 * sysdeps/generic/_G_config.h: Likewise.
3890 * sysdeps/gnu/_G_config.h: Likewise.
3891 * sysdeps/mach/hurd/_G_config.h: Likewise.
3892 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3893 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3894 * sysdeps/sparc/bits/mathdef.h: Likewise.
3895
afc5ed09
UD
38962012-01-26 Ulrich Drepper <drepper@gmail.com>
3897
3898 [BZ #13583]
3899 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 3900 Clean up HAS_* macros.
afc5ed09 3901 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
3902 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3903 possible.
3904 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3905 HAS_AVX.
3906 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3907 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3908 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3909 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3910 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 3911
bdb6de1d
JM
39122012-01-25 Joseph Myers <joseph@codesourcery.com>
3913
3914 * elf/tst-unique3.cc (gets): Remove declaration.
3915 * elf/tst-unique3lib.cc (gets): Likewise.
3916 * elf/tst-unique3lib2.cc (gets): Likewise.
3917 * elf/tst-unique4.cc (gets): Likewise.
3918
b15549e6
UD
39192012-01-24 Ulrich Drepper <drepper@gmail.com>
3920
3921 * include/stdio.h: Add C++ protection. Add gets declarations and
3922 definitions.
3923 * debug/tst-chk1.c: Don't declare gets here.
3924 * stdio-common/tst-gets.c: Likewise.
3925
a037381f
JM
39262012-01-24 Joseph Myers <joseph@codesourcery.com>
3927
3928 * posix/glob: Remove directory.
3929
f1d4aa75
JM
39302012-01-24 Joseph Myers <joseph@codesourcery.com>
3931
3932 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3933
81c0c964
PT
39342012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3935
3936 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3937 of the non-standard EPFNOSUPPORT.
3938
0ea698ae
ST
39392011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3940
3941 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3942 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3943 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3944
d220b117
UD
39452012-01-21 Ulrich Drepper <drepper@gmail.com>
3946
3947 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3948
3e1aa84e
UD
39492012-01-20 Ulrich Drepper <drepper@gmail.com>
3950
3951 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3952 transient errors.
3953 * nscd/grpcache.c (cache_addgr): Likewise.
3954 * nscd/hstcache.c (cache_addhst): Likewise.
3955 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3956 * nscd/pwdcache.c (cache_addpw): Likewise.
3957 * nscd/servicescache.c (cache_addserv): Likewise.
3958
400aa020
UD
39592012-01-16 Ulrich Drepper <drepper@gmail.com>
3960
d77e7869
UD
3961 * malloc/malloc.c: Various cleanups.
3962 * malloc/hooks.c: Likewise.
3963
400aa020
UD
3964 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3965 * stdlib/bug-fmtmsg1.c: New file.
3966
3967 * stdlib/fmtmsg.c (init): Add missing unlock.
3968 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3969
e0a309cf
MP
39702012-01-12 Marek Polacek <polacek@redhat.com>
3971
3972 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3973 and _GNU_SOURCE.
3974
929d11c7
WS
39752012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3976
3977 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3978 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3979 macro to ensure uniqueness of label name.
3980 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3981 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3982
41d0e869
UD
39832012-01-11 Ulrich Drepper <drepper@gmail.com>
3984
0cc5ed3b
UD
3985 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3986
41d0e869
UD
3987 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3988 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3989 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3990 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3991
a47a831a
UD
39922012-01-10 Ulrich Drepper <drepper@gmail.com>
3993
daa891c0
UD
3994 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3995
3996 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3997 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3998 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3999
e58ef0f2
UD
4000 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4001
a47a831a 4002 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
4003 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4004 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 4005 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
4006
4007 * math/bits/math-finite.h: Add ldexp support.
4008
a0bfc9c7
MP
40092012-01-10 Marek Polacek <polacek@redhat.com>
4010
4011 * locale/programs/localedef.h (show_archive_content): Add noreturn
4012 attribute.
4013
d6e97a1d
UD
40142012-01-09 Ulrich Drepper <drepper@gmail.com>
4015
4016 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4017
d5835c26
UD
40182012-01-08 Ulrich Drepper <drepper@gmail.com>
4019
e5f484c6
UD
4020 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4021
d5835c26
UD
4022 * io/Makefile (headers): Add bits/poll2.h.
4023
d1f741e9
WS
40242011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4025
4026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4027 typo #include statement.
4028
ec09c1c4
UD
40292012-01-08 Ulrich Drepper <drepper@gmail.com>
4030
4031 * include/sys/cdefs.h: Define __attribute_alloc_size.
4032 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4033 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4034 * elf/pldd.c: Likewise.
4035 * iconv/iconv_charmap.c: Likewise.
4036 * iconv/iconvconfig.c: Likewise.
4037 * iconv/strtab.c: Likewise.
4038 * locale/programs/locale.c: Likewise.
4039 * locale/programs/localedef.h: Likewise.
4040 * locale/programs/simple-hash.c: Likewise.
4041 * nscd/nscd.h: Likewise.
4042 * nss/makedb.c: Likewise.
4043 * sysdeps/generic/ldconfig.h: Likewise.
4044 * locale/programs/localedef.c: Remove xmalloc prototype.
4045 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4046
20b38e03
PP
40472012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4048
4049 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4050 appropriate.
4051
a0da5fe1
UD
40522012-01-08 Ulrich Drepper <drepper@gmail.com>
4053
1d5a644a 4054 * math/Makefile (tests): Add tst-CMPLX.
669704fd 4055 * math/tst-CMPLX.c: New file.
1d5a644a 4056
8784a6db
UD
4057 * math/complex.h (CMPLXL): Fix typo.
4058
d9a216c0
UD
4059 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4060 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4061 GLIBC_2.16.
4062 * debug/tst-chk1.c: Add poll and ppoll tests.
4063 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4064 * include/sys/poll.h: Add hidden proto for ppoll.
4065 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4066 * sysdeps/mach/hurd/ppoll.c: Likewise.
4067 * io/ppoll.c: Likewise.
4068 * debug/poll_chk.c: New file.
4069 * debug/ppoll_chk.c: New file.
4070 * include/bits/poll2.h: New file.
4071 * io/bits/poll2.h: New file.
4072
ac097f5c
UD
4073 [BZ #1350]
4074 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4075
2119dcfa
UD
4076 * configure.in: static is always set to yes. Remove.
4077 * config.make.in: Don't set build-static.
4078 * Makeconfig: Remove use of build-static.
4079 * dlfcn/Makefile: Likewise.
4080 * elf/Makefile: Likewise.
4081 * math/Makefile: Likewise.
4082 * misc/Makefile: Likewise.
4083 * nptl/Makefile: Likewise.
4084 * sysdeps/mach/hurd/Makefile: Likewise.
4085
121766a9
UD
4086 * configure.in: PWD_P is not used anymore.
4087 * config.make.in: Remove PWD_P entry.
4088
51a1d39c 4089 * configure.in: Remove last remnants of RANLIB.
8720d066 4090 No need to check for signed size_t anymore.
215f4bdc
UD
4091 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4092 and IA-64.
3857022a 4093 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
4094 * aclocal.m4: Likewise.
4095
d3ed7225
UD
4096 * wcsmbs/mbrtoc16.c: Implement using towc function.
4097 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4098 * wcsmbs/wcsmbsload.c: Likewise.
4099 * iconv/gconv_simple.c: Likewise.
4100 * iconv/gconv_int.h: Likewise.
4101 * iconv/gconv_builtin.h: Likewise.
4102 * iconv/iconv_prog.c: Remove CHAR16 handling.
4103
4104 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4105
4106 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4107
a0da5fe1
UD
4108 * configure.in: Remove --with-elf and --enable-bounded options.
4109 Dont set base_machine for ia64. More non-ELF conditions removed.
4110 Remove testing and setting of leading underscore information.
4111 * config.make.in (build-bounded): Set to no.
4112 * config.h.in: Remove NO_UNDERSCORES entry.
4113 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4114 them.
4115 * csu/start.c: Remove !NO_UNDERSCORE code.
4116 * locale/localeinfo.h: Likewise.
4117 * sysdeps/generic/machine-gmon.h: Likewise.
4118 * sysdeps/generic/sysdep.h: Likewise.
4119 * sysdeps/i386/sysdep.h: Likewise.
4120 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4121 * sysdeps/mach/sysdep.h: Likewise.
4122 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4123 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4124 * sysdeps/sh/sysdep.h: Likewise.
4125 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4126 * sysdeps/unix/i386/sysdep.S: Likewise.
4127 * sysdeps/unix/sparc/start.c: Likewise.
4128 * sysdeps/unix/sparc/sysdep.S: Likewise.
4129 * sysdeps/unix/sparc/sysdep.h: Likewise.
4130 * sysdeps/unix/start.c: Likewise.
4131 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4132 * sysdeps/x86_64/sysdep.h: Likewise.
4133
df78418a
UD
41342012-01-07 Ulrich Drepper <drepper@gmail.com>
4135
a784e502
UD
4136 [BZ #13553]
4137 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4138 for non-gcc.
4139 * argp/argp-fmtstream.h: Use const instead __const.
4140 * argp/argp.h: Likewise.
4141 * assert/assert.h: Likewise.
4142 * bits/fenv.h: Likewise.
4143 * bits/sched.h: Likewise.
4144 * bits/sigset.h: Likewise.
4145 * bits/sigthread.h: Likewise.
4146 * catgets/nl_types.h: Likewise.
4147 * conform/data/pthread.h-data: Likewise.
4148 * crypt/crypt-private.h: Likewise.
4149 * crypt/crypt.h: Likewise.
4150 * crypt/crypt_util.c: Likewise.
4151 * ctype/ctype.h: Likewise.
4152 * debug/execinfo.h: Likewise.
4153 * debug/mbsnrtowcs_chk.c: Likewise.
4154 * debug/mbsrtowcs_chk.c: Likewise.
4155 * debug/wcsnrtombs_chk.c: Likewise.
4156 * debug/wcsrtombs_chk.c: Likewise.
4157 * debug/wcstombs_chk.c: Likewise.
4158 * dirent/dirent.h: Likewise.
4159 * dlfcn/dlfcn.h: Likewise.
4160 * elf/neededtest4.c: Likewise.
4161 * grp/grp.h: Likewise.
4162 * gshadow/gshadow.h: Likewise.
4163 * iconv/gconv.h: Likewise.
4164 * iconv/gconv_int.h: Likewise.
4165 * iconv/gconv_simple.c: Likewise.
4166 * iconv/iconv.h: Likewise.
4167 * iconv/loop.c: Likewise.
4168 * iconv/skeleton.c: Likewise.
4169 * include/aio.h: Likewise.
4170 * include/aliases.h: Likewise.
4171 * include/argz.h: Likewise.
4172 * include/arpa/inet.h: Likewise.
4173 * include/assert.h: Likewise.
4174 * include/dirent.h: Likewise.
4175 * include/dlfcn.h: Likewise.
4176 * include/execinfo.h: Likewise.
4177 * include/fcntl.h: Likewise.
4178 * include/fenv.h: Likewise.
4179 * include/glob.h: Likewise.
4180 * include/grp.h: Likewise.
4181 * include/libintl.h: Likewise.
4182 * include/mntent.h: Likewise.
4183 * include/netdb.h: Likewise.
4184 * include/pwd.h: Likewise.
4185 * include/rpc/netdb.h: Likewise.
4186 * include/sched.h: Likewise.
4187 * include/search.h: Likewise.
4188 * include/shadow.h: Likewise.
4189 * include/signal.h: Likewise.
4190 * include/stdio.h: Likewise.
4191 * include/stdlib.h: Likewise.
4192 * include/string.h: Likewise.
4193 * include/sys/socket.h: Likewise.
4194 * include/sys/stat.h: Likewise.
4195 * include/sys/statfs.h: Likewise.
4196 * include/sys/statvfs.h: Likewise.
4197 * include/sys/syslog.h: Likewise.
4198 * include/sys/time.h: Likewise.
4199 * include/sys/uio.h: Likewise.
4200 * include/time.h: Likewise.
4201 * include/unistd.h: Likewise.
4202 * include/utmp.h: Likewise.
4203 * include/wchar.h: Likewise.
4204 * include/wctype.h: Likewise.
4205 * inet/aliases.h: Likewise.
4206 * inet/arpa/inet.h: Likewise.
4207 * inet/netinet/ether.h: Likewise.
4208 * inet/netinet/in.h: Likewise.
4209 * intl/libintl.h: Likewise.
4210 * io/bits/fcntl2.h: Likewise.
4211 * io/fcntl.h: Likewise.
4212 * io/ftw.h: Likewise.
4213 * io/sys/poll.h: Likewise.
4214 * io/sys/stat.h: Likewise.
4215 * io/sys/statfs.h: Likewise.
4216 * io/sys/statvfs.h: Likewise.
4217 * io/utime.h: Likewise.
4218 * libio/bits/stdio.h: Likewise.
4219 * libio/bits/stdio2.h: Likewise.
4220 * libio/libio.h: Likewise.
4221 * libio/libioP.h: Likewise.
4222 * libio/stdio.h: Likewise.
4223 * locale/lc-ctype.c: Likewise.
4224 * locale/locale.h: Likewise.
4225 * login/utmp.h: Likewise.
4226 * malloc/arena.c: Likewise.
4227 * malloc/malloc.c: Likewise.
4228 * malloc/malloc.h: Likewise.
4229 * malloc/mcheck.c: Likewise.
4230 * malloc/mtrace.c: Likewise.
4231 * math/bits/mathcalls.h: Likewise.
4232 * math/fenv.h: Likewise.
4233 * math/math_private.h: Likewise.
4234 * misc/bits/error.h: Likewise.
4235 * misc/bits/syslog.h: Likewise.
4236 * misc/err.h: Likewise.
4237 * misc/error.h: Likewise.
4238 * misc/fstab.h: Likewise.
4239 * misc/mntent.h: Likewise.
4240 * misc/regexp.h: Likewise.
4241 * misc/search.h: Likewise.
4242 * misc/sgtty.h: Likewise.
4243 * misc/sys/mman.h: Likewise.
4244 * misc/sys/syslog.h: Likewise.
4245 * misc/sys/uio.h: Likewise.
4246 * misc/sys/xattr.h: Likewise.
4247 * misc/ttyent.h: Likewise.
4248 * nis/rpcsvc/ypclnt.h: Likewise.
4249 * nss/nss.h: Likewise.
4250 * posix/bits/unistd.h: Likewise.
4251 * posix/fnmatch.h: Likewise.
4252 * posix/glob.h: Likewise.
4253 * posix/sched.h: Likewise.
4254 * posix/spawn.h: Likewise.
4255 * posix/sys/wait.h: Likewise.
4256 * posix/unistd.h: Likewise.
4257 * posix/wordexp.h: Likewise.
4258 * pwd/pwd.h: Likewise.
4259 * resolv/netdb.h: Likewise.
4260 * resource/sys/resource.h: Likewise.
4261 * rt/aio.h: Likewise.
4262 * rt/bits/mqueue2.h: Likewise.
4263 * rt/mqueue.h: Likewise.
4264 * shadow/shadow.h: Likewise.
4265 * signal/signal.h: Likewise.
4266 * socket/send.c: Likewise.
4267 * socket/sendto.c: Likewise.
4268 * socket/sys/socket.h: Likewise.
4269 * stdio-common/printf.h: Likewise.
4270 * stdlib/bits/stdlib.h: Likewise.
4271 * stdlib/fmtmsg.h: Likewise.
4272 * stdlib/monetary.h: Likewise.
4273 * stdlib/stdlib.h: Likewise.
4274 * stdlib/ucontext.h: Likewise.
4275 * streams/stropts.h: Likewise.
4276 * string/argz.h: Likewise.
4277 * string/bits/string2.h: Likewise.
4278 * string/string.h: Likewise.
4279 * string/strings.h: Likewise.
4280 * sunrpc/rpc/auth.h: Likewise.
4281 * sunrpc/rpc/auth_des.h: Likewise.
4282 * sunrpc/rpc/clnt.h: Likewise.
4283 * sunrpc/rpc/netdb.h: Likewise.
4284 * sunrpc/rpc/pmap_clnt.h: Likewise.
4285 * sunrpc/rpc/xdr.h: Likewise.
4286 * sysdeps/generic/inttypes.h: Likewise.
4287 * sysdeps/generic/net/if.h: Likewise.
4288 * sysdeps/generic/sys/swap.h: Likewise.
4289 * sysdeps/gnu/net/if.h: Likewise.
4290 * sysdeps/gnu/utmpx.h: Likewise.
4291 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4292 * sysdeps/i386/i486/bits/string.h: Likewise.
4293 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4294 * sysdeps/s390/bits/string.h: Likewise.
4295 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4296 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4297 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4298 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4299 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4300 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4301 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4302 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4303 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4304 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4305 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4306 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4307 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4308 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4309 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4310 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4311 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4312 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4313 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4314 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4315 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4316 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4317 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4318 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4319 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4320 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4321 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4322 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4323 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4324 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4325 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4326 * sysvipc/sys/ipc.h: Likewise.
4327 * sysvipc/sys/msg.h: Likewise.
4328 * sysvipc/sys/sem.h: Likewise.
4329 * sysvipc/sys/shm.h: Likewise.
4330 * termios/termios.h: Likewise.
4331 * time/sys/time.h: Likewise.
4332 * time/time.h: Likewise.
4333 * wcsmbs/bits/wchar2.h: Likewise.
4334 * wcsmbs/uchar.h: Likewise.
4335 * wcsmbs/wchar.h: Likewise.
4336 * wctype/wctype.h: Likewise.
4337
0269750c
UD
4338 [BZ #13551]
4339 * Makeconfig: Remove all but ELF support including AIX support.
4340 * Makerules: Likewise.
4341 * config.h.in: Likewise.
4342 * config.make.in: Likewise.
4343 * configure: Likewise.
4344 * configure.in: Likewise.
4345 * csu/Makefile: Likewise.
4346 * csu/version.c: Likewise.
4347 * debug/Makefile: Likewise.
4348 * dlfcn/Makefile: Likewise.
4349 * elf/Makefile: Likewise.
4350 * extra-lib.mk: Likewise.
4351 * iconv/Makefile: Likewise.
4352 * include/libc-symbols.h: Likewise.
4353 * include/shlib-compat.h: Likewise.
4354 * resolv/Makefile: Likewise.
4355 * resolv/res_libc.c: Likewise.
4356 * rt/Makefile: Likewise.
4357 * sysdeps/i386/asm-syntax.h: Likewise.
4358 * sysdeps/i386/sysdep.h: Likewise.
4359 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4360 * sysdeps/mach/sysdep.h: Likewise.
4361 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4362 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4363 * sysdeps/s390/asm-syntax.h: Likewise.
4364 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4365 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4366 * sysdeps/sh/sysdep.h: Likewise.
4367 * sysdeps/unix/sparc/sysdep.h: Likewise.
4368 * sysdeps/wordsize-32/divdi3.c: Likewise.
4369 * sysdeps/x86_64/sysdep.h: Likewise.
4370
00bbd29b
UD
4371 * argp/Versions: Remove _argp_unlock_xxx.
4372
4373 [BZ #13559]
4374 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4375 * abilist/libBrokenLocale.abilist: Likewise.
4376 * abilist/libanl.abilist: Likewise.
4377 * abilist/libc.abilist: Likewise.
4378 * abilist/libcrypt.abilist: Likewise.
4379 * abilist/libdl.abilist: Likewise.
4380 * abilist/libm.abilist: Likewise.
4381 * abilist/libnsl.abilist: Likewise.
4382 * abilist/libpthread.abilist: Likewise.
4383 * abilist/libresolv.abilist: Likewise.
4384 * abilist/librt.abilist: Likewise.
4385 * abilist/libthread_db.abilist: Likewise.
4386 * abilist/libutil.abilist: Likewise.
4387 * abilist/libnss_db.abilist: New file.
4388
4389 * scripts/abilist.awk: Add support for indirect functions.
4390
a2693a0e
UD
4391 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4392
3f05895f
UD
4393 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4394
ecb6fb48
UD
4395 * shlib-versions: Remove entries for ports architectures.
4396
664f8cb9
UD
4397 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4398 files in ports.
4399 * elf/stackguard-macros.h: Remove support for IA-64.
4400 * elf/tst-auditmod1.c: Likewise.
4401 * sysdeps/generic/ldsodefs.h: Likewise.
4402
7ae81d88
UD
4403 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4404 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4405 configure files.
4406
bdeba135
UD
4407 [BZ #13552]
4408 * configure.in: Remove --enable-omitfp support.
4409 * FAQ.in: Adjust.
4410 * config.make.in: Likewise.
4411 * Makeconfig: Likewise.
4412 * manual/install.texi: Likewise.
4413
d75a0a62
UD
4414 In case anyone cares, the IA-64 architecture could move to ports.
4415 * sysdeps/ia64/*: Removed.
4416 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 4417 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 4418
dcc9756b
UD
4419 [BZ #13555]
4420 * configure.in: Remove entries for unsupported architectures.
4421
d3761ebc 4422 [BZ #13533]
9954432e
UD
4423 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4424 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4425 routines.
4426 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4427 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4428 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4429 fall back to using wcrtomb.
4430 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4431 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4432 renaming.
4433 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4434 * wcsmbs/tst-c16c32-1.c: New file.
4435
4436 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4437 local variable.
4438
c3a87236
UD
4439 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4440
28926a1b
UD
4441 * elf/tst-unique3.cc: Add explicit declaration of gets.
4442 * elf/tst-unique3lib.cc: Likewise.
4443 * elf/tst-unique3lib2.cc: Likewise.
4444 * elf/tst-unique4.cc: Likewise.
4445
df78418a
UD
4446 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4447
8ecd6b2a
JM
44482012-01-06 Joseph Myers <joseph@codesourcery.com>
4449
4450 [BZ #13566]
4451 * assert/assert.h (static_assert): Don't define for C++.
4452 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4453 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4454
9f115170
UD
44552012-01-03 Ulrich Drepper <drepper@gmail.com>
4456
5e0d0300
UD
4457 * iconv/loop.c (single loop): Fix assertion in storing of
4458 remaining bytes.
4459
9f115170
UD
4460 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4461
81fb02b0
UD
44622012-01-01 Ulrich Drepper <drepper@gmail.com>
4463
4464 * posix/getconf.c: Update copyright year.
4465 * nss/getent.c: Likewise.
a316c1f6 4466 * nss/makedb.c: Likewise.
81fb02b0
UD
4467 * iconv/iconvconfig.c: Likewise.
4468 * iconv/iconv_prog.c: Likewise.
4469 * elf/ldconfig.c: Likewise.
a316c1f6
UD
4470 * elf/pldd.c: Likewise.
4471 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
4472 * catgets/gencat.c: Likewise.
4473 * csu/version.c: Likewise.
4474 * elf/ldd.bash.in: Likewise.
4475 * elf/sprof.c (print_version): Likewise.
4476 * locale/programs/locale.c: Likewise.
4477 * locale/programs/localedef.c: Likewise.
a316c1f6 4478 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4479 * nscd/nscd.c (print_version): Likewise.
4480 * debug/xtrace.sh: Likewise.
4481 * malloc/memusage.sh: Likewise.
4482 * malloc/mtrace.pl: Likewise.
4483 * debug/catchsegv.sh: Likewise.
4484
2ba92745
JJ
44852011-12-30 Jakub Jelinek <jakub@redhat.com>
4486
4487 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4488 pure attribute.
4489
dadebdae
UD
44902011-12-24 Ulrich Drepper <drepper@gmail.com>
4491
d3761ebc 4492 [BZ #13533]
db6af3eb
UD
4493 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4494 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4495 transformations.
4496 * iconv/gconv_int.h: Likewise.
4497 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4498 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4499 from libc for GLIBC_2.16.
4500 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4501 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4502 * wcsmbs/uchar.h: Really define mbstate_t.
4503 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4504 * wcsmbs/c16rtomb.c: New file.
4505 * wcsmbs/mbrtoc16.c: New file.
4506 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4507 for C/POSIX locale.
4508 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4509 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4510
dadebdae
UD
4511 * wcsmbs/wchar.h: Add missing __restrict.
4512
67371b56
UD
45132011-12-23 Ulrich Drepper <drepper@gmail.com>
4514
74033a25
UD
4515 [BZ #13532]
4516 * time/Makefile (routines): Add timespec_get.
4517 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4518 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4519 timespec for ISO C11.
4520 * time/timespec_get.c: New file.
4521 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4522 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4523
380d7e87
UD
4524 [BZ #13531]
4525 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4526 * stdlib/stdlib.h: Declare aligned_alloc.
4527 * Versions.def: Add GLIBC_2.16 for libc.
4528 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4529
4e9e7a35
UD
4530 [BZ 13527]
4531 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4532 ISO C11.
4533
380d7e87 4534 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
4535 code.
4536
03a71829
UD
4537 [BZ #13528]
4538 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4539
839e283e
UD
4540 [BZ #13529]
4541 * assert/assert.h (static_assert): Define.
4542
ce5294e2 4543 * version.h: Update for 2.16 development version.
90fa7312 4544
8d44e150 4545 [BZ #13526]
d7809905
UD
4546 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4547 _ISOC11_SOURCE.
4548
c0da14cd
UD
4549 * version.h (RELEASE): Bump for 2.15 release.
4550 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4551
530a3249
MP
4552 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4553 Patch by Marek Polacek <mpolacek@redhat.com>.
4554
67371b56
UD
4555 * bits/byteswap.h: Protect long long constants with __extension__.
4556 * sysdeps/i386/bits/byteswap.h: Likewise.
4557 * sysdeps/ia64/bits/byteswap.h: Likewise.
4558 * sysdeps/s390/bits/byteswap.h: Likewise.
4559 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4560
15db4de1
LD
45612011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4562
4563 [BZ #13540]
bbe315ea
LD
4564 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4565 destination buffer.
15db4de1
LD
4566 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4567
2b2596b1
MP
45682011-12-23 Marek Polacek <polacek@redhat.com>
4569
4570 * elf/dl-addr.c (determine_info): Add inline keyword.
4571 * elf/tst-auditmod4b.c (check_avx): Likewise.
4572 * elf/tst-auditmod6b.c (check_avx): Likewise.
4573 * elf/tst-auditmod6c.c (check_avx): Likewise.
4574 * elf/tst-auditmod7b.c (check_avx): Likewise.
4575
70c6c246
UD
45762011-12-23 Ulrich Drepper <drepper@gmail.com>
4577
4578 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4579 !__SSE_MATH__.
4580
c044cf14
LD
45812011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4582
15db4de1 4583 [BZ #13540]
c044cf14
LD
4584 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4585 processing for last bytes.
4586
6b13d9d9
BH
45872011-08-06 Bruno Haible <bruno@clisp.org>
4588
d455f537
BH
4589 [BZ #13061]
4590 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4591 U+0385, not to U+1FEE.
4592
6b13d9d9
BH
4593 [BZ #13062]
4594 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4595 entry for U+00A5 U+0301.
4596
db910efd
UD
45972011-12-22 Ulrich Drepper <drepper@gmail.com>
4598
27deeafc
UD
4599 [BZ #13166]
4600 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4601 buffer for the output is too small.
4602
aed9d171
UD
4603 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4604 optimization.
4605
db910efd
UD
4606 [BZ #13185]
4607 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4608 SSE flags if possible.
4609
2bd779ae
LD
46102011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4611
e7f9dac3 4612 [BZ #13540]
2bd779ae
LD
4613 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4614 processing for last bytes.
4615
154bfc16
JM
46162011-12-22 Joseph Myers <joseph@codesourcery.com>
4617
4618 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4619 (syscall-list-default-options, syscall-list-default-condition)
4620 (syscall-list-includes): Define.
4621 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4622 list of ABIs and options and #if conditions for each ABI. Do not
4623 handle common syscalls between ABIs specially.
4624 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4625 Remove.
4626 (syscall-list-variants, syscall-list-32bit-options)
4627 (syscall-list-32bit-condition, syscall-list-64bit-options)
4628 (syscall-list-64bit-condition): Define.
4629 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4630 (syscall-list-variants, syscall-list-32bit-options)
4631 (syscall-list-32bit-condition, syscall-list-64bit-options)
4632 (syscall-list-64bit-condition): Define.
4633 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4634 Remove.
4635 (syscall-list-variants, syscall-list-32bit-options)
4636 (syscall-list-32bit-condition, syscall-list-64bit-options)
4637 (syscall-list-64bit-condition): Define.
4638 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4639 Remove.
4640 (syscall-list-variants, syscall-list-32bit-options)
4641 (syscall-list-32bit-condition, syscall-list-64bit-options)
4642 (syscall-list-64bit-condition): Define.
4643
21eaf3a5
UD
46442011-12-22 Ulrich Drepper <drepper@gmail.com>
4645
16c6f992
UD
4646 * locale/iso-639.def: Add brx entry.
4647
41043168
UD
4648 [BZ #13328]
4649 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4650 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4651
21eaf3a5
UD
4652 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4653 __feraiseexcept_renamed.
4654
e3a851a2
UD
46552011-12-21 Ulrich Drepper <drepper@gmail.com>
4656
4920765e
UD
4657 [BZ #13538]
4658 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4659 EPOLLET with unsigned values.
4660 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4661 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4662
e3a851a2
UD
4663 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4664 to large cancellation.
4665 * math/s_cacoshf.c: Likewise.
4666 * math/s_cacoshl.c: Likewise.
4667
b27e24b8
RK
46682011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4669
4670 [BZ #13305]
aebefeee 4671 [BZ #12786]
b27e24b8
RK
4672 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4673 * math/s_cacoshf.c: Likewise.
4674 * math/s_cacoshl.c: Likewise.
4675
ee190f67
UD
46762011-12-21 Ulrich Drepper <drepper@gmail.com>
4677
4678 [BZ #13439]
4679 * iconv/gconv.h: Define __GCONV_SWAP.
4680 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4681 * iconvdata/utf-16.c: Likewise.
4682 * iconvdata/utf-32.c: Likewise.
4683
707f25df
AS
46842011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4685
4686 [BZ #13524]
4687 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4688 numerator after shifting it by one limb.
4689
d2daaa1e
RÁE
46902011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4691
4692 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4693 under [__USE_EXTERN_INLINES].
4694
a4647e72
UD
46952011-12-17 Ulrich Drepper <drepper@gmail.com>
4696
4697 [BZ #13446]
4698 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4699
f0b264f1
AZ
47002011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4701
4702 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4703 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4704 optimized code.
4705 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4706 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4707 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4708 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4709 for strncasecmp/strncasecmp_l compilation.
4710 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4711 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4712
8ef4f244
MP
47132011-12-08 Marek Polacek <mpolacek@redhat.com>
4714
4715 [BZ #13484]
4716 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4717 of __asm__.
4718
97ac2654
UD
47192011-12-17 Ulrich Drepper <drepper@gmail.com>
4720
4721 [BZ #13506]
4722 * time/tzfile.c (__tzfile_read): Check values from file header.
4723
91d2a845
WS
47242011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4725
4726 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4727 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4728 * powerpc/powerpc32/dl-start.S: Likewise.
4729 * powerpc/powerpc32/elf/start.S: Likewise.
4730 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4731 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4732 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4733 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4734 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4735 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4736 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4737 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4738 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4739 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4740 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4741 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4742 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4743 * powerpc/powerpc32/memset.S: Likewise.
4744 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4745 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4746 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4747 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4748 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4749 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4750 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4751 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4752 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4753 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4754 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4755 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4756 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4757
a1267ba1
AZ
47582011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4759
4760 * math/libm-test.inc: Added more nearbyint tests.
4761 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4762 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4763 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4764 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4765
ad8ac1bd
RL
47662011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4767
4768 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4769 FD_CLOEXEC.
4770
1d3e4b61
UD
47712011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4772
4773 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4774 Add wcscpy-ssse3 wcscpy-c.
4775 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4776 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4777 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4778 * sysdeps/x86_64/wcschr.S: New file.
4779 * sysdeps/x86_64/wcsrchr.S: New file.
4780 * string/test-strcmp.c: Remove checking of wcscmp function for
4781 wrong alignments.
4782 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4783 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4784 wcsrchr-sse2 wcsrchr-c.
4785 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4786 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4787 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4788 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4789 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4790 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4791 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4792 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4793 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4794 * wcsmbc/wcschr.c (WCSCHR): New macro.
4795
5b330a2d
UD
47962011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4797
4798 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4799 * wcsmbs/test-wcsrchr.c: New file.
4800 * string/test-strrchr.c: Add wcsrchr support.
4801 (WIDE): New macro.
4802 * wcsmbs/test-wcscpy.c: New file.
4803 * string/test-strcpy.c: Add wcscpy support.
4804 (WIDE): New macro.
26428b7c 4805
f039c043
UD
48062011-12-10 Ulrich Drepper <drepper@gmail.com>
4807
4808 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4809 the inner loop.
4810
850fb039
AS
48112011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4812
4813 [BZ #13472]
4814 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4815
4efbd5cb
UD
48162011-12-04 Ulrich Drepper <drepper@gmail.com>
4817
52ff5dd0 4818 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 4819 Minor optimizations.
52ff5dd0 4820
4efbd5cb
UD
4821 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4822 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4823 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4824
8a426e12
UD
48252011-12-03 Ulrich Drepper <drepper@gmail.com>
4826
aff2453d
UD
4827 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4828 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4829 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4830 for gcc to avoid warnings.
4831 * inet/Makefile (tests): Add tst-checks.
4832 * inet/tst-checks.c: New file.
4833
4834 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4835 warning.
4836
4837 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4838 __wmemcmp_sse2.
4839
4840 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4841 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4842
8a426e12
UD
4843 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4844
9bea3473
UD
48452011-12-02 Ulrich Drepper <drepper@gmail.com>
4846
3a965496
UD
4847 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4848 problem.
4849
9bea3473
UD
4850 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4851
f101631b
UD
48522011-11-29 Joseph Myers <joseph@codesourcery.com>
4853
4854 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4855 conditional on GCC version.
4856 (__arch_compare_and_exchange_val_8_acq)
4857 (__arch_compare_and_exchange_val_16_acq)
4858 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4859 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4860 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4861
a98275aa
UD
48622011-12-02 Joseph Myers <joseph@codesourcery.com>
4863
4864 * sysdeps/sh/backtrace.c: New file.
4865
d4cc29a2
AS
48662011-12-02 Andreas Schwab <schwab@redhat.com>
4867
4868 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4869 parenthesis.
4870
6257af2d
AS
48712011-12-01 Andreas Schwab <schwab@redhat.com>
4872
4873 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4874 falling back to utime.
4875
b5f44c1a
AS
48762011-11-30 Andreas Schwab <schwab@redhat.com>
4877
4878 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4879 expectations for float.
4880
f3a6cc0a
AS
48812011-11-29 Andreas Schwab <schwab@redhat.com>
4882
4883 * locale/weight.h (findidx): Add parameter len.
4884 * locale/weightwc.h (findidx): Likewise.
4885 * posix/fnmatch_loop.c (FCT): Adjust caller.
4886 * posix/regcomp.c (build_equiv_class): Likewise.
4887 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4888 * posix/regexec.c (check_node_accept_bytes): Likewise.
4889 * string/strcoll_l.c (STRCOLL): Likewise.
4890 * string/strxfrm_l.c (STRXFRM): Likewise.
4891
9d65ea3a
UD
48922011-11-17 Ulrich Drepper <drepper@gmail.com>
4893
4894 * Makefile.in: Remove CVSOPT handling.
4895 * configure.in: Remove use of AC_REVISION.
4896 * iconvdata/Makefile (distribute): No need to filter out CVS.
4897 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4898 handling.
4899
5583a086
AS
49002011-11-16 Andreas Schwab <schwab@redhat.com>
4901
4902 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4903 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4904 [USE_AS_STRNCASECMP_L]: Likewise.
4905 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4906 NO_TLS_DIRECT_SEG_REFS.
4907 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4908 Fix argument offsets for non-PIC.
4909 [USE_AS_STRNCASECMP_L]: Likewise.
4910 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4911 NO_TLS_DIRECT_SEG_REFS.
4912
d62a8200
UD
49132011-11-15 Ulrich Drepper <drepper@gmail.com>
4914
9d65ea3a 4915 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
4916 O_CLOEXEC.
4917 * locale/loadlocale.c (_nl_load_locale): Likewise.
4918
09f93bd3
AS
49192011-11-15 Andreas Schwab <schwab@redhat.com>
4920
446514f9
AS
4921 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4922 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4923 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4924 (SYSCALL_GETTIME): Set errno on error.
4925
09f93bd3
AS
4926 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4927 count references to noai6ai_cached.
4928
312be3f9
UD
49292011-11-15 Ulrich Drepper <drepper@gmail.com>
4930
4931 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4932
4933 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4934 FD_CLOEXEC for /proc/self/maps.
4935
4936 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4937 FD_CLOEXEC for /proc/meminfo.
4938
4939 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4940 gai.conf.
4941
4942 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4943 FD_CLOEXEC for given file.
4944
4945 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4946
4947 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4948 FD_CLOEXEC for /etc/hosts.
4949 (_gethtent): Likewise.
4950
4951 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4952
4953 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4954 cancellation and set FD_CLOEXEC for /etc/netgroup.
4955
4956 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4957 reading /etc/publickey.
4958
4959 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4960 allow cancellation when reading /etc/group.
4961
4962 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4963 cancellation.
4964 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4965
4966 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4967 when using data file.
4968
4969 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4970
4971 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4972 (write_nis_obj): Use "c" and "e" in fopen.
4973
4974 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4975
4976 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4977
4978 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4979
4980 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4981
4982 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4983 locale.alias.
4984
4985 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4986
4987 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4988
4989 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4990
4991 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4992 file parsing and set FD_CLOEXEC.
4993
82af0fa8
UD
49942011-11-14 Ulrich Drepper <drepper@gmail.com>
4995
4996 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4997
a5fb313c
AS
49982011-11-14 Andreas Schwab <schwab@redhat.com>
4999
5000 * malloc/arena.c (arena_get2): Don't call reused_arena when
5001 _int_new_arena failed.
5002
6abf3465
UD
50032011-11-14 Ulrich Drepper <drepper@gmail.com>
5004
5005 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5006 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5007 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5008 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5009 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5010 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5011 to compile strcasecmp and strncasecmp.
5012 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5013 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5014
5015 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5016
76e3966e
UD
50172011-11-13 Ulrich Drepper <drepper@gmail.com>
5018
5019 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5020 locale-defines.sym to gen-as-const-headers.
5021 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5022 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5023 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5024 to compile strcasecmp and strncasecmp.
5025 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5026 strcasecmp_l and strncasecmp_l.
5027 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5028 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5029 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5030 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5031 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5032 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5033 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5034 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5035 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5036 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5037 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5038
ab26144e
UD
50392011-11-12 Ulrich Drepper <drepper@gmail.com>
5040
7edb22ef
UD
5041 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5042 result of SYSDEP_GETTIME_CPU to retval.
5043 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5044 parameter list to macro. Remove trailing semicolon. Adjust users.
5045
9694fc44
UD
5046 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5047 variable.
5048
8ad89ef8
UD
5049 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5050 mantissa words.
5051 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5052
0c822ef9
UD
5053 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5054 from unused variable.
5055
874e0564
UD
5056 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5057 DWARF definitions.
5058 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5059 for assembling.
5060
3a2edc79
UD
5061 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5062 over namespaces.
5063
f3c2577f
UD
5064 * sunrpc/rpc_prot.c (rejected): Fix case value.
5065
294ce126
UD
5066 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5067 unsigned long long int to avoid warnings in shift.
5068
5e2b63c6
UD
5069 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5070 of use of trans.
5071 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5072 variable tmp.
5073
e7f4b08e
UD
5074 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5075 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5076 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5077
ab26144e
UD
5078 * nis/nis_table.c (nis_list): Use variable of correct type for
5079 result of __follow_path call.
5080
8a6d5255
AZ
50812011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5082
5083 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5084 of math functions ceil, trunc, floor, round, and sqrt, when
5085 avaliable on the platform.
5086 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5087 name clash.
5088 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5089 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5090 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5091
aaddc98c
MP
50922011-10-30 Marek Polacek <mpolacek@redhat.com>
5093
5094 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5095 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5096
95b7042b
RM
50972011-11-11 Roland McGrath <roland@hack.frob.com>
5098
5099 * include/unistd.h: Fix __readlink return type.
5100 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5101
57769839
UD
51022011-11-11 Ulrich Drepper <drepper@gmail.com>
5103
5104 * stdlib/ucontext.h: Undo last change for makecontext.
5105
edc5984d
AS
51062011-11-11 Andreas Schwab <schwab@redhat.com>
5107
98591e58
AS
5108 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5109
edc5984d
AS
5110 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5111 * setjmp/setjmp.h: Mark functions as non-leaf.
5112 * setjmp/bits/setjmp2.h: Likewise.
5113 * stdlib/ucontext.h: Likewise.
5114
77cdc054
AS
51152011-11-10 Andreas Schwab <schwab@redhat.com>
5116
5117 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5118 (reused_arena): Don't check arena limit.
5119 (arena_get2): Atomically check arena limit.
5120
fe72eebd
UD
51212011-11-08 Ulrich Drepper <drepper@gmail.com>
5122
5f078c32
UD
5123 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5124 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5125
fe72eebd
UD
5126 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5127 instructions.
5128
ae1bc2fa
AS
51292011-11-07 Andreas Schwab <schwab@redhat.com>
5130
7583a88d
AS
5131 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5132 handler when locking.
5133
ae1bc2fa
AS
5134 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5135 Fix size of allocated buffer.
5136
10fb0bfa
AS
51372011-11-04 Andreas Schwab <schwab@redhat.com>
5138
998832a4
AS
5139 [BZ #10103]
5140 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5141 declarations for long double functions.
5142 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5143
10fb0bfa
AS
5144 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5145
3d7ba52b
AS
51462011-11-03 Andreas Schwab <schwab@redhat.com>
5147
a9ae54a1
AS
5148 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5149 installed.
5150
3d7ba52b
AS
5151 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5152 is disabled.
5153
bc8db248
ST
51542011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5155
5156 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5157
45b96dd6
AS
51582011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5159
647776f6
AS
5160 * include/alloca.h (stackinfo_alloca_round): Define.
5161 (extend_alloca): Use it.
5162 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5163 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5164 here.
5165
d91a8b93
AS
5166 * scripts/check-local-headers.sh: Ignore libaudit.h.
5167
45b96dd6
AS
5168 * nscd/Makefile (extra-objs): Make recursively expanded.
5169
432d41ce
UD
51702011-11-01 Ulrich Drepper <drepper@gmail.com>
5171
34372fc6
UD
5172 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5173 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5174
fadb59f8
UD
5175 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5176 * posix/tst-rfc3484-2.c: Likewise.
5177 * posix/tst-rfc3484-3.c: Likewise.
5178
78239589
UD
5179 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5180 process_vm_writev.
5181 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5182 process_vm_writev.
5183 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5184 process_vm_writev from libc using GLIBC_2.15 version.
5185
432d41ce
UD
5186 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5187
02f9c6cf
PP
51882011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5189
5190 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5191 stack usage.
5192
3a2c0242
UD
51932011-10-31 Ulrich Drepper <drepper@gmail.com>
5194
f4ec4833
UD
5195 [BZ #13367]
5196 * nss/getent.c (initgroups_keys): Show error message in case no group
5197 names are given.
5198
3a2c0242
UD
5199 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5200 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5201 __bump_nl_timestamp.
5202 * nscd/connections (nscd_init): When host database is served open
5203 netlink socket and request notification about configuration changes.
5204 (main_loop_poll): Track netlink file descriptor and bump timestamp
5205 in case data becomes available.
5206 (main_loop_epoll): Likewise.
5207 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5208 (database_pers_head): Add extra_data fileds.
5209 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5210 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5211 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5212 Adjust caller.
5213 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5214 in6ai data, call __free_in6ai.
5215 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5216 Add -DHAVE_NETLINK.
5217 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5218 interface information. Reuse previous data if netlink timestamp
5219 is not changed.
5220 (__bump_nl_timestamp): New function.
5221 (__free_in6ai): New function.
5222
636064eb
UD
52232011-10-30 Ulrich Drepper <drepper@gmail.com>
5224
5225 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5226 close_not_cancel_no_status here.
5227 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5228
9beb2334
UD
52292011-10-29 Ulrich Drepper <drepper@gmail.com>
5230
6ef76f3b
UD
5231 [BZ #13276]
5232 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5233 return value.
5234
0ffc4f3e 5235 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5236 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5237 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5238
cb95113e
UD
52392011-07-03 Andreas Jaeger <aj@suse.de>
5240
5241 [BZ #10709]
5242 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5243 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5244 * math/libm-test.inc (sin_test): Add test case.
5245
a1b560ff
UD
52462011-10-29 Ulrich Drepper <drepper@gmail.com>
5247
c9aaface
UD
5248 [BZ #13337]
5249 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5250 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5251
d272e7f1
UD
5252 * elf/chroot_canon.c (chroot_canon): Cleanups.
5253
1bc33071
UD
5254 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5255
1760874d
TJ
5256 [BZ #13335]
5257 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5258 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5259
51d91b18
UD
5260 * string/test-strchr.c: Make usable for strchrnul testing.
5261 * string/test-strchrnul.c: New file.
5262 * string/Makefile (strop-tests): Add strchrnul.
5263
a1b560ff 5264 * po/it.po: Update from translation team.
b611fb81 5265 * po/es.po: Likewise.
a1b560ff 5266
a5b81e1f
UD
52672011-10-28 Ulrich Drepper <drepper@gmail.com>
5268
fd52bc6d
UD
5269 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5270 the three constants needed as parameters. Drop the others.
5271 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5272 __m128i_strloadu_tolower.
52e4b9eb
UD
5273 Create and initialize variable zero and use it in all the places
5274 where _mm_setzero_si128 was used.
fd52bc6d 5275
a5b81e1f
UD
5276 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5277 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5278 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5279 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5280 anymore.
5281 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5282 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5283 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5284 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5285 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5286 __mpranred, __mptan.
5287 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5288 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5289 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5290 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5291 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5292 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5293 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5294 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5295 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5296
b4343346
AS
52972011-10-28 Andreas Schwab <schwab@redhat.com>
5298
0c92d8a8
AS
5299 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5300 redefine if SHARED.
5301 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5302
b4343346
AS
5303 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5304 wide char related routines to wcsmbs subdir.
5305
3871f58f
AS
53062011-10-27 Andreas Schwab <schwab@redhat.com>
5307
5308 [BZ #13344]
5309 * misc/sys/cdefs.h (__THROWNL): Define.
5310 * posix/unistd.h: Use __THREADNL instead of __THREAD
5311 for memory synchronization functions.
5312
94d44d9f
RM
53132011-10-26 Roland McGrath <roland@hack.frob.com>
5314
21b64b15 5315 [BZ #13349]
94d44d9f
RM
5316 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5317 doesn't exist.
5318 * manual/stdio.texi (Obstack Streams): Node removed.
5319
f6ce9294
AS
53202011-10-26 Andreas Schwab <schwab@redhat.com>
5321
80479147
AS
5322 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5323 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5324 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5325
f6ce9294
AS
5326 * math/math_private.h (math_force_eval): Allow non-addressable
5327 arguments.
5328 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5329
618280a1
UD
53302011-10-25 Ulrich Drepper <drepper@gmail.com>
5331
e0016b11
UD
5332 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5333 file is not needed.
5334
5335 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5336 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5337 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5338 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5339 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5340 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5341 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5342 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5343 Add AVX variants.
5344 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5345 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5346 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5347 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5348 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5349 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5350 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5351 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5352 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5353 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5354 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5355 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5356 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5357 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5358 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5359 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5360 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5361 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5362 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5363
5364 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5365 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5366
618280a1
UD
5367 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5368 place. Use VEX encoding when compiling for AVX.
5369
37822576
AS
53702011-10-25 Andreas Schwab <schwab@redhat.com>
5371
1f1e1947
AS
5372 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5373 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5374
37822576
AS
5375 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5376
31ea014d
UD
53772011-10-25 Ulrich Drepper <drepper@gmail.com>
5378
d7826aa1 5379 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 5380 useless if() expression.
d7826aa1
UD
5381 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5382 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5383 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5384 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5385 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5386 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5387 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5388 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5389 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5390 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5391 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5392 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5393 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5394 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5395 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5396 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5397 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5398 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5399 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5400
31ea014d
UD
5401 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5402
16437fec
AS
54032011-10-25 Andreas Schwab <schwab@redhat.com>
5404
5405 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5406 condition.
5407 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5408
31d3cc00
UD
54092011-10-25 Ulrich Drepper <drepper@gmail.com>
5410
5411 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5412 .text section. Avoid duplicate constants.
5413 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5414 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5415 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5416 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5417 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5418 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5419 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5420 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5421 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5422 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5423 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5424 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5425 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5426 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5427 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5428 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5429 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5430 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5431 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5432 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5433 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5434 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5435 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5436 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5437 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5438 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5439 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5440 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5441 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5442 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5443 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5444 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5445 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5446 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5447 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5448 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5449 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5450 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5451 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5452 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5453 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5454 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5455 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5456 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5457 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5458
58985aa9
UD
54592011-10-24 Ulrich Drepper <drepper@gmail.com>
5460
202c9deb
UD
5461 * sysdeps/x86_64/dla.h: Move to ...
5462 * sysdeps/x86_64/fpu/dla.h: ...here.
5463 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5464 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 5465
af968f62
UD
5466 * config.make.in: Add have-mfma4 entry.
5467 * configure.in: Substitute libc_cv_cc_fma4.
5468 * math/Makefile (dbl-only-routines): Add sincostab.
5469 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5470 Use __sincostab not sincos.
5471 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5472 name is a macro.
5473 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5474 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5475 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5476 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5477 using __copysign.
5478 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5479 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5480 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5481 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5482 and __inv.
5483 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5484 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5485 __copysign.
5486 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5487 define aliases when function name is a macro.
5488 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5489 sysdeps/ieee754/dbl-64/sincos.tbl.
5490 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5491 fma4-enabled routines.
5492 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5493 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5494 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5495 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5496 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5497 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5498 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5499 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5500 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5501 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5502 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5503 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5504 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5505 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5506 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5507 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5508 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5509 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5510 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5511 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5512 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5513 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5514 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5515 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5516 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5517 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5518 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5519 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5520 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5521 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5522
58985aa9
UD
5523 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5524 rename.
5525 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5526 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5527 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5528 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5529 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5530 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5531 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5532 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5533
a201fbcf
AS
55342011-10-24 Andreas Schwab <schwab@redhat.com>
5535
5536 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5537
fc2ee42a
LD
55382011-10-23 Ulrich Drepper <drepper@gmail.com>
5539
bb3129bd
UD
5540 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5541
0275fff8
UD
5542 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5543 prediction.
5544 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5545
2fa2ae85
UD
5546 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5547 Remove unused variable magic_bits.
5548 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5549
fc2ee42a
LD
5550 * string/strnlen.c: Define and use STRNLEN macro.
5551 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5552 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5553 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5554 * wcsmbs/wcslen.c: Define and use WCSLEN.
5555 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5556 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5557 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5558 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5559 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5560 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5561 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5562
ce7dd29f
LD
55632011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5564
5565 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5566 strnlen-sse2-no-bsf.
5567 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5568 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5569 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5570 Add strnlen support.
5571 (USE_AS_STRNLEN): New macro.
5572 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5573 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5574 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5575 * sysdeps/x86_64/wcslen.S: New file.
5576
979c70a3
MZ
55772011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5578
5579 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5580 XMM-moves are used for copying on small sizes.
5581
2d09f82f
LD
55822011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5583
5584 * wcsmbs/Makefile (strop-tests): Add wcschr.
5585 * wcsmbs/test-wcschr.c: New file.
5586 * string/test-strchr.c: Update.
5587 Add wcschr support.
5588 (WIDE): New macro.
5589
619fccca
LD
55902011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5591
2d09f82f 5592 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
5593 * wcsmbs/test-wcslen.c: New file.
5594 * string/test-strlen.c: Update.
5595 Add wcslen support.
5596 (WIDE): New macro.
5597
09f699ea
UD
55982011-10-23 Ulrich Drepper <drepper@gmail.com>
5599
5600 * po/it.po: Update from translation team.
5601
95584d3b
LD
56022011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5603
5604 * sysdeps/x86_64/wcscmp.S: Update.
5605 Fix wrong comparison semantics.
5606 wcscmp shall use signed comparison not unsigned.
5607 Don't use substraction to avoid overflow bug.
5608 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5609 * wcsmbc/wcscmp.c: Likewise.
5610 * string/test-strcmp.c: Likewise.
5611 Add new tests to check cases with negative values.
5612
c8b3296b
UD
56132011-10-23 Ulrich Drepper <drepper@gmail.com>
5614
5615 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5616 * sysdeps/x86_64/dla.h: ...here. New file.
5617 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5618 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5619 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5620 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5621 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5622 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5623 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5624 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5625 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5626
246ad57a
AS
56272011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5628
5629 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5630 __ynl_finite aliases.
5631
a1a87169
UD
56322011-10-22 Ulrich Drepper <drepper@gmail.com>
5633
0d355eb7
UD
5634 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5635
a1a87169
UD
5636 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5637 define DLA_FMA.
5638 [DLA_FMA] (EMULV): Use DLA_FMA.
5639 [DLA_FMA] (MUL12): Use EMULV.
5640 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5641 that are not needed.
5642 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5643 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5644 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5645 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5646 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5647 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5648 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5649
ee2aafe0
AS
56502011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5651
5652 * math/s_nan.c: Undef __nan.
5653 * math/s_nanf.c: Undef __nanf.
5654 * math/s_nanl.c: Undef __nanl.
5655 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5656 "math_private.h".
5657
bc62c2fb
UD
56582011-10-22 Ulrich Drepper <drepper@gmail.com>
5659
77425c63
UD
5660 * math/s_catan.c: Add branch predictions.
5661 * math/s_catanf.c: Likewise.
5662 * math/s_catanh.c: Likewise.
5663 * math/s_catanhf.c: Likewise.
5664 * math/s_catanhl.c: Likewise.
5665 * math/s_catanl.c: Likewise.
5666 * math/s_cexp.c: Likewise.
5667 * math/s_cexpf.c: Likewise.
5668 * math/s_cexpl.c: Likewise.
5669 * math/s_clog.c: Likewise.
5670 * math/s_clog10.c: Likewise.
5671 * math/s_clog10f.c: Likewise.
5672 * math/s_clog10l.c: Likewise.
5673 * math/s_clogf.c: Likewise.
5674 * math/s_clogl.c: Likewise.
5675 * math/s_csqrt.c: Likewise.
5676 * math/s_csqrtf.c: Likewise.
5677 * math/s_csqrtl.c: Likewise.
5678 * math/s_ctanf.c: Likewise.
5679 * math/s_ctanh.c: Likewise.
5680 * math/s_ctanhf.c: Likewise.
5681 * math/s_ctanhl.c: Likewise.
5682 * math/s_ctanl.c: Likewise.
5683
bc62c2fb
UD
5684 * math/math_private.h: Define __nan, __nanf, __nanl.
5685 * math/s_cacosh.c: Include <math_private.h>.
5686 * math/s_cacoshl.c: Likewise.
5687 * math/s_casinh.c: Likewise.
5688 * math/s_casinhf.c: Likewise.
5689 * math/s_casinhl.c: Likewise.
5690 * math/s_ccos.c: Rely entire on ccosh.
5691 * math/s_ccosf.c: Rely entire on ccoshf.
5692 * math/s_ccosl.c: Rely entirely on ccoshl.
5693 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5694 Remove tests for FE_INVALID.
5695 * math/s_ccoshf.c: Likewise.
5696 * math/s_ccoshl.c: Likewise.
5697 * math/s_csin.c: Likewise.
5698 * math/s_csinf.c: Likewise.
5699 * math/s_csinh.c Likewise.
5700 * math/s_csinhf.c: Likewise.
5701 * math/s_csinhl.c: Likewise.
5702 * math/s_csinl.c: Likewise.
5703 * math/s_ctan.c: Likewise.
5704 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5705 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5706 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5707
8ec250a4
UD
57082011-10-21 Ulrich Drepper <drepper@gmail.com>
5709
c196fed8
UD
5710 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5711 compilation problems.
5712
8ec250a4
UD
5713 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5714 __builtin_expect.
5715
8d4f46c6
UD
57162011-10-20 Ulrich Drepper <drepper@gmail.com>
5717
ed72b654
UD
5718 * sysdeps/i386/configure.in: Test for -mfma4 option.
5719 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5720 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5721 COMMON_CPUID_INDEX_80000001.
5722 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5723 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5724 use it if FMA3 is not supported.
5725 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5726
8d4f46c6
UD
5727 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5728 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5729
d45c60c2
AS
57302011-10-20 Andreas Schwab <schwab@redhat.com>
5731
5732 [BZ #12892]
5733 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5734 it would create a cycle with a link time dependency.
5735
d9a4d2ab
UD
57362011-10-19 Ulrich Drepper <drepper@gmail.com>
5737
855d1560
UD
5738 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5739 instruction.
5740 * string/Makefile (strop-tests): Add rawmemchr.
5741 * string/test-rawmemchr.c: New file.
5742
d9a4d2ab
UD
5743 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5744 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5745 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5746 when compiling str{,n}casecmp and when AVX is available. Hook up
5747 new optimized code in initializers.
5748
8f3b1ffe
AS
57492011-10-19 Andreas Schwab <schwab@redhat.com>
5750
5751 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5752 __feraiseexcept instead of feraiseexcept.
5753
d38f1dba
UD
57542011-10-18 Ulrich Drepper <drepper@gmail.com>
5755
d9a8d0ab
UD
5756 * math/math_private.h: Define defaults for libc_fetestexcept and
5757 libc_feupdateenv.
5758 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5759 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5760 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5761 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5762 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5763 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5764 libc_fetestexcept and libc_feupdateenv.
5765
4855e3dd
UD
5766 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5767 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5768 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5769 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5770 libc_feholdexcept_setround.
5771
581d30e3
UD
5772 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5773 Add s_nearbyint-c and s_nearbyintf-c.
5774 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5775 nearbyintf inlines.
5776 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5777 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5778 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5779 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5780
d38f1dba
UD
5781 * math/math_private.h: Define defaults for libc_fegetround,
5782 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5783 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5784 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5785 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5786 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5787 standard functions.
5788 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5789 Remove comments and hacks for old compiler versions.
5790 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5791 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5792 libc_feholdexceptl.
5793
caa6c9d8
AS
57942011-10-18 Andreas Schwab <schwab@redhat.com>
5795
5796 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
5797 (__feraiseexcept_renamed): Add __NTH.
5798 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
5799 namespace violations.
5800
97c066e6
UD
58012011-10-17 Ulrich Drepper <drepper@gmail.com>
5802
99ce7b04
UD
5803 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5804
1004d182
UD
5805 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5806
228a984d
UD
5807 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5808 recently added interfaces.
5809 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5810
c8553a6a
UD
5811 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5812 about macro parameter expansion.
5813
ed22dcf6
UD
5814 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5815 __NO_MATH_INLINES is defined. Cleanups.
5816
5817 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5818 and __floorf is target has SSE4.1.
5819 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5820 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5821 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5822 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5823
b171c137
UD
5824 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5825 name.
5826 (floorf): Likewise.
5827
97c066e6
UD
5828 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5829
629f62ef
AS
58302011-10-17 Andreas Schwab <schwab@redhat.com>
5831
49a43d80
AS
5832 * misc/sys/cdefs.h: Fix last change.
5833
629f62ef
AS
5834 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5835 database lookup.
5836
e453f6cd
UD
58372011-10-16 Ulrich Drepper <drepper@gmail.com>
5838
aa78043a
UD
5839 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5840
ad0f5cad
UD
5841 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5842 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5843 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5844 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5845 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5846 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5847 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5848 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5849 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5850 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5851 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5852 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5853 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5854 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5855 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5856 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5857 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5858 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5859 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5860 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5861 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5862 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5863
5864 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5865 ceil, ceilf, floor, floorf.
5866
5867 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5868 Perform IRELATIVE relocations last.
5869
e453f6cd
UD
5870 * elf/do-rel.h: Add another parameter nrelative, replacing the
5871 local variable with the same name. Change name of the function
5872 to end in Rel or Rela (uppercase).
5873 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5874 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5875 elf_dynamic_do_##reloc function.
5876
fd5bdc09
UD
58772011-10-15 Ulrich Drepper <drepper@gmail.com>
5878
79b195b5
UD
5879 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5880 is sufficient, at least on modern CPUs.
5881
d4a28569
UD
5882 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5883
b61099b5
UD
5884 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5885 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5886
bcf01e6d
UD
5887 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5888 __expl_finite.
5889 * math/bits/math-finite.h: Add entries for exp.
5890 * math/e_expl.c: Add __*_finite alias.
5891 * sysdeps/i386/fpu/e_exp.S: Likewise.
5892 * sysdeps/i386/fpu/e_expf.S: Likewise.
5893 * sysdeps/i386/fpu/e_expl.c: Likewise.
5894 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5895 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5896 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5897 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5898 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5899 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5900 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5901
ba1a0d59
UD
5902 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5903 is sufficient, at least on modern CPUs.
5904
fd5bdc09
UD
5905 * ctype/ctype-info.c (__ctype_init): Define.
5906 * include/ctype.h (__ctype_init): Declare.
5907 (__ctype_b_loc): The variable is always initialized.
5908 (__ctype_toupper_loc): Likewise.
5909 (__ctype_tolower_loc): Likewise.
5910 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5911 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5912
7872cfb0
AS
59132011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5914
b468825a
AS
5915 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5916
7872cfb0
AS
5917 * configure.in: Also look in $cxxmachine/include for C++ system
5918 headers.
5919
be13f7bf
LD
59202011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5921
5922 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5923 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5924 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5925 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5926 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5927 (USE_AS_WMEMCMP): New macro.
5928 Fixing indents.
5929 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5930 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5931 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5932 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5933 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5934 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5935 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5936 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5937 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5938 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5939 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5940 (USE_AS_WMEMCMP): New macro.
5941 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5942 * sysdeps/string/test-memcmp.c: Update.
5943 Fix simple_wmemcmp.
5944 Add new tests.
5945 * wcsmbs/wmemcmp.c: Update.
5946 (WMEMCMP): New macro.
5947 Fix overflow bug.
5948
556a2007
AJ
59492011-10-12 Andreas Jaeger <aj@suse.de>
5950
5951 [BZ #13268]
5952 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5953
538faaa7
UD
59542011-10-15 Ulrich Drepper <drepper@gmail.com>
5955
ab6737ff
UD
5956 * libio/iofwide.c (do_length): Avoid warning.
5957
538faaa7
UD
5958 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5959
396a21b1
UD
59602011-10-14 Ulrich Drepper <drepper@gmail.com>
5961
cdf2901f
UD
5962 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5963
38ad40ce
UD
5964 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5965 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5966 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5967 * sysdeps/i386/i686/fpu/e_log.S: New file.
5968 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5969 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5970
396a21b1
UD
5971 * ctype/ctype.h: Add support for inlined isXXX functions when
5972 compiling C++ code.
5973
6b1f68c9
AS
59742011-10-14 Andreas Schwab <schwab@redhat.com>
5975
349290c0
AS
5976 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5977
6b1f68c9
AS
5978 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5979
f2282d42
RM
59802011-10-13 Roland McGrath <roland@hack.frob.com>
5981
5982 [BZ #13291]
5983 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5984
5298ffa8
AS
59852011-10-13 Andreas Schwab <schwab@redhat.com>
5986
714fad23
AS
5987 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5988 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5989 feraiseexcept.
5990
81dcc7fb
AS
5991 * sysdeps/x86_64/memrchr.S: Check for zero size.
5992
5298ffa8
AS
5993 * string/stratcliff.c: Add memrchr tests.
5994
951fbcec
LD
59952011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5996
5997 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5998 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5999 rawmemchr-sse2 rawmemchr-sse2-bsf.
6000 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6001 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6002 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6003 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6004 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6005 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6006 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6007 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6008 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6009 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6010 * string/memrchr.c (MEMRCHR): New macro.
6011
0ac5ae23
UD
60122011-10-12 Ulrich Drepper <drepper@gmail.com>
6013
6014 Add integration with gcc's -ffinite-math-only and optimize wrapper
6015 functions in libm.
6016 * Versions.def: Define GLIBC_2.15 version for libm.
6017 * math/Makefile (headers): Add bits/math-finite.h.
6018 * math/bits/math-finite.h: New file.
6019 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6020 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6021 * math/e_acoshl.c: Add __*_finite alias.
6022 * math/e_acosl.c: Likewise.
6023 * math/e_asinl.c: Likewise.
6024 * math/e_atan2l.c: Likewise.
6025 * math/e_atanhl.c: Likewise.
6026 * math/e_coshl.c: Likewise.
6027 * math/e_exp10.c: Likewise.
6028 * math/e_exp10f.c: Likewise.
6029 * math/e_exp10l.c: Likewise.
6030 * math/e_exp2l.c: Likewise.
6031 * math/e_fmodl.c: Likewise.
6032 * math/e_gammal_r.c: Likewise.
6033 * math/e_hypotl.c: Likewise.
6034 * math/e_j0l.c: Likewise.
6035 * math/e_j1l.c: Likewise.
6036 * math/e_jnl.c: Likewise.
6037 * math/e_lgammal_r.c: Likewise.
6038 * math/e_log10l.c: Likewise.
6039 * math/e_log2l.c: Likewise.
6040 * math/e_logl.c: Likewise.
6041 * math/e_powl.c: Likewise.
6042 * math/e_sinhl.c: Likewise.
6043 * math/e_sqrtl.c: Likewise.
6044 * math/e_scalb.c: Completely rewritten and optimized.
6045 * math/e_scalbf.c: Likewise.
6046 * math/e_scalbl.c: Likewise.
6047 * math/w_acos.c: Likewise.
6048 * math/w_acosf.c: Likewise.
6049 * math/w_acosl.c: Likewise.
6050 * math/w_acosh.c: Likewise.
6051 * math/w_acoshf.c: Likewise.
6052 * math/w_acoshl.c: Likewise.
6053 * math/w_asin.c: Likewise.
6054 * math/w_asinf.c: Likewise.
6055 * math/w_asinl.c: Likewise.
6056 * math/w_atan2.c: Likewise.
6057 * math/w_atan2f.c: Likewise.
6058 * math/w_atan2l.c: Likewise.
6059 * math/w_atanh.c: Likewise.
6060 * math/w_atanhf.c: Likewise.
6061 * math/w_atanhl.c: Likewise.
6062 * math/w_exp10.c: Likewise.
6063 * math/w_exp10f.c: Likewise.
6064 * math/w_exp10l.c: Likewise.
6065 * math/w_fmod.c: Likewise.
6066 * math/w_fmodf.c: Likewise.
6067 * math/w_fmodl.c: Likewise.
6068 * math/w_j0.c: Likewise.
6069 * math/w_j0f.c: Likewise.
6070 * math/w_j0l.c: Likewise.
6071 * math/w_j1.c: Likewise.
6072 * math/w_j1f.c: Likewise.
6073 * math/w_j1l.c: Likewise.
6074 * math/w_jn.c: Likewise.
6075 * math/w_jnf.c: Likewise.
6076 * math/w_log.c: Likewise.
6077 * math/w_logf.c: Likewise.
6078 * math/w_logl.c: Likewise.
6079 * math/w_log10.c: Likewise.
6080 * math/w_log10f.c: Likewise.
6081 * math/w_log10l.c: Likewise.
6082 * math/w_log2.c: Likewise.
6083 * math/w_log2f.c: Likewise.
6084 * math/w_log2l.c: Likewise.
6085 * math/w_pow.c: Likewise.
6086 * math/w_powf.c: Likewise.
6087 * math/w_powl.c: Likewise.
6088 * math/w_remainder.c: Likewise.
6089 * math/w_remainderf.c: Likewise.
6090 * math/w_remainderl.c: Likewise.
6091 * math/w_scalb.c: Likewise.
6092 * math/w_scalbf.c: Likewise.
6093 * math/w_scalbl.c: Likewise.
6094 * math/w_sqrt.c: Likewise.
6095 * math/w_sqrtf.c: Likewise.
6096 * math/w_sqrtl.c: Likewise.
6097 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6098 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6099 used.
6100 * math/math_private.h: Declare __kernel_standard_f.
6101 * math/w_cosh.c: Remove cruft and optimize a bit.
6102 * math/w_coshf.c: Likewise.
6103 * math/w_coshl.c: Likewise.
6104 * math/w_exp2.c: Likewise.
6105 * math/w_exp2f.c: Likewise.
6106 * math/w_exp2l.c: Likewise.
6107 * math/w_hypot.c: Likewise.
6108 * math/w_hypotf.c: Likewise.
6109 * math/w_hypotl.c: Likewise.
6110 * math/w_lgamma.c: Likewise.
6111 * math/w_lgamma_r.c: Likewise.
6112 * math/w_lgammaf.c: Likewise.
6113 * math/w_lgammaf_r.c: Likewise.
6114 * math/w_lgammal.c: Likewise.
6115 * math/w_lgammal_r.c: Likewise.
6116 * math/w_sinh.c: Likewise.
6117 * math/w_sinhf.c: Likewise.
6118 * math/w_sinhl.c: Likewise.
6119 * math/w_tgamma.c: Likewise.
6120 * math/w_tgammaf.c: Likewise.
6121 * math/w_tgammal.c: Likewise.
6122 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6123 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6124 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6125 Minor optimizations. Pretty printing. Remove cruft.
6126 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6127 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6128 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6129 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6130 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6131 * sysdeps/i386/fpu/e_asin.S: Likewise.
6132 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6133 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6134 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6135 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6136 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6137 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6138 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6139 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6140 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6141 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6142 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6143 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6144 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6145 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6146 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6147 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6148 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6149 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6150 * sysdeps/i386/fpu/e_log.S: Likewise.
6151 * sysdeps/i386/fpu/e_log10.S: Likewise.
6152 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6153 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6154 * sysdeps/i386/fpu/e_log2.S: Likewise.
6155 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6156 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6157 * sysdeps/i386/fpu/e_logf.S: Likewise.
6158 * sysdeps/i386/fpu/e_logl.S: Likewise.
6159 * sysdeps/i386/fpu/e_pow.S: Likewise.
6160 * sysdeps/i386/fpu/e_powf.S: Likewise.
6161 * sysdeps/i386/fpu/e_powl.S: Likewise.
6162 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6163 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6164 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6165 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6166 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6167 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6168 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6169 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6170 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6171 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6172 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6173 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6174 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6175 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6176 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6177 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6178 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6179 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6180 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6181 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6182 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6183 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6184 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6185 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6186 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6187 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6188 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6189 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6190 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6191 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6192 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6193 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6194 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6195 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6196 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6197 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6198 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6199 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6200 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6201 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6202 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6203 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6204 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6205 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6206 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6207 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6208 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6209 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6210 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6211 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6212 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6213 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6214 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6215 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6216 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6217 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6218 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6219 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6220 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6221 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6222 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6223 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6224 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6225 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6226 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6227 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6228 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6229 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6230 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6231 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6232 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6233 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6234 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6235 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6236 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6237 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6238 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6239 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6240 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6241 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6242 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6243 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6244 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6245 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6246 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6247 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6248 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6249 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6250 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6251 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6252 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6253 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6254 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6255 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6256 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6257 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6258 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6259 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6260 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6261 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6262 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6263 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6264 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6265 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6266 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6267 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6268 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6269 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6270 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6271 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6272 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6273 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6274 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6275 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6276 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6277 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6278 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6279 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6280 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6281 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6282 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6283 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6284 (__isnanf): Likewise.
6285 (__isinf_ns): Likewise.
6286 (__isinf_nsf): Likewise.
6287 (__finite): Likewise.
6288 (__finitef): Likewise.
6289 (__ieee754_sqrt): Define as macro.
6290 (__ieee754_sqrtf): Define as macro.
6291 (__ieee754_sqrtl): Define as macro.
6292 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6293 inlined copy.
6294 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6295 __FINITE_MATH_ONLY__ consistent.
6296 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6297
12cc2fcd
AS
62982011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6299
a843a204
AS
6300 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6301 of rawmemchr.
6302
12cc2fcd
AS
6303 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6304
c853acd5
UD
63052011-10-09 Ulrich Drepper <drepper@gmail.com>
6306
6307 * po/ja.po: Update from translation team.
6308
c658d255
RM
63092011-10-08 Roland McGrath <roland@hack.frob.com>
6310
110946e4
RM
6311 * locale/programs/locarchive.c (prepare_address_space): New function.
6312 (create_archive, enlarge_archive, open_archive): Use it.
6313
50604220
RM
6314 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6315 inside [SHARED], where it is used.
6316
c658d255
RM
6317 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6318
6319 * nss/getent.c (netgroup_keys): Remove unused variable.
6320 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6321
6a621eb7
UD
63222011-10-08 Ulrich Drepper <drepper@gmail.com>
6323
7edb55ce
UD
6324 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6325 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6326 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6327 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6328 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6329 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6330 * math/Makefile (libm-calls): Add s_isinf_ns.
6331 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6332 * math/multc3.c: Likewise.
6333 * math/s_casin.c: Likewise.
6334 * math/s_casinf.c: Likewise.
6335 * math/s_casinl.c: Likewise.
6336 * math/s_ccos.c: Likewise.
6337 * math/s_ccosf.c: Likewise.
6338 * math/s_ccosl.c: Likewise.
6339 * math/s_ctan.c: Likewise.
6340 * math/s_ctanf.c: Likewise.
6341 * math/s_ctanh.c: Likewise.
6342 * math/s_ctanhf.c: Likewise.
6343 * math/s_ctanhl.c: Likewise.
6344 * math/s_ctanl.c: Likewise.
6345 * math/w_fmod.c: Likewise.
6346 * math/w_fmodf.c: Likewise.
6347 * math/w_fmodl.c: Likewise.
6348 * math/w_remainder.c: Likewise.
6349 * math/w_remainderf.c: Likewise.
6350 * math/w_remainderl.c: Likewise.
6351 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6352 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6353 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6354 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6355 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6356 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6357 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6358 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6359
187da0ae
UD
6360 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6361 of the number.
6362 * stdio-common/printf_fphex.c: Likewise.
6363 * stdio-common/printf_size.c: Likewise.
6364
9277c064
UD
6365 * math/e_exp10.c: Include math_private.h using <...> not "...".
6366 * math/e_exp10f.c: Likewise.
6367 * math/e_exp10l.c: Likewise.
6368 * math/e_exp2l.c: Likewise.
6369 * math/e_j0l.c: Likewise.
6370 * math/e_j1l.c: Likewise.
6371 * math/e_jnl.c: Likewise.
6372 * math/e_lgammal_r.c: Likewise.
6373 * math/e_rem_pio2l.c: Likewise.
6374 * math/e_scalb.c: Likewise.
6375 * math/e_scalbf.c: Likewise.
6376 * math/e_scalbl.c: Likewise.
6377 * math/k_cosl.c: Likewise.
6378 * math/k_sinl.c: Likewise.
6379 * math/k_tanl.c: Likewise.
6380 * math/s_cacoshf.c: Likewise.
6381 * math/s_catan.c: Likewise.
6382 * math/s_catanf.c: Likewise.
6383 * math/s_catanh.c: Likewise.
6384 * math/s_catanhf.c: Likewise.
6385 * math/s_catanhl.c: Likewise.
6386 * math/s_catanl.c: Likewise.
6387 * math/s_ccosh.c: Likewise.
6388 * math/s_ccoshf.c: Likewise.
6389 * math/s_ccoshl.c: Likewise.
6390 * math/s_cexp.c: Likewise.
6391 * math/s_cexpf.c: Likewise.
6392 * math/s_cexpl.c: Likewise.
6393 * math/s_clog.c: Likewise.
6394 * math/s_clog10.c: Likewise.
6395 * math/s_clog10f.c: Likewise.
6396 * math/s_clog10l.c: Likewise.
6397 * math/s_clogf.c: Likewise.
6398 * math/s_clogl.c: Likewise.
6399 * math/s_csin.c: Likewise.
6400 * math/s_csinf.c: Likewise.
6401 * math/s_csinh.c: Likewise.
6402 * math/s_csinhf.c: Likewise.
6403 * math/s_csinhl.c: Likewise.
6404 * math/s_csinl.c: Likewise.
6405 * math/s_csqrt.c: Likewise.
6406 * math/s_csqrtf.c: Likewise.
6407 * math/s_csqrtl.c: Likewise.
6408 * math/s_ctan.c: Likewise.
6409 * math/s_ctanf.c: Likewise.
6410 * math/s_ctanh.c: Likewise.
6411 * math/s_ctanhf.c: Likewise.
6412 * math/s_ctanhl.c: Likewise.
6413 * math/s_ctanl.c: Likewise.
6414 * math/s_ldexp.c: Likewise.
6415 * math/s_ldexpf.c: Likewise.
6416 * math/s_ldexpl.c: Likewise.
6417 * math/s_significand.c: Likewise.
6418 * math/s_significandf.c: Likewise.
6419 * math/s_significandl.c: Likewise.
6420 * math/w_acos.c: Likewise.
6421 * math/w_acosf.c: Likewise.
6422 * math/w_acosh.c: Likewise.
6423 * math/w_acoshf.c: Likewise.
6424 * math/w_acoshl.c: Likewise.
6425 * math/w_acosl.c: Likewise.
6426 * math/w_asin.c: Likewise.
6427 * math/w_asinf.c: Likewise.
6428 * math/w_asinl.c: Likewise.
6429 * math/w_atan2.c: Likewise.
6430 * math/w_atan2f.c: Likewise.
6431 * math/w_atan2l.c: Likewise.
6432 * math/w_atanh.c: Likewise.
6433 * math/w_atanhf.c: Likewise.
6434 * math/w_atanhl.c: Likewise.
6435 * math/w_cosh.c: Likewise.
6436 * math/w_coshf.c: Likewise.
6437 * math/w_coshl.c: Likewise.
6438 * math/w_dremf.c: Likewise.
6439 * math/w_exp10.c: Likewise.
6440 * math/w_exp10f.c: Likewise.
6441 * math/w_exp10l.c: Likewise.
6442 * math/w_exp2.c: Likewise.
6443 * math/w_exp2f.c: Likewise.
6444 * math/w_fmod.c: Likewise.
6445 * math/w_fmodf.c: Likewise.
6446 * math/w_fmodl.c: Likewise.
6447 * math/w_hypot.c: Likewise.
6448 * math/w_hypotf.c: Likewise.
6449 * math/w_hypotl.c: Likewise.
6450 * math/w_j0.c: Likewise.
6451 * math/w_j0f.c: Likewise.
6452 * math/w_j0l.c: Likewise.
6453 * math/w_j1.c: Likewise.
6454 * math/w_j1f.c: Likewise.
6455 * math/w_j1l.c: Likewise.
6456 * math/w_jn.c: Likewise.
6457 * math/w_jnf.c: Likewise.
6458 * math/w_jnl.c: Likewise.
6459 * math/w_lgamma.c: Likewise.
6460 * math/w_lgamma_r.c: Likewise.
6461 * math/w_lgammaf.c: Likewise.
6462 * math/w_lgammaf_r.c: Likewise.
6463 * math/w_lgammal.c: Likewise.
6464 * math/w_lgammal_r.c: Likewise.
6465 * math/w_log.c: Likewise.
6466 * math/w_log10.c: Likewise.
6467 * math/w_log10f.c: Likewise.
6468 * math/w_log10l.c: Likewise.
6469 * math/w_log2.c: Likewise.
6470 * math/w_log2f.c: Likewise.
6471 * math/w_log2l.c: Likewise.
6472 * math/w_logf.c: Likewise.
6473 * math/w_logl.c: Likewise.
6474 * math/w_pow.c: Likewise.
6475 * math/w_powf.c: Likewise.
6476 * math/w_powl.c: Likewise.
6477 * math/w_remainder.c: Likewise.
6478 * math/w_remainderf.c: Likewise.
6479 * math/w_remainderl.c: Likewise.
6480 * math/w_scalb.c: Likewise.
6481 * math/w_scalbf.c: Likewise.
6482 * math/w_scalbl.c: Likewise.
6483 * math/w_sinh.c: Likewise.
6484 * math/w_sinhf.c: Likewise.
6485 * math/w_sinhl.c: Likewise.
6486 * math/w_sqrt.c: Likewise.
6487 * math/w_sqrtf.c: Likewise.
6488 * math/w_sqrtl.c: Likewise.
6489 * math/w_tgamma.c: Likewise.
6490 * math/w_tgammaf.c: Likewise.
6491 * math/w_tgammal.c: Likewise.
6492
6a621eb7
UD
6493 * po/ja.po: Update from translation team.
6494
bf582445
AJ
64952011-09-29 Andreas Jaeger <aj@suse.de>
6496
f9efbf3a
AJ
6497 [BZ #13179]
6498 * sunrpc/netname.c (netname2host): Fix logic.
6499
bf582445
AJ
6500 [BZ #6779]
6501 [BZ #6783]
6502 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6503 correctly.
6504 * math/w_remainder.c (__remainder): Likewise.
6505 * math/w_remainderf.c (__remainderf): Likewise.
6506 * math/libm-test.inc (remainder_test): Add test cases.
6507
48693bea
AK
65082011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6509
6510 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6511 sdiv_qrnnd.
6512
42622229
LD
65132011-10-07 Ulrich Drepper <drepper@gmail.com>
6514
6515 * string/test-memcmp.c: Avoid unncessary #defines.
6516 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6517
093ecf92
LD
65182011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6519
6520 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6521 Use new sse2 version for core i3 - i7 as it's faster
6522 than sse42 version.
6523 (bit_Prefer_PMINUB_for_stringop): New.
6524 * sysdeps/x86_64/rawmemchr.S: Update.
6525 Replace with faster SSE2 version.
6526 * sysdeps/x86_64/memrchr.S: New file.
6527 * sysdeps/x86_64/memchr.S: Update.
6528 Replace with faster SSE2 version.
6529
fde56e5c
MP
65302011-09-12 Marek Polacek <mpolacek@redhat.com>
6531
6532 * elf/dl-load.c (lose): Add cast to avoid warning.
6533
21fd49a9
UD
65342011-10-07 Ulrich Drepper <drepper@gmail.com>
6535
5a06e643
UD
6536 * po/ca.po: Update from translation team.
6537
684ae515
UD
6538 * inet/getnetgrent_r.c: Hook up nscd.
6539 * nscd/Makefile (routines): Add nscd_netgroup.
6540 (nscd-modules): Add netgroupcache.
6541 (CFLAGS-netgroupcache.c): Define.
6542 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6543 (cache_search): Add const to second parameter.
6544 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6545 INNETGR.
6546 (dbs): Add netgrdb entry.
6547 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6548 (verify_persistent_db): Handle netgrdb.
6549 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6550 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6551 GETFDNETGR.
6552 (netgroup_response_header): Define.
6553 (innetgroup_response_header): Define.
6554 (datahead): Add netgroup_response_header and innetgroup_response_header
6555 elements.
6556 * nscd/nscd.conf: Add entries for netgroup cache.
6557 * nscd/nscd.h (dbtype): Add netgrdb.
6558 (_PATH_NSCD_NETGROUP_DB): Define.
6559 (netgroup_iov_disabled): Declare.
6560 (xmalloc, xcalloc, xrealloc): Move declarations here.
6561 (cache_search): Adjust prototype.
6562 Add netgroup-related prototypes.
6563 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6564 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6565 (__nscd_innetgr): Declare.
6566 * nscd/selinux.c (perms): Use access_vector_t as element type and
6567 add netgroup-related initializers.
6568 * nscd/netgroupcache.c: New file.
6569 * nscd/nscd_netgroup.c: New file.
6570 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6571 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6572 For four parameters use innetgr.
6573 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6574 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6575 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6576 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6577
21fd49a9
UD
6578 * nscd/connections.c (register_traced_file): Don't register file
6579 for disabled databases.
6580
054c0457
UD
65812011-10-06 Ulrich Drepper <drepper@gmail.com>
6582
32b63198
UD
6583 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6584
054c0457
UD
6585 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6586 from tree and freeing node.
6587
64031225
JO
65882011-09-25 Jiri Olsa <jolsa@redhat.com>
6589
6590 * nss/nsswitch.c (__nss_database_lookup): Handle
6591 nss_parse_service_list out of memory case.
6592
0490345c
JO
65932011-09-15 Jiri Olsa <jolsa@redhat.com>
6594
6595 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6596 out of memory case.
6597
3a62d00d
AS
65982011-10-04 Andreas Schwab <schwab@redhat.com>
6599
6600 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6601 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6602 pass it down.
6603 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6604 elf_machine_rela, elf_machine_lazy_rel.
6605 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6606 (ELF_DYNAMIC_DO_REL): Likewise.
6607 (ELF_DYNAMIC_DO_RELA): Likewise.
6608 (ELF_DYNAMIC_RELOCATE): Likewise.
6609 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6610 to ELF_DYNAMIC_DO_REL.
6611 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6612 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6613 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6614 elf_machine_rela.
6615 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6616 skip_ifunc, don't call ifunc function if non-zero.
6617 (elf_machine_rela): Likewise.
6618 (elf_machine_lazy_rel): Likewise.
6619 (elf_machine_lazy_rela): Likewise.
6620 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6621 (elf_machine_lazy_rel): Likewise.
6622 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6623 Likewise.
6624 (elf_machine_lazy_rel): Likewise.
6625 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6626 Likewise.
6627 (elf_machine_lazy_rel): Likewise.
6628 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6629 (elf_machine_lazy_rel): Likewise.
6630 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6631 (elf_machine_lazy_rel): Likewise.
6632 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6633 (elf_machine_lazy_rel): Likewise.
6634 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6635 (elf_machine_lazy_rel): Likewise.
6636 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6637 (elf_machine_lazy_rel): Likewise.
6638 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6639 (elf_machine_lazy_rel): Likewise.
6640
68577918
UD
66412011-09-28 Ulrich Drepper <drepper@gmail.com>
6642
6643 * nss/nss_files/files-init.c (_nss_files_init): Use static
6644 initialization for all the *_traced_file variables.
6645
68822d74
AS
66462011-09-28 Andreas Schwab <schwab@redhat.com>
6647
6648 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6649
2056100b
RM
66502011-09-27 Roland McGrath <roland@hack.frob.com>
6651
6652 [BZ #13226]
6653 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6654
32c76b63
AS
66552011-09-27 Andreas Schwab <schwab@redhat.com>
6656
6657 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6658 Reread the line before reparsing it.
6659
bf972c9d
AS
66602011-09-26 Andreas Schwab <schwab@redhat.com>
6661
6662 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6663
e057a1b5
JM
66642011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6665 Maxim Kuvyrkov <maxim@codesourcery.com>
6666 Joseph Myers <joseph@codesourcery.com>
6667
6668 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6669 if needed for __stack_chk_guard.
6670
bc7e1c36
RM
66712011-09-19 Roland McGrath <roland@hack.frob.com>
6672
ecb1482f
RM
6673 * sysdeps/posix/spawni.c (script_execute): Always define it.
6674 It will be optimized away if unused.
6675 (maybe_script_execute): New function.
6676 (__spawni): Call it.
6677
bc7e1c36
RM
6678 * Makerules: Don't include tls.make.
6679 (config-tls): Always set to thread.
6680 * tls.make.c: File removed.
6681
1c3b002b
MF
66822011-09-19 Mike Frysinger <vapier@gentoo.org>
6683
6684 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6685 * config.make.in (CPPFLAGS-config): New substituted variable.
6686
2840865d
UD
66872011-09-15 Ulrich Drepper <drepper@gmail.com>
6688
88738eb6
UD
6689 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6690
cbf645a6 6691 [BZ #13192]
2840865d
UD
6692 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6693 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6694
b402e91a
RM
66952011-09-15 Roland McGrath <roland@hack.frob.com>
6696
6697 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6698 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6699 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6700 (CALL_FAIL): Likewise.
6701 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6702 (CALL_FAIL): Macro removed.
6703 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6704
4c1a1f71
UD
67052011-09-15 Ulrich Drepper <drepper@gmail.com>
6706
6707 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6708 for __FINITE_MATH_ONLY__ == 1.
6709
edc121be
AS
67102011-09-15 Andreas Schwab <schwab@redhat.com>
6711
6712 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6713 __ieee754_sqrt instead of sqrt.
6714 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6715 __ieee754_sqrtf instead of sqrtf.
6716 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6717 __floorf instead of floorf.
6718 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6719 __floorf, __truncf instead of floorf, truncf.
6720
cd205654
UD
67212011-09-14 Ulrich Drepper <drepper@gmail.com>
6722
ee4d0315
UD
6723 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6724
cd205654
UD
6725 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6726 __extern_always_inline.
6727 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6728 32-bit.
6729
48b67d71
AS
67302011-09-14 Andreas Schwab <schwab@redhat.com>
6731
6732 * elf/rtld.c (dl_main): Also relocate in dependency order when
6733 doing symbol dependency testing.
6734
1ae12c75
AS
67352011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6736
6737 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6738 Always define `refsym'.
6739
995a80df
AS
67402011-09-13 Andreas Schwab <schwab@redhat.com>
6741
e529793b
AS
6742 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6743 (__FD_ELT): Renamed from __FDELT.
6744 * misc/bits/select2.h (__FD_ELT): Likewise.
6745 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6746 __FD_MASK instead of __FDELT, __FDMASK.
6747 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6748 Likewise.
6749 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6750 Likewise.
6751
52d4fef8
AS
6752 * elf/Makefile (gen-ldd): Fix pattern.
6753
995a80df
AS
6754 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6755 (init_tls): Likewise.
6756
8682f8b0
UD
67572011-09-12 Ulrich Drepper <drepper@gmail.com>
6758
6759 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6760
de82006d
AS
67612011-09-12 Andreas Schwab <schwab@redhat.com>
6762
a7c8e6a1
AS
6763 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6764 `struct cmsghdr *' instead of `void *'.
6765 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6766 Likewise.
6767
0f31fe77
AS
67682011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6769
6770 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6771 if non-absolute.
6772 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6773 ldd_rewrite_script.
0f31fe77 6774
32b4c839
UD
67752011-09-11 Ulrich Drepper <drepper@gmail.com>
6776
83cd1420
UD
6777 * configure.in: Remove --with-tls option.
6778 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6779 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6780 out in case it is missing.
6781 * sysdeps/ia64/elf/configure.in: Likewise.
6782 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6783 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6784 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6785 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6786 * sysdeps/sh/elf/configure.in: Likewise.
6787 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6788 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6789 * sysdeps/x86_64/elf/configure.in: Likewise.
6790 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6791 * sysdeps/mach/hurd/tls.h: Likewise.
6792
633f745d
UD
6793 [BZ #13067]
6794 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6795
f318beb8
UD
6796 [BZ #13090]
6797 * configure.in: Fix use of AC_INIT.
6798
32b4c839
UD
6799 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6800
3ce1f295
UD
68012011-09-10 Ulrich Drepper <drepper@gmail.com>
6802
bb016596
UD
6803 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6804 __set_errno.
8e58439c
UD
6805 * malloc/hooks.c: Likewise.
6806
aebae053 6807 [BZ #11929]
02d46fc4
UD
6808 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6809 variables statically.
6810 (narenas): Initialize.
6811 (list_lock): Initialize.
bb016596
UD
6812 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6813 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
6814 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6815 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6816 Add initializers to main_arena and mp_.
6817 (malloc_state): Remove pagesize member. Change all users to use
6818 GLRO(dl_pagesize).
6819
6820 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6821 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6822 is always initialized.
6823
22a89187
UD
6824 * malloc/malloc.c: Removed unused configurations and dead code.
6825 * malloc/arena.c: Likewise.
6826 * malloc/hooks.c: Likewise.
02d46fc4 6827 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 6828
d063d164
UD
6829 * include/tls.h: Removed. USE___THREAD must always be defined.
6830 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6831 * elf/dl-libc.c: Likewise.
6832 * elf/dl-tsd.c: Likewise.
6833 * include/errno.h: Likewise.
6834 * include/netdb.h: Likewise.
6835 * include/resolv.h: Likewise.
6836 * inet/herrno-loc.c: Likewise.
6837 * inet/herrno.c: Likewise.
6838 * malloc/arena.c: Likewise.
6839 * malloc/hooks.c: Likewise.
6840 * malloc/malloc.c: Likewise.
6841 * resolv/res-state.c: Likewise.
6842 * resolv/res_libc.c: Likewise.
6843 * sysdeps/i386/dl-machine.h: Likewise.
6844 * sysdeps/ia64/dl-machine.h: Likewise.
6845 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6846 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6847 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6848 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6849 * sysdeps/sh/dl-machine.h: Likewise.
6850 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6851 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6852 * sysdeps/unix/i386/sysdep.S: Likewise.
6853 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6854 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6855 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6856 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6857 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6858 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6859 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6860 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6861 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6862 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6863 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6864 * sysdeps/x86_64/dl-machine.h: Likewise.
6865 * tls.make.c: Likewise.
6866
3ce1f295
UD
6867 * configure.in: Remove --with-__thread option. Make tests for
6868 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6869 tls_model attribute fail if no support is available. Remove
6870 USE_IN_LIBIO.
6871 * Makeconfig: Adjust for dropped configure option. All features are
6872 now mandatory.
6873 * Makerules: Likewise.
6874 * Versions.def: Likewise.
6875 * argp/argp-fmtstream.c: Likewise.
6876 * argp/argp-fmtstream.h: Likewise.
6877 * argp/argp-help.c: Likewise.
6878 * assert/assert.c: Likewise.
6879 * config.h.in: Likewise.
6880 * config.make.in: Likewise.
6881 * configure: Likewise.
6882 * configure.in: Likewise.
6883 * csu/Versions: Likewise.
6884 * csu/init.c: Likewise.
6885 * elf/tst-audit2.c: Likewise.
6886 * elf/tst-tls10.c: Likewise.
6887 * elf/tst-tls10.h: Likewise.
6888 * elf/tst-tls11.c: Likewise.
6889 * elf/tst-tls12.c: Likewise.
6890 * elf/tst-tls14.c: Likewise.
6891 * elf/tst-tlsmod11.c: Likewise.
6892 * elf/tst-tlsmod12.c: Likewise.
6893 * elf/tst-tlsmod13.c: Likewise.
6894 * elf/tst-tlsmod13a.c: Likewise.
6895 * elf/tst-tlsmod14a.c: Likewise.
6896 * elf/tst-tlsmod15b.c: Likewise.
6897 * elf/tst-tlsmod16a.c: Likewise.
6898 * elf/tst-tlsmod16b.c: Likewise.
6899 * elf/tst-tlsmod7.c: Likewise.
6900 * elf/tst-tlsmod8.c: Likewise.
6901 * elf/tst-tlsmod9.c: Likewise.
6902 * gmon/gmon.c: Likewise.
6903 * grp/fgetgrent_r.c: Likewise.
6904 * grp/putgrent.c: Likewise.
6905 * hurd/fopenport.c: Likewise.
6906 * include/libc-symbols.h: Likewise.
6907 * include/tls.h: Likewise.
6908 * intl/gettextP.h: Likewise.
6909 * intl/loadinfo.h: Likewise.
6910 * locale/global-locale.c: Likewise.
6911 * locale/localeinfo.h: Likewise.
6912 * mach/devstream.c: Likewise.
6913 * malloc/arena.c: Likewise.
6914 * malloc/set-freeres.c: Likewise.
6915 * misc/err.c: Likewise.
6916 * misc/getttyent.c: Likewise.
6917 * misc/mntent_r.c: Likewise.
6918 * posix/getopt.c: Likewise.
6919 * posix/wordexp.c: Likewise.
6920 * pwd/fgetpwent_r.c: Likewise.
6921 * resolv/Versions: Likewise.
6922 * resolv/res_hconf.c: Likewise.
6923 * shadow/fgetspent_r.c: Likewise.
6924 * shadow/putspent.c: Likewise.
6925 * stdio-common/printf_fphex.c: Likewise.
6926 * stdio-common/tmpfile.c: Likewise.
6927 * stdlib/abort.c: Likewise.
6928 * stdlib/fmtmsg.c: Likewise.
6929 * sunrpc/auth_unix.c: Likewise.
6930 * sunrpc/clnt_perr.c: Likewise.
6931 * sunrpc/clnt_tcp.c: Likewise.
6932 * sunrpc/clnt_udp.c: Likewise.
6933 * sunrpc/clnt_unix.c: Likewise.
6934 * sunrpc/openchild.c: Likewise.
6935 * sunrpc/svc_simple.c: Likewise.
6936 * sunrpc/svc_tcp.c: Likewise.
6937 * sunrpc/svc_udp.c: Likewise.
6938 * sunrpc/svc_unix.c: Likewise.
6939 * sunrpc/xdr.c: Likewise.
6940 * sunrpc/xdr_array.c: Likewise.
6941 * sunrpc/xdr_rec.c: Likewise.
6942 * sunrpc/xdr_ref.c: Likewise.
6943 * sunrpc/xdr_stdio.c: Likewise.
6944
1248c1c4
PB
69452011-09-09 Ulrich Drepper <drepper@gmail.com>
6946
6947 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6948
69492011-07-03 Andreas Jaeger <aj@suse.de>
6950
6951 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6952 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6953 regenerate with gen-libm-tests.pl.
6954
69552010-05-12 Petr Baudis <pasky@suse.cz>
6956
6957 [BZ #11589]
6958 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6959 around j0() zero points by switching to j1().
6960 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6961 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6962 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6963 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6964
f22e1074
UD
69652011-09-09 Ulrich Drepper <drepper@gmail.com>
6966
f19009c1
UD
6967 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6968 instead of 0.
6969 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6970 instead of 0. .
6971 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6972 Patch in part by Pavel Roskin <proski@gnu.org>.
6973
3f8cc204
UD
6974 [BZ #13138]
6975 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6976 realloc.
6977 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6978 Free memory block if necessary.
6979
f22e1074
UD
6980 [BZ #12847]
6981 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6982 be NULL. Don't lock in this case.
6983
0a2349f9
RM
69842011-09-09 Roland McGrath <roland@hack.frob.com>
6985
6986 * elf/elf.h (ELFOSABI_GNU): New macro.
6987 (ELFOSABI_LINUX): Define to that.
6988
f3cdd467
DZ
69892011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6990
6991 * string/strncat.c (strncat): Undef the symbol in case it has been
6992 defined in bits/string.h.
6993
74718d13
UD
69942011-09-09 Ulrich Drepper <drepper@gmail.com>
6995
633e9e0f
UD
6996 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6997
0a2349f9 6998 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
6999 link map.
7000
f9924780
AJ
70012011-08-17 Andreas Jaeger <aj@suse.de>
7002
7003 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7004
7f5517aa
PP
70052011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7006 Ian Lance Taylor <iant@google.com>
7007
7008 * math/libm-test.inc (lround_test): New testcase.
7009 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7010
762011fe
UD
70112011-09-08 Ulrich Drepper <drepper@gmail.com>
7012
92963737
UD
7013 * Makefile: Remove support for automatic cvs check-ins.
7014 * Makerules: Likewise.
7015 * config.make.in: Likewise.
7016 * configure.in: Likewise.
7017 * intl/Makefile: Likewise.
7018 * locale/Makefile: Likewise.
7019 * po/Makefile: Likewise.
7020 * posix/Makefile: Likewise.
7021 * sysdeps/gnu/Makefile: Likewise.
7022 * sysdeps/mach/hurd/Makefile: Likewise.
7023 * sysdeps/sparc/sparc32/Makefile: Likewise.
7024
b0727fd8
JS
7025 [BZ #13118]
7026 * posix/Makefile (bug-regex32-ENV): Define.
7027 Patch by John Stanley <jpsinthemix@verizon.net>.
7028
a0f33f99
UD
7029 * misc/Makefile (headers): Add bits/select2.h.
7030 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7031 * misc/bits/select2.h: New file.
7032 * include/bits/select2.h: New file.
7033 * debug/Makefile (routines): Add fdelt_chk.
7034 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7035 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7036 FD_ISSET.
7037 * debug/fdelt_chk.c: New file.
7038
762011fe
UD
7039 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7040 * wcsmbs/test-wmemcmp.c: Likewise.
7041 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 7042 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
7043
70442011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7045
7046 * string/Makefile (strop-tests): Add memcmp.
7047 * string/test-wmemcmp.c: New file.
7048 * string/test-memcmp.c: Add wmemcmp support.
7049
7f513ec8
RM
70502011-09-08 Roland McGrath <roland@hack.frob.com>
7051
0442afb4
RM
7052 [BZ #13153]
7053 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7054 2011-07-19 change.
7055
7f513ec8
RM
7056 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7057 garbage value in a __mach_port_mod_refs call in the cases of the
7058 task-self and thread-self ports.
7059
a12b2239
ST
70602011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7061
7062 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7063
610f9ab4
AS
70642011-09-08 Andreas Schwab <schwab@redhat.com>
7065
7f513ec8 7066 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 7067
48882a1a
LD
70682011-09-07 Ulrich Drepper <drepper@gmail.com>
7069
b49865be
UD
7070 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7071
fdc86bc9
UD
7072 * elf/dl-libc.c (dlerror_run): Pass back error code from
7073 dl_catch_error.
7074
c966526a
UD
7075 [BZ #13123]
7076 * elf/dl-load.c (lose): Free l_origin if it is valid.
7077
48882a1a
LD
7078 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7079 names.
7080 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7081 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7082 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7083 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7084 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7085 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7086
77a2a8b4
AZ
70872011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7088
7089 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7090 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7091 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7092 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7093 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7094 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7095 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7096 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7097 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7098 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7099
24f579d8
AM
71002011-08-15 Alan Modra <amodra@gmail.com>
7101
7102 [BZ #13092]
7103 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7104 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7105 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7106 ppc_mcount to static-only-routines.
7107 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7108 __mcount_internal.
7109 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7110 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7111
3d4837df
UD
71122011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7113
7114 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7115 for finite and infinity parameters.
7116
22700377
WS
71172011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7118
7119 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7120 and add nop instructions for throughput optimization.
7121 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7122
5025581e
WS
71232011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7124
7125 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7126 aligned copy for power7 with vector-scalar instructions.
7127 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7128
08a300c9
L
71292011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7130
7131 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7132 AVX check.
7133
59178ef9
AS
71342011-09-07 Andreas Schwab <schwab@redhat.com>
7135
7136 [BZ #13144]
7137 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7138 last change.
7139
e38ba7ab
UD
71402011-09-07 Ulrich Drepper <drepper@gmail.com>
7141
7142 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7143 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7144 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7145 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7146 clock_gettime.
7147
d53a73ac
UD
71482011-09-06 Ulrich Drepper <drepper@gmail.com>
7149
fc8bffcc
UD
7150 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7151 Forgot to demangle the pointer.
7152
ceaa0c5d
UD
7153 * sysdeps/i386/sysdep.h: Define atom_text_section.
7154 * sysdeps/x86_64/sysdep.h: Likewise.
7155 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7156 section with atom_text_section.
7157 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7158 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7159 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7160 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7161 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7162
a77d3c17
UD
7163 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7164 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7165 already be defined. Change to take two parameters and don't assign
7166 result to variable. Adjust all users.
7167 Define INTERNAL_GETTIME if not already defined.
7168 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7169 call.
7170 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7171 HAVE_CLOCK_GETTIME_VSYSCALL.
7172 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7173
d53a73ac
UD
7174 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7175 gettimeofday vsyscall, just use time.
7176
a8f84144
AS
71772011-09-06 Andreas Schwab <schwab@redhat.com>
7178
7179 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7180 <errno.h>.
7181
ef606249
UD
71822011-09-06 Ulrich Drepper <drepper@gmail.com>
7183
7184 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7185 syscall on x86-64.
7186 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7187 syscall.
7188 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7189 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7190 syscall if possible.
7191
6585cb60
UD
71922011-09-05 Ulrich Drepper <drepper@gmail.com>
7193
7194 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7195 e_ident. Don't pass to find_mapsXX.
7196 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7197
a5f524e4
LD
71982011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7199
7200 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7201 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7202 * sysdeps/x86_64/multiarch/strchr.S: Update.
7203 Check bit_slow_BSF bit.
7204 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7205 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7206 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7207
554881ef
UD
72082011-09-05 Ulrich Drepper <drepper@gmail.com>
7209
d96de963
UD
7210 [BZ #13134]
7211 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7212 before glibc 2.15.
7213 (tryshell): Define.
7214 (__spawni): Change last parameter to be flag. Test
7215 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7216 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7217 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7218 * posix/spawni.c: Likewise.
7219 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7220 * posix/spawnp.c: Likewise. Change normal version to use
7221 SPAWN_XFLAGS_USE_PATH.
7222 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7223 SPAWN_XFLAGS_TRY_SHELL.
7224
d48e5868
UD
7225 [BZ #13150]
7226 * posix/glob.h: Remove gcc 1.x support.
7227
554881ef
UD
7228 [BZ #13068]
7229 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7230
693fb948
LD
72312011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7232
7233 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7234 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7235 strrchr-sse2-bsf
7236 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7237 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7238 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7239 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7240 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7241 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7242
1b48c537
UD
72432011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7244
49d42c37
UD
7245 * sysdeps/x86_64/wcscmp.S: New file.
7246
1b48c537
UD
7247 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7248 wcscmp-c wcscmp-sse2
7249 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7250 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7251 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7252 * wcsmbs/wcscmp.c: Allow renaming.
7253
15c95c5d
DM
72542011-09-05 David S. Miller <davem@davemloft.net>
7255
7256 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7257 stack slot, rather than the struct return pointer slot.
7258 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7259 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7261 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7262
2f0ad8f3
UD
72632011-09-05 Ulrich Drepper <drepper@gmail.com>
7264
d88ae418
UD
7265 * po/ja.po: Update from translation team.
7266
2f0ad8f3
UD
7267 [BZ #13144]
7268 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7269 kernel in 64-bit binaries.
7270
5f4318d1
DM
72712011-09-01 David S. Miller <davem@davemloft.net>
7272
7273 * elf/elf.h (HWCAP_SPARC_*): Move to..
7274 * sysdeps/sparc/sysdep.h: this new file and add new values.
7275 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7276 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7277 _DL_HWCAP_COUNT to 24.
7278 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7279 entries.
7280 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7281 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7282 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7283 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7284 instead of magic constants.
7285 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7286
3ba57516
DM
72872011-08-31 David S. Miller <davem@davemloft.net>
7288
7289 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7290 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7291 Reimplement to do errno handling inline.
7292 (SYSCALL_ERROR_HANDLER): New macro.
7293 (__SYSCALL_STRING): Do not do errno handling in asm.
7294 (__CLONE_SYSCALL_STRING): Delete.
7295 (__INTERNAL_SYSCALL_STRING): Delete.
7296 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7297 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7298 (PSEUDO): Reimplement to do errno handling inline.
7299 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7300 (SYSCALL_ERROR_HANDLER): New macro.
7301 (__SYSCALL_STRING): Do not do errno handling in asm.
7302 (__CLONE_SYSCALL_STRING): Delete.
7303 (__INTERNAL_SYSCALL_STRING): Delete.
7304 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7305 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7306 i386.
7307 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7308 (inline_syscall*): Add 'err' argument.
7309 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7310 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7311 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7312 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7313
7314 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7315 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7316
2bc17433
AS
73172011-08-30 Andreas Schwab <schwab@redhat.com>
7318
7319 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7320
fbeb5f4d
JO
73212011-08-29 Jiri Olsa <jolsa@redhat.com>
7322
7323 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7324 directive.
7325
ad69cc26
DM
73262011-08-24 David S. Miller <davem@davemloft.net>
7327
7328 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7329
39dd69df
AS
73302011-08-24 Andreas Schwab <schwab@redhat.com>
7331
7332 * elf/Makefile: Add rules to build and run unload8 test.
7333 * elf/unload8.c: New file.
7334 * elf/unload8mod1.c: New file.
7335 * elf/unload8mod1x.c: New file.
7336 * elf/unload8mod2.c: New file.
7337 * elf/unload8mod3.c: New file.
7338
7339 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7340 it wasn't used.
7341
2c0b250a
DM
73422011-08-23 David S. Miller <davem@davemloft.net>
7343
7344 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7345 subtract stack bias.
7346 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7347 %sp not %fp in calculations.
7348 (_JMPBUF_UNWINDS_ADJ): Likewise.
7349
22044b48
DM
7350 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7351 (aio_suspend): Call it to force an exception region around the
7352 AIO_MISC_WAIT() invocation.
7353
2cae4995
AS
73542011-08-23 Andreas Schwab <schwab@redhat.com>
7355
7356 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7357 backslash.
7358
873a772e
AJ
73592011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7360
7361 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7362 protection macro.
7363 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7364 and <dl-machine.h>.
7365 (Elf64_FuncDesc): Remove.
7366
25ad0df1
DM
73672011-08-22 David S. Miller <davem@davemloft.net>
7368
7369 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7370 sigaltstack check, add missing cfi directives.
7371 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7372 missing cfi directives, and sigaltstack handling.
7373
e888bcbe
AS
73742011-08-16 Andreas Schwab <schwab@redhat.com>
7375
7376 [BZ #11724]
7377 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7378 object is seen twice.
7379 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7380
7381 * elf/Makefile (distribute): Add tst-initorder2.c.
7382 (tests): Add tst-initorder2.
7383 (modules-names): Add tst-initorder2a tst-initorder2b
7384 tst-initorder2c tst-initorder2d. Add rules to build them.
7385 ($(objpfx)tst-initorder2.out): New rule.
7386 * elf/tst-initorder2.c: New file.
7387 * elf/tst-initorder2.exp: New file.
7388
87162f46
AS
73892011-08-22 Andreas Schwab <schwab@redhat.com>
7390
70538b7f
AS
7391 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7392
f55ffe58
AS
7393 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7394 dependencies back to end of function.
7395
87162f46
AS
7396 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7397 $(elfobjdir)/ld.so.
7398
91b392a4
UD
73992011-08-21 Ulrich Drepper <drepper@gmail.com>
7400
7401 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7402 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7403 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7404 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7405 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7406 of __vdso_gettimeofday.
7407 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7408 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7409 attribute_hidden.
7410 (_libc_vdso_platform_setup): Remove initialization of
7411 __vdso_gettimeofday and __vdso_time.
7412
5c43483f
UD
74132011-08-20 Ulrich Drepper <drepper@gmail.com>
7414
775a77e7
UD
7415 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7416 and fgetc_unlocked.
7417 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7418 getc_unlocked.
89f447ed 7419
49c74ba9
UD
7420 * elf/dl-open.c (add_to_global): Report additions to the global scope
7421 for LD_DEBUG=scopes.
7422 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 7423 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 7424
5c43483f
UD
7425 [BZ #13114]
7426 * stdio-common/Makefile (tests): Add bug24.
7427 * stdio-common/bug24.c: New file.
7428
a101b025
AJ
74292011-08-19 Andreas Jaeger <aj@suse.de>
7430
7431 [BZ #13114]
7432 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7433 non-existant file when using close-on-exec mode.
7434
c88f1766
UD
74352011-08-20 Ulrich Drepper <drepper@gmail.com>
7436
0276a718
UD
7437 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7438 the very first instruction.
7439
c88f1766
UD
7440 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7441 the CFI state in the end.
7442 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7443 inclusion of dl-trampoline.h.
7444 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7445
51ccffa0
AS
74462011-08-19 Andreas Schwab <schwab@redhat.com>
7447
94d7165f
AS
7448 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7449 expectations for long double.
7450
51ccffa0
AS
7451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7452 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7453
fd708658 74542011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
7455
7456 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7457 artificual limit depends upon the system page size.
7458
44f0a71e
UD
74592011-08-17 Ulrich Drepper <drepper@gmail.com>
7460
7461 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7462 * resolv/Makefile: Define CFLAGS-libresolv.
7463
8de79a24
AS
74642011-08-17 Andreas Schwab <schwab@redhat.com>
7465
7466 * nss/makedb.c (compute_tables): Make variables used in nested
7467 function static.
7468
27724598
UD
74692011-08-17 Ulrich Drepper <drepper@gmail.com>
7470
c5305d88
UD
7471 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7472 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7473 if buffer was too small.
7474
27724598
UD
7475 * elf/pldd.c (main): Attach to all threads in the process.
7476 Rewrite /proc handling to use *at functions.
7477
076fe015
UD
74782011-08-16 Ulrich Drepper <drepper@gmail.com>
7479
174baab3
UD
7480 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7481 specifies first scope to show.
7482 (dl_open_worker): Update callers. Move printing scope of new
7483 object to before the relocation.
44f0a71e 7484 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7485 * sysdeps/generic/ldsodefs.h: Update declaration.
7486
076fe015
UD
7487 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7488 string for the scope number.
7489
a60df2c3
UD
74902011-08-14 Ulrich Drepper <drepper@gmail.com>
7491
7492 * nscd/servicescache.c (cache_addserv): Make sure written is always
7493 initialized.
7494
5e4287d1
RM
74952011-08-14 Roland McGrath <roland@hack.frob.com>
7496
85ae0589
RM
7497 * sysdeps/i386/i486/bits/atomic.h
7498 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7499 statement expression, so as to suppress "set but not used" warning.
7500 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7501
69f63097
RM
7502 * string/strncat.c (STRNCAT): Use prototype definition.
7503
675456ef
RM
7504 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7505 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7506 -Iprograms here.
7507 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7508 (localedef-modules): Add localedef.
7509 (locale-modules): Add locale.
7510
5e4287d1
RM
7511 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7512 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7513 to avoid a warning.
7514
9c96ff23
DM
75152011-08-14 David S. Miller <davem@davemloft.net>
7516
7517 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7518 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7519
f9ddf089
UD
75202011-08-13 Ulrich Drepper <drepper@gmail.com>
7521
44f0a71e 7522 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
7523 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7524 * elf/rtld.c (dl_main): Set l_name of vDSO.
7525 Call _dl_show_scope when DL_DEBUG_SCOPES.
7526 (process_dl_debug): Recognize scopes flag and also set it for all.
7527 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7528 Declare _dl_show_scope.
7529
1dc27704
UD
7530 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7531 (do_dlopen): Pass caller_dlopen to dl_open.
7532 (__libc_dlopen_mode): Initialize caller_dlopen.
7533
f9ddf089
UD
7534 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7535 of libc. Make tolower call locale-independent. Optimize a bit by
7536 using isdigit instead of isalnum.
7537 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7538
9ac533d3
UD
75392011-08-12 Ulrich Drepper <drepper@gmail.com>
7540
7541 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7542 was a dependency or dynamically loaded.
7543
89edf2e9
UD
75442011-08-11 Ulrich Drepper <drepper@gmail.com>
7545
8e999d29
UD
7546 * intl/l10nflist.c: Allow architecture-specific pop function.
7547 * sysdeps/x86_64/l10nflist.c: New file.
7548
89edf2e9
UD
7549 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7550 classification.
7551
14d96785
AS
75522011-08-10 Andreas Schwab <schwab@redhat.com>
7553
7554 * include/dirent.h: Add libc_hidden_proto for scandirat and
7555 scandirat64. Don't declare __scandirat64.
7556 * dirent/scandirat.c: Add libc_hidden_def.
7557 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7558 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7559
6761ac04
DM
75602011-08-10 David S. Miller <davem@davemloft.net>
7561
7562 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7563 enum.
7564 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7565 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7566 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7567
c55fbd1e
UD
75682011-08-09 Ulrich Drepper <drepper@gmail.com>
7569
7570 * Versions.def [libc]: Add GLIBC_2.15.
7571 * dirent/Makefile (routines): Add scandirat and scandirat64.
7572 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7573 GLIBC_2.15.
7574 * dirent/dirent.h: Declare scandirat and scandirat64.
7575 * dirent/scandirat.c: New file.
7576 * dirent/scandirat64.c: New file.
7577 * sysdeps/wordsize-64/scandirat.c: New file.
7578 * sysdeps/wordsize-64/scandirat64.c: New file.
7579 * dirent/opendir.c: Define opendirat.
7580 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7581 using scandirat.
7582 * dirent/scandir64.c: Adjust for scandir.c change.
7583 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7584 __scandirat64, and __scandir_cancel_handler.
7585 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7586 additional parameter and use openat instead of open (outside of ld.so).
7587 Add new __opendir as wrapper around __opendirat.
7588 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7589 here without requiring old scandirat implementation.
7590
879165f2
UD
75912011-08-08 Ulrich Drepper <drepper@gmail.com>
7592
7593 * dirent/scandir.c (cancel_handler): Renamed to
7594 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7595 defined. Adjust users.
7596 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7597 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7598
cb7e923b
UD
75992011-08-04 Ulrich Drepper <drepper@gmail.com>
7600
16292edd
UD
7601 * string/test-string.h (IMPL): Use __STRING to expand name and then
7602 stringify it.
7603
cb7e923b
UD
7604 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7605 of cleanups.
7606
cff82933
LD
76072011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7608
7609 * string/Makefile: Update.
7610 (strop-tests): Append strncat.
7611 * string/test-wcscmp.c: New file.
7612 New comprehensive test for wcscmp.
7613 * string/test-strcmp.c: Update.
7614 (WIDE): New define.
7615
9be9bfcc
AS
76162011-07-22 Andreas Schwab <schwab@redhat.com>
7617
7618 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7619 line.
7620
2e96f1c7
AS
76212011-07-26 Andreas Schwab <schwab@redhat.com>
7622
7623 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7624 encoding to ACE if AI_IDN.
7625
85188888
JJ
76262011-08-01 Jakub Jelinek <jakub@redhat.com>
7627
7628 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7629 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7630
5fa16e9b
LD
76312011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7632
7633 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7634 Fix overflow bug in strncat.
7635 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7636
7637 * string/test-strncat.c: Update.
7638 Add new tests for checking overflow bugs.
7639
76402011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7641
7642 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7643 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7644 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7645 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7646 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7647 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7648 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7649 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7650 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7651
7652 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7653 (USE_AS_STRCAT): Define.
7654 Add strcat and strncat support.
7655 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7656
8c1a459f
AS
76572011-07-25 Andreas Schwab <schwab@redhat.com>
7658
7659 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7660 __n bigger than INT_MAX+1.
7661 (__strncmp_g): Likewise.
7662
bba33c28
UD
76632011-07-23 Ulrich Drepper <drepper@gmail.com>
7664
798be72d
UD
7665 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7666 * libio/stido.h: Likewise.
7667
8accd4dc
UD
7668 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7669 (AF_NFC): Define.
7670 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7671 (AF_NFC): Define.
7672
cbff0d96
UD
7673 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7674 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7675 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7676 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7677 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7678
9191c04a
UD
7679 [BZ #13021]
7680 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7681 installed.
7682
bba33c28
UD
7683 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7684 typo.
7685 (_dl_x86_64_save_sse): Likewise.
7686
90f139dd
UD
76872011-07-22 Ulrich Drepper <drepper@gmail.com>
7688
1aae088a
UD
7689 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7690 OSXSAVE.
7691 (_dl_x86_64_save_sse): Likewise.
7692
8e2045f5
UD
7693 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7694
90f139dd
UD
7695 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7696
1d002f25
AS
76972011-07-21 Andreas Schwab <schwab@redhat.com>
7698
7699 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7700 change.
7701 (_dl_x86_64_save_sse): Use correct AVX check.
7702
21137f89
UD
77032011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7704
7705 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7706 bug in strncpy/strncat.
7707 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7708
a65c0b7a
UD
77092011-07-21 Ulrich Drepper <drepper@gmail.com>
7710
7711 * string/tester.c (test_strcat): Add tests for different alignments
7712 of source and destination.
7713 (test_strncat): Likewise.
7714
6986b98a
UD
77152011-07-20 Ulrich Drepper <drepper@gmail.com>
7716
90bb2039
UD
7717 [BZ #12852]
7718 * posix/glob.c (glob): Check passed in values before using them in
7719 expressions to avoid some overflows.
7720 (glob_in_dir): Likewise.
7721
5644ef54
UD
7722 [BZ #13007]
7723 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7724 check for AVX enablement so that we don't crash with old kernels and
7725 new hardware.
7726 * elf/tst-audit4.c: Add same checks here.
7727 * elf/tst-audit6.c: Likewise.
7728
7729 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 7730
bfc9dc9b
AS
77312011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7732
7733 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7734
702e64bb
UD
77352011-07-20 Ulrich Drepper <drepper@gmail.com>
7736
7737 * po/cs.po: Update from translation team.
7738 * po/bg.po: Likewise.
7739
295e904f
MP
77402011-07-12 Marek Polacek <mpolacek@redhat.com>
7741
7742 * misc/sys/cdefs.h: Add support for const attribute.
7743 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7744 to gnu_dev_{major,minor,makedev} functions.
7745
3ff94596
MP
77462011-07-20 Marek Polacek <mpolacek@redhat.com>
7747
7748 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7749
28b59fca
AS
77502011-07-20 Andreas Schwab <schwab@redhat.com>
7751
7752 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7753 strlen results.
7754
19df733e
AK
77552011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7756
7757 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7758 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7759 register in order to avoid conflicts with the soft frame pointer
7760 being held in r11 when necessary.
7761 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7762 (INTERNAL_VSYSCALL_NCS): Likewise.
7763
c8835729
MP
77642011-07-14 Marek Polacek <mpolacek@redhat.com>
7765
7766 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7767 * elf/dl-fini.c (_dl_fini): Adjust caller.
7768 * elf/dl-close.c (_dl_close_worker): Likewise.
7769 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7770
b902330c
MP
77712011-07-15 Marek Polacek <mpolacek@redhat.com>
7772
8991e135
MP
7773 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7774 "aux_cache->nlibs < 0".
7775
b902330c
MP
7776 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7777 in the reload-count case.
7778
99710781
LD
77792011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7780
7781 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7782 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7783 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7784 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7785 * sysdeps/x86_64/multiarch/strcat.S: New file.
7786 * sysdeps/x86_64/multiarch/strncat.S: New file.
7787 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7788 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7789 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7790 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7791 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7792 (USE_AS_STRCAT): Define.
7793 Add strcat and strncat support.
7794 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7795 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7796 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7797 * string/strncat.c: Update.
7798 (USE_AS_STRNCAT): Define.
7799 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7800 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7801 and i7.
7802 * sysdeps/x86_64/multiarch/init-arch.h
7803 (bit_Prefer_PMINUB_for_stringop): New.
7804 (index_Prefer_PMINUB_for_stringop): Likewise.
7805 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7806 bit_Prefer_PMINUB_for_stringop.
7807
7dc6bd90
UD
78082011-07-19 Ulrich Drepper <drepper@gmail.com>
7809
7810 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7811 buffer64.
7812 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7813 of casting of buffer.
7814 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7815 buffer32 and buffer64.
7816 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7817 writes instead of casting of buffer.
7818 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7819 buffer32.
7820 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7821 casting of buffer.
7822
e0e72284
AS
78232011-07-19 Andreas Schwab <schwab@redhat.com>
7824
7825 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7826
feb1eb0b
UD
78272011-07-19 Ulrich Drepper <drepper@gmail.com>
7828
7829 * nscd/nscd.c (termination_handler): Don't do anything for a database
7830 if it has not yet been initialized.
7831
298711ff
UD
78322011-07-18 Ulrich Drepper <drepper@gmail.com>
7833
7834 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7835
78362011-07-15 Marek Polacek <mpolacek@redhat.com>
7837
7838 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7839
f9d68389
UD
78402011-07-18 Ulrich Drepper <drepper@gmail.com>
7841
7842 * po/nl.po: Update from translation team.
7843 * po/sv.po: Likewise.
7844
db290cf5
RM
78452011-07-16 Roland McGrath <roland@hack.frob.com>
7846
7847 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7848 now disallowed by GCC.
5c550700 7849
fd5e21c7
RM
7850 * configure.in (use-default-link): Default to yes if a test -shared
7851 link meets our qualifications.
7852 * configure: Regenerated.
7853
5c550700
RM
7854 * config.make.in (output-format): New variable.
7855 * configure.in: Check for ld --print-output-format support.
7856 * configure: Regenerated.
7857 * Makerules ($(common-objpfx)format.lds)
7858 [$(output-format) != unknown]: Just use $(output-format),
7859 instead of the linker-script munging.
7860
9fa2c032
RM
78612011-07-14 Roland McGrath <roland@hack.frob.com>
7862
a6928d51
RM
7863 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7864 of $(common-objpfx)shlib.lds.
7865 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7866
661607b3
RM
7867 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7868 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7869
9fa2c032
RM
7870 * configure.in (-z relro check): Adjust test code to add a large
7871 writable data section after it.
7872 * configure: Regenerated.
7873
defe9061
RM
78742011-07-11 Roland McGrath <roland@hack.frob.com>
7875
7876 * configure.in (-z relro check): Fix test code to make the variable
7877 truly const.
7878 * configure: Regenerated.
7879
319b9ad4
UD
78802011-07-11 Ulrich Drepper <drepper@gmail.com>
7881
7882 * nscd/nscd.h (struct traced_file): Define.
7883 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7884 elements. Add traced_files.
7885 (inotify_fd): Declare.
7886 (register_traced_file): Declare.
7887 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7888 (inotify_fd): Export.
7889 (resolv_conf_descr): Remove.
7890 (nscd_init): Move inotify descriptor creation to main.
7891 Don't register files for notification here.
7892 (register_traced_file): New function.
7893 (invalidate_cache): Don't use reset_res to determine whether to call
7894 res_init, go through the list of registered files.
7895 (main_loop_poll): The inotify descriptors are now stored in the
7896 structures for the traced files.
7897 (main_loop_epoll): Likewise
7898 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7899 to __nss_disable_nscd.
7900 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7901 for a database anymore. Check the records for all the registered
7902 files instead.
7903 * nss/Makefile (libnss_files-routines): Add files-init.
7904 (libnss_db-routines): Add db-init.
7905 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7906 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7907 * nss/nss_db/db-init.c: New file.
7908 * nss/nss_files/files-init.c: New file.
7909 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7910 __nss_lookup_function.
7911 (__nss_lookup_function): Call nss_load_library.
7912 (nss_load_all_libraries): New function.
7913 (__nss_disable_nscd): Take parameter with callback function for files
7914 to register. Set is_nscd. Load all the DSOs for the NSS modules
7915 used for the cached services.
7916 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7917 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7918 options for features to all the files in nscd.
7919
7920 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7921
23bee3e8
RM
79222011-07-10 Roland McGrath <roland@hack.frob.com>
7923
7924 * csu/elf-init.c (__libc_csu_init): Comment typo.
7925
46a5b7f0
UD
79262011-07-09 Ulrich Drepper <drepper@gmail.com>
7927
7928 * po/pl.po: Update from translation team.
7929 * po/ja.po: Likewise.
7930 * po/ru.po: Likewise.
7931 * po/ko.po: Likewise.
7932 * po/fr.po: Likewise.
7933
d30cf5bb
RM
79342011-07-09 Roland McGrath <roland@hack.frob.com>
7935
113ddea4
RM
7936 * configure.in (.ctors/.dtors header and trailer check):
7937 Use an empirical test on a built program.
7938 * configure: Regenerated.
7939
574920b4
RM
7940 * configure.in (-z relro check): Use an empirical test on a built DSO.
7941 Detect, but do not require, on ia64.
7942 * configure: Regenerated.
7943
d30cf5bb
RM
7944 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7945 Update tests that use readelf to use $READELF instead.
7946 * configure: Regenerated.
7947
8538fdb3
UD
79482011-07-08 Ulrich Drepper <drepper@gmail.com>
7949
7950 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7951 if the result is not used.
7952
04d08991
AJ
79532011-07-05 Andreas Jaeger <aj@suse.de>
7954
7955 [BZ#9696]
7956 * stdlib/tst-strtod.c: Add testcase.
7957
de283087
AD
79582011-07-07 Ulrich Drepper <drepper@gmail.com>
7959
4e5f31c8 7960 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 7961 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
7962 The latter has a higher limit. Take additional parameter to pass to
7963 the new function.
7964 (__pathconf): Pass file to __statfs_link_max.
7965 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7966 __statfs_link_max.
7967 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7968 __statfs_link_max.
7969
de283087
AD
7970 [BZ #12868]
7971 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7972 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7973 Handle Lustre.
7974 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7975 (__statfs_filesize_max): Likewise.
7976 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7977
c75fa153
AJ
79782011-07-05 Andreas Jaeger <aj@suse.de>
7979
7980 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7981
1a544854
UD
79822011-07-06 Marek Polacek <mpolacek@redhat.com>
7983
7984 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7985 `status' variable.
7986 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7987 Likewise.
7988
6f0eec67
UD
79892011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7990
7991 * Makefile (strop-tests): Add strncat.
7992 * string/test-strncat.c: New file.
7993
aae30307
UD
79942011-06-30 Marek Polacek <mpolacek@redhat.com>
7995
7996 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7997
c0cfb5eb
UD
79982011-06-21 Andreas Jaeger <aj@suse.de>
7999
8000 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8001 Copy rule from iconvdata/Makefile.
8002
01636b21
UD
80032011-07-06 Ulrich Drepper <drepper@gmail.com>
8004
8005 [BZ #12922]
8006 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8007 but no long options are defined, just return 'W'.
8008
9895c8bc
UD
80092011-06-22 Marek Polacek <mpolacek@redhat.com>
8010
8011 [BZ #9696]
8012 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8013
5d4cf042
UD
80142011-07-06 Ulrich Drepper <drepper@gmail.com>
8015
8016 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8017 netgroups to read.
960e5535 8018 (innetgr): Likewise.
5d4cf042 8019
751eb97e
RM
80202011-07-05 Roland McGrath <roland@hack.frob.com>
8021
8022 * config.make.in (install_root): Default to $(DESTDIR).
8023
f15f1e45
UD
80242011-07-05 Ulrich Drepper <drepper@gmail.com>
8025
8026 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8027
4e34ac6a
RM
80282011-07-02 Roland McGrath <roland@hack.frob.com>
8029
5e9b6af4
RM
8030 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8031
84f9ea0f
RM
8032 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8033 containing directory rather than embedding absolute directory names.
8034
ea5ee9f7
RM
8035 * scripts/check-local-headers.sh: Rewritten using awk.
8036 Match by word, not by line. Print error messages for matches.
8037 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8038
1b74661a
RM
8039 * Makerules [shlib-lds-flags empty]:
8040 ($(common-objpfx)libc_pic.opts): New target.
8041 ($(common-objpfx)libc_pic.os.clean): New target.
8042 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8043
8044 * config.make.in (OBJCOPY): New variable.
8045 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8046 * configure: Regenerated.
8047
f781ef40
RM
8048 * config.make.in (use-default-link): New variable.
8049 * configure.in (use_default_link): Grok --with-default-link to set it.
8050 * configure: Regenerated.
8051 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8052 (shlib-lds, shlib-lds-flags): Define to empty.
8053
2d4fa81e
RM
8054 * Makerules (shlib-lds): New variable.
8055 (shlib-lds-flags): New variable.
8056 (build-shlib, build-moduile, build-module-asneeded): Use it.
8057 ($(common-objpfx)libc.so): Use $(shlib-lds).
8058 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8059 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8060
31fffa6b
RM
8061 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8062 DT_FLAGS/DT_FLAGS_1 with zero flags.
8063
4e34ac6a
RM
8064 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8065 linker script munging.
8066
fcfc776b
UD
80672011-07-02 Ulrich Drepper <drepper@gmail.com>
8068
8069 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8070 as 128-bit value.
8071 * crypt/sha512.c (sha512_process_block): Perform total addition using
8072 128-bit if possible.
8073 (__sha512_finish_ctx): Likewise.
8074 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8075 as 64-bit value.
8076 * crypt/sha256.c (SWAP64): Define.
8077 (sha256_process_block): Perform total addition using 64-bit if
8078 possible.
8079 (__sha256_finish_ctx): Likewise.
8080
99231d9a
UD
80812011-07-01 Ulrich Drepper <drepper@gmail.com>
8082
8083 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8084 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8085 * nscd/hstcache.c (cache_addhst): Likewise.
8086 * nscd/grpcache.c (cache_addgr): Likewise.
8087 * nscd/aicache.c (addhstaiX): Likewise
8088 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8089
445b4a53
TK
80902011-07-01 Thorsten Kukuk <kukuk@suse.de>
8091
8092 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8093 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8094 * nscd/hstcache.c (cache_addhst): Likewise.
8095 * nscd/grpcache.c (cache_addgr): Likewise.
8096 * nscd/aicache.c (addhstaiX): Likewise
8097
6d4d8e8e
AS
80982011-07-01 Andreas Schwab <schwab@redhat.com>
8099
8100 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8101 domain only when needed.
8102
89f654c5
AS
81032011-06-30 Andreas Schwab <schwab@redhat.com>
8104
8105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8106 is always restored.
8107
cf3b23ff
UD
81082011-06-29 Ulrich Drepper <drepper@gmail.com>
8109
8110 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8111 are re-adding the entry.
8112 * nscd/servicescache.c (cache_addserv): Likewise.
8113
751626f9
AJ
81142011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8115
8116 * sysdeps/generic/dl-irel.h: fix protection against multiple
8117 inclusions.
8118 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8119
9113ea1f
UD
81202011-06-28 Ulrich Drepper <drepper@gmail.com>
8121
5c0b8d90
UD
8122 [BZ #12935]
8123 * malloc/memusage.sh: Fix quoting in message.
8124 * debug/xtrace.sh: Likewise.
8125
9113ea1f
UD
8126 * configure.in: Remove support for --experimental-malloc option, make
8127 it the default.
8128 * config.make.in: Likewise.
8129 * malloc/Makefile: Likewise.
8130
a4172181
AS
81312011-06-27 Andreas Schwab <schwab@redhat.com>
8132
8133 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8134 two-byte characters.
8135
78a7eee7
RM
81362011-06-27 Roland McGrath <roland@hack.frob.com>
8137
62bede13
RM
8138 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8139 AC_CACHE_CHECK invocation.
8140 * configure: Regenerated.
8141
78a7eee7
RM
8142 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8143
5ce33a62
UD
81442011-06-27 Ulrich Drepper <drepper@gmail.com>
8145
034807a9
UD
8146 [BZ #12350]
8147 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8148 bit from old_res_options.
8149
4902da17
UD
8150 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8151
5ce33a62
UD
8152 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8153 value type for setfct.
8154
c2344f56
L
81552011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8156
8157 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8158 __gettimeofday instead of gettimeofday.
8159
68468076
UD
81602011-06-26 Ulrich Drepper <drepper@gmail.com>
8161
8162 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8163
acb0d739
L
81642011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8165
8166 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8167
8168 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8169 info.
8170
8912479f
L
81712011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8172
8173 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8174 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8175 strcpy-sse2-unaligned strncpy-sse2-unaligned
8176 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8177 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8178 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8179 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8180 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8181 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8182 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8183 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8184 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8185 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8186 (STRCPY): Support SSE2 and SSSE3 versions.
8187
d5495a11
UD
81882011-06-24 Ulrich Drepper <drepper@gmail.com>
8189
8190 [BZ #12874]
8191 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8192 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8193 kernels which artificially limit size of requests.
8194
0b1cbaae
L
81952011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8196
8197 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8198 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8199 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8200 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8201 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8202 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8203 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8204 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8205 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8206 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8207 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8208 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8209 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8210 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8211 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8212 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8213 Enable unaligned load optimization for Intel Core i3, i5 and i7
8214 processors.
8215 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8216 Define.
8217 (index_Fast_Unaligned_Load): Define.
8218 (HAS_FAST_UNALIGNED_LOAD): Define.
8219
07f494a0
MP
82202011-06-23 Marek Polacek <mpolacek@redhat.com>
8221
8222 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8223
fa3fc0fe
UD
82242011-06-22 Ulrich Drepper <drepper@gmail.com>
8225
8226 [BZ #12907]
8227 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8228 until it is clear that the information is realy needed.
8229 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8230
e12df166
AS
82312011-06-22 Andreas Schwab <schwab@redhat.com>
8232
8233 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8234
852eb34d
UD
82352011-06-22 Ulrich Drepper <drepper@gmail.com>
8236
84e2a551
UD
8237 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8238 /sys/devices/system/cpu/online if it is usable.
8239
852eb34d
UD
8240 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8241 reading the information from the /proc filesystem to once a second.
8242
6e502e19
UD
82432011-06-21 Andreas Jaeger <aj@suse.de>
8244
8245 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8246 NULL after inclusion of kernel headers.
8247
75d39ff2
UD
82482011-06-21 Ulrich Drepper <drepper@gmail.com>
8249
51f9aa6a
UD
8250 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8251 calls to internal_setent.
8252
c0244a9d
UD
8253 [BZ #12885]
8254 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8255 addresses using gethostbyname4_r ignore IPv4 addresses.
8256
c5e3c2ae
UD
8257 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8258 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8259
75d39ff2
UD
8260 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8261
42675c6f
DM
82622011-06-20 David S. Miller <davem@davemloft.net>
8263
8264 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8265 inclusions.
8266 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8267
8268 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8269 (elf_irel): Use it.
8270 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8271 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8272 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8273 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8274 * sysdeps/x86_64/dl-irel.h: Likewise.
8275
8276 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8277 * elf/dl-sym.c: Likewise.
8278
57912a71
UD
82792011-06-15 Ulrich Drepper <drepper@gmail.com>
8280
8281 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8282 need to dereference resplen2.
8283
ee22793d
AS
82842011-06-14 Andreas Schwab <schwab@redhat.com>
8285
8286 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8287
a9e836b0
UD
82882011-06-15 Ulrich Drepper <drepper@gmail.com>
8289
77fb9117
UD
8290 * Makeconfig: Define vardbdir and inst_vardbdir.
8291 * nss/Makefile: Add rules to install db-Makefile.
8292
40c1b22c
UD
8293 * nss/nss_db/db-XXX.c: Cleanup.
8294
9f2da732
UD
8295 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8296 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8297 GLIBC_PRIVATE.
8298 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8299 * nss/makedb.c: Implement -g option to specify that value strings
8300 are generated and should not be added to table iterated over for
8301 get*ent calls.
8302 * nss/nss_db/db-initgroups.c: New file.
8303
82e9a1f7
UD
8304 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8305 interface.
8306
c41af17e
UD
8307 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8308 (internal_getgrouplist): Adjust to name change.
8309 Update use_initgroups_entry if this is not the first call.
8310 * nss/databases.def: Add initgroups entry.
8311
a9e836b0
UD
8312 * nss/makedb.c (compute_tables): Check result of multiple hash table
8313 sizes to minimize maximum chain length.
8314
2666d441
UD
83152011-06-14 Ulrich Drepper <drepper@gmail.com>
8316
8317 * Versions.def: Add entry for libnss_db.
8318 * shlib-versions: Likewise.
8319 * nss/Makefile: Add rules to build libnss_db.
8320 * nss/Versions: Add libnss_db information. Organize libnss_files
8321 entries better.
8322 * nss/db-Makefile: Add gshadow support. Change rules for the new
8323 makedb progra. Some minor improvements to generate smaller files.
8324 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8325 here from...
8326 * nss/makedb.c: ...here.
8327 Improve database format to be smaller and require less memory at
8328 runtime.
8329 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8330 db anymore.
8331 * nss/nss_db/db-netgrp.c: Likewise.
8332 * nss/nss_db/db-open.c: Likewise.
8333 * nss/nss_files/flies-XXX.x: Adjust comments.
8334 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8335 * nss/nss_files/files-grp.c: Likewise.
8336 * nss/nss_files/files-hosts.c: Likewise.
8337 * nss/nss_files/files-network.c: Likewise.
8338 * nss/nss_files/files-proto.c: Likewise.
8339 * nss/nss_files/files-pwd.c: Likewise.
8340 * nss/nss_files/files-rpc.c: Likewise.
8341 * nss/nss_files/files-service.c: Likewise.
8342 * nss/nss_files/files-sgrp.c: Likewise.
8343 * nss/nss_files/files-spwd.c: Likewise.
8344 * nss/nss_db/db-alias.c: Removed.
8345 * nss/nss_db/dummy-db.h: Removed.
8346
9ee76b5a
UD
83472011-06-02 Ulrich Drepper <drepper@gmail.com>
8348
8349 * nss/makedb.c: Rewritten to not use database library.
8350 * nss/Makefile: Update to build new makedb program.
8351
c71ca1f8
AJ
83522011-06-14 Andreas Jaeger <aj@suse.de>
8353
8354 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8355 memset declaration.
8356
3154bfb8
UD
83572011-06-10 Andreas Schwab <schwab@redhat.com>
8358
8359 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8360 tmpbuf.
8361
b350afab
RM
83622011-06-10 Roland McGrath <roland@hack.frob.com>
8363
decd4e50
RM
8364 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8365 * elf/Makefile ($(objpfx)ld.so): Likewise.
8366
5615eaf2
RM
8367 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8368 Don't list ld.so twice in dependencies.
8369
8370 * posix/bug-regex31.c: Include <stdlib.h>.
8371
8372 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8373
8374 * nis/nss_compat/compat-spwd.c
8375 (getspent_next_nss_netgr): Remove unused variable.
8376 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8377
8378 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8379 nonmembers" output to use the right array.
8380
8381 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8382
8383 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8384
8385 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8386 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8387 * catgets/gencat.c (read_input_file): Likewise.
8388 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8389
8390 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8391 variable definition inside #if's controlling its use.
8392
8393 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8394
8395 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8396
8397 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8398
8399 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8400 unreachable code.
8401
8402 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8403
b68e08db
RM
8404 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8405 * configure: Regenerated.
8406
b350afab
RM
8407 * Makerules: Revert last change.
8408 * elf/Makefile: Likewise.
8409
28368601
RM
84102011-06-09 Roland McGrath <roland@hack.frob.com>
8411
8412 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8413 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8414 (reloc-link): Likewise.
8415
11988f8f
UD
84162011-06-09 Ulrich Drepper <drepper@gmail.com>
8417
8418 * elf/Makefile: Add rules to build pldd.
8419 * elf/pldd.c: New file.
8420 * elf/pldd-xx.c: New file.
8421
e80fab37
UD
84222011-06-07 Ulrich Drepper <drepper@gmail.com>
8423
8424 * version.h: Update for 2.15 development version.
8425
9b849836
DM
84262011-06-07 David S. Miller <davem@davemloft.net>
8427
8428 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8429 ifuncs.
8430 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8431 elf_machine_lazy_rel): Likewise.
8432 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8433 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8434 elf_machine_lazy_rel): Likewise.
8435 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8436 dl_hwcap via passed in argument.
8437 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8438 Likewise.
8439
5a31b283
AK
84402011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8441
8442 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8443
069e52f8
RM
84442011-06-06 Roland McGrath <roland@hack.frob.com>
8445
8446 [BZ #12849]
8447 * manual/fdl-1.1.texi: New file, verbatim from:
8448 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8449 * manual/lgpl-2.1.texi: New file, verbatim from:
8450 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8451 * manual/Makefile (licenses): New variable, list those new file names.
8452 (texis): Use it.
8453 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8454
8455 * manual/fdl.texi: File removed.
8456 * manual/lesser.texi: File removed.
8457 * manual/libc.texinfo (Copying, Documentation License):
8458 Use new @include file names, put @appendix directive before @include.
8459
f16846a5
JJ
84602011-06-04 Jakub Jelinek <jakub@redhat.com>
8461
8462 [BZ #12841]
8463 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8464 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8465 (mq_open): Add __NTH.
8466
3d29045b
L
84672011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8468
8469 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8470 Assume Intel Core i3/i5/i7 processor if AVX is available.
8471
8c297311
UD
84722011-05-31 Ulrich Drepper <drepper@gmail.com>
8473
8474 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8475 typo.
8476
c8fc0c91
UD
84772011-05-31 Andreas Schwab <schwab@redhat.com>
8478
8479 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8480 memory. Use alloca_account. Fix memory leak when retrying.
8481
5b27a807
UD
84822011-05-31 Ulrich Drepper <drepper@gmail.com>
8483
356f8bc6
UD
8484 * version.h (RELEASE): Bump for 2.14 release.
8485 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8486
5b27a807
UD
8487 * config.make.in (RANLIB): Remove entry.
8488
01f16ab0
UD
84892011-05-30 Ulrich Drepper <drepper@gmail.com>
8490
41fce8bd
UD
8491 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8492 (libc.pot): Work around missing support for .ksh extension in xgettext.
8493
4769ae77
UD
8494 [BZ #12684]
8495 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8496 if both request failed.
8497 (send_dg): In case of server errors clear resplen or *resplen2.
8498
6b1e7d19
UD
8499 [BZ #12454]
8500 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8501 when there are multiple maps.
8502 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8503 (_dl_fini): Remove test here.
8504
01f16ab0
UD
8505 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8506
b1ebd700
UD
85072011-05-29 Ulrich Drepper <drepper@gmail.com>
8508
7ae22829
UD
8509 [BZ #12350]
8510 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8511 bit from old_res_options.
8512 (gaih_inet): Likewise.
8513
553149f6 8514 [BZ #11099]
18a84741 8515 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8516 as signed.
8517
652ffab1
UD
8518 * resolv/res_init.c (res_setoptions): Make the code more compact.
8519
16985fd0
UD
8520 [BZ #11558]
8521 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8522 set RES_USEVC.
8523
0464f746
UD
8524 [BZ #11634]
8525 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8526
7d17596c
UD
8527 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8528
cf6bbbd7
UD
8529 [BZ #11781]
8530 * malloc/malloc.h: Declare malloc hook variables as volatile.
8531
13f1ab36
UD
8532 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8533 in last patch.
8534
b1ebd700
UD
8535 [BZ #11799]
8536 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 8537 raise in the comment.
80e2212d
UD
8538 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8539 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8540 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 8541
ce67228d
UD
85422011-05-28 Ulrich Drepper <drepper@gmail.com>
8543
8887a920
UD
8544 [BZ #12811]
8545 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8546 grow the buffers more if it already has to be sufficient.
8547 (build_wcs_upper_buffer): Likewise.
8548 * posix/regexec.c (check_matching): Likewise.
8549 (clean_state_log_if_needed): Likewise.
8550 (extend_buffers): Don't enlarge buffers beyond size of the input
8551 buffer.
8552 Patches mostly by Emil Wojak <emil@wojak.eu>.
8553 * posix/bug-regex32.c: New file.
8554 * posix/Makefile (tests): Add bug-regex32.
8555
4f031072
UD
8556 * locale/findlocale.c (_nl_find_locale): Return right away if
8557 _nl_explode_name failed.
8558 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8559
d0478f0c
UD
8560 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8561
de81b246
UD
8562 * debug/xtrace.sh: Unify messages.
8563 * malloc/memusage.sh: Likewise.
8564
c738465a
UD
8565 [BZ #12813]
8566 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8567 time symbol from vDSO. Substitute with vsyscall if not available.
8568 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8569 __vdso_time.
8570
f1f929d7
UD
8571 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8572 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8573 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8574 Add sendmmsg and internal_sendmmsg.
8575 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8576 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8577 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8578
ce67228d
UD
8579 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8580 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8581 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8582
e57420c6
UD
85832011-05-27 Ulrich Drepper <drepper@gmail.com>
8584
a8509ca5
UD
8585 [BZ #12813]
8586 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8587 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8588 available.
8589 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8590 __vdso_getcpu.
8591
e57420c6
UD
8592 [BZ #12814]
8593 * iconvdata/Makefile (tests): Add bug-iconv9.
8594 * iconvdata/bug-iconv9.c: New file.
8595
4d07db15
AS
85962011-05-27 Andreas Schwab <schwab@redhat.com>
8597
8598 [BZ #12814]
8599 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8600
ea486f69
JJ
86012011-05-25 Jakub Jelinek <jakub@redhat.com>
8602
8603 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8604 (struct user_regs_struct): Change intcs field back to cs.
8605
6f038433
UD
86062011-05-25 Ulrich Drepper <drepper@gmail.com>
8607
8608 * po/ja.po: Update from translation team.
8609
67f86a25
UD
86102011-05-23 Ulrich Drepper <drepper@gmail.com>
8611
8612 [BZ #12795]
8613 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8614 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8615
def7fbd6
AS
86162011-05-20 Andreas Schwab <schwab@redhat.com>
8617
8618 * stdlib/longlong.h: Update from GCC.
8619
f50ef8f1
AS
86202011-05-23 Andreas Schwab <schwab@redhat.com>
8621
8622 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8623 parameter name.
8624 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8625 Add parameter name.
8626 (__sysconf): Pass it down.
8627
de7ce8f1
UD
86282011-05-22 Ulrich Drepper <drepper@gmail.com>
8629
f2962a71
UD
8630 [BZ #12671]
8631 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8632 some situations.
8633 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8634 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8635 add in in __libc_use_alloca calls. Adjust callers.
8636 (glob): Use malloc in some situations.
8637
de7ce8f1
UD
8638 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8639 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8640 pltexit.
8641
aec84f53
UD
86422011-05-21 Ulrich Drepper <drepper@gmail.com>
8643
05bb4a68
UD
8644 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8645 and CLOCK_BOOTTIME_ALARM.
8646
7ea72f99
UD
8647 [BZ #12782]
8648 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8649 is returned.
8650
7e4afad5
UD
8651 * string/_strerror.c (__strerror_r): Print negative errors as signed
8652 numbers.
8653
8e211fec
UD
8654 [BZ #12777]
8655 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8656 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8657 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8658
f7d82dc9
UD
8659 * configure.in: Fix typo in redirection and correct removal of test
8660 files in two cases.
8661
cc9e536d
UD
8662 [BZ #12788]
8663 * locale/setlocale.c (new_composite_name): Fix test to check for
8664 identical name of all categories.
8665
aec84f53
UD
8666 [BZ #12792]
8667 * libio/filedoalloc.c (local_isatty): New function.
8668 (_IO_file_doallocate): Use local_isatty.
8669 * stdio-common/perror.c (perror): In case a new stream is used
8670 forward the stream error.
8671 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8672 error flag.
8673
78e64fdc
RT
86742011-05-20 Ulrich Drepper <drepper@gmail.com>
8675
34a9094f
UD
8676 [BZ #11869]
8677 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8678 alloca.
8679 * include/alloca.h (extend_alloca_account): Define.
8680
78e64fdc
RT
8681 [BZ #11857]
8682 * posix/regex.h: Fix comments with documentation of user-accessible
8683 fields after compilation and describe correct free'ing of pattern
8684 after re_compile_pattern.
8685 Patch by Reuben Thomas <rrt@sc3d.org>.
8686
457bddfc
RA
86872011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8688
8689 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8690 and -mno-altivec to prevent the compiler from using Altivec and/or
8691 VSX instructions when the corresponding registers are not available.
8692
a4527b51
AS
86932011-05-19 Andreas Schwab <schwab@redhat.com>
8694
8695 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8696
ed690b2f
UD
86972011-05-19 Ulrich Drepper <drepper@gmail.com>
8698
8699 * libio/freopen.c (freopen): Use __dup2, not dup2.
8700 * libio/freopen64.c (freopen64): Likewise.
8701
8db73634
L
87022011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8703
8704 [BZ #12775]
8705 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8706 * math/Makefile (tests): Add test-powl.
8707 (CFLAGS-test-powl.c): Define.
8708 * math/test-powl.c: New file.
8709
0a197a9d
L
87102011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8711
8712 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8713
ee30c380
UD
87142011-05-17 Ulrich Drepper <drepper@gmail.com>
8715
8716 [BZ #11837]
8717 * iconvdata/gb18030.c: Update to GB18020-2005.
8718
6ce75379
UD
87192011-05-16 Ulrich Drepper <drepper@gmail.com>
8720
a4b89fd8
AR
8721 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8722 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8723 Patch by Aharon Robbins <arnold@skeeve.com>.
8724
ea389b12
UD
8725 [BZ #11892]
8726 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8727 on the stack.
8728
68a3f91f
UD
8729 [BZ #11895]
8730 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8731 through underflows.
8732
15cc7dd1
UD
8733 [BZ #12766]
8734 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8735 point to strings before performing equality test for error_one_per_line
8736 mode.
8737
f3799213
UD
8738 [BZ #11697]
8739 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8740
d79a9c94
UD
8741 [BZ #11820]
8742 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8743 (struct user_fpregs_struct): Avoid __uint*_t types.
8744
56e5eb46
UD
8745 [BZ #6420]
8746 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8747 symbol info. Use it instead of calling _dl_addr locally.
8748 (lock_and_info): New function.
8749 (tr_freehook): Call lock_and_info and pass symbol info as additional
8750 parameter to tr_where.
8751 (tr_mallochook): Likewise.
8752 (tr_reallochook): Likewise.
8753 (tr_memalignhook): Likewise.
8754
6ce75379
UD
8755 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8756 used and couldn't be at all thread-safe.
8757
f8a3b5bf
UD
87582011-05-15 Ulrich Drepper <drepper@gmail.com>
8759
94b7cc37
UD
8760 * libio/freopen.c (freopen): Don't close old file descriptor
8761 before the new one is opened. Instead dup the new file descriptor
8762 to the old one after the new stream is created.
8763 * libio/freopen64.c (freopen64): Likewise.
8764 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8765 * libio/fileops.c (_IO_new_file_close_it): Handle new
8766 _IO_FLAGS2_NOCLOSE flag.
8767 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8768 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8769 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8770 _IO_FLAGS2_NOCLOSE flag.
8771 * include/unistd.h: Add hidden_proto for dup3.
8772 Define __have_dup3.
8773 * io/dup3.c: Define hidden symbol.
8774 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8775
bd25564e
UD
8776 [BZ #7101]
8777 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8778 when an incomplete long option is used.
8779 * posix/tst-getopt_long1.c: New file.
8780 * posix/Makefile (tests): Add tst-getopt_long1.
8781
c84cfef4
UD
8782 [BZ #10138]
8783 * scripts/config.guess: Update from autoconf-2.68.
8784 * scripts/config.sub: Likewise.
8785
3b85df27
UD
8786 [BZ #10157]
8787 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8788 tests into ...
8789 (has_cpuclock): ...this. New function.
8790 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8791 macro here based on has_cpuclock code.
8792
15a856b1
UD
8793 [BZ #10149]
8794 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8795 First byte (not low byte) is now always NUL.
8796 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8797
05f399e6
UD
8798 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8799 Use non-cancelable interfaces.
8800
10a52685 8801 [BZ #9809]
94ecc67d
UD
8802 * locale/iso-639.def: Add entry for Sorani.
8803
f8a3b5bf
UD
8804 [BZ #11901]
8805 * include/stdlib.h: Move include protection to the right place.
8806 Define abort_msg_s. Declare __abort_msg with it.
8807 * stdlib/abort.c (__abort_msg): Adjust type.
8808 * assert/assert.c (__assert_fail_base): New function. Majority
8809 of code from __assert_fail. Allocate memory for __abort_msg with
8810 mmap.
8811 (__assert_fail): Now call __assert_fail_base.
8812 * assert/assert-perr.c: Remove bulk of implementation. Use
8813 __assert_fail_base.
8814 * include/assert.hL Declare __assert_fail_base.
8815 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8816 mmap.
8817 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8818
1af4e298
UD
88192011-05-14 Ulrich Drepper <drepper@gmail.com>
8820
f8a3b5bf 8821 [BZ #11952]
d26dfc60
MG
8822 [BZ #12453]
8823 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8824 until all modules are registered in the DTV.
8825 * elf/Makefile: Add rules to build and run tst-tls19.
8826 * elf/tst-tls19.c: New file.
8827 * elf/tst-tls19mod1.c: New file.
8828 * elf/tst-tls19mod2.c: New file.
8829 * elf/tst-tls19mod3.c: New file.
8830 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8831
2fc54d6f
UD
8832 [BZ #12083]
8833 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8834 correctly.
8835
98d76b46
UD
8836 [BZ #12601]
8837 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8838 two-byte sequence errors.
8839 * iconvdata/Makefile (tests): Add bug-iconv8.
8840 * iconvdata/bug-iconv8.c: New file.
8841
da3c19ef
UD
8842 [BZ #12626]
8843 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8844 buf2 definition.
8845
ca408c15
UD
8846 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8847
d6f67f7d
UD
8848 [BZ #12432]
8849 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8850 (dummy_getcfa): New function.
8851 (init): Get _Unwind_GetCFA address, use dummy if not found.
8852 (backtrace_helper): In recursion check, also check whether CFA changes.
8853 (__backtrace): Completely initialize arg.
8854
1af4e298 8855 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
8856 storing incomplete byte sequence in state object. Avoid testing for
8857 guaranteed too small input if we know there is enough data available.
1af4e298 8858
da62f81b
AS
88592011-05-11 Andreas Schwab <schwab@redhat.com>
8860
8861 * Makeconfig (+link-pie): Indent.
8862 * Rules (binaries-pie): Define if $(have-fpie) and
8863 $(build-shared).
8864 (binaries-shared): Also filter out $(binaries-pie).
8865 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8866 * nscd/Makefile (others-pie): Add nscd.
8867 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8868 ($(objpfx)nscd): Remove command override.
8869 * login/Makefile (others-pie): Add pt_chown.
8870 ($(objpfx)pt_chown): Remove command override.
8871 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8872 remove command overrides.
8873
fcabc0f8
UD
88742011-05-13 Ulrich Drepper <drepper@gmail.com>
8875
20030ae6
UD
8876 * libio/tst_putwc.c: Fix error messages.
8877
fcabc0f8
UD
8878 [BZ #12724]
8879 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8880 currently writing and seek to current position when not.
8881 * libio/Makefile (tests): Add bug-fclose1.
8882 * libio/bug-fclose1.c: New file.
8883
320a5dc0
PB
88842011-05-12 Ulrich Drepper <drepper@gmail.com>
8885
8886 [BZ #12511]
8887 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8888 don't set DF_1_NODELETE here.
8889 (do_lookup_x): When entering new entry test for copy relocation
8890 and if necessary set DF_1_NODELETE flag.
8891 * elf/tst-unique4.cc: New file.
8892 * elf/tst-unique4.h: New file.
8893 * elf/tst-unique4lib.cc: New file.
8894 * elf/Makefile: Add rules to build and run tst-unique4.
8895 Patch by Piotr Bury <pbury@goahead.com>.
8896
22836f52
UD
88972011-05-11 Ulrich Drepper <drepper@gmail.com>
8898
f574184a
UD
8899 [BZ #12052]
8900 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8901
e1fb097f
UD
8902 [BZ #12625]
8903 * misc/mntent_r.c (addmntent): Flush the stream after the output
8904
22836f52
UD
8905 [BZ #12393]
8906 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8907 (is_trusted_path_normalize): Skip initial colon. Append slash
8908 to empty buffer. Duplicate is_trusted_path code but allow
8909 constructed patch to be prefix.
8910 (is_dst): Allow $ORIGIN followed by /.
8911 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8912 Correct testing of result of is_trusted_path_normalize
8913 (decompose_rpath): Fix warning.
8914
7b3b0b2a
UD
89152011-05-10 Ulrich Drepper <drepper@gmail.com>
8916
8917 [BZ #11257]
8918 * grp/initgroups.c (internal_getgrouplist): When we found the service
8919 list through the initgroups entry in nsswitch.conf do not always
8920 continue on a successful lookup. Don't always use the
eac80ce2 8921 __nss_group_database value if it is set.
7b3b0b2a
UD
8922 * nss/nsswitch.conf (initgroups): Change action for successful db
8923 lookup to continue for compatibility.
8924
2a81eaa5
UD
89252011-05-09 Ulrich Drepper <drepper@gmail.com>
8926
be97a69e
UD
8927 [BZ #11532]
8928 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8929 and CP774 modules.
8930 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8931 and CP774 modules.
8932 * iconvdata/tst-tables.sh: Likewise.
8933 * iconvdata/cp770.c: New file.
8934 * iconvdata/cp771.c: New file.
8935 * iconvdata/cp772.c: New file.
8936 * iconvdata/cp773.c: New file.
8937 * iconvdata/cp774.c: New file.
8938 * iconvdata/testdata/CP770: New file.
8939 * iconvdata/testdata/CP770..UTF8: New file.
8940 * iconvdata/testdata/CP771: New file.
8941 * iconvdata/testdata/CP771..UTF8: New file.
8942 * iconvdata/testdata/CP772: New file.
8943 * iconvdata/testdata/CP772..UTF8: New file.
8944 * iconvdata/testdata/CP773: New file.
8945 * iconvdata/testdata/CP773..UTF8: New file.
8946 * iconvdata/testdata/CP774: New file.
8947 * iconvdata/testdata/CP774..UTF8: New file.
8948
8949 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8950 END CHARMAP line.
8951 * iconvdata/gen-8bit-gap.sh: Likewise.
8952 * iconvdata/gen-8bit.sh: Likewise.
8953
c1e9e399
UD
8954 * locale/iso-639.def: Add ary entry.
8955
24c55fb3 8956 [BZ #11258]
96b4b1b0
UD
8957 * locale/C-translit.h.in: Add U20A1 transliteration.
8958
bdc2f971
KB
8959 [BZ #12178]
8960 * locale/iso-639.def: Add wae entry.
8961 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8962
2952b117
UD
8963 [BZ #12545]
8964 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8965 for n.
8966
2a81eaa5
UD
8967 [BZ #12711]
8968 * locale/C-translit.h.in: Add entry for U20B9.
8969 Patch by pravin.d.s@gmail.com.
8970
28377d1b
UD
89712011-05-08 Ulrich Drepper <drepper@gmail.com>
8972
7fb90fb8
UD
8973 [BZ #12713]
8974 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8975 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
8976 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8977 in rtld. Use *stat64.
7fb90fb8 8978 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 8979 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 8980 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
8981 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8982 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8983 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8984 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8985 __fstatat64 macros.
7fb90fb8
UD
8986 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8987 * dirent/rewinddir.c: Add libc_hidden_def.
8988 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 8989 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 8990
28377d1b
UD
8991 * include/dirent.h (__alloc_dir): Add flags parameter.
8992 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8993 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8994 __alloc_dir.
8995 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8996 from fdopendir if O_CLOEXEC is already set.
8997
66bdbaa4
AM
89982011-03-15 Alan Modra <amodra@gmail.com>
8999
9000 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9001 l_tls_firstbyte_offset non-zero. Save padding offset in
9002 l_tls_firstbyte_offset for later use.
9003 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9004 freeing static tls block.
9005
95721191
JN
90062011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9007
9008 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9009 where #ifdef was intended. The intent is to prevent ARG_MAX from
9010 being defined by the kernel headers.
9011
f87dfb1f
UD
90122011-05-07 Ulrich Drepper <drepper@gmail.com>
9013
9014 [BZ #12734]
9015 * resolv/resolv.h: Define RES_NOTLDQUERY.
9016 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9017 no-tld-query and set RES_NOTLDQUERY.
9018 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9019 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9020 modern BIND to search name as TLD unless forbidden.
9021
47c3cd7a
UD
90222011-05-07 Petr Baudis <pasky@suse.cz>
9023 Ulrich Drepper <drepper@gmail.com>
9024
9025 [BZ #12393]
9026 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9027 (is_trusted_path): ...to here.
c1e9ea35 9028 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 9029 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 9030 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 9031
8a35c912
PP
90322011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9033
9034 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9035 __BEGIN/__END_DECLS.
9036
acd41f47
UD
90372011-05-06 Ulrich Drepper <drepper@gmail.com>
9038
9039 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9040 NSS_STATUS_NOTFOUND if no record was found.
9041
597df647
AS
90422011-05-05 Andreas Schwab <schwab@redhat.com>
9043
9044 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9045 (headers-not-in-tirpc): Remove rpc/netdb.h
9046 * resolv/netdb.h: Revert last change.
9047
b9af1301
PP
90482011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9049
9050 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9051 circular dependency between libgcc.a and libc.a.
9052
4e34d5f5
AS
90532011-05-05 Andreas Schwab <schwab@redhat.com>
9054
9055 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9056 * nis/Makefile: Don't install rpcsvc/*.
9057 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9058 instead of <rpc/types.h>.
9059 (MAXHOSTNAMELEN): Define.
9060
00ee369c
AS
90612011-05-03 Andreas Schwab <schwab@redhat.com>
9062
9063 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9064
0b592a30
MB
90652011-04-28 Maciej Babinski <mbabinski@google.com>
9066
9067 [BZ #12714]
9068 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9069 gethostbyname4_r when IPv6 results are possible.
9070
6e04cbbe
UD
90712011-05-02 Ulrich Drepper <drepper@gmail.com>
9072
9073 [BZ #12723]
9074 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9075 _PC_PIPE_BUF handling.
9076
e4ecafe0
BH
90772011-04-30 Bruno Haible <bruno@clisp.org>
9078
9079 [BZ #12717]
9080 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9081 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9082 to 'int'.
9083 * inet/getnameinfo.c (getnameinfo): Likewise.
9084
125ee683
UD
90852011-04-29 Ulrich Drepper <drepper@gmail.com>
9086
9087 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9088 to groups setting in database lookup.
9089 * nss/nsswitch.conf: Add initgroups entry.
9090
b722481a
EB
90912011-04-22 Ulrich Drepper <drepper@gmail.com>
9092
9093 [BZ #12685]
9094 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9095 mode string.
9096 Patch by Eric Blake <eblake@redhat.com>.
9097
4df46dbd
L
90982011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9099
9100 * sunrpc/Makefile (need-export-routines): Add svc_run.
9101 (routines): Remove svc_run.
9102 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9103 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9104 * sunrpc/svc_run.c (svc_run): Likewise.
9105 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9106
e84142d2
UD
91072011-04-21 Ulrich Drepper <drepper@gmail.com>
9108
9109 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9110 problem in reallocation in last patch.
9111
877175d8
UD
91122011-04-20 Ulrich Drepper <drepper@gmail.com>
9113
9114 * sunrpc/Makefile: Move inclusion of Rules.
9115
ab8eed78
UD
91162011-04-19 Ulrich Drepper <drepper@gmail.com>
9117
9118 * nss/nss_files/files-initgroups.c: New file.
9119 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9120 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9121 _nss_files_initgroups_dyn.
9122
e3d8f584
RS
91232011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9124
9125 * elf/elf.h (R_ARM_IRELATIVE): Define.
9126
af190f45
UD
91272011-04-19 Ulrich Drepper <drepper@gmail.com>
9128
9129 * po/ru.po: Update from translation team.
9130
53cf59ef
UD
91312011-04-17 Ulrich Drepper <drepper@gmail.com>
9132
9133 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9134 dependencies.
9135
4c559bcd
MF
91362011-02-06 Mike Frysinger <vapier@gentoo.org>
9137
9138 [BZ #12653]
9139 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9140 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9141 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9142 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9143 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9144
4420675c
AS
91452011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9146
9147 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9148 differing bytes.
9149 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9150 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9151 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9152
75ea32ab
UD
91532011-04-17 Ulrich Drepper <drepper@gmail.com>
9154
9155 [BZ #12420]
9156 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9157 storing it.
9158 * stdlib/bug-getcontext.c: New file.
9159 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9160
27390476
AK
91612011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9162
9163 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9164 instructions into .machine "z9-109".
9165 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9166 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9167
10442705
AK
91682011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9169
9170 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9171 between environment variables and auxiliary vector.
9172
7b57bfe5
UD
91732011-04-16 Ulrich Drepper <drepper@gmail.com>
9174
9175 * Makefile: Add rules to build linkobj/libc.so.
9176 * include/libc-symbols.h: Define libc_hidden_nolink.
9177 * include/rpc/auth.h: Mark functions which are to be hidden.
9178 * include/rpc/auth_des.h: Likewise.
9179 * include/rpc/auth_unix.h: Likewise.
9180 * include/rpc/clnt.h: Likewise.
9181 * include/rpc/des_crypt.h: Likewise.
9182 * include/rpc/key_prot.h: Likewise.
9183 * include/rpc/pmap_clnt.h: Likewise.
9184 * include/rpc/pmap_prot.h: Likewise.
9185 * include/rpc/pmap_rmt.h: Likewise.
9186 * include/rpc/rpc_msg.h: Likewise.
9187 * include/rpc/svc.h: Likewise.
9188 * include/rpc/svc_auth.h: Likewise.
9189 * include/rpc/xdr.h: Likewise.
9190 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9191 * nss/Makefile: Likewise.
9192 * sunrpc/Makefile: Don't install headers. Build library with normal
9193 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9194 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9195 for the compat linking library. Remove use of INTDEF/INTUSE.
9196 * sunrpc/auth_none.c: Likewise.
9197 * sunrpc/auth_unix.c: Likewise.
9198 * sunrpc/authdes_prot.c: Likewise.
9199 * sunrpc/authuxprot.c: Likewise.
9200 * sunrpc/clnt_gen.c: Likewise.
9201 * sunrpc/clnt_perr.c: Likewise.
9202 * sunrpc/clnt_raw.c: Likewise.
9203 * sunrpc/clnt_simp.c: Likewise.
9204 * sunrpc/clnt_tcp.c: Likewise.
9205 * sunrpc/clnt_udp.c: Likewise.
9206 * sunrpc/clnt_unix.c: Likewise.
9207 * sunrpc/des_crypt.c: Likewise.
9208 * sunrpc/des_soft.c: Likewise.
9209 * sunrpc/get_myaddr.c: Likewise.
9210 * sunrpc/key_call.c: Likewise.
9211 * sunrpc/key_prot.c: Likewise.
9212 * sunrpc/netname.c: Likewise.
9213 * sunrpc/pm_getmaps.c: Likewise.
9214 * sunrpc/pm_getport.c: Likewise.
9215 * sunrpc/pmap_clnt.c: Likewise.
9216 * sunrpc/pmap_prot.c: Likewise.
9217 * sunrpc/pmap_prot2.c: Likewise.
9218 * sunrpc/pmap_rmt.c: Likewise.
9219 * sunrpc/publickey.c: Likewise.
9220 * sunrpc/rpc_cmsg.c: Likewise.
9221 * sunrpc/rpc_common.c: Likewise.
9222 * sunrpc/rpc_dtable.c: Likewise.
9223 * sunrpc/rpc_prot.c: Likewise.
9224 * sunrpc/rpc_thread.c: Likewise.
9225 * sunrpc/rtime.c: Likewise.
9226 * sunrpc/svc.c: Likewise.
9227 * sunrpc/svc_auth.c: Likewise.
9228 * sunrpc/svc_authux.c: Likewise.
9229 * sunrpc/svc_raw.c: Likewise.
9230 * sunrpc/svc_run.c: Likewise.
9231 * sunrpc/svc_simple.c: Likewise.
9232 * sunrpc/svc_tcp.c: Likewise.
9233 * sunrpc/svc_udp.c: Likewise.
9234 * sunrpc/svc_unix.c: Likewise.
9235 * sunrpc/svcauth_des.c: Likewise.
9236 * sunrpc/xcrypt.c: Likewise.
9237 * sunrpc/xdr.c: Likewise.
9238 * sunrpc/xdr_array.c: Likewise.
9239 * sunrpc/xdr_float.c: Likewise.
9240 * sunrpc/xdr_intXX_t.c: Likewise.
9241 * sunrpc/xdr_mem.c: Likewise.
9242 * sunrpc/xdr_rec.c: Likewise.
9243 * sunrpc/xdr_ref.c: Likewise.
9244 * sunrpc/xdr_sizeof.c: Likewise.
9245 * sunrpc/xdr_stdio.c: Likewise.
9246
e6c61494
UD
92472011-04-10 Ulrich Drepper <drepper@gmail.com>
9248
9249 [BZ #12650]
9250 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9251 * sysdeps/ia64/dl-tls.h: Likewise.
9252 * sysdeps/powerpc/dl-tls.h: Likewise.
9253 * sysdeps/s390/dl-tls.h: Likewise.
9254 * sysdeps/sh/dl-tls.h: Likewise.
9255 * sysdeps/sparc/dl-tls.h: Likewise.
9256 * sysdeps/x86_64/dl-tls.h: Likewise.
9257 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9258
34fe483e
AS
92592011-03-14 Andreas Schwab <schwab@redhat.com>
9260
9261 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9262 rpath element also skip the following colon.
9263 (expand_dynamic_string_token): Add is_path parameter and pass
9264 down to DL_DST_REQUIRED and _dl_dst_substitute.
9265 (decompose_rpath): Call expand_dynamic_string_token with
9266 non-zero is_path. Ignore empty rpaths.
9267 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9268 with zero is_path.
9269
f12a32e6
AS
92702011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9271
9272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9273 Make cancelable.
9274
38a7d692
UD
92752011-04-09 Ulrich Drepper <drepper@gmail.com>
9276
9277 [BZ #12655]
9278 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9279 Patch by Filipe David Manana <fdmanana@apache.org>.
9280
e451d22b
AS
92812011-04-07 Andreas Schwab <schwab@redhat.com>
9282
9283 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9284 Maintain aligned stack.
9285 (CHECK_RSP): Remove unused macro.
9286
dedc7c7b
UD
92872011-04-03 Ulrich Drepper <drepper@gmail.com>
9288
9289 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9290 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9291
94521213
UD
92922011-04-02 Ulrich Drepper <drepper@gmail.com>
9293
9294 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9295
8cb700c0 9296 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9297
0354e355
L
92982011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9299
9300 [BZ #12518]
9301 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9302 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9303 * sysdeps/x86_64/memmove.c: New file.
9304 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9305 (memcpy): Renamed to ...
9306 (__new_memcpy): This.
9307 (memcpy): Provide GLIBC_2_14 memcpy.
9308 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9309 (memcpy): Provide GLIBC_2_2_5 memcpy.
9310
8593482f
UD
93112011-04-01 Ulrich Drepper <drepper@gmail.com>
9312
9313 [BZ #12631]
9314 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9315
81a5726b
AS
93162011-03-30 Andreas Schwab <schwab@redhat.com>
9317
9318 * misc/syncfs.c: New file.
9319 * misc/Makefile (routines): Add syncfs.
9320 * posix/unistd.h: Declare syncfs.
9321 * sysdeps/unix/syscalls.list: Add syncfs.
9322
00e5419f
AS
93232011-04-01 Andreas Schwab <schwab@redhat.com>
9324
9325 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9326 open_by_handle_at.
9327 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9328 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9329 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9330 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9331 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9332 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9333 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9334
748876bf
UD
93352011-04-01 Ulrich Drepper <drepper@gmail.com>
9336
658e451d
UD
9337 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9338 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9339 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9340 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9341 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9342 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9343 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9344
748876bf
UD
9345 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9346 sync_file_range.c with -fexceptions.
9347 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9348 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9349 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9350 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9351 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9352 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9353 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
9354 sync_file_range as cancellation point
9355 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9356 now a wrapper around __call_sync_file_range with cancellation handling.
9357 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9358 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9359 function name to __call_sync_file_range.
9360 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9361 Add call_sync_file_range.
748876bf 9362
6e63d5e1
AS
93632011-04-01 Andreas Schwab <schwab@redhat.com>
9364
9365 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 9366 bits/timex.h.
6e63d5e1 9367
46998f74
UD
93682011-04-01 Ulrich Drepper <drepper@gmail.com>
9369
4c1423ed
UD
9370 * iconv/iconv.h: Fix typo in comment.
9371 * io/fcntl.h: Likewise.
9372 * libio/stdio.h: Likewise.
9373 * posix/spawn.h: Likewise.
9374 * posix/unistd.h: Likewise.
9375 * stdlib/stdlib.h: Likewise.
9376 * time/time.h: Likewise.
9377 * wcsmbs/wchar.h: Likewise.
9378
158648c0
UD
9379 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9380 open_by_handle): Add.
9381 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9382 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9383 Augment a few comments.
9384 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9385 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9386 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9387 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9388 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9389 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9390 open_by_handle.
9391
46998f74
UD
9392 * io/fcntl.h (AT_EMPTY_PATH): Define.
9393
83fe108b
UD
93942011-03-30 Ulrich Drepper <drepper@gmail.com>
9395
9396 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9397 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9398 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9399 to...
9400 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
9401 * Versions.def: Add GLIBC_2.14.
9402 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9403 Export.
83fe108b 9404
bb242059
UD
94052011-03-22 Ulrich Drepper <drepper@gmail.com>
9406
9407 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9408 round counter.
9409 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9410
c97a1282
L
94112011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9412
9413 [BZ #12597]
9414 * string/test-strncmp.c (do_page_test): New function.
9415 (check2): Likewise.
9416 (test_main): Call check2.
9417 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9418
2a115601
UD
94192011-03-20 Ulrich Drepper <drepper@gmail.com>
9420
9421 [BZ #12587]
9422 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9423 Handle cache information in CPU leaf 4.
9424 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9425
8126d904
UD
94262011-03-18 Ulrich Drepper <drepper@gmail.com>
9427
042c49c6 9428 [BZ #12583]
8126d904
UD
9429 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9430 character representation.
9431 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9432
ccfe366e
RA
94332011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9434
9435 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9436 END(__isnan) to END(__isnanf) to match function entry point/label
9437 EALIGN(__isnanf,...).
9438
c6e13027
JJ
94392011-03-10 Jakub Jelinek <jakub@redhat.com>
9440
9441 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9442
33f85a3f
UD
94432011-03-10 Ulrich Drepper <drepper@gmail.com>
9444
028478fa
UD
9445 [BZ #12510]
9446 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9447 copy from the symbol referenced in the relocation to initialize the
9448 used variable.
9449 Patch by Piotr Bury <pbury@goahead.com>.
9450 * elf/Makefile: Add rules to build and tst-unique3.
9451 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9452 * elf/tst-unique3.cc: New file.
9453 * elf/tst-unique3.h: New file.
9454 * elf/tst-unique3lib.cc: New file.
9455 * elf/tst-unique3lib2.cc: New file.
9456
33f85a3f
UD
9457 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9458
03592fc7
MF
94592011-03-10 Mike Frysinger <vapier@gentoo.org>
9460
9461 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9462 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9463 to _start.
03592fc7 9464
6a5ee102
UD
94652011-03-06 Ulrich Drepper <drepper@gmail.com>
9466
9467 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9468 to-be-loaded object along a path to loader is ld.so.
9469
7e4ba49c
HJ
94702011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9471 Ulrich Drepper <drepper@gmail.com>
9472
9473 * sysdeps/x86_64/memset.S: After aligning destination, code
9474 branches to different locations depending on the value of
9475 misalignment, when multiarch is enabled. Fix this.
9476
94772011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9478
9479 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9480 Set _x86_64_preferred_memory_instruction for AMD processsors.
9481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9482 Set bit_Prefer_SSE_for_memop for AMD processors.
9483
13a804de
UD
94842011-03-04 Ulrich Drepper <drepper@gmail.com>
9485
9486 * libio/fmemopen.c (fmemopen): Optimize a bit.
9487
9d25c392
AS
94882011-03-03 Andreas Schwab <schwab@redhat.com>
9489
9490 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9491
a5543c6a
RM
94922011-03-03 Roland McGrath <roland@redhat.com>
9493
9494 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9495
012d35f7
DM
94962011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9497
7e4ba49c 9498 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9499 __bzero_ultra1 instead of __memset_ultra1.
9500
4bff6e01
AS
95012011-02-23 Andreas Schwab <schwab@redhat.com>
9502 Ulrich Drepper <drepper@gmail.com>
9503
9504 [BZ #12509]
9505 * include/link.h (struct link_map): Add l_orig_initfini.
9506 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9507 returning unsuccessfully.
9508 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9509 close of a file loaded at startup, restore the original l_initfini
9510 list.
9511 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9512 list, store the pointer.
9513 * elf/Makefile ($(objpfx)noload-mem): New rule.
9514 (noload-ENV): Define.
9515 (tests): Add $(objpfx)noload-mem.
9516 * elf/noload.c: Include <memcheck.h>.
9517 (main): Call mtrace. Close all opened handles.
9518
f2092faf
AS
95192011-02-17 Andreas Schwab <schwab@redhat.com>
9520
9521 [BZ #12454]
9522 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9523 dependencies are missing.
9524
6c8a2e88
ST
95252011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9526
f2092faf 9527 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
9528 Hurd needs munmap.
9529 * sysdeps/mach/hurd/ifreq.h: New file.
9530
84a42118
PB
95312011-01-27 Petr Baudis <pasky@suse.cz>
9532 Ulrich Drepper <drepper@gmail.com>
9533
071f805e 9534 [BZ 12445]#
84a42118
PB
9535 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9536 to extend_alloca().
9537 * stdio-common/bug23.c: New file.
9538 * stdio-common/Makefile (tests): Add bug23.
9539
e23fe25b
AS
95402010-09-28 Andreas Schwab <schwab@redhat.com>
9541 Ulrich Drepper <drepper@gmail.com>
9542
9543 [BZ #12489]
9544 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9545 before performing relro protection. At old place add assertion
9546 to make sure nothing changed.
9547
d3f02e10
NS
95482011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9549 Glauber de Oliveira Costa <glommer@gmail.com>
9550
9551 * elf/elf.h: Add new ARM TLS relocs.
9552
d55fd7a5
RA
95532011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9554
9555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9556 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9557 cast from r3.
9558 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9559 'tests' variable.
9560 * sysdeps/wordsize-64/tst-writev.c: New file.
9561
2206397e
RA
95622011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9563
9564 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9565 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9566 insns in _dl_start to prevent a TOC reference before relocs are
9567 resolved.
9568
e9433893
UD
95692011-02-15 Ulrich Drepper <drepper@gmail.com>
9570
9571 [BZ #12469]
9572 * Makeconfig: Remove RANLIB definition.
9573 * Makerules: Don't use RANLIB.
9574 * aclocal.m4: Remove ranlib test.
9575 * configure.in: No need to check for ranlib.
9576 * elf/rtld-Rules: Don't use RANLIB.
9577
f75286c6
ST
95782011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9579
8e31c82d
ST
9580 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9581 protection macro.
9582 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9583 inclusion protection macro.
9584
f75286c6
ST
9585 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9586 SIGRTMIN and SIGRTMAX and print information in that case only when
9587 SIGRTMIN is defined.
9588
c1d0e639
JJ
95892011-02-11 Jakub Jelinek <jakub@redhat.com>
9590
9591 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9592 arginfo fn returning -1.
9593
9594 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9595 and thousands string is zero terminated.
9596
edf9294e
AS
95972011-02-03 Andreas Schwab <schwab@redhat.com>
9598
9599 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9600 sysdeps/unix/sysv/linux/bits/socket.h.
9601
2b7e92df
ST
96022011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9603
edf9294e
AS
9604 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9605 (__CPU_COUNT): Remove old macros.
9606 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9607 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9608 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
9609 (__sched_cpualloc, __sched_cpufree): Add declarations.
9610
a4c7ea7b
UD
96112011-02-05 Ulrich Drepper <drepper@gmail.com>
9612
9613 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9614 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9615 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9616 (readdhstai): Return value of addhstaiX call.
9617 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9618 (addgrbyX): Return value returned by cache_addgr.
9619 (readdgrbyname): Return value returned by addgrbyX.
9620 (readdgrbygid): Likewise.
9621 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9622 (addpwbyX): Return value returned by cache_addpw.
9623 (readdpwbyname): Return value returned by addhstbyX.
9624 (readdpwbyuid): Likewise.
9625 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9626 (addservbyX): Return value returned by cache_addserv.
9627 (readdservbyname): Return value returned by addservbyX:
9628 (readdservbyport): Likewise.
9629 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9630 (addhstbyX): Return value returned by cache_addhst.
9631 (readdhstbyname): Return value returned by addhstbyX.
9632 (readdhstbyaddr): Likewise.
9633 (readdhstbynamev6): Likewise.
9634 (readdhstbyaddrv6): Likewise.
9635 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9636 (readdinitgroups): Return value returned by addinitgroupsX.
9637 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9638 (prune_cache): Keep track of timeout value of re-added entries.
9639 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9640 * nscd/nscd.h: Adjust prototypes of readd* functions.
9641
a0bf67cc
RM
96422011-02-04 Roland McGrath <roland@redhat.com>
9643
9644 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9645 (nis_stats): Likewise.
9646 * nis/nis_modify.c (nis_modify): Likewise.
9647 * nis/nis_remove.c (nis_remove): Likewise.
9648 * nis/nis_add.c (nis_add): Likewise.
9649
9650 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9651
9652 * posix/fnmatch_loop.c: Add some consts.
9653
9654 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9655
435b95eb
L
96562011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9657
9658 [BZ #12460]
9659 * config.make.in (config-cflags-novzeroupper): Define.
9660 * configure.in: Substitute libc_cv_cc_novzeroupper.
9661 * elf/Makefile (AVX-CFLAGS): Define.
9662 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9663 (CFLAGS-tst-auditmod4a.c): Likewise.
9664 (CFLAGS-tst-auditmod4b.c): Likewise.
9665 (CFLAGS-tst-auditmod6b.c): Likewise.
9666 (CFLAGS-tst-auditmod6c.c): Likewise.
9667 (CFLAGS-tst-auditmod7b.c): Likewise.
9668 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9669
8517b15e
UD
96702011-02-02 Ulrich Drepper <drepper@gmail.com>
9671
9672 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9673 function to the callback.
9674 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9675
10a656fe
AS
96762011-02-02 Andreas Schwab <schwab@redhat.com>
9677
9678 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9679 of errno.
9680
968dad0a
UD
96812011-01-19 Ulrich Drepper <drepper@gmail.com>
9682
9f94d2ea 9683 [BZ #11724]
968dad0a
UD
9684 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9685 of constructors.
9686 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9687 of destructors.
9688 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9689
9690 [BZ #11724]
9691 * elf/Makefile: Add rules to build and run new test.
9692 * elf/tst-initorder.c: New file.
9693 * elf/tst-initorder.exp: New file.
9694 * elf/tst-initordera1.c: New file.
9695 * elf/tst-initordera2.c: New file.
9696 * elf/tst-initordera3.c: New file.
9697 * elf/tst-initordera4.c: New file.
9698 * elf/tst-initorderb1.c: New file.
9699 * elf/tst-initorderb2.c: New file.
9700 * elf/tst-order-a1.c: New file.
9701 * elf/tst-order-a2.c: New file.
9702 * elf/tst-order-a3.c: New file.
9703 * elf/tst-order-a4.c: New file.
9704 * elf/tst-order-b1.c: New file.
9705 * elf/tst-order-b2.c: New file.
9706 * elf/tst-order-main.c: New file.
9707 New test case by George Gensure <werkt0@gmail.com>.
9708
86e92359
UD
97092010-10-01 Andreas Schwab <schwab@redhat.com>
9710
9711 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9712 decoding ACE if AI_CANONIDN.
9713
5d5732b0
UD
97142011-01-18 Ulrich Drepper <drepper@gmail.com>
9715
9716 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9717
a77e8cbc
UD
97182011-01-17 Ulrich Drepper <drepper@gmail.com>
9719
6392473f
UD
9720 * version.h (RELEASE): Bump for 2.13 release.
9721 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9722
620a0529
UD
9723 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9724
18ba70a5
UD
9725 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9726 MADV_NOHUGEPAGE.
32465c3e
UD
9727 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9728 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9729 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9730 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9731 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9732 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9733
c0dafcf1
UD
9734 * posix/getconf.c: Update copyright year.
9735 * catgets/gencat.c: Likewise.
9736 * csu/version.c: Likewise.
9737 * debug/catchsegv.sh: Likewise.
9738 * debug/xtrace.sh: Likewise.
9739 * elf/ldconfig.c: Likewise.
9740 * elf/ldd.bash.in: Likewise.
9741 * elf/sprof.c (print_version): Likewise.
9742 * iconv/iconv_prog.c: Likewise.
9743 * iconv/iconvconfig.c: Likewise.
9744 * locale/programs/locale.c: Likewise.
9745 * locale/programs/localedef.c: Likewise.
9746 * malloc/memusage.sh: Likewise.
9747 * malloc/mtrace.pl: Likewise.
9748 * nscd/nscd.c (print_version): Likewise.
9749 * nss/getent.c: Likewise.
9750
a77e8cbc
UD
9751 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9752 PF_CAIF, and PF_ALG.
9753 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9754
77e8bddf
AS
97552011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9756
1f20b93a
AS
9757 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9758 (modules-names): Use them.
9759 (ifunc-test-modules, ifunc-pie-tests): Define.
9760 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9761 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9762 (test-extras): Likewise.
9763 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9764 $(compile-command.c).
9765 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9766 (all-built-dso): Define.
9767 (check-textrel.out, check-execstack.out): Depend on it.
9768
77e8bddf
AS
9769 * configure.in: Don't override --enable-multi-arch.
9770
bc425b33
UD
97712011-01-15 Ulrich Drepper <drepper@gmail.com>
9772
9773 [BZ #6812]
9774 * nscd/hstcache.c (tryagain): Define.
9775 (cache_addhst): Return tryagain not notfound for temporary errors.
9776 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9777 failed.
9778
794c3ad3
UD
97792011-01-14 Ulrich Drepper <drepper@gmail.com>
9780
70181fdd
UD
9781 [BZ #10563]
9782 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9783 to make the syscall.
9784 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9785
794c3ad3
UD
9786 [BZ #12378]
9787 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9788 and fall back to matching as normal character if the string ends before
9789 the matching ']' is found. This is what POSIX requires.
9790 * posix/testfnm.c: Adjust test result.
9791 * posix/globtest.sh: Adjust test result. Add new test.
9792 * posix/tst-fnmatch.input: Likewise.
9793 * posix/tst-fnmatch2.c: Add new test.
9794
68dc9497
AS
97952010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9796
9797 * elf/Makefile (check-execstack): Revert last change. Depend on
9798 check-execstack.h.
9799 (check-execstack.h): New target.
9800 (generated): Add check-execstack.h.
9801 * elf/check-execstack.c: Include "check-execstack.h".
9802 (main): Revert last change.
9803 (handle_file): Return zero if GNU_STACK is absent and
9804 DEFAULT_STACK_PERMS doesn't include PF_X.
9805
451f001b
UD
98062011-01-13 Ulrich Drepper <drepper@gmail.com>
9807
cfa28e56
UD
9808 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9809 in child fails because the descriptor is already closed.
8cf8ce17
UD
9810 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9811 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9812 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 9813
1086d70d
UD
9814 [BZ #12397]
9815 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9816 syscall.
9817
451f001b
UD
9818 [BZ #10484]
9819 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9820 temporary buffer used to handle multi lookups locally.
a85b5cb4 9821 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 9822
08769175
UD
98232011-01-12 Ulrich Drepper <drepper@gmail.com>
9824
9825 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9826 loader is ld.so.
9827
5e49c52e
UD
98282011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9829
9830 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9831 alignment for SSE2.
9832
60522a5f
UD
98332011-01-12 Ulrich Drepper <drepper@gmail.com>
9834
9835 [BZ #12394]
9836 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9837 characters. When rounding increased number of integer digits recompute
9838 number of groups.
9839 * stdio-common/tst-grouping.c: New file.
9840 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9841
f257bbd7
UD
98422011-01-09 Ulrich Drepper <drepper@gmail.com>
9843
9844 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9845 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9846
9847 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9848 void.
9849 * bits/select.h: Likewise.
9850
fa9c15cb
UD
98512011-01-08 Ulrich Drepper <drepper@gmail.com>
9852
9853 * po/ja.po: Update from translation team.
9854
16c2895f
DM
98552011-01-04 David S. Miller <davem@sunset.davemloft.net>
9856
9857 [BZ #11155]
9858 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9859 implementation just like for lxstat, fxstatat, et al.
9860
2543fef2
JM
98612010-12-27 Jim Meyering <meyering@redhat.com>
9862
9863 [BZ #12348]
9864 * posix/regexec.c (build_trtable): Return failure indication upon
9865 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9866
98727dbe
UD
98672010-12-25 Ulrich Drepper <drepper@gmail.com>
9868
5bd6dc5c
UD
9869 [BZ #12201]
9870 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9871 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9872 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9873 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9874
97983464
UD
9875 [BZ #12207]
9876 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9877
98727dbe
UD
9878 [BZ #12204]
9879 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9880 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9881
4a531bb0
L
98822010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9883
9884 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9885 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9886 script has SORT_BY_INIT_PRIORITY.
9887 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9888 NO_CTORS_DTORS_SECTIONS is defined.
9889 * elf/soinit.c: Likewise.
9890 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9891 NO_CTORS_DTORS_SECTIONS is defined.
9892 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9893 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9894 * sysdeps/sh/init-first.c: Likewise.
9895 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9896
07eb4b71
UD
98972010-12-24 Ulrich Drepper <drepper@gmail.com>
9898
9899 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9900 always use the slow path.
9901
30950a5f
RA
99022010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9903
9904 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9905 similar rule which adds the sysdep directories to the header search in
9906 order to pick up the correct platform stackinfo.h.
9907 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9908 perform test if it is, otherwise return successfully without testing.
9909 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9910 DEFAULT_STACK_PERMS define in stackinfo.h.
9911 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9912 defined in stackinfo.h.
9913 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9914 DEFAULT_STACK_PERMS defined in stackinfo.h.
9915 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9916 * sysdeps/ia64/stackinfo.h: Likewise.
9917 * sysdeps/s390/stackinfo.h: Likewise.
9918 * sysdeps/sh/stackinfo.h: Likewise.
9919 * sysdeps/sparc/stackinfo.h: Likewise.
9920 * sysdeps/x86_64/stackinfo.h: Likewise.
9921 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9922 PF_X for powerpc64. Retain PF_X for powerpc32.
9923
db753e2c
UD
99242010-12-19 Ulrich Drepper <drepper@gmail.com>
9925
14b697f7
UD
9926 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9927 accurately.
db753e2c
UD
9928 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9929 GETDENTS_64BIT_ALIGNED.
9930
28300719
UD
99312010-12-14 Ulrich Drepper <dreper@gmail.com>
9932
14b697f7 9933 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 9934
4f197237
AS
99352010-12-10 Andreas Schwab <schwab@redhat.com>
9936
dbb0472f
AS
9937 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9938 _GNU_SOURCE.
9939
4f197237
AS
9940 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9941 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9942 Remove __restrict.
9943 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9944 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9945
fb88ac72
UD
99462010-12-09 Ulrich Drepper <drepper@gmail.com>
9947
9948 [BZ #11655]
9949 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9950 are initialized.
9951
42acbb92
JJ
99522010-12-09 Jakub Jelinek <jakub@redhat.com>
9953
9954 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9955
c038d98d
UD
99562010-12-03 Ulrich Drepper <drepper@gmail.com>
9957
9958 * po/it.po: Update from translation team.
9959
3a4a2499
L
99602010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9961
9962 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9963 unused codes.
9964
1e24cf6e
UD
99652010-11-30 Ulrich Drepper <drepper@gmail.com>
9966
9967 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9968
a7690819
AS
99692010-11-24 Andreas Schwab <schwab@redhat.com>
9970
9971 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9972 specially.
9973 (gaih_getanswer_slice): Likewise.
9974
3bf8d1b1
JJ
99752010-10-20 Jakub Jelinek <jakub@redhat.com>
9976
9977 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9978
6db52fbb
PB
99792010-05-31 Petr Baudis <pasky@suse.cz>
9980
9981 [BZ #11149]
9982 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9983 silently even in the chroot mode.
9984
eaca7569
UD
99852010-11-22 Ulrich Drepper <drepper@gmail.com>
9986
9987 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9988 last patch a bit. Pretty printing
9989
3056dcdb
UD
99902010-05-31 Petr Baudis <pasky@suse.cz>
9991
9992 [BZ #10085]
9993 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9994 initialization of skip_initgroups_dyn.
9995
cf7c9078
UD
99962010-11-19 Ulrich Drepper <drepper@gmail.com>
9997
9998 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9999 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10000
a1fb5e3e
UD
100012010-11-16 Ulrich Drepper <drepper@gmail.com>
10002
10003 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10004
3540d66b
AS
100052010-11-11 Andreas Schwab <schwab@redhat.com>
10006
10007 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10008 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10009 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10010 ($(objpfx)tst-fnmatch-mem): New rule.
10011 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10012 * posix/tst-fnmatch.c (main): Call mtrace.
10013
13b69574
L
100142010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10015
10016 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10017 Support Intel processor model 6 and model 0x2c.
10018
da93d214
LM
100192010-11-10 Luis Machado <luisgpm@br.ibm.com>
10020
10021 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10022 signed comparison.
10023
8ca52c6e
L
100242010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10025
10026 [BZ #12205]
10027 * string/test-strncasecmp.c (check_result): New function.
10028 (do_one_test): Use it.
10029 (check1): New function.
10030 (test_main): Use it.
10031 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10032 Support strcasecmp and strncasecmp.
10033
69da074d
UD
100342010-11-08 Ulrich Drepper <drepper@gmail.com>
10035
10036 [BZ #12194]
10037 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10038 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10039
ff02d528
L
100402010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10041
10042 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10043 IFUNC support.
10044 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10045 memset-x86-64.
10046 * sysdeps/x86_64/multiarch/bzero.S: New file.
10047 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10048 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10049 * sysdeps/x86_64/multiarch/memset.S: New file.
10050 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10051 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10052 Set bit_Prefer_SSE_for_memop for Intel processors.
10053 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10054 Define.
10055 (index_Prefer_SSE_for_memop): Define.
10056 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10057
344d0b54
LM
100582010-11-04 Luis Machado <luisgpm@br.ibm.com>
10059
10060 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10061 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10062
c0dde15b
UD
100632010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10064
10065 [BZ #12191]
10066 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10067 (__x86_64_raw_data_cache_size_half): Likewise.
10068 (__x86_64_raw_shared_cache_size): Likewise.
10069 (__x86_64_raw_shared_cache_size_half): Likewise.
10070
10071 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10072 (__x86_64_raw_data_cache_size_half): Likewise.
10073 (__x86_64_raw_shared_cache_size): Likewise.
10074 (__x86_64_raw_shared_cache_size_half): Likewise.
10075 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10076 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10077 and __x86_64_raw_shared_cache_size_half. Round
10078 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10079 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10080 to multiple of 256 bytes.
10081
0e516e0e
MS
100822010-11-03 Ulrich Drepper <drepper@gmail.com>
10083
10084 [BZ #12167]
10085 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10086 of inacessible symlinks. Verify result of symlink before returning it.
10087 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10088 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10089
0e012e87
ER
100902010-10-28 Erich Ritz <erichritz@gmail.com>
10091
10092 * math/math.h (isinf): Fix typo in comment.
10093
de0ff7bc
UD
100942010-11-01 Ulrich Drepper <drepper@gmail.com>
10095
10096 * po/da.po: Update from translation team.
10097
fa41c84d
UD
100982010-10-26 Ulrich Drepper <drepper@gmail.com>
10099
10100 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10101 is added to the list.
10102
f0967738
AK
101032010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10104 Ulrich Drepper <drepper@gmail.com>
10105
10106 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10107 the global list here. Move code to...
10108 (_dl_add_to_namespace_list): ...here. New function.
10109 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10110 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10111 * elf/dl-load.c (lose): Don't remove the element from the list.
10112 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10113 (_dl_map_object): Likewise.
10114
101152010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
10116
10117 [BZ #12159]
10118 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10119 into all bytes of SSE register.
10120 Patch by Richard Li <richardpku@gmail.com>.
10121
f0967738 101222010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
10123
10124 [BZ #12140]
10125 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10126 perturbing.
10127
d0b9e94f
MB
101282010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10129
10130 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10131 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10132 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10133 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10135 submachine.
10136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10137
8e9f92e9
AS
101382010-10-22 Andreas Schwab <schwab@redhat.com>
10139
10140 * include/dlfcn.h (__RTLD_SECURE): Define.
10141 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10142 mode & __RTLD_SECURE instead.
10143 (open_path): Rename preloaded parameter to secure.
10144 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10145 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10146 * elf/dl-deps.c (openaux): Likewise.
10147 * elf/rtld.c (struct map_args): Remove is_preloaded.
10148 (map_doit): Don't use it.
10149 (dl_main): Likewise.
10150 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10151 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10152
bc96fbda
AS
101532010-09-09 Andreas Schwab <schwab@redhat.com>
10154
10155 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10156 (sysd-rules-targets): Remove duplicates.
10157 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10158 rtld-%.$o dependency.
10159
22cd1c9b
AS
101602010-10-18 Andreas Schwab <schwab@redhat.com>
10161
10162 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10163 _dl_map_object do it.
10164
18edac48
UD
101652010-10-19 Ulrich Drepper <drepper@gmail.com>
10166
10167 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10168 fast fma builtins, define the macros in the C99 standard.
10169 (FP_FAST_FMAF): Likewise.
10170 (FP_FAST_FMAL): Likewise.
10171 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10172
10173 * bits/mathdef.h: Update copyright year.
10174 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10175
d2050124
MM
101762010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10177
10178 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10179 builtins, define the macros in the C99 standard.
10180 (FP_FAST_FMAF): Likewise.
10181 (FP_FAST_FMAL): Likewise.
10182 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10183 multiply/add.
10184 (FP_FAST_FMAF): Likewise.
10185
475facd1
JJ
101862010-10-15 Jakub Jelinek <jakub@redhat.com>
10187
10188 [BZ #3268]
10189 * math/libm-test.inc (fma_test): Some new testcases.
10190 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10191 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10192 y and infinite z. Do multiplication by C already in long double.
10193 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10194 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10195 y and infinite z. Do bitwise or of inexact bit into u.d.
10196 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10197 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10198 * sysdeps/i386/fpu/s_fma.S: Removed.
10199 * sysdeps/i386/fpu/s_fmal.S: Removed.
10200
7c08a05c
JJ
102012010-10-16 Jakub Jelinek <jakub@redhat.com>
10202
10203 [BZ #3268]
10204 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10205 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10206 computation is not scheduled after fetestexcept. Fix value
10207 of minimum denormal long double.
10208
f3f7372d
JJ
102092010-10-14 Jakub Jelinek <jakub@redhat.com>
10210
10211 [BZ #3268]
10212 * math/libm-test.inc (fma_test): Add some more tests.
10213 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10214 correctly.
10215
14d43591
AS
102162010-10-15 Andreas Schwab <schwab@redhat.com>
10217
10218 * scripts/data/localplt-s390-linux-gnu.data: New file.
10219 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10220
5e908464
JJ
102212010-10-13 Jakub Jelinek <jakub@redhat.com>
10222
10223 [BZ #3268]
10224 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10225 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10226 instead of dbl-64.
10227 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10228 inlines.
10229 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10230 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10231 if one of x and y is very large and the other is subnormal.
10232 * sysdeps/s390/fpu/s_fmaf.c: New file.
10233 * sysdeps/s390/fpu/s_fma.c: New file.
10234 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10235 * sysdeps/powerpc/fpu/s_fma.S: New file.
10236 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10237 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10238 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10239
102402010-10-12 Jakub Jelinek <jakub@redhat.com>
10241
10242 [BZ #3268]
10243 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10244 fma tests.
10245 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10246 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10247 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10248 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10249 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10250 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10251 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10252
b833d51f
UD
102532010-10-12 Ulrich Drepper <drepper@redhat.com>
10254
10255 [BZ #12078]
10256 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10257 * posix/bug-regex31.input: Add test case.
10258
1751705d
UD
102592010-10-11 Ulrich Drepper <drepper@gmail.com>
10260
e9b9cbf5
UD
10261 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10262 * posix/bug-regex31.input: New file.
10263
10264 [BZ #12078]
10265 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10266 (parse_sub_exp): Fix last change, use postorder.
10267
ef06edbe
UD
10268 * posix/bug-regex31.c: New file.
10269 * posix/Makefile: Add rules to build and run bug-regex31.
10270
a129c80d
UD
10271 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10272
10273 [BZ #12078]
10274 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10275
b76b818e
UD
10276 [BZ #12108]
10277 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10278 to have entries in sys_siglist.
10279
1751705d
UD
10280 [BZ #12093]
10281 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10282 be NULL.
10283
9ff8d36f
JJ
102842010-10-07 Jakub Jelinek <jakub@redhat.com>
10285
10286 [BZ #3268]
10287 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10288 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10289 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10290 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10291 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10292 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10293 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10294 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10295 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10296 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10297 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10298 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10299 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10300 * math/ftestexcept.c (fetestexcept): Likewise.
10301 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10302 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10303 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10304 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10305 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10306 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10307 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10308
af325969
UD
103092010-10-11 Ulrich Drepper <drepper@gmail.com>
10310
c579b202 10311 [BZ #12107]
af325969
UD
10312 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10313 newline.
10314
67a67b95
UD
103152010-10-06 Ulrich Drepper <drepper@gmail.com>
10316
10317 * string/bug-strstr1.c: New file.
10318 * string/Makefile: Add rules to build and run bug-strstr1.
10319
5fb308bc
EB
103202010-10-05 Eric Blake <eblake@redhat.com>
10321
10322 [BZ #12092]
10323 * string/str-two-way.h (two_way_long_needle): Always clear memory
10324 when skipping input due to the shift table.
10325
45db99c7
UD
103262010-10-03 Ulrich Drepper <drepper@gmail.com>
10327
3b111893
UD
10328 [BZ #12005]
10329 * malloc/mcheck.c: Handle large requests.
10330
45db99c7
UD
10331 [BZ #12077]
10332 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10333 for strncmp and strncasecmp.
10334 * string/stratcliff.c: Add tests for strcmp and strncmp.
10335 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10336
cf7a1eb8
NI
103372010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10338
10339 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10340 __set_fpscr.
10341
6484ba5e
AJ
103422010-09-30 Andreas Jaeger <aj@suse.de>
10343
10344 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10345 (CGROUP_SUPER_MAGIC): Define.
10346 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10347 Handle btrfs and cgroup file systems.
10348 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10349 Likewise.
10350
91c42559
LM
103512010-09-27 Luis Machado <luisgpm@br.ibm.com>
10352
10353 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10354 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10355
87a97932
AK
103562010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10357
10358 [BZ #12067]
10359 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10360 trying to locate the ELF header.
10361
c21cc9bc
AS
103622010-09-27 Andreas Schwab <schwab@redhat.com>
10363
10364 [BZ #11611]
10365 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10366 Mask out sign-bit copies when constructing f_fsid.
10367
315970f6
PB
103682010-09-24 Petr Baudis <pasky@suse.cz>
10369
10370 * debug/stack_chk_fail_local.c: Add missing licence exception.
10371 * debug/warning-nop.c: Likewise.
10372
1ac7a2c7
JM
103732010-09-15 Joseph Myers <joseph@codesourcery.com>
10374
10375 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10376 implementing getdents64 using getdents syscall, set d_type if
10377 __ASSUME_GETDENTS32_D_TYPE.
10378
56801c50
AS
103792010-09-16 Andreas Schwab <schwab@redhat.com>
10380
10381 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10382 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10383
dda51327
UD
103842010-09-21 Ulrich Drepper <drepper@redhat.com>
10385
10386 [BZ #12037]
10387 * posix/unistd.h: Undo change of feature selection for ftruncate from
10388 2010-01-11.
10389
8ffcee4a
UD
103902010-09-20 Ulrich Drepper <drepper@redhat.com>
10391
a545ecd9 10392 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
10393 detection.
10394
e24f0a8b
AS
103952010-09-20 Andreas Schwab <schwab@redhat.com>
10396
10397 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10398 fanotify_mark.
10399 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10400
7291c56f
AS
104012010-09-14 Andreas Schwab <schwab@redhat.com>
10402
10403 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10404 variables after CHECK_SP call.
10405 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10406
bc5fb037
AS
104072010-09-13 Andreas Schwab <schwab@redhat.com>
10408 Ulrich Drepper <drepper@redhat.com>
10409
10410 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10411 re-relocationg ld.so.
10412 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10413 _dl_init_paths call.
10414 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10415 here anymore.
10416
e66e7419
UD
104172010-09-14 Ulrich Drepper <drepper@redhat.com>
10418
10419 * resolv/res_init.c (__res_vinit): Count the default server we added.
10420
c044aa75
CLT
104212010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10422 Ulrich Drepper <drepper@redhat.com>
10423
10424 [BZ #11968]
10425 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10426 (____longjmp_chk): Use %ebx for saving value across system call.
10427 Add unwind info.
10428
32cf4069
AS
104292010-09-06 Andreas Schwab <schwab@redhat.com>
10430
10431 * manual/Makefile: Don't mix pattern rules with normal rules.
10432
817328ee
AS
104332010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10434
10435 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10436 operation.
10437 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10438 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10439 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10440 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10441 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10442 Likewise.
10443
29fddf61
UD
104442010-09-04 Ulrich Drepper <drepper@redhat.com>
10445
10446 [BZ #11979]
10447 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10448 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10449
0959ffc9
UD
104502010-09-02 Ulrich Drepper <drepper@redhat.com>
10451
10452 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10453 * sysdeps/x86_64/addmul_1.S: Likewise.
10454 * sysdeps/x86_64/lshift.S: Likewise.
10455 * sysdeps/x86_64/mul_1.S: Likewise.
10456 * sysdeps/x86_64/rshift.S: Likewise.
10457 * sysdeps/x86_64/sub_n.S: Likewise.
10458 * sysdeps/x86_64/submul_1.S: Likewise.
10459
ece29840
ST
104602010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10461
0959ffc9
UD
10462 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10463 Define __sched_param instead of SCHED_* and sched_param when
ece29840 10464 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 10465 * bits/sched.h [__need_schedparam]
ece29840 10466 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
10467 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10468 (__defined_schedparam): Define to 1.
ece29840
ST
10469 (__sched_param): New structure, identical to sched_param.
10470 (__need_schedparam): Undefine.
10471
e53a31fe
MF
104722010-08-31 Mike Frysinger <vapier@gentoo.org>
10473
fdc0c10d
MF
10474 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10475 (epoll_create1): Declare.
10476
e53a31fe
MF
10477 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10478
a726d796
AS
104792010-08-31 Andreas Schwab <schwab@redhat.com>
10480
10481 [BZ #7066]
10482 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10483 shifting retval into place.
10484
2f3e3dc7
UD
104852010-09-01 Ulrich Drepper <drepper@redhat.com>
10486
f2933da9
UD
10487 * nis/rpcsvc/nis.h: Update copyright notice.
10488 * nis/rpcsvc/nis.x: Likewise.
10489 * nis/rpcsvc/nis_callback.h: Likewise.
10490 * nis/rpcsvc/nis_callback.x: Likewise.
10491 * nis/rpcsvc/nis_object.x: Likewise.
10492 * nis/rpcsvc/nis_tags.h: Likewise.
10493 * nis/rpcsvc/yp.h: Likewise.
10494 * nis/rpcsvc/yp.x: Likewise.
10495 * nis/rpcsvc/ypupd.h: Likewise.
10496 * nis/yp_xdr.c: Likewise.
10497 * nis/ypupdate_xdr.c: Likewise.
10498
2f3e3dc7
UD
10499 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10500 mainly the body of pmap_getport. Add parameters to specify timeouts.
10501 (pmap_getport): Use __libc_rpc_getport.
10502 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10503 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10504 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10505
f3dcc2f9
AS
105062010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10507
10508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10509 fanotify_mark.
10510
6d34eb5b
RM
105112010-08-27 Roland McGrath <roland@redhat.com>
10512
10513 * sysdeps/i386/i686/multiarch/Makefile
10514 (CFLAGS-varshift.c): New variable.
10515
9ea3de11
UD
105162010-08-27 Ulrich Drepper <drepper@redhat.com>
10517
c96d23fc
UD
10518 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10519 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10520
9ea3de11
UD
10521 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10522
10523 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10524
623aac7f
L
105252010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10526
10527 * sysdeps/x86_64/strlen.S: Unroll the loop.
10528 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10529 strlen-sse2 strlen-sse2-bsf.
10530 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10531 __strlen_no_bsf if bit_Slow_BSF is set.
10532 (__strlen_sse42): Removed.
10533 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10534 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10535
8b2b7715
RM
105362010-08-25 Roland McGrath <roland@redhat.com>
10537
10538 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10539 * sysdeps/x86_64/multiarch/varshift.c: New file.
10540 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10541 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10542 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10543 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10544
e73015f2
L
105452010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10546
10547 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10548 strlen-sse2 strlen-sse2-bsf.
10549 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10550 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10551 (__strlen_sse2): Removed.
10552 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10553 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10555 bit_Slow_BSF for Atom.
10556 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10557 (index_Slow_BSF): Define.
10558 (HAS_SLOW_BSF): Define.
10559
df24a73e
UD
105602010-08-25 Ulrich Drepper <drepper@redhat.com>
10561
10562 [BZ #10851]
10563 * resolv/res_init.c (__res_vinit): When no server address at all
10564 is given default to loopback.
10565
f2ac4868
RM
105662010-08-24 Roland McGrath <roland@redhat.com>
10567
09055553
RM
10568 * configure.in: Remove config-name.h generation.
10569 * configure: Regenerated.
10570 * config-name.in: File removed.
10571 * scripts/config-uname.sh: New file.
10572 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10573 ($(objdir)config-name.h): New target.
10574
f2ac4868
RM
10575 * sunrpc/rpc_parse.h: Avoid nested comment.
10576
73f27d5e
RH
105772010-08-24 Richard Henderson <rth@redhat.com>
10578 Ulrich Drepper <drepper@redhat.com>
10579 H.J. Lu <hongjiu.lu@intel.com>
10580
10581 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10582 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10583 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10584 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10585 _mm_alignr_epi8 with _mm_loadu_si128.
10586 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10587 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10588 (__m128i_shift_right): Removed.
10589 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10590 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10591 * sysdeps/x86_64/multiarch/varshift.h: New file.
10592 * sysdeps/x86_64/multiarch/varshift.S: New file.
10593
84b9230c
MF
105942010-08-21 Mike Frysinger <vapier@gentoo.org>
10595
10596 * configure.in: Move assembler checks to before sysdep dir checking.
10597
9bbd0ddc
PB
105982010-08-20 Petr Baudis <pasky@suse.cz>
10599
10600 * LICENSES: Sync the sunrpc license.
10601
9da4bb31
UD
106022010-08-19 Ulrich Drepper <drepper@redhat.com>
10603
a7ab6ec8
UD
10604 * sunrpc/auth_des.c: Update copyright notice once again.
10605 * sunrpc/auth_none.c: Likewise.
10606 * sunrpc/auth_unix.c: Likewise.
10607 * sunrpc/authdes_prot.c: Likewise.
10608 * sunrpc/authuxprot.c: Likewise.
10609 * sunrpc/bindrsvprt.c: Likewise.
10610 * sunrpc/clnt_gen.c: Likewise.
10611 * sunrpc/clnt_perr.c: Likewise.
10612 * sunrpc/clnt_raw.c: Likewise.
10613 * sunrpc/clnt_simp.c: Likewise.
10614 * sunrpc/clnt_tcp.c: Likewise.
10615 * sunrpc/clnt_udp.c: Likewise.
10616 * sunrpc/clnt_unix.c: Likewise.
10617 * sunrpc/des_crypt.c: Likewise.
10618 * sunrpc/des_soft.c: Likewise.
10619 * sunrpc/get_myaddr.c: Likewise.
10620 * sunrpc/getrpcport.c: Likewise.
10621 * sunrpc/key_call.c: Likewise.
10622 * sunrpc/key_prot.c: Likewise.
10623 * sunrpc/openchild.c: Likewise.
10624 * sunrpc/pm_getmaps.c: Likewise.
10625 * sunrpc/pm_getport.c: Likewise.
10626 * sunrpc/pmap_clnt.c: Likewise.
10627 * sunrpc/pmap_prot.c: Likewise.
10628 * sunrpc/pmap_prot2.c: Likewise.
10629 * sunrpc/pmap_rmt.c: Likewise.
10630 * sunrpc/rpc/auth.h: Likewise.
10631 * sunrpc/rpc/auth_unix.h: Likewise.
10632 * sunrpc/rpc/clnt.h: Likewise.
10633 * sunrpc/rpc/des_crypt.h: Likewise.
10634 * sunrpc/rpc/key_prot.h: Likewise.
10635 * sunrpc/rpc/netdb.h: Likewise.
10636 * sunrpc/rpc/pmap_clnt.h: Likewise.
10637 * sunrpc/rpc/pmap_prot.h: Likewise.
10638 * sunrpc/rpc/pmap_rmt.h: Likewise.
10639 * sunrpc/rpc/rpc.h: Likewise.
10640 * sunrpc/rpc/rpc_des.h: Likewise.
10641 * sunrpc/rpc/rpc_msg.h: Likewise.
10642 * sunrpc/rpc/svc.h: Likewise.
10643 * sunrpc/rpc/svc_auth.h: Likewise.
10644 * sunrpc/rpc/types.h: Likewise.
10645 * sunrpc/rpc/xdr.h: Likewise.
10646 * sunrpc/rpc_clntout.c: Likewise.
10647 * sunrpc/rpc_cmsg.c: Likewise.
10648 * sunrpc/rpc_common.c: Likewise.
10649 * sunrpc/rpc_cout.c: Likewise.
10650 * sunrpc/rpc_dtable.c: Likewise.
10651 * sunrpc/rpc_hout.c: Likewise.
10652 * sunrpc/rpc_main.c: Likewise.
10653 * sunrpc/rpc_parse.c: Likewise.
10654 * sunrpc/rpc_parse.h: Likewise.
10655 * sunrpc/rpc_prot.c: Likewise.
10656 * sunrpc/rpc_sample.c: Likewise.
10657 * sunrpc/rpc_scan.c: Likewise.
10658 * sunrpc/rpc_scan.h: Likewise.
10659 * sunrpc/rpc_svcout.c: Likewise.
10660 * sunrpc/rpc_tblout.c: Likewise.
10661 * sunrpc/rpc_util.c: Likewise.
10662 * sunrpc/rpc_util.h: Likewise.
10663 * sunrpc/rpcinfo.c: Likewise.
10664 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10665 * sunrpc/rpcsvc/key_prot.x: Likewise.
10666 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10667 * sunrpc/rpcsvc/mount.x: Likewise.
10668 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10669 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10670 * sunrpc/rpcsvc/rex.x: Likewise.
10671 * sunrpc/rpcsvc/rstat.x: Likewise.
10672 * sunrpc/rpcsvc/rusers.x: Likewise.
10673 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10674 * sunrpc/rpcsvc/spray.x: Likewise.
10675 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10676 * sunrpc/rtime.c: Likewise.
10677 * sunrpc/svc.c: Likewise.
10678 * sunrpc/svc_auth.c: Likewise.
10679 * sunrpc/svc_authux.c: Likewise.
10680 * sunrpc/svc_raw.c: Likewise.
10681 * sunrpc/svc_run.c: Likewise.
10682 * sunrpc/svc_simple.c: Likewise.
10683 * sunrpc/svc_tcp.c: Likewise.
10684 * sunrpc/svc_udp.c: Likewise.
10685 * sunrpc/svc_unix.c: Likewise.
10686 * sunrpc/svcauth_des.c: Likewise.
10687 * sunrpc/xcrypt.c: Likewise.
10688 * sunrpc/xdr.c: Likewise.
10689 * sunrpc/xdr_array.c: Likewise.
10690 * sunrpc/xdr_float.c: Likewise.
10691 * sunrpc/xdr_mem.c: Likewise.
10692 * sunrpc/xdr_rec.c: Likewise.
10693 * sunrpc/xdr_ref.c: Likewise.
10694 * sunrpc/xdr_sizeof.c: Likewise.
10695 * sunrpc/xdr_stdio.c: Likewise.
10696
9da4bb31
UD
10697 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10698 handling.
10699
bdaa77bc
AS
107002010-08-19 Andreas Schwab <schwab@redhat.com>
10701
10702 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10703
fe2f79db
LM
107042010-08-19 Luis Machado <luisgpm@br.ibm.com>
10705
10706 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10707 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10708 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10709 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10710 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10711 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10712 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10713 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10714 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10715 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10716 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10717 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10718 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10719 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10720
b9b42ee0
AB
107212010-07-26 Anton Blanchard <anton@samba.org>
10722
10723 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10724 * malloc/arena.c (heap_trim): Likewise.
10725
1c06ba31
UD
107262010-08-16 Ulrich Drepper <drepper@redhat.com>
10727
10728 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10729 here. Not...
10730 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10731 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10732
f8392f40
L
107332010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10734
10735 * sysdeps/i386/elf/Makefile: New file.
10736
3162f12e
AS
107372010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10738
10739 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10740 from fanotify_init.
10741 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10742 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10743
28c90b2c
UD
107442010-08-15 Ulrich Drepper <drepper@redhat.com>
10745
10746 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10747 of strncasecmp_l.
1feccb6c 10748 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 10749
ca6bb004
UD
107502010-08-14 Ulrich Drepper <drepper@redhat.com>
10751
e9f82e0d
UD
10752 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10753 strncase_l-nonascii.
10754 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10755 Add strncase_l-ssse3.
10756 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10757 * sysdeps/x86_64/strcmp.S: Likewise.
10758 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10759 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10760 * sysdeps/x86_64/strncase.S: New file.
10761 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10762 * sysdeps/x86_64/strncase_l.S: New file.
10763 * string/Makefile (strop-tests): Add strncasecmp.
10764 * string/test-strncasecmp.c: New file.
10765
10766 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10767 warning.
10768
ca6bb004
UD
10769 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10770 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10771
052fa7b3
AS
107722010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10773
10774 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10775
962dba78
UD
107762010-08-12 Ulrich Drepper <drepper@redhat.com>
10777
10778 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10779 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10780 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10781
bebff237
AM
107822010-05-01 Alan Modra <amodra@gmail.com>
10783
10784 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10785 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10786 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10787 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10788 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10789 tidying. Don't tail-call __sigjmp_save for static lib.
10790 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10791 save location.
10792 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10793 (CALL_MCOUNT): Add eh info, and nop after bl.
10794 (TAIL_CALL_SYSCALL_ERROR): New macro.
10795 (PSEUDO_RET): Use it.
10796 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10797 Correct save location of integer regs and cr.
10798 (_dl_profile_resolve): Correct cr save location. Delete nops
10799 after bl when SHARED. Reduce cfi size a little by better
10800 placement of cfi directives.
10801 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10802 make a stack frame. Instead use parm save area as a temp.
10803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10804 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10806 Don't make a stack frame for parent, use parm save area.
10807 Increase child stack frame to 112 bytes. Don't save unused reg,
10808 and adjust reg usage. Set up cfi on error recovery and
10809 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10811 (__makecontext): Add dummy nop after jump to exit.
10812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10813 Use correct parm save area and cr save, reduce stack frame.
10814 Correct cfi for possible PSEUDO_RET frame setup.
10815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10816 Branch to local label emitted by PSEUDO_RET rather than
10817 __syscall_error.
10818
02637374
AS
108192010-08-12 Andreas Schwab <schwab@redhat.com>
10820
10821 [BZ #11904]
10822 * locale/programs/locale.c (print_assignment): New function.
10823 (show_locale_vars): Use it.
10824
c3e2f19b
UD
108252010-08-11 Ulrich Drepper <drepper@redhat.com>
10826
3cdaa6ad
UD
10827 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10828 field.
10829 (struct statfs64): Likewise.
10830 (_STATFS_F_FLAGS): Define.
10831 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10832 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10833 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10834 (ST_VALID): Define locally.
10835 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10836 __statvfs_getflags, use the provided value.
10837 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10838 __ASSUME_STATFS_F_FLAGS.
10839
754f7da3
UD
10840 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10841
10b3bedc
UD
10842 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10843 Add sys/fanotify.h.
10844 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10845 fanotify_mask for GLIBC_2.13.
10846 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10847 fanotify_init and fanotify_mark.
10848 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10849 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10850
c08fb0d7
UD
10851 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10852 Add prlimit.
10853 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10854 prlimit64 for GLIBC_2.13.
10855 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10856 prlimit64.
10857 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10858 syscall.
10859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10860 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10861 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10862 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10863 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10864 add prlimit alias.
10865 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10866
15bac72b
UD
10867 [BZ #11903]
10868 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10869 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10870
c3e2f19b
UD
10871 * nss/Makefile: Add rules to build and run tst-nss-test1.
10872 * shlib-versions: Add entry for libnss_test1.
10873 * nss/nss_test1.c: New file.
10874 * nss/tst-nss-test1.c: New file.
10875
10876 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10877 (__nss_configure_lookup): Set appropriate entry in
10878 __nss_configure_lookup to true.
10879 * nss/nsswitch.h: Define enum with indeces of databases in
10880 databases and __nss_database_custom arrays. Declare
10881 __nss_database_custom.
10882 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10883 to avoid using nscd when custom rules are installed.
10884 * nss/getXXbyYY_r.c: Likewise.
10885 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10886
10887 * nss/nss_files/files-parse.c: Whitespace fixes.
10888
f15ce4d8
UD
108892010-08-09 Ulrich Drepper <drepper@redhat.com>
10890
10891 [BZ #11883]
10892 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10893 * posix/fnmatch_loop.c: Likewise.
10894
d22e4cc9
AK
108952010-07-17 Andi Kleen <ak@linux.intel.com>
10896
10897 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10898 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10899 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10900 * Versions.def [GLIBC_2.13]: Add.
10901
805bc17d
UD
109022010-08-06 Ulrich Drepper <drepper@redhat.com>
10903
10904 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10905 Also fail if tpwd after pwuid call is NULL.
10906
5a42321d
ST
109072010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10908
10909 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10910 when converting to ms.
10911
fd3ebeda
ST
109122010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10913
10914 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10915 EOPNOTSUPP errors with ENOTTY.
10916 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10917 EOPNOTSUPP errors with ENOTTY.
10918
73507d3a
UD
109192010-07-31 Ulrich Drepper <drepper@redhat.com>
10920
10921 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10922 Add strcasecmp_l-ssse3.
10923 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10924 strcasecmp.
10925 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10926 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10927 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10928
fe36dd02
UD
109292010-07-30 Ulrich Drepper <drepper@redhat.com>
10930
66f6765a
UD
10931 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10932
42e08a54
UD
10933 * string/Makefile (strop-tests): Add strcasecmp.
10934 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10935 strcasecmp_l-nonascii.
10936 (gen-as-const-headers): Add locale-defines.sym.
10937 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10938 * sysdeps/x86_64/strcasecmp.S: New file.
10939 * sysdeps/x86_64/strcasecmp_l.S: New file.
10940 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10941 * sysdeps/x86_64/locale-defines.sym: New file.
10942 * string/test-strcasecmp.c: New file.
10943
fe36dd02
UD
10944 * string/test-strcasestr.c: Test both ends of the range of characters.
10945 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10946
48cbc0d6
RM
109472010-07-29 Roland McGrath <roland@redhat.com>
10948
76e6d6bc 10949 [BZ #11856]
48cbc0d6
RM
10950 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10951
880113d9
UD
109522010-07-27 Ulrich Drepper <drepper@redhat.com>
10953
10954 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10955 for ld.so.
10956
deb9cabb
AS
109572010-07-27 Andreas Schwab <schwab@redhat.com>
10958
10959 * manual/memory.texi (Malloc Tunable Parameters): Document
10960 M_PERTURB.
10961
1c7570ff
RM
109622010-07-26 Roland McGrath <roland@redhat.com>
10963
10964 [BZ #11840]
10965 * configure.in (-fgnu89-inline check): Set and substitute
10966 gnu89_inline, not libc_cv_gnu89_inline.
10967 * configure: Regenerated.
10968 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10969
24fb0f88
UD
109702010-07-26 Ulrich Drepper <drepper@redhat.com>
10971
10972 * string/test-strnlen.c: New file.
10973 * string/Makefile (strop-tests): Add strnlen.
10974 * string/tester.c (test_strnlen): Add a few more test cases.
10975 * string/tst-strlen.c: Better error reporting.
10976
10977 * sysdeps/x86_64/strnlen.S: New file.
10978
8e96b93a
UD
109792010-07-24 Ulrich Drepper <drepper@redhat.com>
10980
10981 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10982 lower-latency instructions.
10983
dbc676d4
UD
109842010-07-23 Ulrich Drepper <drepper@redhat.com>
10985
10986 * string/test-strcasestr.c: New file.
10987 * string/test-strstr.c: New file.
10988 * string/Makefile (strop-tests): Add strstr and strcasestr.
10989 * string/str-two-way.h: Don't undefine MAX.
10990 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10991
f6a31e0e
AS
109922010-07-21 Andreas Schwab <schwab@redhat.com>
10993
10994 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10995 strcasestr-nonascii.
10996 (CFLAGS-strcasestr-nonascii.c): Define.
10997 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10998 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10999 Remove unused attribute.
11000
5dbc3b6c
RM
110012010-07-20 Roland McGrath <roland@redhat.com>
11002
11003 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11004 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11005 ld.so.cache was broken. With it, there is no way to disable dsocaps
11006 like LD_HWCAP_MASK can disable hwcaps.
11007
23d101d8
EPM
110082010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11009
11010 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11011
cc9f2e47
UD
110122010-07-16 Ulrich Drepper <drepper@redhat.com>
11013
11014 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11015 call in strcasestr.
11016 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11017 __strcasestr_sse42_nonascii.
11018 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11019 strcasestr-nonascii.c.
11020 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11021
77c1b069
LM
110222010-06-15 Luis Machado <luisgpm@br.ibm.com>
11023
11024 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11025 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11026 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11027 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11028
440566c3
UD
110292010-07-09 Ulrich Drepper <drepper@redhat.com>
11030
11031 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11032 fcntl.
11033
5be9d05d
AS
110342010-07-06 Andreas Schwab <schwab@redhat.com>
11035
c30b7ee2 11036 [BZ #11577]
5be9d05d
AS
11037 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11038 dl_signal_cerror.
11039
8a492a67
UD
110402010-07-06 Ulrich Drepper <drepper@redhat.com>
11041
11042 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11043 _PC_PIPE_BUF using F_GETPIPE_SZ.
11044
713df3d5
RM
110452010-07-05 Roland McGrath <roland@redhat.com>
11046
11047 * manual/arith.texi (Rounding Functions): Fix rint description
11048 implicit in round description.
11049
702e8f14
UD
110502010-07-02 Ulrich Drepper <drepper@redhat.com>
11051
11052 * elf/Makefile: Fix linking for a few tests to make recent linker
11053 happy.
11054
52ed8be9
AS
110552010-06-30 Andreas Schwab <schwab@redhat.com>
11056
11057 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11058 $(common-objpfx)libc_nonshared.a.
11059
f47c9a11
LM
110602010-06-21 Luis Machado <luisgpm@br.ibm.com>
11061
11062 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11063 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11064 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11065 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11066 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11067 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11068 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11069 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11084 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11085 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11086 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11087 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11088 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11089 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11090 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11091 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11092 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11093 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11094 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11095 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11110
6fb8cbcb
L
111112010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11112
11113 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11114 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11115 * string/memmove.c (memmove): Renamed to ...
11116 (MEMMOVE): ...this. Default to memmove.
11117 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11118 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11119 (END_CHK): Define.
11120 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11121 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11122 mempcpy-ssse3-back memmove-ssse3-back.
11123 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11124 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11125 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11126 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11127 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11128 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11129 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11130 * sysdeps/x86_64/multiarch/memmove.c: New file.
11131 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11132 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11133 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11134 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11135 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11136 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11137 Define.
11138 (index_Fast_Copy_Backward): Define.
11139 (HAS_ARCH_FEATURE): Define.
11140 (HAS_FAST_REP_STRING): Define.
11141 (HAS_FAST_COPY_BACKWARD): Define.
11142
4e733bac 111432010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
11144
11145 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11146 Restore proper fallback handling.
11147
63c4ed22
UD
111482010-06-19 Ulrich Drepper <drepper@redhat.com>
11149
ac2b484c
UD
11150 [BZ #11701]
11151 * posix/group_member.c (__group_member): Correct checking loop.
11152
63c4ed22
UD
11153 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11154 OOM in getpwuid_r correctly. Return error number when the caller
11155 should return, otherwise -1.
11156 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11157 call returning > 0 value.
11158 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11159
765ade4b
AS
111602010-06-07 Andreas Schwab <schwab@redhat.com>
11161
11162 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11163 libc_nonshared.a from targets in modules-names.
11164
80da2e09
KS
111652010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11166
11167 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11168 requires it.
11169
158db122
LM
111702010-06-10 Luis Machado <luisgpm@br.ibm.com>
11171
11172 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11173 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11174 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11175 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11176
caa78cf8
AS
111772010-06-02 Andreas Schwab <schwab@redhat.com>
11178
11179 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11180
b2ef2c01
UD
111812010-06-14 Ulrich Drepper <drepper@redhat.com>
11182
11183 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11184 and F_GETPIPE_SZ.
11185 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11186 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11187 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11188 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11189 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11190 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11191
fbd643b6
RM
111922010-06-14 Roland McGrath <roland@redhat.com>
11193
11194 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11195
f32f2869
JJ
111962010-06-07 Jakub Jelinek <jakub@redhat.com>
11197
11198 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11199 __REDIRECT followed by __THROW.
11200 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11201 * posix/getopt.h (getopt): Likewise.
11202
2a50c078
EPM
112032010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11204
11205 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11206 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11207 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11208 in AT_FLAGS.
11209 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11210 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11211
eb5ad2eb
LM
112122010-05-28 Luis Machado <luisgpm@br.ibm.com>
11213
11214 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11215
3c88fe1e
L
112162010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11217
11218 [BZ #11640]
11219 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11220 Properly check family and model.
11221
d2f73151
TY
112222010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11223
11224 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11225
ebd2e13d
LM
112262010-05-24 Luis Machado <luisgpm@br.ibm.com>
11227
11228 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11229
b32b8b45
UD
112302010-05-21 Ulrich Drepper <drepper@redhat.com>
11231
11232 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11233 symbol reference.
11234
9acbe24d
AS
112352010-05-19 Andreas Schwab <schwab@redhat.com>
11236
11237 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11238 symbol reference.
11239
f0ccf6ea
AS
112402010-05-21 Andreas Schwab <schwab@redhat.com>
11241
3d04ff3a
AS
11242 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11243 and internal_recvmmsg.
11244 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11245 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11246 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11247 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11248
f0ccf6ea
AS
11249 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11250 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11251 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11252
5b08ac57
AS
112532010-05-20 Andreas Schwab <schwab@redhat.com>
11254
11255 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11256
4828935d
LM
112572010-05-17 Luis Machado <luisgpm@br.ibm.com>
11258
11259 POWER7 optimizations.
11260 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11261 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11262
373d545e
UD
112632010-05-19 Ulrich Drepper <drepper@redhat.com>
11264
11265 * version.h: Update for 2.13 development version.
11266
21a2b1ae
AS
112672010-05-12 Andrew Stubbs <ams@codesourcery.com>
11268
11269 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11270 exceptions. Return 0.
11271
3f7dcb2b
RM
112722010-05-07 Roland McGrath <roland@redhat.com>
11273
11274 * elf/ldconfig.c (main): Add a const.
11275
5f24d53a 112762010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11277
a160f8d8
UD
11278 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11279 (args_options): Add no-idn option.
11280 (ahosts_keys_int): Add idn_flags to ai_flags.
11281 (parse_option): Handle 'i' option to clear idn_flags.
11282
5f24d53a
UD
11283 * malloc/malloc.c (_int_free): Possible race in the most recently
11284 added check. Only act on the data if no current modification
11285 happened.
265bb1ce
UD
11286
11287See ChangeLog.17 for earlier changes.