]> sourceware.org Git - glibc.git/blame - ChangeLog
Add missing include file
[glibc.git] / ChangeLog
CommitLineData
e9142a17
AJ
12012-04-06 Andreas Jaeger <aj@suse.de>
2
2c040eff
AJ
3 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4 strncmp declarations.
5
e9142a17
AJ
6 * abilist/libc.abilist: Add __poll and __ppoll.
7
ff9f1c5f
DM
82012-04-05 David S. Miller <davem@davemloft.net>
9
dcd2ae90
DM
10 * scripts/check-local-headers.sh: Accept a host triplet in the
11 path matched by the exclude regexp.
12
993eb054
DM
13 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14 definition.
15 * sysdeps/powerpc/powerpc32/dl-machine.h
16 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17 * sysdeps/s390/s390-32/dl-machine.h
18 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19 * sysdeps/sparc/sparc32/dl-machine.h
20 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21 * sysdeps/sparc/sparc64/dl-machine.h
22 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23
ff9f1c5f
DM
24 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25 lazy binding.
48e2e132 26 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
27 undefined symbol errors.
28
48e2e132 29 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
30 DT_NEEDED entries.
31
e80d6f94
MM
322012-04-05 Michael Matz <matz@suse.de>
33
34 [BZ #13592]
35 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36
349fa79f
AJ
372012-04-05 Andreas Jaeger <aj@suse.de>
38
39 [BZ #13908]
40 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41 comment.
42
f402708f
KK
432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44
45 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46 which ROUND is no valid rounding mode.
47
2ecccfc9
KK
482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49
50 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
51 read again.
52 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
53
8a53f50f
KK
542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55
56 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
57 an exception using FPU order intentionally.
58
592012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
60
61 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
62 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
63 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
64 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
65
d653abb7
SJ
662012-04-05 Simon Josefsson <simon@josefsson.org>
67
68 [BZ #12340]
69 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
70 EINVAL when BUFLEN is too smal.
71
c3b1bf7d
TS
722012-04-05 Thomas Schwinge <thomas@codesourcery.com>
73
74 [BZ #13553]
75 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
76 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
77
b1aa60f3
AJ
782012-04-03 Andreas Jaeger <aj@suse.de>
79
c3b1bf7d 80 [BZ #13938]
67f60a26
AJ
81 * manual/setjmp.texi (System V contexts): Fix sentence.
82
b1aa60f3
AJ
83 [BZ #13926]
84 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
85 New macro for this case.
86 [!__GNUC__] (__bswap_64): New inline function for this case.
87 * sysdeps/x86_64/bits/byteswap.h: Likewise.
88 * bits/byteswap.h: Likewise.
89 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
90 ull, guard with __GLIBC_HAVE_LONG_LONG.
91
92 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
93 __GLIBC_HAVE_LONG_LONG.
94
95 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
96 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
97
39c59c35
TMQMF
982012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
99
100 [BZ #13691]
101 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
102 inptr and inend, rather than using last_ch.
103
135ffda8
DM
1042012-04-02 David S. Miller <davem@davemloft.net>
105
106 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
107 * stdio-common/printf-parse.h (read_int): Change return type to
108 'int', return -1 on INT_MAX overflow.
109 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
110 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
111 overflows INT_MAX. Check for overflow of in-format-string precision
112 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
113 SIZE_MAX not INT_MAX for integer overflow test.
114 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
115 skip the construct in the format string but do not record anything.
116 * stdio-common/bug22.c: Adjust to test both width/prevision
117 INT_MAX overflow as well as total length INT_MAX overflow. Check
118 explicitly for proper errno values.
119
228c019e
TS
1202012-04-02 Thomas Schwinge <thomas@codesourcery.com>
121
302cadd3
TS
122 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
123 CHAR_MAX.
124 * string/test-strcmp.c [! WIDE]: Likewise.
125 * time/tst-mktime2.c: Likewise for INT_MAX.
126 * string/test-string.h: #include <sys/param.h> for MIN.
127
228c019e
TS
128 * csu/init-first.c (__libc_init_first): Call __ctype_init.
129 * sysdeps/i386/init-first.c (init): Likewise.
130 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
131 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
132 * sysdeps/sh/init-first.c (init): Likewise.
133
cfa633f5
UD
1342012-04-01 Ulrich Drepper <drepper@gmail.com>
135
136 * po/ru.po: Update from translation team.
d1635ef8 137 * po/vi.po: Likewise.
cfa633f5 138
6cd0a5ea
SP
1392012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
140
141 * resolv/nss_dns/dns-host.c: Merge copyright years.
142
4b43400f
LD
1432012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
144
145 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
146 Optimize memcpy with prefetch if
147 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
148 src, dst pointers have unequal 16 byte alignments.
149
48c41d04
SP
1502012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
151
152 [BZ #13928]
153 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
154 from a CNAME entry and return the minimum ttl for the query.
155 (gaih_getanswer_slice): Likewise.
156
b8dc394d
JL
1572012-03-30 Jeff Law <law@redhat.com>
158
159 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
160 due to long keys.
161 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
162 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
163
2f5a5ed0
JL
164 * resolv/nss_dns/dns-host.c: Update copyright year.
165
1d39e359
UD
1662012-03-30 Ulrich Drepper <drepper@gmail.com>
167
c030f70c 168 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 169 requests to save a system call. Fix check that all bytes are sent.
c030f70c 170
1d39e359
UD
171 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
172 comments for sendmmsg.
173
1742012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
175
176 [BZ #13691]
177 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
178 with only 1 character between 0x0041 and 0x01b0.
179 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
180 * wcsmbs/tst-mbsnrtowcs.c: New file.
181
20fde227
DM
1822012-03-29 David S. Miller <davem@davemloft.net>
183
184 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
185 small copies by hand.
186
984a4237
JL
1872012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
188
189 [BZ #13761]
190 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
191 _nss_compat_initgroups_dyn): Fall back to malloc/free
192 for large group memberships.
193
18c9d62b
DM
1942012-03-28 David S. Miller <davem@davemloft.net>
195
88d85d4f
DM
196 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
197 that branches into memcpy.
198 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
199 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
200 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
201 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
202 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
203 bits.
204 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
205 implementation too.
206 * sysdeps/sparc/mempcpy.S: New file.
207
e5aa83e1
DM
208 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
209 the IFUNC routine in the libc case.
210 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
211
88570753
DM
212 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
213 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
214 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
215 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
216 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
217 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
218 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
219 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
220
249d7567
DM
221 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
222 loop to 256 bytes instead of 64 bytes and fix test signedness.
223
18c9d62b
DM
224 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
225 * sysdeps/sparc/sparc32/Makefile: rather than here...
226 * sysdeps/sparc/sparc64/Makefile: and here.
227
05f3d1f6
UD
2282012-03-28 Ulrich Drepper <drepper@gmail.com>
229
230 * malloc/mallocbug.c: Avoid warnings about unused variables.
231
86ae07a8
JL
2322012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
233
234 [BZ #13760]
235 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
236 in the right place. Discard and retry query if response is
237 larger than input buffer size.
238
41bf21a1
JM
2392012-03-28 Joseph Myers <joseph@codesourcery.com>
240
d6270972
JM
241 [BZ #369]
242 [BZ #2678]
243 [BZ #3866]
244 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
245 x for large integer exponent.
246 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
247 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
248 sign of result as needed afterwards.
249 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
250 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
251 result for underflowing pow the same as for overflow.
252 (__kernel_standard_l): Handle powl overflow and underflow here
253 rather than calling __kernel_standard.
254 * math/libm-test.inc (pow_test): Add more tests.
255
414fca03 256 [BZ #3868]
41bf21a1
JM
257 [BZ #13879]
258 [BZ #13910]
259 [BZ #13911]
260 [BZ #13912]
261 [BZ #13913]
262 [BZ #13915]
263 [BZ #13916]
264 [BZ #13917]
265 [BZ #13918]
266 [BZ #13919]
267 [BZ #13920]
268 [BZ #13921]
269 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
270 * sysdeps/ieee754/k_standard.c: Include <float.h>.
271 (__kernel_standard_l): New function.
272 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
273 __kernel_standard.
274 * math/w_acosl.c (__acosl): Likewise.
275 * math/w_asinl.c (__asinl): Likewise.
276 * math/w_atan2l.c (__atan2l): Likewise.
277 * math/w_atanhl.c (__atanhl): Likewise.
278 * math/w_coshl.c (__coshl): Likewise.
279 * math/w_exp10l.c (__exp10l): Likewise.
280 * math/w_exp2l.c (__exp2l): Likewise.
281 * math/w_fmodl.c (__fmodl): Likewise.
282 * math/w_hypotl.c (__hypotl): Likewise.
283 * math/w_j0l.c (__j0l, __y0l): Likewise.
284 * math/w_j1l.c (__j1l, __y1l): Likewise.
285 * math/w_jnl.c (__jnl, __ynl): Likewise.
286 * math/w_lgammal.c (__lgammal): Likewise.
287 * math/w_log10l.c (__log10l): Likewise.
288 * math/w_log2l.c (__log2l): Likewise.
289 * math/w_logl.c (__logl): Likewise.
290 * math/w_powl.c (__powl): Likewise.
291 * math/w_remainderl.c (__remainderl): Likewise.
292 * math/w_scalbl.c (sysv_scalbl): Likewise.
293 * math/w_sinhl.c (__sinhl): Likewise.
294 * math/w_sqrtl.c (__sqrtl): Likewise.
295 * math/w_tgammal.c (__tgammal): Likewise.
296 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
297 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
298 * math/libm-test.inc (acos_test): Add more tests.
299 (acosh_test): Likewise.
300 (asin_test): Likewise.
301 (atanh_test): Likewise.
302 (exp_test): Likewise.
303 (exp10_test): Likewise.
304 (exp2_test): Likewise.
305 (expm1_test): Likewise.
306 (lgamma_test): Likewise.
307 (log_test): Likewise.
308 (log10_test): Likewise.
309 (log1p_test): Likewise.
310 (log2_test): Likewise.
311 (pow_test): Do not allow some spurious overflow exceptions.
312 (sqrt_test): Add more tests.
313 (tgamma_test): Likewise.
314 (y0_test): Likewise.
315 (y1_test): Likewise.
316 (yn_test): Likewise.
317
dd62fda6
AB
3182012-03-27 Anton Blanchard <anton@samba.org>
319
320 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
321 MAP_HUGETLB.
322 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
323 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
324 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
325
1e3cdfda
AJ
3262012-03-27 David S. Miller <davem@davemloft.net>
327
b855ab85
DM
328 * conform/Makefile: Run run-conformtest.sh using $(BASH).
329
1e3cdfda
AJ
330 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
331 have-as-vis3 check.
332
3332012-03-27 Andreas Jaeger <aj@suse.de>
334
335 * sysdeps/x86_64/elf/configure.in: Moved to ...
336 * sysdeps/x86_64/configure.in: ... here.
337 * sysdeps/x86_64/elf/start.S: Moved to ...
338 * sysdeps/x86_64/start.S: ... here.
339 * sysdeps/x86_64/elf/configure: Delete.
340
341 * sysdeps/x86_64/configure.in: Merge contents from
342 sysdeps/i386/configure.in (without i686 check).
343
344 * sysdeps/i386/elf/Versions: Merge into ...
345 * sysdeps/i386/Versions: ... this.
346 * sysdeps/i386/elf/Versions: Delete file.
347 * sysdeps/i386/elf/start.S: Moved to ...
348 * sysdeps/i386/start.S: ...here.
349 * sysdeps/i386/elf/configure.in: Merge into...
350 * sysdeps/i386/configure.in: ...here.
351 * sysdeps/i386/elf/configure.in: Delete file.
352 * sysdeps/i386/elf/configure: Delete file.
353
354 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
355 * debug/backtracesyms.c: ... here.
356 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
357 * debug/backtracesymsfd.c: ... here.
358 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
359 * sysdeps/generic/ifunc-sel.h: ... here.
360
361 * sysdeps/unix/i386/start.c: Delete file.
362 * sysdeps/unix/sparc/start.c: Delete file.
363 * sysdeps/unix/start.c: Delete file.
364
365 * sysdeps/sh/elf/configure.in: Moved to ...
366 * sysdeps/sh/configure.in: ... here.
367 * sysdeps/sh/elf/start.S: Moved to ...
368 * sysdeps/sh/start.S: ... here.
369 * sysdeps/sh/elf/configure: Delete file.
370
371 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
372 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
373 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
374 * sysdeps/powerpc/powerpc64/entry.h: ... here.
375 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
376 * sysdeps/powerpc/powerpc64/start.S: here.
377 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
378 * sysdeps/powerpc/powerpc64/Makefile: ... this.
379 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
380 * sysdeps/powerpc/powerpc64/configure.in: ... this.
381 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
382
383 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
384 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
385 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
386 * sysdeps/powerpc/powerpc32/start.S: ... here.
387 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
388 * sysdeps/powerpc/powerpc32/configure.in: ... this.
389 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
390
391 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
392 * sysdeps/powerpc/ifunc-sel.h: ... here.
393 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
394 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
395
396 * sysdeps/sparc/elf/configure.in: Moved to ...
397 * sysdeps/sparc/configure.in: ... here.
398 * sysdeps/sparc/elf/configure: Delete file.
399 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
400 * sysdeps/sparc/sparc32/start.S: ... here.
401 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
402 * sysdeps/sparc/sparc64/start.S: ... here.
403 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
404 * sysdeps/sparc/sparc32/Makefile: ... this.
405 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
406 * sysdeps/sparc/sparc64/Makefile: ... this.
407
408 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
409 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
410 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
411 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
412 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
413 * sysdeps/s390/s390-32/setjmp.S: ... here.
414 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
415 * sysdeps/s390/s390-32/configure.in: ... here.
416 * sysdeps/s390/s390-32/elf/configure: Delete file.
417 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
418 * sysdeps/s390/s390-32/start.S: ... here.
419
420 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
421 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
422 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
423 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
424 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
425 * sysdeps/s390/s390-64/setjmp.S: ... here.
426 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
427 * sysdeps/s390/s390-64/configure.in: ... here
428 * sysdeps/s390/s390-64/elf/configure: Delete file.
429 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
430 * sysdeps/s390/s390-64/start.S: ... here.
431 * sysdeps/s390/s390-64/elf/configure: Delete.
432
433 * configure.in: Remove support for elf directories in sysdeps.
434
435 * configure: Regenerated.
436 * sysdeps/i386/configure: Regenerated.
437 * sysdeps/powerpc/powerpc32/configure: Regenerated.
438 * sysdeps/powerpc/powerpc64/configure: Regenerated.
439 * sysdeps/s390/s390-32/configure: Regenerated.
440 * sysdeps/s390/s390-64/configure: Regenerated.
441 * sysdeps/sh/configure: Regenerated.
442 * sysdeps/sparc/configure: Regenerated.
443 * sysdeps/x86_64/configure: Regenerated.
444
a3f61311
AS
4452012-03-26 Andreas Schwab <schwab@linux-m68k.org>
446
c876e002
AS
447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
448
a3f61311
AS
449 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
450 denormal result into account.
451
ac4c54f0
RM
4522012-03-25 Roland McGrath <roland@hack.frob.com>
453
454 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
455 Reported by Allan McRae <allan@archlinux.org>.
456
6a9b9c02
JL
4572012-03-23 Jeff Law <law@redhat.com>
458
459 * nss/getnssent.c (__nss_getent): Fix typo.
460
4c42a0c1
DM
4612012-03-23 David S. Miller <davem@davemloft.net>
462
463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
464
1532c7ac
L
4652012-03-23 H.J. Lu <hongjiu.lu@intel.com>
466
467 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
468 to pad to uint64_t for each field.
469 (dl_tls_index): Replace unsigned long with uint64_t.
470
3ff42526
PP
4712012-03-23 Daniel Jacobowitz <dmj@google.com>
472 Paul Pluzhnikov <ppluzhnikov@google.com>
473
474 [BZ #6528]
475 * grp/Makefile (otherlibs): Don't set it.
476 * inet/Makefile (otherlibs): Likewise.
477 * login/Makefile (otherlibs): Likewise.
478 * nscd/Makefile (otherlibs): Likewise.
479 * posix/Makefile (otherlibs): Likewise.
480 * pwd/Makefile (otherlibs): Likewise.
481 * rt/Makefile (otherlibs): Likewise.
482 * sunrpc/Makefile (otherlibs): Likewise.
483 * nss/Makefile (otherlibs): Likewise.
484 Add libnss_files to routines and static-only-routines.
485 ($(objpfx)getent): Remove rule.
486 * resolv/Makefile: Add libnss_dns and libresolv to routines and
487 static-only-routines.
488
7c69cd14
JM
4892012-03-22 Joseph Myers <joseph@codesourcery.com>
490
491 [BZ #13892]
492 * math/s_cexp.c: Include <float.h>.
493 (__cexp): Handle exp result overflowing not necessarily
494 overflowing both real and imaginary parts of result.
495 * math/s_cexpf.c: Likewise.
496 * math/s_cexpl.c: Likewise.
497 * math/libm-test.inc (cexp_test): Add more tests.
498 * sysdeps/i386/fpu/libm-test-ulps: Update.
499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
500
81b035fe
L
5012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
502
503 * include/link.h (ELFW): New macro.
504 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
505 Replace ELF64_R_TYPE with ELFW(R_TYPE).
506
1da7940c
L
5072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
508
509 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
510 with uint64_t.
511
b749dbb9
L
5122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
513
514 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
515 declaration.
516 (struct La_x32_retval): Likewise.
517
2ff87f3f
L
5182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
519
520 * sysdeps/x86_64/preconfigure.in: New file.
521 * sysdeps/x86_64/preconfigure: New generated file.
522
c0df8e69
JM
5232012-03-22 Joseph Myers <joseph@codesourcery.com>
524
48e44791
JM
525 [BZ #13824]
526 * math/e_exp2l.c: Include <float.h>.
527 (__ieee754_exp2l): Handle overflow and underflow cases
528 separately. Only pass fractional part of argument to
529 __ieee754_expl.
530 * math/libm-test.inc (exp2_test): Add more tests.
531
c0df8e69
JM
532 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
533 negating x to take absolute value.
534 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
535 Likewise.
536 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
537 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
538 Likewise.
539 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
540 computing low part if x was negated.
541 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
542
c8e43ba7
L
5432012-03-21 H.J. Lu <hongjiu.lu@intel.com>
544
545 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
546 la_x32_gnu_pltexit.
547 (pltexit): Cast int_retval to ptrdiff_t.
548 * elf/tst-auditmod3b.c: Likewise.
549 * elf/tst-auditmod4b.c: Likewise.
550 * elf/tst-auditmod5b.c: Likewise.
551 * elf/tst-auditmod6b.c: Likewise.
552 * elf/tst-auditmod6c.c: Likewise.
553 * elf/tst-auditmod7b.c: Likewise.
554
555 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
556 and x32_gnu_pltexit.
557
558 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
559 __ELF_NATIVE_CLASS.
560 (La_x32_regs): New macro.
561 (La_x32_retval): Likewise.
562 (la_x32_gnu_pltenter): New function prototype.
563 (la_x32_gnu_pltexit): Likewise.
564
7998fa78
AS
5652012-03-21 Andreas Schwab <schwab@linux-m68k.org>
566
dcb33988
AS
567 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
568 exponent.
569
233fc563
AS
570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
571
7998fa78
AS
572 * configure.in (libc_cv_cc_nofma): Check for option to disable
573 generation of FMA instructions.
574 * configure: Regenerate.
575 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
576 * sysdeps/ieee754/dbl-64/Makefile: New file.
577 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
578 Remove brandred-fma4.
579 (CFLAGS-brandred-fma4.c): Remove.
580 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
581 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
582 define.
583 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
584 define.
585
8e95c99a
L
5862012-03-21 H.J. Lu <hongjiu.lu@intel.com>
587
588 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
589 LLONG_MAX != LONG_MAX.
590 (_itoa_word): Use _ITOA_WORD_TYPE on value.
591 (_fitoa_word): Likewise.
592 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
593 LLONG_MAX != LONG_MAX.
594 * stdio-common/_itowa.h: Include <_itoa.h>.
595 (_itowa_word): Use _ITOA_WORD_TYPE on value.
596 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
597 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
598 only if not defined.
599 (_ITOA_WORD_TYPE): Likewise.
600 (_itoa_word): Use _ITOA_WORD_TYPE on value.
601 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
602
6f4db457
DM
6032012-03-21 David S. Miller <davem@davemloft.net>
604
605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
606
7785fe5a
L
6072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
608
609 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
610 of x86_64 when setting libc_cv_slibdir, libdir and
611 libc_cv_localedir.
612 * sysdeps/unix/sysv/linux/configure: Regenerated.
613
4535cd55
JM
6142012-03-21 Joseph Myers <joseph@codesourcery.com>
615
616 * manual/lang.texi (Old Varargs): Remove section.
617 (How Variadic): Update menu.
618 (va_start): Do not mention varargs.h.
619
17228132
TS
6202012-03-21 Thomas Schwinge <thomas@codesourcery.com>
621 Joseph Myers <joseph@codesourcery.com>
622
623 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
624 link test.
625 * configure: Regenerated.
626
8149f976
TS
6272012-03-21 Thomas Schwinge <thomas@codesourcery.com>
628
05f3d1f6
UD
629 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
630 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
631 conformtest.pl
8149f976 632
1a4ac776
JM
6332012-03-21 Joseph Myers <joseph@codesourcery.com>
634
be22ce65
JM
635 * NOTES: Remove.
636 * Makefile (files-for-dist): Remove NOTES.
637 (NOTES): Remove rule.
638 * README: Don't refer to NOTES.
639 * manual/creature.texi: Don't include macros.texi.
640 * manual/intro.texi (creature.texi): Remove comment referring to
641 NOTES.
642
40b601fb
JM
643 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
644 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
645 * configure: Regenerated.
646 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
647 LIBC_TRY_CC_OPTION.
648 (libc_cv_as_i686): Likewise.
649 (libc_cv_cc_avx): Likewise.
650 (libc_cv_cc_sse2avx): Likewise.
651 (libc_cv_cc_fma4): Likewise.
652 (libc_cv_cc_novzeroupper): Likewise.
653 * sysdeps/i386/configure: Regenerated.
654
1a4ac776
JM
655 [BZ #13883]
656 * sysdeps/i386/fpu/s_cexp.S: Remove.
657 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
658 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
659 * math/libm-test.inc (cexp_test): Add more tests.
660 * sysdeps/i386/fpu/libm-test-ulps: Update.
661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
662
a458e7fe
AM
6632012-03-21 Allan McRae <allan@archlinux.org>
664
665 * timezone/Makefile: Do not install iso3166.tab and zone.tab
666
0cb7efc5
JM
6672012-03-21 Joseph Myers <joseph@codesourcery.com>
668
669 [BZ #13871]
670 * math/w_exp2.c: Do not include <float.h>.
671 (o_threshold, u_threshold): Remove.
672 (__exp2): Calculate result before checking finiteness and calling
673 __kernel_standard.
674 * math/w_exp2f.c: Likewise.
675 * math/w_exp2l.c: Likewise.
676 * math/libm-test.inc (exp2_test): Require overflow exception for
677 1e6 input.
2460d3aa
JM
678
679 [BZ #3866]
680 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
681 range of signed 64-bit integers before using fistpll. Remove
682 checks for whether integers fit in mantissa bits.
683 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
684 the range of signed 32-bit integers before using fistpl. Remove
685 checks for whether integers fit in mantissa bits.
686 * sysdeps/i386/fpu/e_powl.S (p64): New object.
687 (__ieee754_powl): Test for y outside the range of signed 64-bit
688 integers before using fistpll. Reduce 64-bit values to 63-bit
689 ones as needed.
690 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
691 divide-by-zero is raised for zero to large negative powers.
692 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
693 (__ieee754_powl): Test for y outside the range of signed 64-bit
694 integers before using fistpll. Reduce 64-bit values to 63-bit
695 ones as needed.
696 * math/libm-test.inc (pow_test): Add more tests.
697
eb96ffb0
L
6982012-03-20 H.J. Lu <hongjiu.lu@intel.com>
699
700 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
701 <stdio-common/_itoa.h>.
702 * debug/segfault.c: Likewise.
703 * elf/dl-cache.c: Likewise.
704 * elf/dl-minimal.c: Likewise.
705 * elf/dl-misc.c: Likewise.
706 * elf/dl-sysdep.c: Likewise.
707 * elf/dl-version.c: Likewise.
708 * elf/rtld.c: Likewise.
709 * hurd/hurdsock.c: Likewise.
710 * hurd/lookup-retry.c: Likewise.
711 * malloc/malloc.c: Likewise.
712 * malloc/mtrace.c: Likewise.
713 * nscd/nscd_getgr_r.c: Likewise.
714 * nscd/nscd_getpw_r.c: Likewise.
715 * nscd/nscd_getserv_r.c: Likewise.
716 * posix/getopt_init.c: Likewise.
717 * posix/wordexp.c: Likewise.
718 * stdio-common/_itoa.c: Likewise.
719 * stdio-common/printf_fphex.c: Likewise.
720 * stdio-common/vfprintf.c: Likewise.
721 * string/_strerror.c: Likewise.
722 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
723 * sysdeps/i386/i686/hp-timing.h: Likewise.
724 * sysdeps/mach/_strerror.c: Likewise.
725 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
726 * sysdeps/mach/hurd/sethostid.c: Likewise.
727 * sysdeps/mach/hurd/xmknodat.c: Likewise.
728 * sysdeps/mach/xpg-strerror.c: Likewise.
729 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
730 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
731 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
732 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
733 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
734 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
735 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
736 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
737 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
738 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
739 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
740 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
741 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
742 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
743 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
744 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
745 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
746 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
747 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
748 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
749 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
750
751 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
752
753 * stdio-common/_itoa.h: Moved to ...
754 * sysdeps/generic/_itoa.h: Here.
755
756 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
757
758 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
759 instead of "_itoa.h" and "_itowa.h".
760 * stdio-common/vfprintf.: Likewise.
761
d1af992d
L
7622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
763
764 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
765 <bits/wordsize.h>.
766 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
767 (__signbit): Likwise.
768 (llrintf): Likwise.
769 (llrint): Likwise.
770
114883e0
L
7712012-03-20 H.J. Lu <hongjiu.lu@intel.com>
772
773 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
774 __WORDSIZE != 64.
775
c135cc1b
JM
7762012-03-20 Joseph Myers <joseph@codesourcery.com>
777
778 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
779 OVERFLOW_EXCEPTION_OK.
780 * math/libm-test.inc ("Philosophy"): Update comment about
781 exception testing.
782 (OVERFLOW_EXCEPTION): Define.
783 (OVERFLOW_EXCEPTION_OK): Likewise.
784 (INVALID_EXCEPTION_OK): Renumber.
785 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
786 (IGNORE_ZERO_INF_SIGN): Likewise.
787 (test_exceptions): Handle FE_OVERFLOW.
788 (exp10_test): Expect overflow exceptions.
789 (exp2_test): Likewise.
790 (expm1_test): Likewise.
791 (nextafter_test): Likewise.
792 (pow_test): Likewise.
793 (scalbn_test): Likewise.
794 (scalbln_test): Likewise.
795
95443d88
L
7962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
797
798 * sysdeps/x86_64/bits/atomic.h
799 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
800 64bit integer.
801 (atomic_exchange_acq): Likewise.
802 (__arch_exchange_and_add_body): Likewise.
803 (__arch_add_body): Likewise.
804 (atomic_add_negative): Likewise.
805 (atomic_add_zero): Likewise.
806
490df6c4
L
8072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
808
c2722551 809 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
810 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
811
5e52b189
L
8122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
813
814 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
815 Check __x86_64__ instead of __WORDSIZE.
816
a9879d4c
L
8172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
818
819 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
820
5df98260
DM
8212012-03-19 David S. Miller <davem@davemloft.net>
822
e1497744
DM
823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
824
5df98260
DM
825 * sysdeps/sparc/fpu/fenv_private.h: New file.
826 * sysdeps/sparc/fpu/math_private.h: Use it.
827 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
828 Remove.
829 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
830 (libc_feholdexcept_setroundl): Remove.
831 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
832 Remove.
833 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
834 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
835
b4c35121
L
8362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
837
838 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
839 int64_t instead of long int.
840 (INSERT_WORDS64): Likwise.
841
56965fd7
L
8422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
843
844 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
845 _Unwind_GetCFA return to _Unwind_Ptr first.
846
83d1aec8
JM
8472012-03-19 Joseph Myers <joseph@codesourcery.com>
848
1897ad44
JM
849 [BZ #13629]
850 * math/s_clog.c: Include <float.h>.
851 (__clog): Scale large or subnormal inputs.
852 * math/s_clogf.c: Likewise.
853 * math/s_clogl.c: Likewise.
854 * math/s_clog10.c: Include <float.h>.
855 (M_LOG10_2): Define.
856 (__clog10): Scale large or subnormal inputs.
857 * math/s_clog10f.c: Likewise.
858 * math/s_clog10l.c: Likewise.
859 * math/libm-test.inc (clog_test): Add more tests.
860 (clog10_test): Likewise.
861 * sysdeps/i386/fpu/libm-test-ulps: Update.
862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
863
7726d6a9
JM
864 [BZ #11451]
865 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
866 x and y.
867 * math/libm-test.inc (atan2_test): Add another test.
868
83d1aec8
JM
869 * Makerules (common-objdir-compile): Remove.
870 * sysdeps/unix/Makefile (config-generated): Do not add
871 $(unix-generated) to variable.
872 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
873 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
874 Remove rule.
875 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
876 Likewise.
877 [generic bits/local_lim.h] (before-compile): Do not append to
878 variable.
879 [generic bits/local_lim.h] (common-generated): Likewise.
880 [generic sys/param.h] (before-compile): Do not append to variable.
881 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
882 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
883 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
884 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
885 include.
886 [generic sys/param.h] (sys/param.h-includes): Remove variable.
887 [generic sys/param.h] (sys/param.h-includes): Remove rule.
888 [generic sys/param.h] ($(addprefix
889 $(common-objpfx),$(sys/param.h-includes))): Likewise.
890 [generic sys/param.h] (common-generated): Do not append to
891 variable.
892 [generic sys/param.h] (sysdep_headers): Likewise.
893 [generic bits/errno.h] (before-compile): Do not append to
894 variable.
895 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
896 rule.
897 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
898 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
899 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
900 [generic bits/errno.h] (common-generated): Do not append to
901 variable.
902 [generic bits/ioctls.h] (before-compile): Do not append to
903 variable.
904 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
905 rule.
906 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
907 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
908 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
909 rule.
910 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
911 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
912 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
913 [generic bits/ioctls.h] (common-generated): Do not append to
914 variable.
915 [generic sys/syscall.h] (syscall.h): Remove variable.
916 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
917 rule.
918 [generic sys/syscall.h] (before-compile): Do not append to
919 variable.
920 [generic sys/syscall.h] (common-generated): Likewise.
921 * sysdeps/unix/errnos-tmpl.c: Remove file.
922 * sysdeps/unix/errnos.awk: Likewise.
923 * sysdeps/unix/ioctls-tmpl.c: Likewise.
924 * sysdeps/unix/ioctls.awk: Likewise.
925 * sysdeps/unix/mk-local_lim.c: Likewise.
926 * sysdeps/unix/snarf-ioctls: Likewise.
927
4851a949
RH
9282012-03-19 Richard Henderson <rth@twiddle.net>
929
bd37f2ee
RH
930 * sysdeps/i386/fpu/fenv_private.h: New file.
931 * sysdeps/i386/fpu/math_private.h: Use it.
932 (math_opt_barrier, math_force_eval): Remove.
933 (libc_feholdexcept_setround_53bit): Remove.
934 (libc_feupdateenv_53bit): Remove.
935 * sysdeps/x86_64/fpu/math_private.h: Likewise.
936 (math_opt_barrier, math_force_eval): Remove.
937 (libc_feholdexcept): Remove.
938 (libc_feholdexcept_setround): Remove.
939 (libc_fetestexcept, libc_fesetenv): Remove.
940 (libc_feupdateenv_test): Remove.
941 (libc_feupdateenv, libc_feholdsetround): Remove.
942 (libc_feresetround): Remove.
943
d0adc922
RH
944 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
945 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
946
0fe0f1f8
RH
947 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
948 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
949 (libc_feupdateenv_testl): New.
950 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
951 (libc_feupdateenv_testf): New.
952 (libc_feupdateenv): Use libc_feupdateenv_test.
953 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
954 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
955
eb92c487
RH
956 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
957 (libc_feholdsetroundf, libc_feholdsetroundl): New.
958 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
959 (libc_feresetround_noex): New.
960 (libc_feresetround_noexf): New.
961 (libc_feresetround_noexl): New.
962 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
963 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
964 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
965 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
966 SET_RESTORE_ROUND.
967 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
968 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
969 (__cos): Likewise.
970 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
971 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
972 SET_RESTORE_ROUND_NOEX.
973 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
974 SET_RESTORE_ROUND_NOEXF.
975 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
976 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
977 (libc_feholdsetroundf): New.
978 (libc_feresetround, libc_feresetroundf): New.
979
7d2e8012
RH
980 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
981 (libc_feholdexcept_setround_53bit): Convert from macro to function.
982 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
983
b4dabbb4
RH
984 * sysdeps/generic/math_private.h: Include <fenv.h>.
985 (default_libc_feholdexcept): New.
986 (default_libc_feholdexcept_setround): New.
987 (default_libc_fesetenv, default_libc_feupdateenv): New.
988 (libc_feholdexcept): Only define if undefined.
989 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
990 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
991 (libc_feholdexcept_setroundl): Likewise.
992 (libc_feholdexcept_setround_53bit): Likewise.
993 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
994 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
995 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
996 (libc_feupdateenv_53bit): Likewise.
997 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
998 (libc_feholdexcept): Convert from macro to inline function.
999 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1000 (libc_fesetenv, libc_feupdateenv): Likewise.
1001
4851a949
RH
1002 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1003 not previously defined.
1004 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1005 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1006 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1007 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1008 * sysdeps/ieee754/flt-32/math_private.h: New file.
1009 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1010 math_private.h below SET_FLOAT_WORD.
1011 (__isnan, __isinf_ns, __finite): Remove.
1012 (__isnanf, __isinf_nsf, __finitef): Remove.
1013
e79d442e
AS
10142012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1015
1016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1017
90b80344
DM
10182012-03-17 David S. Miller <davem@davemloft.net>
1019
1020 [BZ #6471]
1021 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1022 for 2.16.
1023
edc21804
DM
10242012-03-16 David S. Miller <davem@davemloft.net>
1025
77e927af
DM
1026 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1027 warnings.
1028
374976dd
DM
1029 [BZ #6471]
1030 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1031 properly.
1032 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1033 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1034 sysdep_routines when subdir is sysvipc.
1035 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1036 __getshmlba helper.
1037
edc21804
DM
1038 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1039
473c3ef3
L
10402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1041
1042 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1043 [__LP64__].
1044
eb0f39b6
L
10452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1046
1047 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1048 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1049 (__lround): Renamed to ...
1050 (__llround): This. Replace long int with long long int.
1051 Define lround functions as aliases of llround functions.
1052 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1053
6b6cd74b
L
10542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1055
1056 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1057 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1058 adresses to uintptr_t. Replace "long int" and "unsigned long
1059 int" with "greg_t" on va_arg.
1060
f1a77b01
L
10612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1062
1063 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1064 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1065
1066 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1067 Move e_machine check before EI_CLASS check. Handle x32
1068 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1069 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1070 SKIP_EM_IA_64 and include
1071 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1072
1073 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1074 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1075 (add_system_dir): New macro.
1076
1077 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1078 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1079
11b90b9f
JM
10802012-03-16 Joseph Myers <joseph@codesourcery.com>
1081
c36e1d23
JM
1082 [BZ #2551]
1083 [BZ #2552]
1084 [BZ #2553]
1085 [BZ #2554]
1086 [BZ #2562]
1087 [BZ #2563]
1088 [BZ #2565]
1089 [BZ #2566]
1090 [BZ #2576]
1091 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1092 (y0): Likewise.
1093 * math/w_j0f.c (j0f): Likewise.
1094 (y0f): Likewise.
1095 * math/w_j0l.c (__j0l): Likewise.
1096 (__y0l): Likewise.
1097 * math/w_j1.c (j1): Likewise.
1098 (y1): Likewise.
1099 * math/w_j1f.c (j1f): Likewise.
1100 (y1f): Likewise.
1101 * math/w_j1l.c (__j1l): Likewise.
1102 (__y1l): Likewise.
1103 * math/w_jn.c (jn): Likewise.
1104 (yn): Likewise.
1105 * math/w_jnf.c (jnf): Likewise.
1106 (ynf): Likewise.
1107 * math/w_jnl.c (__jnl): Likewise.
1108 (__ynl): Likewise.
1109 * math/libm-test.inc (j0_test): Add more tests.
1110 (j1_test): Likewise.
1111 (jn_test): Likewise. Add trailing semicolon to existing test.
1112 (y0_test): Likewise.
1113 (y1_test): Likewise.
1114 * sysdeps/i386/fpu/libm-test-ulps: Update.
1115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1116
11b90b9f
JM
1117 [BZ #13851]
1118 [BZ #13854]
1119 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1120 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1121 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1122 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1123 (__tanl): Set errno for infinite argument.
1124 * sysdeps/i386/fpu/mptan.c: Remove.
1125 * sysdeps/i386/fpu/s_tan.S: Likewise.
1126 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1127 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1128 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1129 * math/libm-test.inc (tan_test): Add more tests and enable more
1130 tests for double and long double.
1131 * sysdeps/i386/fpu/libm-test-ulps: Update.
1132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1133
6a1bd2a1
JK
11342012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1135
1136 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1137 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1138
10a803e0
RM
11392012-03-16 Roland McGrath <roland@hack.frob.com>
1140
1141 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1142 * configure.in: Use it for both main tree and add-ons.
1143 * configure: Regenerated.
1144
f196c7f7
L
11452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1146
1147 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1148
8848d99d
JM
11492012-03-16 Joseph Myers <joseph@codesourcery.com>
1150
96cbe7f4
JM
1151 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1152 in comment.
1153
8848d99d
JM
1154 [BZ #13851]
1155 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1156 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1157 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1158 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1159 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1160 infinite argument.
1161 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1162 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1163 != 0 for prec == 2.
1164 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1165 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1166 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1167 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1168 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1169 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1170 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1171 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1172 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1173 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1174 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1175 * math/libm-test.inc (cos_test): Add more tests and enable more
1176 tests for long double.
1177 (sin_test): Likewise.
1178 (sincos_test): Likewise.
1179 * sysdeps/i386/fpu/libm-test-ulps: Update.
1180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1181
dd7f4703
DM
11822012-03-16 David S. Miller <davem@davemloft.net>
1183
1184 * sysdeps/sparc/fpu/math_private.h: New file.
1185
006f1daa
DM
11862012-03-15 David S. Miller <davem@davemloft.net>
1187
c0c83bc8
DM
1188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1189 file.
e6a62e18 1190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
1191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1192 file.
e6a62e18
DM
1193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1195 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1196 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1197 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1198 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1199 sysdep routines.
1200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1201
88cb87d9
DM
1202 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1203 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1204
006f1daa 1205 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
1206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1207 sparc-ifunc.h
006f1daa 1208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
1209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1210 Likewise.
1211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1212 Likewise.
006f1daa
DM
1213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
1216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1217 Likewise.
006f1daa
DM
1218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
1222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1223 Likewise.
1224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1225 Likewise.
006f1daa
DM
1226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1230 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1231 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1232 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1233 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1234 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1235 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1236 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1237 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1238 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1239 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1240 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1241 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1242 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1243 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1244 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1245 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1246 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1247 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1248 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1249 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1250
11e0098e
AS
12512012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1252
1253 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1254 scaling.
1255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1256
e85b09d0
AJ
12572012-03-15 Andreas Jaeger <aj@suse.de>
1258
1259 [BZ #13852]
1260 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1261 ieee754/flt-32 implementation for sin, cos and sincos.
1262 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1263 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1264 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1265 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1266 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1267 ieee754/flt-32 implementation for tan.
1268
1269 * math/libm-test.inc (cos_test): Enable some large input tests for
1270 float as well
1271 (sin_test): Likewise.
1272 (sincos_test): Likewise.
1273 (tan_test): Add tests for large input.
1274
1275 * sysdeps/i386/fpu/libm-test-ulps: Update.
1276
81c64153
AJ
12772012-03-15 Andreas Jaeger <aj@suse.de>
1278
1279 [BZ #13658]
1280 * math/libm-test.inc (cos_test): Add more test cases.
1281 (sin_test): Likewise.
1282 (sincos_test): Likewise.
1283
7bbfa5c6
AJ
12842012-03-15 Andreas Jaeger <aj@suse.de>
1285
1286 [BZ #13837]
1287 * math/libm-test.inc (cos_test): Add a test case for large input
1288 value.
1289 (sin_test): Likewise.
1290 (sincos_test): Likewise.
1291
12922012-03-15 Andreas Jaeger <aj@suse.de>,
1293 Joseph Myers <joseph@codesourcery.com>
1294
1295 [BZ #13658]
0671f479 1296 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1297 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1298 * sysdeps/i386/fpu/branred.c: Likewise.
1299 * sysdeps/i386/fpu/dosincos.c: Likewise.
1300 * sysdeps/i386/fpu/mpa.c: Likewise.
1301 * sysdeps/i386/fpu/s_cos.S: Likewise.
1302 * sysdeps/i386/fpu/s_sin.S: Likewise.
1303 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1304 * sysdeps/i386/fpu/sincos32.c: Likewise.
1305
1306 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1307 Define.
1308 (libc_feupdateenv_53bit): Define.
1309 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1310 Define.
1311 (libc_feupdateenv_53bit): Define.
1312
1313 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1314 53 bit (without extend i386 double precision).
1315
1316 * math/libm-test.inc (sincos_test): Add tests for large input.
1317 (sin): Likewise.
1318 (cos): Likewise.
1319
1320 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1321
9cad04ea
AS
13222012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1323
1324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1325
f7062b9a
DM
13262012-03-15 David S. Miller <davem@davemloft.net>
1327
1328 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1329 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1330 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1331 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1336 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1337 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1338 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1339 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1340 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1341 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1342 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1344 file.
f7062b9a 1345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1347 file.
f7062b9a 1348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1350 file.
f7062b9a 1351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1353 file.
f7062b9a
DM
1354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1355 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1356 fmin/fmax sysdep routines.
1357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1358
7bd951ff
DM
13592012-03-14 David S. Miller <davem@davemloft.net>
1360
559398ab
DM
1361 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1362 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1363 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1364 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1365 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1366 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1367 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1368 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1369 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1370 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1371 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1372 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1373 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1374 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1376 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1377 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1378 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1379 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1380 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1381 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1382 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1383 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1384 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1385 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1386 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1387 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1388 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1389 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1390 routines.
1391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1392 file.
559398ab 1393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
1394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1395 file.
559398ab 1396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
1397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1398 file.
559398ab 1399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
1400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1401 file.
559398ab 1402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
1403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1404 file.
559398ab 1405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
1406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1407 file.
1408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1409 file.
1410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1411 file.
1412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1413 file.
1414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1415 New file.
1416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1417 file.
1418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1419 file.
559398ab 1420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
1421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1422 file.
559398ab 1423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1425 file.
559398ab 1426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
1427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1428 file.
559398ab 1429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
1430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1431 VIS3 routines.
559398ab
DM
1432
1433 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1434 New file.
1435
5a1c1e32
DM
1436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1437
eae47a36
DM
1438 * sysdeps/sparc/configure.in: New file.
1439 * sysdeps/sparc/configure: Generate.
1440 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1441 * configure: Regenerate.
1442 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1443 * config.make.in (have-as-vis3): New.
1444 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1445 available use -Av9d instead of -Av9a.
1446 * sysdeps/sparc/sparc64/Makefile: Likewise.
1447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
1448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1449 New file.
1450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1451 file.
1452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1453 New file.
1454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1455 file.
eae47a36
DM
1456 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1457 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1458 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1459 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1460 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1461
c0c83bc8
DM
1462 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1463 fzeros/fnegs to load 0x80000000 into a float register instead of
1464 using the stack.
7bd951ff
DM
1465 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1466
bd951ccb
JM
14672012-03-14 Joseph Myers <joseph@codesourcery.com>
1468
1469 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1470 bits/syscall.h.
1471 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1472 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1473 ($(inst_includedir)/bits/syscall.h): Remove rule.
1474 ($(objpfx)bits/syscall.d): Include instead of
1475 $(objpfx)syscall-list.d.
1476 (generated): Change syscall-list.h and syscall-list.d to
1477 bits/syscall.h and bits/syscall.d.
1478
bb4e6db2
RM
14792012-03-14 Roland McGrath <roland@hack.frob.com>
1480
1481 [BZ #13846]
1482 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1483
aa4a2ae1
JM
14842012-03-14 Joseph Myers <joseph@codesourcery.com>
1485
e456826d
JM
1486 [BZ #13841]
1487 * math/s_csqrt.c: Include <float.h>.
1488 (__csqrt): Scale large or subnormal inputs.
1489 * math/s_csqrtf.c: Likewise.
1490 * math/s_csqrtl.c: Likewise.
1491 * math/libm-test.inc (csqrt_test): Add more tests.
1492 * sysdeps/i386/fpu/libm-test-ulps: Update.
1493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1494
aa4a2ae1
JM
1495 [BZ #13840]
1496 * math/libm-test.inc (hypot_test): Add more tests.
1497
7c10fd35
DM
14982012-03-13 David S. Miller <davem@davemloft.net>
1499
1500 [BZ #13840]
1501 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1502 double-precision for the calculation instead of scaling.
1503
f453b98b
JM
15042012-03-13 Joseph Myers <joseph@codesourcery.com>
1505
1506 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1507 manipulate bits before adding and subtracting TWO52[sx].
1508 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1509 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1510 Likewise.
1511 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1512
09a3453f
DM
15132012-03-13 David S. Miller <davem@davemloft.net>
1514
8e59da90
DM
1515 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1516 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1517 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1518 rtld-global-offsets.h
1519 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1520
2a8ab7f2
DM
1521 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1522 large parameters.
1523
10f62770
DM
1524 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1525
5f0bdb18
DM
1526 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1527 'err' in the ifdef scope in which it is actually used.
1528
09a3453f
DM
1529 * nss/nss_db/db-init.c: Include string.h
1530
b4b2eb5e
DM
15312012-03-12 David S. Miller <davem@davemloft.net>
1532
98bb2f1c
DM
1533 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1534 masking out of the most significant byte of random value used.
1535 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1536 Fix coding style in previous change.
1537
b4b2eb5e
DM
1538 * sysdeps/unix/sysv/linux/kernel-features.h
1539 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1540 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1541 expression.
1542 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1543 later.
1544
6e226b09
DM
15452012-03-11 David S. Miller <davem@davemloft.net>
1546
a1bcbd40
DM
1547 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1548 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1549 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1550 for 'resultvar' otherwise things get truncated on 64-bit.
1551
cb9d6174
DM
1552 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1553 Fix masking out of the most significant byte of random value used.
1554
6e226b09
DM
1555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1556
058c132d
AS
15572012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1558
1559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1560
2d2cd515
DM
15612012-03-09 David S. Miller <davem@davemloft.net>
1562
1563 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1564 variables with appropriate CPP guards.
1565 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1566 frame pointer, not the stack pointer. Correct layout comments. Fix test
1567 on resulting framesize and the management of the outregs buffer for pltexit.
1568 Preserve floating point return values across _dl_call_pltexit call.
1569 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1570 framesize and the management of the outregs buffer for pltexit.
1571 Preserve floating point return values across _dl_call_pltexit
1572 call.
1573 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1574 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1575 (print_exit): Fix format string for return register value.
1576
9a07f9d0
JM
15772012-03-10 Joseph Myers <joseph@codesourcery.com>
1578
1579 * sunrpc/Makefile (others): Add rpcgen.
1580 ($(objpfx)rpcgen): Remove special build rule and dependency on
1581 libc.
1582 * sunrpc/rpcgen.c: New file.
1583
547b5e30
PE
15842012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1585
c524201a
PE
1586 [BZ #13673]
1587 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1588 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1589 * sysdeps/i386/crti.S: Likewise.
1590 * sysdeps/i386/crtn.S: Likewise.
1591 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1592 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1593 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1594 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1595 * sysdeps/sh/crti.S: Likewise.
1596 * sysdeps/sh/crtn.S: Likewise.
1597 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1598
7b6235f2
PE
1599 [BZ #13673]
1600 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1601 with URL.
1602 * locale/programs/locfile-kw.gperf: Likewise.
1603 * locale/programs/charmap-kw.h: Regenerated.
1604 * locale/programs/locfile-kw.h: Likewise.
1605
547b5e30
PE
1606 [BZ #13673]
1607 * intl/plural.y: Replace FSF snail mail address with URL.
1608 * intl/plural.c: Regenerated.
1609
5f0a5dae
RH
16102012-03-09 Richard Henderson <rth@twiddle.net>
1611
1612 * include/math_private.h: Remove file.
1613 * math/math_private.h: Move file ...
1614 * sysdeps/generic/math_private.h: ... here.
1615
b8c03620
RH
1616 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1617 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1618 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1619
4e234f5d 1620 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
1621 and <math_private.h>.
1622 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1623 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1624 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1625 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1626 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1627 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1628 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1629 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1630 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1631 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1632 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1633 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1634 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1635 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1636 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1637 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1638 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1639 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1640 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1641 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1642 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1643 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1644 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1645 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1646 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1647 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1648 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1649 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1650 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1651 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1652 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1653 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1654 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1655 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1656 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1657 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1658 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1659 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1660 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1661 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1662 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1663 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1664 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1665 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1666 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1667 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1668 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1669 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1670 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1671 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1672 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1673 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1674 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1675 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1676 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1677 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1678 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1679 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1680 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1681 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1682 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1683 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1684 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1685 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1686 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1687 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1688 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1689 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1690 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1691 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1692 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1693 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1694 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1695 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1696 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1697 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1698 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1699 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1700 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1701 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1702 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1703 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1704 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1705 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1706 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1707 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1708 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1709 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1710 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1711 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1712 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1713 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1714 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1715 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1716 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1717 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1718 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1719 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1720 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1721 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1722 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1723 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1724 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1725 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1726 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1727 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1728 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1729 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1730 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1731 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1732 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1733 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1734 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1735 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1736 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1737 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1738 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1739 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1740 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1741 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1742 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1743 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1744 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1745 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1746 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1747 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1748 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1749 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1750 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1751 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1752 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1753 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1754 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1755 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1756 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1757 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1758 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1759 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1760 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1761 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1762 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1763 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1764 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1765 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1766 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1767 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1768 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1769 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1770 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1771 * sysdeps/ieee754/k_standard.c: Likewise.
1772 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1773 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1774 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1775 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1776 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1777 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1778 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1779 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1780 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1781 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1782 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1783 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1784 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1785 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1786 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1787 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1788 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1789 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1790 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1791 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1792 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1793 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1794 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1795 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1796 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1797 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1798 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1799 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1800 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1801 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1802 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1803 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1804 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1805 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1806 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1807 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1808 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1809 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1810 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1811 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1812 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1813 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1814 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1815 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1816 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1817 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1818 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1819 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1820 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1821 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1822 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1823 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1824 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1825 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1826 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1827 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1828 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1829 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1830 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1831 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1832 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1833 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1834 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1835 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1836 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1837 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1838 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1839 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1840 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1841 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1842 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1843 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1844 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1845 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1846 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1847 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1848 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1849 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1850 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1851 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1852 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1853 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1854 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1855 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1856 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1857 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1858 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1859 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1860 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1861 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1862 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1863 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1864 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1865 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1866 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1867 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1868 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1869 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1870 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1871 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1872 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1873 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1874 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1875 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1876 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1877 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1878 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1879 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1880 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1881 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1882 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1883 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1884 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1885 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1886 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1887 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1888 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1889 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1890 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1891 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1892 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1893 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1894 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1895 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1896 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1897 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1898 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1899 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1900 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1901 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1902 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1903 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1904 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1905 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1906 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1907 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1908 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1909 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1910 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1911 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1912 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1913 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1914 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1915 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1916 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1917 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1918 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1919 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1920 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1921 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1922 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1923 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1924 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1925 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1926 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1927 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1928 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1929 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1930 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1931 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1932 * sysdeps/ieee754/s_lib_version.c: Likewise.
1933 * sysdeps/ieee754/s_matherr.c: Likewise.
1934 * sysdeps/ieee754/s_signgam.c: Likewise.
1935 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1936 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1937 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1938 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1939 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1940 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1941 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1942 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1943 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1944 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1945 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1946 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1947 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1948 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1949 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1950 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1951 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1952 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1953 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1954 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1955 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 1956
1991fa03
JM
19572012-03-09 Joseph Myers <joseph@codesourcery.com>
1958
1959 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1960 * sunrpc/rpc_main.c: Likewise.
1961 * sunrpc/rpc_svcout.c: Likewise.
1962
60d6f5a6
DM
19632012-03-09 David S. Miller <davem@davemloft.net>
1964
1965 * include/math_private.h: New file.
1966
4962050e
JM
19672012-03-09 Joseph Myers <joseph@codesourcery.com>
1968
02a6f887
JM
1969 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1970 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1971 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1972 from <bits/socket_type.h>.
1973 (enum __socket_type): Don't define here.
1974 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1975 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1976 bits/socket_type.h.
1977
c6e013c1
JM
1978 [BZ #13566]
1979 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1980 checking __USE_GNU.
1981
4962050e
JM
1982 * Makerules ($(inst_includedir)/%.h): New rule.
1983 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1984 (install-others): Remove variable setting.
1985 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1986
38842f45
RH
19872012-03-08 Richard Henderson <rth@twiddle.net>
1988
67bb6da6
RH
1989 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1990 from macro to inline function; merge with the
1991 !__LIBC_INTERNAL_MATH_INLINES version.
1992 (__ieee754_sqrtf): Likewise.
1993
15194b4b
RH
1994 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1995 to inline function.
1996 (__rintf, __floor, __floorf): Likewise.
1997
64e21ede
RH
1998 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1999 macro to inline function.
2000 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2001
38842f45
RH
2002 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2003 not <math/math_private.h>.
2004
c64bf5fe
DM
20052012-03-08 David S. Miller <davem@davemloft.net>
2006
2007 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2008 copyright year.
2009 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2010
82d86f28
TS
20112012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2012
2013 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2014 normalization.
2015 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2016 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2017
aea5d727
UD
20182012-03-08 Ulrich Drepper <drepper@gmail.com>
2019
2020 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2021 be defined individually, they must be defined as a block. Define
2022 S for printing a string instead of hidint the different by using a
2023 macro for adding the 'l'.
2024 * stdio-common/tst-fphex-wide.c: Adjust.
2025
70bca0a3
MP
20262012-03-07 Marek Polacek <polacek@redhat.com>
2027
2028 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2029
65b81130
MP
20302012-03-08 Marek Polacek <polacek@redhat.com>
2031
2032 [BZ #13806]
2033 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2034 * stdio-common/tst-fphex.c: Define a few macros to make the
2035 test reusable. Use them.
2036 * stdio-common/tst-fphex-wide.c: New file.
2037
07037eeb
JM
20382012-03-08 Joseph Myers <joseph@codesourcery.com>
2039
a7a93d50
JM
2040 [BZ #6911]
2041 * manual/macros.texi (gnusystems): New macro.
2042 (nongnusystems): Likewise.
2043 (gnulinuxhurdsystems): Likewise.
2044 (gnuhurdsystems): Likewise..
2045 (gnulinuxsystems): Likewise.
2046 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2047 variants of the GNU system, not "GNU system".
2048 * manual/conf.texi: Likewise.
2049 * manual/errno.texi: Likewise. Update example of errno macro
2050 expansion.
2051 * manual/filesys.texi: Likewise.
2052 (getumask): Document as specific to GNU/Hurd.
2053 * manual/install.texi: Likewise. Reword some references to
2054 GNU/Linux.
2055 * manual/intro.texi: Likewise.
2056 * manual/io.texi: Likewise.
2057 (File Name Portability): Detail which constraints are inapplicable
2058 to all GNU systems and which are only inapplicable to GNU/Hurd.
2059 * manual/job.texi: Likewise.
2060 * manual/llio.texi: Likewise.
2061 (O_NOCTTY): Document as present on GNU/Linux.
2062 * manual/maint.texi: Likewise.
2063 * manual/memory.texi: Likewise.
2064 * manual/pattern.texi: Likewise.
2065 * manual/pipe.texi: Likewise.
2066 * manual/process.texi: Likewise.
2067 * manual/resource.texi: Likewise.
2068 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2069 child on GNU/Hurd.
2070 * manual/setjmp.texi: Likewise.
2071 * manual/signal.texi: Likewise.
2072 * manual/startup.texi: Likewise.
2073 * manual/stdio.texi: Likewise.
2074 * manual/terminal.texi: Likewise.
2075 (ONLCR): Document as POSIX.
2076 (OXTABS): Document availability on GNU/Linux as XTABS.
2077 (ONOEOT): Document availability separately from other bits.
2078 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2079 * manual/time.texi: Likewise.
2080 * manual/users.texi: Likewise.
2081 * INSTALL: Regenerated.
2082 * sysdeps/gnu/errlist.c: Regenerated.
2083
07037eeb
JM
2084 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2085 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2086 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2087 puts.
2088 * configure: Regenerated.
2089
d1d3431a
JM
20902012-03-07 Joseph Myers <joseph@codesourcery.com>
2091
af6a1e37
JM
2092 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2093 default includes instead of AC_HEADER_CHECK.
2094 * sysdeps/i386/configure: Regenerated.
2095
d1d3431a
JM
2096 [BZ #10716]
2097 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2098 * math/s_cacoshf.c (__cacoshf): Likewise.
2099 * math/s_cacoshl.c (__cacoshl): Likewise.
2100 * math/s_casinh.c (__casinh): Set signs of result from argument.
2101 * math/s_casinhf.c (__casinhf): Likewise.
2102 * math/s_casinhl.c (__casinhl): Likewise.
2103 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2104 (casinh_test): Add more tests.
2105 * sysdeps/i386/fpu/libm-test-ulps: Update.
2106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2107
482ff4da
UD
21082012-03-07 Ulrich Drepper <drepper@gmail.com>
2109
872fda05
UD
2110 * po/zh_TW.po: Update from translation team.
2111
a4300c7a
UD
2112 * login/Makefile (distribute): Remove variable.
2113 * catgets/Makefile: Likewise.
2114 * mach/Makefile: Likewise.
2115 * malloc/Makefile: Likewise.
2116 * misc/Makefile: Likewise.
2117 * iconv/Makefile: Likewise.
2118 * nscd/Makefile: Likewise.
2119 * hurd/Makefile: Likewise.
2120 * manual/Makefile: Likewise.
2121 * locale/Makefile: Likewise.
2122 * intl/Makefile: Likewise.
2123 * conform/Makefile: Likewise.
2124 * nss/Makefile: Likewise.
2125 * time/Makefile: Likewise.
2126 * soft-fp/Makefile: Likewise.
2127 * dirent/Makefile: Likewise.
2128 * gmon/Makefile: Likewise.
2129 * po/Makefile: Likewise.
2130 * rt/Makefile: Likewise.
2131 * socket/Makefile: Likewise.
2132 * math/Makefile: Likewise.
2133 * signal/Makefile: Likewise.
2134 * debug/Makefile: Likewise.
2135 * elf/Makefile: Likewise.
2136 * timezone/Makefile: Likewise.
2137 * stdlib/Makefile: Likewise.
2138 * iconvdata/Makefile: Likewise.
2139 * sunrpc/Makefile: Likewise.
2140 * io/Makefile: Likewise.
2141 * argp/Makefile: Likewise.
2142 * inet/Makefile: Likewise.
2143 * hesiod/Makefile: Likewise.
2144 * grp/Makefile: Likewise.
2145 * csu/Makefile: Likewise.
2146 * wctype/Makefile: Likewise.
2147 * crypt/Makefile: Likewise.
2148 * libio/Makefile: Likewise.
2149 * string/Makefile: Likewise.
2150 * nis/Makefile: Likewise.
2151 * resolv/Makefile: Likewise.
2152 * stdio-common/Makefile: Likewise.
2153 * wcsmbs/Makefile: Likewise.
2154 * dlfcn/Makefile: Likewise.
2155 * posix/Makefile: Likewise.
2156
482ff4da
UD
2157 * timezone/Makefile: Don't install timezone files, just the programs
2158 and scripts.
2159
f72ed77d
UD
21602012-03-06 Ulrich Drepper <drepper@gmail.com>
2161
a000466f
UD
2162 * nss/databases.def: Add missing gshadow entry.
2163
f72ed77d
UD
2164 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2165
a53b7a4e
MP
21662012-03-06 Marek Polacek <polacek@redhat.com>
2167
2168 [BZ #13726]
2169 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2170 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2171 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2172 * stdio-common/tst-long-dbl-fphex.c: New file.
2173
e9258400
DM
21742012-03-06 David S. Miller <davem@davemloft.net>
2175
2176 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2177 (set_obp_int): New function.
2178 (get_obp_int): New function.
2179 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
2180 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2181 Avoid unused variable warnings on 'val' and use builtin_expect.
2182 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2183 __builtin_expect.
e9258400
DM
2184 (INLINE_CLONE_SYSCALL): Likewise.
2185
3bd2c723
DM
21862012-03-05 David S. Miller <davem@davemloft.net>
2187
2188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2189
bbb78d03
AS
21902012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2191
884c5db4
AS
2192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2193
bbb78d03
AS
2194 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2195 only for |x| >= 40.
2196 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2197
1c9f702a 21982012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
2199
2200 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2201 Replace gettimeofday with __vdso_gettimeofday.
2202
7be16f82
RM
2203 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2204 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2205 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
2206
2207 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2208 time with __vdso_time.
2209
ed58a00f
JM
22102012-03-05 Joseph Myers <joseph@codesourcery.com>
2211
2212 * manual/lang.texi (size_t): Note types to which size_t may be
2213 equivalent with the GNU C Library, but do not describe when
2214 differences between them are significant.
2215
30ee4ced
AJ
22162012-03-05 Andreas Jaeger <aj@suse.de>
2217
2218 * sysdeps/i386/fpu/libm-test-ulps: Update.
2219
b7cd39e8
JM
22202012-03-05 Joseph Myers <joseph@codesourcery.com>
2221
2222 [BZ #3976]
2223 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2224 (__ieee754_pow): Save and restore rounding mode and use
2225 round-to-nearest for main computations.
2226 * math/libm-test.inc (pow_test_tonearest): New function.
2227 (pow_test_towardzero): Likewise.
2228 (pow_test_downward): Likewise.
2229 (pow_test_upward): Likewise.
2230 (main): Call the new functions.
2231 * sysdeps/i386/fpu/libm-test-ulps: Update.
2232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
2233
2234 [BZ #3976]
2235 * math/libm-test.inc (cosh_test_tonearest): New function.
2236 (cosh_test_towardzero): Likewise.
2237 (cosh_test_downward): Likewise.
2238 (cosh_test_upward): Likewise.
2239 (sinh_test_tonearest): Likewise.
2240 (sinh_test_towardzero): Likewise.
2241 (sinh_test_downward): Likewise.
2242 (sinh_test_upward): Likewise.
2243 (main): Call the new functions.
2244 * sysdeps/i386/fpu/libm-test-ulps: Update.
2245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2246
6c6a98c9
TV
22472012-03-05 Tom de Vries <tom@codesourcery.com>
2248
2249 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2250 default stack guard is set in last bytes.
2251 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2252
21bb2d2e 22532012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2254
21bb2d2e 2255 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2256
21bb2d2e
AJ
2257 [BZ #13656]
2258 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2259 possibly allocate from heap instead of stack.
2260 * stdio-common/bug-vfprintf-nargs.c: New file.
2261 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2262
c6922934
AS
22632012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2264
2265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2266
bc957d53
MP
22672012-03-03 Marek Polacek <polacek@redhat.com>
2268
2269 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2270 * math/math_private.h: Likewise.
2271 * stdlib/tst-strtod.c: Likewise.
2272 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2273 * sysdeps/x86_64/bits/atomic.h: Likewise.
2274
6358490d
DM
22752012-03-02 David S. Miller <davem@davemloft.net>
2276
2277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2281 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2282 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2283 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2284 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2285
01ae168d
RM
22862012-03-02 Roland McGrath <roland@hack.frob.com>
2287
d9a17c07
RM
2288 [BZ #13792]
2289 * manual/examples/README: New file, says the example source files
2290 can be used under GPL>=2.
2291 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2292 line containing just "*/".
2293 * manual/examples/add.c: Add copyright header (GPL>=2).
2294 * manual/examples/argp-ex1.c: Likewise.
2295 * manual/examples/argp-ex2.c: Likewise.
2296 * manual/examples/argp-ex3.c: Likewise.
2297 * manual/examples/argp-ex4.c: Likewise.
2298 * manual/examples/atexit.c: Likewise.
2299 * manual/examples/db.c: Likewise.
2300 * manual/examples/dir.c: Likewise.
2301 * manual/examples/dir2.c: Likewise.
2302 * manual/examples/execinfo.c: Likewise.
2303 * manual/examples/filecli.c: Likewise.
2304 * manual/examples/filesrv.c: Likewise.
2305 * manual/examples/fmtmsgexpl.c: Likewise.
2306 * manual/examples/genpass.c: Likewise.
2307 * manual/examples/inetcli.c: Likewise.
2308 * manual/examples/inetsrv.c: Likewise.
2309 * manual/examples/isockad.c: Likewise.
2310 * manual/examples/longopt.c: Likewise.
2311 * manual/examples/memopen.c: Likewise.
2312 * manual/examples/memstrm.c: Likewise.
2313 * manual/examples/mkfsock.c: Likewise.
2314 * manual/examples/mkisock.c: Likewise.
2315 * manual/examples/mygetpass.c: Likewise.
2316 * manual/examples/pipe.c: Likewise.
2317 * manual/examples/popen.c: Likewise.
2318 * manual/examples/rprintf.c: Likewise.
2319 * manual/examples/search.c: Likewise.
2320 * manual/examples/select.c: Likewise.
2321 * manual/examples/setjmp.c: Likewise.
2322 * manual/examples/sigh1.c: Likewise.
2323 * manual/examples/sigusr.c: Likewise.
2324 * manual/examples/stpcpy.c: Likewise.
2325 * manual/examples/strdupa.c: Likewise.
2326 * manual/examples/strftim.c: Likewise.
2327 * manual/examples/strncat.c: Likewise.
2328 * manual/examples/subopt.c: Likewise.
2329 * manual/examples/swapcontext.c: Likewise.
2330 * manual/examples/termios.c: Likewise.
2331 * manual/examples/testopt.c: Likewise.
2332 * manual/examples/testpass.c: Likewise.
2333 * manual/examples/timeval_subtract.c: Likewise.
2334
01ae168d
RM
2335 [BZ #13792]
2336 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2337 function to ...
2338 * manual/timeval_subtract.c.texi: ... here, new file.
2339
49efa33d
DM
23402012-03-02 David S. Miller <davem@davemloft.net>
2341
2342 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2343
28afd92d
JM
23442012-03-02 Joseph Myers <joseph@codesourcery.com>
2345
804360ed
JM
2346 [BZ #3976]
2347 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2348 (__sin): Save and restore rounding mode and use round-to-nearest
2349 for all computations.
2350 (__cos): Save and restore rounding mode and use round-to-nearest
2351 for all computations.
2352 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2353 <fenv.h>.
2354 (tan): Save and restore rounding mode and use round-to-nearest for
2355 all computations.
2356 * math/libm-test.inc (cos_test_tonearest): New function.
2357 (cos_test_towardzero): Likewise.
2358 (cos_test_downward): Likewise.
2359 (cos_test_upward): Likewise.
2360 (sin_test_tonearest): Likewise.
2361 (sin_test_towardzero): Likewise.
2362 (sin_test_downward): Likewise.
2363 (sin_test_upward): Likewise.
2364 (tan_test_tonearest): Likewise.
2365 (tan_test_towardzero): Likewise.
2366 (tan_test_downward): Likewise.
2367 (tan_test_upward): Likewise.
2368 (main): Call the new functions.
2369 * sysdeps/i386/fpu/libm-test-ulps: Update.
2370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2371
a6d06d7b
JM
2372 [BZ #10135]
2373 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2374 small n, then large n, before computing and testing k+n.
2375 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2376 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2377 Likewise.
2378 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2379 Likewise.
2380 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2381 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2382 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2383 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2384 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2385 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2386 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2387 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2388 * math/libm-test.inc (scalbn_test): Add more tests.
2389 (scalbln_test): Likewise.
2390
07e12bb3
JM
2391 * manual/filesys.texi (mode_t): Describe constraints on size and
2392 signedness, not exact equivalence to a particular type.
2393 (ino_t): Likewise.
2394 (ino64_t): Likewise.
2395 (dev_t): Likewise.
2396 (nlink_t): Likewise.
2397 (blkcnt_t): Likewise.
2398 (blkcnt64_t): Likewise.
2399 * manual/llio.texi (off_t): Likewise.
2400
28afd92d
JM
2401 [BZ #3976]
2402 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2403 (__ieee754_exp): Save and restore rounding mode and use
2404 round-to-nearest for all computations.
2405 * math/libm-test.inc (exp_test_tonearest): New function.
2406 (exp_test_towardzero): Likewise.
2407 (exp_test_downward): Likewise.
2408 (exp_test_upward): Likewise.
2409 (main): Call the new functions.
2410 * sysdeps/i386/fpu/libm-test-ulps: Update.
2411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2412
b1eeb65d
CD
24132012-03-01 Chris Demetriou <cgd@google.com>
2414
2415 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2416 have predictable order.
2417
53362a4b
DM
24182012-03-01 David S. Miller <davem@davemloft.net>
2419
3c969083
DM
2420 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2421
759707de
DM
2422 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2423 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2424 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2425 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2426
dfdb8ff2
DM
2427 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2428 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2429 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2431 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2432 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2433 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2434 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2435 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2436
ead89f96
DM
2437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2438
7f66bd07
DM
2439 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2440 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2441 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2442
53362a4b
DM
2443 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2444 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2445 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2446 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2447 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2448 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2449 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2450 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2451 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2452 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2453 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2454 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2455 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2456 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2457 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2458 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2459 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2460 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2461 * sysdeps/sparc/elf/configure: Regenerated.
2462
7b1902cb
JM
24632012-03-01 Joseph Myers <joseph@codesourcery.com>
2464
bec039bc
JM
2465 * configure.in (AS, LD): Require binutils 2.20 or later.
2466 * configure: Regenerated.
2467 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2468 as required minimum version.
2469 * INSTALL: Regenerated.
2470
7b1902cb
JM
2471 [BZ #2541]
2472 [BZ #4108]
2473 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2474 before squaring exponent.
2475 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2476 bottom long double and 27 bits of top long double before squaring
2477 exponent.
2478 * math/libm-test.inc (erfc_test): Add more tests.
2479 * sysdeps/i386/fpu/libm-test-ulps: Update.
2480 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2482
f775c276
KT
24832012-03-01 Kai Tietz <ktietz@redhat.com>
2484
2485 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2486 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2487 containing bit-fields.
2488 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2489 * soft-fp/single.h (_FP_UNION_S): Likewise.
2490 * soft-fp/double.h (_FP_UNION_D): Likewise.
2491
5b8a4d4a
JM
24922012-02-29 Joseph Myers <joseph@codesourcery.com>
2493
0bab47b6
JM
2494 [BZ #13786]
2495 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2496 not include ../strcmp.S.
2497 [USE_AS_STRNCASECMP_L]: Likewise.
2498 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2499 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2500 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2501 (__strncasecmp_l_ia32): Define as alias to
2502 __strncasecmp_l_nonascii.
2503
0fcad3e2
JM
2504 [BZ #5794]
2505 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2506 * sysdeps/i386/fpu/libm-test-ulps: Update.
2507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2508
5b8a4d4a
JM
2509 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2511
8fdceb2e
JL
25122012-02-29 Jeff Law <law@redhat.com>
2513
2514 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2515 out of bounds read.
2516
1f393a11
MP
25172012-02-29 Marek Polacek <polacek@redhat.com>
2518
2519 [BZ #13706]
2520 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2521 * elf/Makefile: Add rules to run tst-unused-dep.out.
2522
8847f037
DM
25232012-02-28 David S. Miller <davem@davemloft.net>
2524
2525 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2526 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2527 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2528 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2529 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2530 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2531
169d7f11
JM
25322012-02-29 Joseph Myers <joseph@codesourcery.com>
2533
2534 * math/libm-test.inc (llround_test): Move one test from
2535 lround_test. Use TEST_f_L in moved test.
2536 (lround_test): Move misplaced test to llround_test. Add testcase
2537 from bug 2561.
2538
39adf059
UD
25392012-02-28 Ulrich Drepper <drepper@gmail.com>
2540
2541 * sysdeps/x86_64/fpu/e_expf.S: New file.
2542 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2543
71b5d1c5
SB
25442012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2545
2546 [BZ #13637]
2547 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2548 of remain_len that may cause incomplete multi-byte character and
2549 false match.
2550 * posix/bug-regex33.c: New file.
2551 * posix/Makefile (tests): Add bug-regex33.
2552
1f77f049
JM
25532012-02-28 Joseph Myers <joseph@codesourcery.com>
2554
2555 * manual/macros.texi: New file.
2556 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2557 * manual/libc.texinfo: Include macros.texi.
2558 * manual/creatute.texi: Likewise.
2559 * manual/install.texi: Likewise.
2560 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2561 @glibcadj{} in references to the GNU C Library.
2562 * manual/charset.texi: Likewise.
2563 * manual/conf.texi: Likewise.
2564 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2565 when not using those macros.
2566 * manual/creature.texi: Likewise.
2567 * manual/crypt.texi: Likewise.
2568 * manual/errno.texi: Likewise.
2569 * manual/filesys.texi: Likewise.
2570 * manual/header.texi: Likewise.
2571 * manual/install.texi: Likewise.
2572 * manual/intro.texi: Likewise.
2573 * manual/io.texi: Likewise.
2574 * manual/job.texi: Likewise.
2575 * manual/lang.texi: Likewise.
2576 * manual/libc.texiinfo: Likewise.
2577 * manual/llio.texi: Likewise.
2578 * manual/locale.texi: Likewise.
2579 * manual/maint.texi: Likewise.
2580 * manual/math.texi: Likewise.
2581 * manual/memory.texi: Likewise.
2582 * manual/message.texi: Likewise.
2583 * manual/nss.texi: Likewise.
2584 * manual/pattern.texi: Likewise.
2585 * manual/process.texi: Likewise.
2586 * manual/resource.texi: Likewise.
2587 * manual/search.texi: Likewise.
2588 * manual/setjmp.texi: Likewise.
2589 * manual/signal.texi: Likewise.
2590 * manual/socket.texi: Likewise.
2591 * manual/startup.texi: Likewise.
2592 * manual/stdio.texi: Likewise.
2593 * manual/string.texi: Likewise.
2594 * manual/sysinfo.texi: Likewise.
2595 * manual/syslog.texi: Likewise.
2596 * manual/terminal.texi: Likewise.
2597 * manual/time.texi: Likewise.
2598 * manual/users.texi: Likewise.
2599 * INSTALL: Regenerated.
2600 * NOTES: Regenerated.
d40c5d54 2601 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 2602
450bf206
AS
26032012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2604
2605 * include/dirent.h: Include <dirstream.h> before
2606 <dirent/dirent.h>.
2607
741a235b
DM
26082012-02-28 David S. Miller <davem@davemloft.net>
2609
2610 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2611 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2612 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2613 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2614
d6b5aa58
DM
26152012-02-27 David S. Miller <davem@davemloft.net>
2616
1aff59a3
DM
2617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2619 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2620 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2621
d6b5aa58
DM
2622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2623 frame pointer instead of stack pointer relative arg slot.
2624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2625 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2626 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2627
433f48bf
CD
26282012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2629
2630 [BZ #3992]
2631 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2632
d674b76d
DM
26332012-02-27 David S. Miller <davem@davemloft.net>
2634
2635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2639 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2640 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2641 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2642 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2643
0e7727f7
JM
26442012-02-27 Joseph Myers <joseph@codesourcery.com>
2645
2646 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2647 later. Allow versions 5-9.
43be4ca2 2648 * configure: Regenerated.
0e7727f7
JM
2649 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2650 required minimum version and 4.6 as recommended version. Do not
2651 mention bugs in GCC 2.7 and 2.8.
43be4ca2 2652 * INSTALL: Regenerated.
0e7727f7 2653
a78bc654
DM
26542012-02-27 David S. Miller <davem@davemloft.net>
2655
428d5830
DM
2656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2660 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2661 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2662 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2663 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2664
a78bc654
DM
2665 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2666 manipulate bits before adding and subtracting TWO112[sx].
2667 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2668
4579f81c
RM
26692012-02-27 Roland McGrath <roland@hack.frob.com>
2670
36c8acb4
RM
2671 [BZ #13775]
2672 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2673 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2674 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2675 being in POSIX, because they are in 1003.1-2008.
2676
84ad622b
RM
2677 * rt/tst-aio.c: Include <fcntl.h>.
2678 * rt/tst-aio7.c: Likewise.
2679 * rt/tst-aio64.c: Likewise.
2680
4579f81c
RM
2681 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2682
abd923db
JM
26832012-02-27 Joseph Myers <joseph@codesourcery.com>
2684
2685 * manual/install.texi (--with-headers): Describe headers as
2686 interface headers, not private headers.
2687 (Specific advice for GNU/Linux systems): Describe use of headers
2688 from "make headers_install", not private headers from older
2689 kernels.
43be4ca2 2690 * INSTALL: Regenerated.
abd923db
JM
2691 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2692 Change to 2.6.19.
2693 * sysdeps/unix/sysv/linux/configure: Regenerated.
2694
6664049b
JM
2695 * manual/llio.texi (fclean): Remove documentation.
2696
bb8b6697
JM
2697 * manual/Makefile (libc-texi-generated): New variable. Include
2698 version.texi.
2699 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2700 $(libc-texi-generated), not duplicated list of files.
2701 (version.texi, stamp-version): New rules.
2702 (realclean): Remove $(libc-texi-generated), not individual files
2703 from that list. Do not remove dir-add.texinfo.
2704 * manual/libc.texinfo: Comment out uses of edition numbers and
2705 references to printed manual. Remove last-updated dates.
2706 (EDITION): Comment out.
2707 (ISBN): Likewise.
2708 (VERSION, UPDATED): Remove.
2709 (version.texi): Include.
2710
12e5c3b9
AS
27112012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2712
2713 * sysdeps/posix/spawni.c: Include <signal.h>.
2714 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2715 * sysdeps/pthread/aio_fsync.c: Likewise.
2716
4efeffc1 27172012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 2718
ba63ba08
UD
2719 * conform/Makefile (tests): Run only when not cross-compiling and
2720 when fast-check is not defined.
2721
d94a4670
UD
2722 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2723 * conform/data/limits.h-data: Fixes for POSIX2008.
2724 * conform/run-conformtest.sh: Run all tests.
2725 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2726 headers.
2727 * include/bits/dlfcn.h: Likewise.
2728 * include/langinfo.h: Likewise.
2729 * include/monetary.h: Likewise.
2730 * include/sys/poll.h: Likewise.
2731
2732 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2733 for __USE_GNU.
2734 * posix/spawn.h: Define __need_sigset_t.
2735 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2736 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2737 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2738 to get sigevent_t only.
2739 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2740 only for __USE_GNU.
2741 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2742 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2743 process_vm_writev only for __USE_GNU.
2744 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
2745
2746 * conform/Makefile: For now ignore errors from run-conformtest.
2747 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2748 POSIX to avoid namespace pollution. Don't prepend headers.
2749 * conform/data/aio.h-data: Fixes for POSIX testing.
2750 * conform/data/fcntl.h-data: Likewise.
2751 * conform/data/glob.h-data: Likewise.
2752 * conform/data/grp.h-data: Likewise.
2753 * conform/data/pthread.h-data: Likewise.
2754 * conform/data/pwd.h-data: Likewise.
2755 * conform/data/signal.h-data: Likewise.
2756 * conform/data/spawn.h-data: Likewise.
2757 * conform/data/stdio.h-data: Likewise.
2758 * conform/data/stdlib.h-data: Likewise.
2759 * conform/data/stropts.h-data: Likewise.
2760 * conform/data/sys/mman.h-data: Likewise.
2761 * conform/data/sys/stat.h-data: Likewise.
2762 * conform/data/sys/types.h-data: Likewise.
2763 * conform/data/sys/wait.h-data: Likewise.
2764 * conform/data/time.h-data: Likewise.
2765 * conform/data/unistd.h-data: Likewise.
2766 * conform/data/utime.h-data: Likewise.
2767
2768 * io/sys/stat.h: fchmod was always in POSIX.
2769 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2770 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2771 * rt/aio.h: Define __need_timespec before including <time.h>.
2772 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2773 struct. Add forward declaration of pthread_attr_t and use it in
2774 sigevent.
2775 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2776 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2777 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2778 always remove CLK_TCK definition.
2779
c20105c3
AS
27802012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2781
2782 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2783
7a270350
UD
27842012-02-25 Ulrich Drepper <drepper@gmail.com>
2785
31341567
UD
2786 * conform/run-conformtest.sh: New file.
2787 * conform/Makefile: Run run-conformtest for tests.
2788 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2789 support.
2790
2791 * conform/data/uchar.h-data: New file.
2792 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2793 * conform/data/arpa/inet.h-data: Likewise.
2794 * conform/data/assert.h-data: Likewise.
2795 * conform/data/complex.h-data: Likewise.
2796 * conform/data/cpio.h-data: Likewise.
2797 * conform/data/ctype.h-data: Likewise.
2798 * conform/data/dirent.h-data: Likewise.
2799 * conform/data/dlfcn.h-data: Likewise.
2800 * conform/data/errno.h-data: Likewise.
2801 * conform/data/fcntl.h-data: Likewise.
2802 * conform/data/float.h-data: Likewise.
2803 * conform/data/fmtmsg.h-data: Likewise.
2804 * conform/data/fnmatch.h-data: Likewise.
2805 * conform/data/ftw.h-data: Likewise.
2806 * conform/data/glob.h-data: Likewise.
2807 * conform/data/grp.h-data: Likewise.
2808 * conform/data/iconv.h-data: Likewise.
2809 * conform/data/inttypes.h-data: Likewise.
2810 * conform/data/langinfo.h-data: Likewise.
2811 * conform/data/libgen.h-data: Likewise.
2812 * conform/data/limits.h-data: Likewise.
2813 * conform/data/locale.h-data: Likewise.
2814 * conform/data/math.h-data: Likewise.
2815 * conform/data/monetary.h-data: Likewise.
2816 * conform/data/mqueue.h-data: Likewise.
2817 * conform/data/ndbm.h-data: Likewise.
2818 * conform/data/net/if.h-data: Likewise.
2819 * conform/data/netdb.h-data: Likewise.
2820 * conform/data/netinet/in.h-data: Likewise.
2821 * conform/data/nl_types.h-data: Likewise.
2822 * conform/data/poll.h-data: Likewise.
2823 * conform/data/pthread.h-data: Likewise.
2824 * conform/data/pwd.h-data: Likewise.
2825 * conform/data/regex.h-data: Likewise.
2826 * conform/data/sched.h-data: Likewise.
2827 * conform/data/search.h-data: Likewise.
2828 * conform/data/semaphore.h-data: Likewise.
2829 * conform/data/setjmp.h-data: Likewise.
2830 * conform/data/signal.h-data: Likewise.
2831 * conform/data/spawn.h-data: Likewise.
2832 * conform/data/stdarg.h-data: Likewise.
2833 * conform/data/stdio.h-data: Likewise.
2834 * conform/data/stdlib.h-data: Likewise.
2835 * conform/data/string.h-data: Likewise.
2836 * conform/data/strings.h-data: Likewise.
2837 * conform/data/stropts.h-data: Likewise.
2838 * conform/data/sys/ipc.h-data: Likewise.
2839 * conform/data/sys/mman.h-data: Likewise.
2840 * conform/data/sys/msg.h-data: Likewise.
2841 * conform/data/sys/resource.h-data: Likewise.
2842 * conform/data/sys/select.h-data: Likewise.
2843 * conform/data/sys/sem.h-data: Likewise.
2844 * conform/data/sys/shm.h-data: Likewise.
2845 * conform/data/sys/socket.h-data: Likewise.
2846 * conform/data/sys/stat.h-data: Likewise.
2847 * conform/data/sys/statvfs.h-data: Likewise.
2848 * conform/data/sys/time.h-data: Likewise.
2849 * conform/data/sys/timeb.h-data: Likewise.
2850 * conform/data/sys/times.h-data: Likewise.
2851 * conform/data/sys/types.h-data: Likewise.
2852 * conform/data/sys/uio.h-data: Likewise.
2853 * conform/data/sys/un.h-data: Likewise.
2854 * conform/data/sys/utsname.h-data: Likewise.
2855 * conform/data/sys/wait.h-data: Likewise.
2856 * conform/data/syslog.h-data: Likewise.
2857 * conform/data/tar.h-data: Likewise.
2858 * conform/data/termios.h-data: Likewise.
2859 * conform/data/utime.h-data: Likewise.
2860 * conform/data/utmpx.h-data: Likewise.
2861 * conform/data/varargs.h-data: Likewise.
2862 * conform/data/wchar.h-data: Likewise.
2863 * conform/data/wctype.h-data: Likewise.
2864 * conform/data/wordexp.h-data: Likewise.
2865
2866 * include/stropts.h: New file.
2867 * include/uchar.h: New file.
2868 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2869 * include/assert.h: Likewise.
2870 * include/ctype.h: Likewise.
2871 * include/dirent.h: Likewise.
2872 * include/dlfcn.h: Likewise.
2873 * include/fcntl.h: Likewise.
2874 * include/fnmatch.h: Likewise.
2875 * include/glob.h: Likewise.
2876 * include/grp.h: Likewise.
2877 * include/libio.h: Likewise.
2878 * include/locale.h: Likewise.
2879 * include/math.h: Likewise.
2880 * include/net/if.h: Likewise.
2881 * include/netdb.h: Likewise.
2882 * include/netinet/in.h: Likewise.
2883 * include/pthread.h: Likewise.
2884 * include/pwd.h: Likewise.
2885 * include/regex.h: Likewise.
2886 * include/sched.h: Likewise.
2887 * include/search.h: Likewise.
2888 * include/setjmp.h: Likewise.
2889 * include/signal.h: Likewise.
2890 * include/stdio.h: Likewise.
2891 * include/stdlib.h: Likewise.
2892 * include/string.h: Likewise.
2893 * include/sys/cdefs.h: Likewise.
2894 * include/sys/mman.h: Likewise.
2895 * include/sys/msg.h: Likewise.
2896 * include/sys/resource.h: Likewise.
2897 * include/sys/select.h: Likewise.
2898 * include/sys/socket.h: Likewise.
2899 * include/sys/stat.h: Likewise.
2900 * include/sys/statvfs.h: Likewise.
2901 * include/sys/time.h: Likewise.
2902 * include/sys/times.h: Likewise.
2903 * include/sys/uio.h: Likewise.
2904 * include/sys/utsname.h: Likewise.
2905 * include/sys/wait.h: Likewise.
2906 * include/termios.h: Likewise.
2907 * include/time.h: Likewise.
2908 * include/ulimit.h: Likewise.
2909 * include/unistd.h: Likewise.
2910 * include/utime.h: Likewise.
2911 * include/wchar.h: Likewise.
2912 * include/wctype.h: Likewise.
2913 * include/wordexp.h: Likewise.
2914
2915 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2916
7a270350
UD
2917 * time/time.h: TIME_UTC must be a macro.
2918 Make timespec_get available for ISO C11 only as well.
2919
7724defc
UD
29202012-02-24 Ulrich Drepper <drepper@gmail.com>
2921
2922 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2923 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2924
6b1d1d46
JM
29252012-02-24 Joseph Myers <joseph@codesourcery.com>
2926
2927 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 2928
0f8bbd69
JM
29292012-02-24 Joseph Myers <joseph@codesourcery.com>
2930
2931 * manual/texinfo.tex: Update to version 2012-01-19.16.
2932
66ab80bc
JM
29332012-02-24 Joseph Myers <joseph@codesourcery.com>
2934
2935 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2936
74981cc5
RM
29372012-02-24 Roland McGrath <roland@hack.frob.com>
2938
ee968201
RM
2939 [BZ #13738]
2940 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2941 * manual/fdl-1.3.texi: New file.
2942 * manual/fdl-1.1.texi: File removed.
2943
74981cc5
RM
2944 [BZ #13738]
2945 * manual/libc.texinfo (FDL_VERSION): New @set.
2946 Use it for mention of FDL in cover text.
2947 (Documentation License): Use it in @include file name.
2948
7bb764bc
JM
29492012-02-22 Joseph Myers <joseph@codesourcery.com>
2950 Roland McGrath <roland@hack.frob.com>
2951
2952 [BZ #5461]
2953 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2954 not LONG_LONG_MAX and LONG_LONG_MIN.
2955 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2956 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2957 name.
2958 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2959
6cbeae47
JM
29602012-02-22 Joseph Myers <joseph@codesourcery.com>
2961
2962 [BZ #2547]
2963 [BZ #11365]
2964 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2965 manipulate bits before adding and subtracting TWO23[sx].
2966 * math/libm-test.inc (nearbyint_test): Add more tests.
2967
fe45ce09
JM
29682012-02-22 Joseph Myers <joseph@codesourcery.com>
2969
2970 [BZ #2548]
2971 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2972 bits before adding and subtracting TWO23[sx].
2973 * math/libm-test.inc (rint_test): Add more tests.
2974 (rint_test_tonearest): Likewise.
2975 (rint_test_towardzero): Likewise.
2976 (rint_test_downward): Likewise.
2977 (rint_test_upward: Likewise.
2978
ff3b3d82
JM
29792012-02-22 Joseph Myers <joseph@codesourcery.com>
2980
2981 [BZ #10110]
2982 * include/stdc-predef.h: New file. Extracted from features.h.
2983 * include/features.h: Include stdc-predef.h.
2984 * Makefile (headers): Add stdc-predef.h.
2985 * CONFORMANCE (Compiler limitations): Update.
2986
ef0aab35
JM
29872012-02-22 Joseph Myers <joseph@codesourcery.com>
2988
2989 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2990
58639409
DM
29912012-02-21 David S. Miller <davem@davemloft.net>
2992
2993 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2994 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2995
c0e70b25
DM
29962012-02-20 David S. Miller <davem@davemloft.net>
2997
2998 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2999 using a normal save/restore sequence, rather than allocating a
3000 dummy stack frame just to store a frame pointer and restore.
3001 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3002
fb06851d
JM
30032012-02-21 Joseph Myers <joseph@codesourcery.com>
3004
3005 * manual/install.texi: Fix stray word in line-wrapped comment.
3006
7a8b71c3
DM
30072012-02-20 David S. Miller <davem@davemloft.net>
3008
d510c123
DM
3009 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3010 both binutils and gcc support GOTDATA.
3011
0722d7c2
DM
3012 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3013 "rd %pc" in the PIC register setup sequences.
3014
3d2b3019
DM
3015 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3016 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3017 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3018 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3019 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3020 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3021 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3022 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3023 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3024 (SYSCALL_ERROR_HANDLER): Likewise.
3025 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3026 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3027 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3028 (SYSCALL_ERROR_HANDLER): Likewise.
3029
c80098a9
DM
3030 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3031 (HAVE_GCC_GOTDATA): New.
3032 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3033 relocation support in both binutils and gcc.
3034 * sysdeps/sparc/elf/configure: Regenerate.
3035
3a2545a0
DM
3036 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3037 * sysdeps/sparc/sparc32/elf/configure: Delete.
3038 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3039 * sysdeps/sparc/sparc64/elf/configure: Delete.
3040 * sysdeps/sparc/elf/configure.in: New file.
3041 * sysdeps/sparc/elf/configure: Generate.
3042
7a8b71c3
DM
3043 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3044 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3045 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3046 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3047 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3048
f1e86fca
JM
30492012-02-21 Joseph Myers <joseph@codesourcery.com>
3050
3051 * manual/install.texi: Do not mention specific glibc version
3052 numbers.
3053 * manual/libc.texinfo (VERSION, UPDATED): Update.
3054 (@copying): Use @copyright{} and range of years.
3055
0e7dfaef
JM
30562012-02-21 Joseph Myers <joseph@codesourcery.com>
3057
3058 [BZ #13695]
3059 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3060 [crti.S not in sysdirs] (generated): Do not append.
3061 [crti.S not in sysdirs] (omit-deps): Likewise.
3062 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3063 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3064 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3065 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3066 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3067 Likewise.
3068 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3069 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3070 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3071 * csu/defs.awk: Remove file.
3072 * sysdeps/generic/initfini.c: Likewise.
3073 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3074 variable.
3075 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3076 Likewise.
3077
599af3ca
JM
30782012-02-20 Joseph Myers <joseph@codesourcery.com>
3079
3080 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3081 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3082 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3083 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3084 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3085 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3086 <bits/epoll.h>.
3087 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3088 (__EPOLL_PACKED): Define to empty if not defined by
3089 <bits/epoll.h>.
3090 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3091 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3092 bits/epoll.h.
3093
0e499750
JM
30942012-02-20 Joseph Myers <joseph@codesourcery.com>
3095
3096 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3097 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3098 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3099 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3100 <bits/timerfd.h>.
3101 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3103 bits/timerfd.h.
3104
5ad91f6e
JM
31052012-02-20 Joseph Myers <joseph@codesourcery.com>
3106
3107 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3108 in C locale.
3109 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3110 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3111 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3113
06b99b02
AJ
31142012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3115
3116 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3117 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3118
7638c0fd
AS
31192012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3120
3121 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3122 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3123 defined.
3124 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3125 Likewise.
3126 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3127 entry for 2.16.
3128
92221550
AJ
31292012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3130
3131 * math/w_acos.c: Use non-signaling floating-point comparisons.
3132 * math/w_acosf.c: Likewise.
3133 * math/w_acosh.c: Likewise.
3134 * math/w_acoshf.c: Likewise.
3135 * math/w_acoshl.c: Likewise.
3136 * math/w_acosl.c: Likewise.
3137 * math/w_asin.c: Likewise.
3138 * math/w_asinf.c: Likewise.
3139 * math/w_asinl.c: Likewise.
3140 * math/w_atanh.c: Likewise.
3141 * math/w_atanhf.c: Likewise.
3142 * math/w_atanhl.c: Likewise.
3143 * math/w_exp2.c: Likewise.
3144 * math/w_exp2f.c: Likewise.
3145 * math/w_exp2l.c: Likewise.
3146 * math/w_j0.c: Likewise.
3147 * math/w_j0f.c: Likewise.
3148 * math/w_j0l.c: Likewise.
3149 * math/w_j1.c: Likewise.
3150 * math/w_j1f.c: Likewise.
3151 * math/w_j1l.c: Likewise.
3152 * math/w_jn.c: Likewise.
3153 * math/w_jnf.c: Likewise.
3154 * math/w_log.c: Likewise.
3155 * math/w_log10.c: Likewise.
3156 * math/w_log10f.c: Likewise.
3157 * math/w_log10l.c: Likewise.
3158 * math/w_log2.c: Likewise.
3159 * math/w_log2f.c: Likewise.
3160 * math/w_log2l.c: Likewise.
3161 * math/w_logf.c: Likewise.
3162 * math/w_logl.c: Likewise.
3163 * math/w_sqrt.c: Likewise.
3164 * math/w_sqrtf.c: Likewise.
3165 * math/w_sqrtl.c: Likewise.
3166 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3167 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3168 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3169 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3170 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3171
ebaf36eb
JM
31722012-02-19 Joseph Myers <joseph@codesourcery.com>
3173
3174 [BZ #9739]
3175 * manual/string.texi (strnlen): Use correct parameter name in
3176 equivalent expression.
3177
71c254a6
JM
31782012-02-19 Joseph Myers <joseph@codesourcery.com>
3179
3180 [BZ #11174]
3181 * manual/users.texi (seteuid): Consistently use neweuid for
3182 argument name.
3183
16d2c631
JM
31842012-02-19 Joseph Myers <joseph@codesourcery.com>
3185
3186 [BZ #13704]
3187 * manual/nss.texi (Services in the NSS configuration): Correct
3188 list of services in example configuration file.
3189
cd837b09
NB
31902012-02-19 Nick Bowler <nbowler@draconx.ca>
3191
3192 [BZ #11322]
3193 * manual/arith.texi: Remove statements about negative zero
3194 behaving identically to zero.
3195
02c4bbad
JM
31962012-02-18 Joseph Myers <joseph@codesourcery.com>
3197
3198 [BZ #5993]
3199 * manual/install.texi: Do not document upgrading from libc5.
3200
366842e7
JM
32012012-02-18 Joseph Myers <joseph@codesourcery.com>
3202
3203 [BZ #4596]
3204 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3205
dd54084d
DM
32062012-02-18 David S. Miller <davem@davemloft.net>
3207
3208 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3209 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3210 %o7 across the call.
3211 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3212 instead.
3213 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3214 SETUP_PIC_REG_LEAF.
3215 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3216 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3217 * sysdeps/sparc/crtn.S: Likewise.
3218
2bcc53a3
UD
32192012-02-17 Ulrich Drepper <drepper@gmail.com>
3220
3221 * aout/Makefile: Remove.
3222
09c093b5
RK
32232012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3224
3225 [BZ #13058]
3226 * manual/examples/argp-ex1.c (main): Format definition in GNU
3227 style.
3228 * manual/examples/argp-ex2.c (main): Likewise.
3229 * manual/examples/argp-ex3.c (main): Likewise.
3230 * manual/examples/argp-ex4.c (main): Likewise.
3231 * manual/examples/longopt.c (main): Use new-style prototype
3232 definition.
3233 * manual/examples/strncat.c (main): Specify return type and use
3234 (void) for arguments.
3235 * manual/examples/subopt.c (main): Use char **argv argument.
3236
2ee633a2
JM
32372012-02-17 Joseph Myers <joseph@codesourcery.com>
3238
3239 [BZ #5077]
3240 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3241 rounding modes.
3242
0520adde
FB
32432012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3244
3245 [BZ #6907]
3246 * manual/string.texi (strchr): Change when strchrnul is
3247 recommended.
3248
3f4081cd
DGM
32492012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3250
3251 [BZ #174]
3252 * manual/locale.texi (setlocale): Document LOCPATH.
3253
d1b10e78
JM
32542012-02-17 Joseph Myers <joseph@codesourcery.com>
3255
3256 [BZ #10210]
3257 * manual/process.texi (execle): Move @dots{} before last argument.
3258
79c6869c
PB
32592012-02-17 Paul Bolle <pebolle@tiscali.nl>
3260
3261 [BZ #12047]
3262 * manual/charset.texi (Generic Charset Conversion): Fix typo
3263 (LC_TYPE -> LC_CTYPE).
3264
cc6e48bc
NB
32652012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3266
3267 [BZ #5805]
3268 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3269 (scalbnf): Likewise.
3270 (scalbnl): Likewise.
3271 (scalbln): Likewise.
3272 (scalblnf): Likewise.
3273 (scalblnl): Likewise.
3274 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3275 (vwarnx): Likewise.
3276 (verr): Likewise.
3277 (verrx): Likewise.
3278 * manual/filesys.texi (telldir): Use braces around return type.
3279 * manual/llio.texi (mmap): Add space after comma.
3280 (mmap64): Likewise.
3281 * manual/math.texi (jn): Use @var{} on parameter names.
3282 (jnf): Likewise.
3283 (jnl): Likewise.
3284 (yn): Likewise.
3285 (ynf): Likewise.
3286 (ynl): Likewise.
3287 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3288 line.
3289 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3290 "...".
3291 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3292 (sched_get_priority_max): Likewise.
3293 * manual/signal.texi (sigvec): Add space after comma.
3294 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3295 names.
3296 (if_indextoname): Likewise.
3297 (if_freenameindex): Likewise.
3298 (sendto): Use ',' instead of '.' in prototype.
3299 * manual/startup.texi (syscall): Use @dots{} instead of literal
3300 "...".
3301 * manual/stdio.texi (__fpending): Separate initial words of
3302 paragraph from @deftypefun line.
3303 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3304 "...".
3305 (vsyslog): Use @var{} on parameter names.
3306 * manual/terminal.texi (stty): Use @var{} on parameter names.
3307 * manual/users.texi (getutmp): Use @var{} on parameter names.
3308 (getutmpx): Likewise.
3309
5b23062f
JM
33102012-02-17 Joseph Myers <joseph@codesourcery.com>
3311
3312 [BZ #6884]
3313 * manual/stdio.texi (fopen): Fix typos in description of
3314 ",ccs=STRING".
3315
8dee4833
AJ
33162012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3317
3318 [BZ #4026]
3319 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3320 get clock_id definition.
3321
9078ce93
TS
33222012-02-17 Thomas Schwinge <thomas@schwinge.name>
3323
3324 [BZ #4822]
3325 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3326 (madvise): Cast every argument to void on its own.
3327
3835c55f
JM
33282012-02-17 Joseph Myers <joseph@codesourcery.com>
3329
3330 [BZ #9902]
3331 * manual/startup.texi (Exit Status): Fix typo.
3332
35c47e37
JM
33332012-02-17 Joseph Myers <joseph@codesourcery.com>
3334
3335 [BZ #10140]
3336 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3337 * manual/examples/argp-ex2.c: Likewise.
3338 * manual/examples/argp-ex3.c: Likewise.
3339
e3b69ca7
RH
33402012-02-16 Richard Henderson <rth@redhat.com>
3341
3342 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3343 * sysdeps/s390/s390-32/initfini.c: Remove.
3344 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3345 * sysdeps/s390/s390-64/initfini.c: Remove.
3346
df83af67
KK
33472012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3348
3349 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3350 compiler output for sysdeps/generic/initfini.c.
3351 * sysdeps/sh/elf/initfini.c: Remove file.
3352
f63f3380
DM
33532012-02-16 David S. Miller <davem@davemloft.net>
3354
fb59b3a4
DM
3355 [BZ #11494]
3356 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3357
f63f3380
DM
3358 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3359 * sysdeps/sparc/crti.S: New file.
3360 * sysdeps/sparc/crtn.S: New file.
3361 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3362 * sysdeps/sparc/sparc64/Makefile: Likewise.
3363
df6a4a4a
MF
33642012-02-15 Mike Frysinger <vapier@gentoo.org>
3365
6dd8f3dc 3366 [BZ #3335]
df6a4a4a
MF
3367 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3368
1cac7236
RM
33692012-02-15 Roland McGrath <roland@hack.frob.com>
3370
d2c736f8
RM
3371 [BZ #4822]
3372 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3373
1cac7236
RM
3374 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3375 (write, read, close): Likewise.
3376 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3377
8e475601
JM
33782012-02-15 Joseph Myers <joseph@codesourcery.com>
3379
3380 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3381 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3382 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3383 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3384 <bits/signalfd.h>.
3385 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3386 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3387 bits/signalfd.h.
3388
ed656b40
MP
33892012-02-14 Marek Polacek <polacek@redhat.com>
3390
3391 * sysdeps/x86_64/crti.S: New file.
3392 * sysdeps/x86_64/crtn.S: New file.
3393 * sysdeps/x86_64/elf/initfini.c: Remove file.
3394
2a979d3a
JM
33952012-02-13 Joseph Myers <joseph@codesourcery.com>
3396
3397 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3398 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3399 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3400 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3401 <bits/inotify.h>.
3402 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3404 bits/inotify.h.
3405
2a418ac3
JM
34062012-02-13 Joseph Myers <joseph@codesourcery.com>
3407
3408 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3409 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3410 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3411 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3412 <bits/eventfd.h>.
3413 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3414 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3415 bits/eventfd.h.
3416
fb779be7
TS
34172012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3418
e19e83c5
RM
3419 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3420 __feraiseexcept instead of feraiseexcept.
7c35ffed 3421
fb779be7
TS
3422 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3423 nanosleep invocations.
3424 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3425 strings, and add error checking for a nanosleep invocations.
3426
59ba27a6
PE
34272012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3428
3429 Replace FSF snail mail address with URLs, as per GNU coding standards.
3430 Most of the snail mail addresses were wrong anyway, and omitting
3431 them makes the source code easier to maintain. Almost all of the
3432 changes are to license notices and to locale LC_IDENTIFICATION
3433 addresses, except for this one:
3434 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3435 not its snail mail address.
3436
57b957eb
RH
34372012-02-09 Richard Henderson <rth@twiddle.net>
3438
af850b1c
RH
3439 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3440 of kernel-features.h.
3441
57b957eb
RH
3442 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3443
6b73181a
MP
34442012-02-08 Marek Polacek <polacek@redhat.com>
3445
3446 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3447 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3448 * sysdeps/gnu/_G_config.h: Likewise.
3449 * sysdeps/generic/_G_config.h: Likewise.
3450
26ecc33a
AS
34512012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3452
6c6dbc63
AS
3453 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3454 tests.
3455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3456
e216c012
AS
3457 * sysdeps/powerpc/powerpc32/crti.S: New file.
3458 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3459 * sysdeps/powerpc/powerpc64/crti.S: New file.
3460 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3461
26ecc33a
AS
3462 * Makeconfig (have-initfini): Don't set.
3463 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3464 * configure.in (nopic_initfini): Don't substitute.
3465 * config.h.in (HAVE_INITFINI): Don't #undef.
3466 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3467 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3468
3add8e13
JM
34692012-02-08 Joseph Myers <joseph@codesourcery.com>
3470
3471 Support crti.S and crtn.S provided directly by architectures.
3472 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3473 [crti.S in sysdirs] (omit-deps): Likewise.
3474 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3475 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3476 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3477 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3478 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3479 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3480 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3481 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3482 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3483 compiler output for sysdeps/generic/initfini.c.
3484 * sysdeps/i386/elf/Makefile: Remove file.
3485 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3486
a22f12b4
MP
34872012-02-07 Marek Polacek <polacek@redhat.com>
3488
3489 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3490 * sysdeps/gnu/_G_config.h: Likewise.
3491 * sysdeps/mach/hurd/_G_config.h: Likewise.
3492
148cf100
MP
34932012-02-07 Marek Polacek <polacek@redhat.com>
3494
3495 * math/Makefile (tests): Add tst-CMPLX2.
3496 * math/tst-CMPLX2.c: New file.
3497
cfdc0dd7
AS
34982012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3499
84ba42c4
AS
3500 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3501
cfdc0dd7
AS
3502 * math/libm-test.inc (jn_test): Add missing L suffix.
3503
622c86f4
MP
35042012-02-06 Marek Polacek <polacek@redhat.com>
3505
3506 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3507 * sysdeps/i386/fpu/e_powf.S: Likewise.
3508 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3509 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3510 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3511 * sysdeps/i386/fpu/e_pow.S: Likewise.
3512 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3513 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3514 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3515 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3516 * sysdeps/i386/fpu/e_log2.S: Likewise.
3517 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3518 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3519 * sysdeps/i386/fpu/e_powl.S: Likewise.
3520 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3521 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3522 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3523 * sysdeps/i386/fpu/e_logl.S: Likewise.
3524 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3525 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3526 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3527 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3528 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3529 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3530 * sysdeps/i386/fpu/e_log.S: Likewise.
3531 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3532 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3533 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3534 * sysdeps/i386/fpu/e_logf.S: Likewise.
3535 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3536 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3537 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3538 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3539 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3540 * sysdeps/i386/fpu/e_log10.S: Likewise.
3541 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3542 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3543 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3544 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3545 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3546 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3547 * sysdeps/i386/asm-syntax.h: Likewise.
3548 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3549 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3550 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3551 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3552 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3553 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3554 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3555 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3556 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3557 * sysdeps/powerpc/sysdep.h: Likewise.
3558 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3559 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3560
d4a54ac6
JM
35612012-02-06 Joseph Myers <joseph@codesourcery.com>
3562
3563 [BZ #411]
3564 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3565
314054ea
JM
35662012-02-06 Joseph Myers <joseph@codesourcery.com>
3567
3568 * sysdeps/i386/sysdep.h: Include <features.h>.
3569 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3570 version.
3571
d8e0ca50
JM
35722012-02-05 Joseph Myers <joseph@codesourcery.com>
3573
3574 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3575 Define.
3576 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3577 LOAD_PIC_REG_STR.
3578
b1da7dd9
JM
35792012-02-03 Joseph Myers <joseph@codesourcery.com>
3580
3581 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3582 (SETUP_PIC_REG): Use GET_PC_THUNK.
3583 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3584 macro.
3585
9a1d9254
JM
35862012-02-03 Joseph Myers <joseph@codesourcery.com>
3587
3588 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3589 for non-PIC compilation.
3590 (SETUP_PIC_REG): Add .p2align directive.
3591 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3592 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3593 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3594 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3595 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3596 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3597 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3598 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3599 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3600 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3601 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3602 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3603 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3604 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3605 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3606 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3607 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3608 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3609 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3610 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3611 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3612 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3613 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3614 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3615 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3616 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3617 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3618 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3619 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3620 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3621 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3622 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3623 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3624 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3625 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3626 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3627 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3628 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3629 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3630 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3631 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3632
65dc3b75
JM
36332012-02-03 Joseph Myers <joseph@codesourcery.com>
3634
3635 * math/tst-CMPLX.c: Include <stdio.h>.
3636
d55bf177
JM
36372012-01-31 Joseph Myers <joseph@codesourcery.com>
3638
3639 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3640 float.
3641 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3642 * sysdeps/sparc/bits/mathdef.h: Likewise.
3643
69db4f8f
MP
36442012-01-31 Marek Polacek <polacek@redhat.com>
3645
3646 * libio/libio.h: Don't define _PARAMS.
3647 * locale/programs/config.h: Don't define PARAMS.
3648 * stdlib/strtol_l.c: Likewise.
3649 (__strtol_l): Remove PARAMS from the prototype.
3650
41b81892
UD
36512012-01-31 Ulrich Drepper <drepper@gmail.com>
3652
3b49edc0
UD
3653 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3654 names. Just use the correct names. Remove unnecessary wrapper
3655 functions.
3656 * malloc/arena.c: Likewise.
3657 * malloc/hooks.c: Likewise.
3658
41b81892
UD
3659 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3660 ARENA_TEST says not to. Simplify test for creation of a new arena.
3661 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3662
27a25b6e
UD
36632012-01-30 Ulrich Drepper <drepper@gmail.com>
3664
3665 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3666 into tail calls.
3667 (update_get_addr): New function.
3668 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3669 GET_ADDR_MODULE parameter.
3670
c8a89e7d
JM
36712012-01-30 Joseph Myers <joseph@codesourcery.com>
3672
3673 * crypt/cert.c: Remove __STDC__ conditionals.
3674 * crypt/crypt-entry.c: Likewise.
3675 * crypt/crypt_util.c: Likewise.
3676 * libio/filedoalloc.c: Likewise.
3677 * libio/fileops.c: Likewise.
3678 * libio/genops.c: Likewise.
3679 * libio/iofclose.c: Likewise.
3680 * libio/iofdopen.c: Likewise.
3681 * libio/iofopen.c: Likewise.
3682 * libio/iofopen64.c: Likewise.
3683 * libio/iogetdelim.c: Likewise.
3684 * libio/iopopen.c: Likewise.
3685 * libio/obprintf.c: Likewise.
3686 * libio/oldfileops.c: Likewise.
3687 * libio/oldiofclose.c: Likewise.
3688 * libio/oldiofdopen.c: Likewise.
3689 * libio/oldiofopen.c: Likewise.
3690 * libio/oldiopopen.c: Likewise.
3691 * libio/wfiledoalloc.c: Likewise.
3692 * libio/wgenops.c: Likewise.
3693 * locale/programs/xmalloc.c: Likewise.
3694 * misc/syslog.c: Likewise.
3695 * stdio-common/xbug.c: Likewise.
3696 * string/memchr.c: Likewise.
3697 * string/memcmp.c: Likewise.
3698 * string/memrchr.c: Likewise.
3699 * string/rawmemchr.c: Likewise.
3700 * sysdeps/posix/getcwd.c: Likewise.
3701 * time/strftime_l.c: Likewise.
3702
3b100462
JM
37032012-01-30 Joseph Myers <joseph@codesourcery.com>
3704
3705 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
3706 * config.make.in (config-cflags-sse2avx): Define.
3707 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3708 Fix typo.
3709
607998af
CM
37102012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3711
3712 * scripts/config.guess: Update from upstream config git repository.
3713 * scripts/config.sub: Likewise.
3714
3601428f
CM
37152012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3716
3ac8b282
CM
3717 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3718 (EM_NUM): Update.
3719 (R_TILEPRO_*, R_TILEGX_*): New macros.
3720
e034841e
CM
3721 * scripts/firstversions.awk: Fix bug in version range handling.
3722
540d7568
CM
3723 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3724
3601428f
CM
3725 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3726
463de862
CM
3727 * include/sys/epoll.h: New file.
3728 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3729 libc_hidden_def.
3730
73139a76
UD
37312012-01-28 Ulrich Drepper <drepper@gmail.com>
3732
96bc5b45
UD
3733 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3734 Avoid unnecessary __WORDSIZE == 64 test.
3735 (fmaxf): Use VEX format if possible.
3736 (fmax): Likewise.
3737 (fminf): Likewise.
3738 (fmin): Likewise.
3739
56f6f6a2
UD
3740 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3741 * math/math_private.h: Remove libc_fegetround* and
3742 libc_fesetround*.
3743 * sysdeps/i386/configure.in: Check for -msse2avx.
3744 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3745 also if SSE2AVX is defined.
3746 Remove libc_fegetround* and libc_fesetround*.
3747 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3748 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3749 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3750 of HAS_YMM_USABLE.
3751 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3752 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3753 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3754 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3755 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3756
73139a76
UD
3757 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3758
d73f93a4
AZ
37592012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3760
3761 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3762 size is not set.
3763 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3764
6ee65ed6
UD
37652012-01-27 Ulrich Drepper <drepper@gmail.com>
3766
3767 [BZ #13618]
3768 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3769 relocation.
3770 * Makeconfig (libm): Define.
3771 * elf/Makefile: Add rules to build and run tst-relsort1.
3772 * elf/tst-relsort1.c: New file.
3773 * elf/tst-relsort1mod1.c: New file.
3774 * elf/tst-relsort1mod2.c: New file.
3775
8db21882
JM
37762012-01-27 Joseph Myers <joseph@codesourcery.com>
3777
3778 * math/s_ldexp.c: Remove __STDC__ conditionals.
3779 * math/s_ldexpf.c: Likewise.
3780 * math/s_ldexpl.c: Likewise.
3781 * math/s_nextafter.c: Likewise.
3782 * math/s_nexttowardf.c: Likewise.
3783 * math/s_significand.c: Likewise.
3784 * math/s_significandf.c: Likewise.
3785 * math/s_significandl.c: Likewise.
3786 * math/w_jnl.c: Likewise.
3787 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3788 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3789 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3790 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3791 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3792 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3793 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3794 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3795 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3796 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3797 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3798 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3799 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3800 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3801 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3802 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3803 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3804 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3805 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3806 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3807 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3808 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3809 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3810 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3811 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3812 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3813 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3814 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3815 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3816 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3817 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3818 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3819 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3820 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3821 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3822 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3823 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3824 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3825 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3826 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3827 * sysdeps/ieee754/k_standard.c: Likewise.
3828 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3829 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3830 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3831 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3832 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3833 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3834 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3835 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3836 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3837 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3838 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3839 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3840 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3841 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3842 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3843 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3844 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3845 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3846 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3847 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3848 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3849 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3850 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3851 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3852 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3853 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3854 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3855 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3856 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3857 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3858 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3859 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3860 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3861 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3862 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3863 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3864 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3865 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3866 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3867 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3868 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3869 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3870 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3871 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3872 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3873 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3874 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3875 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3876 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3877 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3878 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3879 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3880 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3881 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3882 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3883 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3884 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3885 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3886 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3887 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3888 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3889 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3890 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3891 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3892 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3893 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3894 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3895 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3896 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3897 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3898 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3899 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3900 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3901 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3902 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3903 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3904 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3905 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3906 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3907 * sysdeps/ieee754/s_matherr.c: Likewise.
3908 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3909 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3910 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3911 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3912
965a54a4
JM
39132012-01-26 Joseph Myers <joseph@codesourcery.com>
3914
3915 * crypt/md5.h: Remove __STDC__ conditionals.
3916 * libio/libioP.h: Likewise.
3917 * locale/programs/config.h: Likewise.
3918 * sysdeps/generic/sysdep.h: Likewise.
3919 * sysdeps/i386/asm-syntax.h: Likewise.
3920 * sysdeps/s390/asm-syntax.h: Likewise.
3921 * sysdeps/unix/sysdep.h: Likewise.
3922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3924
7071ad79
JM
39252012-01-26 Joseph Myers <joseph@codesourcery.com>
3926
3927 * libio/libio.h: Remove __STDC__ conditionals.
3928 * malloc/obstack.h: Likewise.
3929 * math/complex.h: Likewise.
3930 * math/math.h: Likewise.
3931 * sysdeps/generic/_G_config.h: Likewise.
3932 * sysdeps/gnu/_G_config.h: Likewise.
3933 * sysdeps/mach/hurd/_G_config.h: Likewise.
3934 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3935 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3936 * sysdeps/sparc/bits/mathdef.h: Likewise.
3937
afc5ed09
UD
39382012-01-26 Ulrich Drepper <drepper@gmail.com>
3939
3940 [BZ #13583]
3941 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 3942 Clean up HAS_* macros.
afc5ed09 3943 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
3944 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3945 possible.
3946 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3947 HAS_AVX.
3948 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3949 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3950 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3951 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3952 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 3953
bdb6de1d
JM
39542012-01-25 Joseph Myers <joseph@codesourcery.com>
3955
3956 * elf/tst-unique3.cc (gets): Remove declaration.
3957 * elf/tst-unique3lib.cc (gets): Likewise.
3958 * elf/tst-unique3lib2.cc (gets): Likewise.
3959 * elf/tst-unique4.cc (gets): Likewise.
3960
b15549e6
UD
39612012-01-24 Ulrich Drepper <drepper@gmail.com>
3962
3963 * include/stdio.h: Add C++ protection. Add gets declarations and
3964 definitions.
3965 * debug/tst-chk1.c: Don't declare gets here.
3966 * stdio-common/tst-gets.c: Likewise.
3967
a037381f
JM
39682012-01-24 Joseph Myers <joseph@codesourcery.com>
3969
3970 * posix/glob: Remove directory.
3971
f1d4aa75
JM
39722012-01-24 Joseph Myers <joseph@codesourcery.com>
3973
3974 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3975
81c0c964
PT
39762012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3977
3978 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3979 of the non-standard EPFNOSUPPORT.
3980
0ea698ae
ST
39812011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3982
3983 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3984 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3985 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3986
d220b117
UD
39872012-01-21 Ulrich Drepper <drepper@gmail.com>
3988
3989 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3990
3e1aa84e
UD
39912012-01-20 Ulrich Drepper <drepper@gmail.com>
3992
3993 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3994 transient errors.
3995 * nscd/grpcache.c (cache_addgr): Likewise.
3996 * nscd/hstcache.c (cache_addhst): Likewise.
3997 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3998 * nscd/pwdcache.c (cache_addpw): Likewise.
3999 * nscd/servicescache.c (cache_addserv): Likewise.
4000
400aa020
UD
40012012-01-16 Ulrich Drepper <drepper@gmail.com>
4002
d77e7869
UD
4003 * malloc/malloc.c: Various cleanups.
4004 * malloc/hooks.c: Likewise.
4005
400aa020
UD
4006 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4007 * stdlib/bug-fmtmsg1.c: New file.
4008
4009 * stdlib/fmtmsg.c (init): Add missing unlock.
4010 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4011
e0a309cf
MP
40122012-01-12 Marek Polacek <polacek@redhat.com>
4013
4014 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4015 and _GNU_SOURCE.
4016
929d11c7
WS
40172012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4018
4019 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4020 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4021 macro to ensure uniqueness of label name.
4022 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4023 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4024
41d0e869
UD
40252012-01-11 Ulrich Drepper <drepper@gmail.com>
4026
0cc5ed3b
UD
4027 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4028
41d0e869
UD
4029 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4030 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4031 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4032 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4033
a47a831a
UD
40342012-01-10 Ulrich Drepper <drepper@gmail.com>
4035
daa891c0
UD
4036 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4037
4038 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4039 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4040 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4041
e58ef0f2
UD
4042 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4043
a47a831a 4044 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
4045 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4046 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 4047 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
4048
4049 * math/bits/math-finite.h: Add ldexp support.
4050
a0bfc9c7
MP
40512012-01-10 Marek Polacek <polacek@redhat.com>
4052
4053 * locale/programs/localedef.h (show_archive_content): Add noreturn
4054 attribute.
4055
d6e97a1d
UD
40562012-01-09 Ulrich Drepper <drepper@gmail.com>
4057
4058 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4059
d5835c26
UD
40602012-01-08 Ulrich Drepper <drepper@gmail.com>
4061
e5f484c6
UD
4062 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4063
d5835c26
UD
4064 * io/Makefile (headers): Add bits/poll2.h.
4065
d1f741e9
WS
40662011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4067
4068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4069 typo #include statement.
4070
ec09c1c4
UD
40712012-01-08 Ulrich Drepper <drepper@gmail.com>
4072
4073 * include/sys/cdefs.h: Define __attribute_alloc_size.
4074 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4075 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4076 * elf/pldd.c: Likewise.
4077 * iconv/iconv_charmap.c: Likewise.
4078 * iconv/iconvconfig.c: Likewise.
4079 * iconv/strtab.c: Likewise.
4080 * locale/programs/locale.c: Likewise.
4081 * locale/programs/localedef.h: Likewise.
4082 * locale/programs/simple-hash.c: Likewise.
4083 * nscd/nscd.h: Likewise.
4084 * nss/makedb.c: Likewise.
4085 * sysdeps/generic/ldconfig.h: Likewise.
4086 * locale/programs/localedef.c: Remove xmalloc prototype.
4087 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4088
20b38e03
PP
40892012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4090
4091 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4092 appropriate.
4093
a0da5fe1
UD
40942012-01-08 Ulrich Drepper <drepper@gmail.com>
4095
1d5a644a 4096 * math/Makefile (tests): Add tst-CMPLX.
669704fd 4097 * math/tst-CMPLX.c: New file.
1d5a644a 4098
8784a6db
UD
4099 * math/complex.h (CMPLXL): Fix typo.
4100
d9a216c0
UD
4101 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4102 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4103 GLIBC_2.16.
4104 * debug/tst-chk1.c: Add poll and ppoll tests.
4105 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4106 * include/sys/poll.h: Add hidden proto for ppoll.
4107 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4108 * sysdeps/mach/hurd/ppoll.c: Likewise.
4109 * io/ppoll.c: Likewise.
4110 * debug/poll_chk.c: New file.
4111 * debug/ppoll_chk.c: New file.
4112 * include/bits/poll2.h: New file.
4113 * io/bits/poll2.h: New file.
4114
ac097f5c
UD
4115 [BZ #1350]
4116 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4117
2119dcfa
UD
4118 * configure.in: static is always set to yes. Remove.
4119 * config.make.in: Don't set build-static.
4120 * Makeconfig: Remove use of build-static.
4121 * dlfcn/Makefile: Likewise.
4122 * elf/Makefile: Likewise.
4123 * math/Makefile: Likewise.
4124 * misc/Makefile: Likewise.
4125 * nptl/Makefile: Likewise.
4126 * sysdeps/mach/hurd/Makefile: Likewise.
4127
121766a9
UD
4128 * configure.in: PWD_P is not used anymore.
4129 * config.make.in: Remove PWD_P entry.
4130
51a1d39c 4131 * configure.in: Remove last remnants of RANLIB.
8720d066 4132 No need to check for signed size_t anymore.
215f4bdc
UD
4133 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4134 and IA-64.
3857022a 4135 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
4136 * aclocal.m4: Likewise.
4137
d3ed7225
UD
4138 * wcsmbs/mbrtoc16.c: Implement using towc function.
4139 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4140 * wcsmbs/wcsmbsload.c: Likewise.
4141 * iconv/gconv_simple.c: Likewise.
4142 * iconv/gconv_int.h: Likewise.
4143 * iconv/gconv_builtin.h: Likewise.
4144 * iconv/iconv_prog.c: Remove CHAR16 handling.
4145
4146 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4147
4148 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4149
a0da5fe1
UD
4150 * configure.in: Remove --with-elf and --enable-bounded options.
4151 Dont set base_machine for ia64. More non-ELF conditions removed.
4152 Remove testing and setting of leading underscore information.
4153 * config.make.in (build-bounded): Set to no.
4154 * config.h.in: Remove NO_UNDERSCORES entry.
4155 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4156 them.
4157 * csu/start.c: Remove !NO_UNDERSCORE code.
4158 * locale/localeinfo.h: Likewise.
4159 * sysdeps/generic/machine-gmon.h: Likewise.
4160 * sysdeps/generic/sysdep.h: Likewise.
4161 * sysdeps/i386/sysdep.h: Likewise.
4162 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4163 * sysdeps/mach/sysdep.h: Likewise.
4164 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4165 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4166 * sysdeps/sh/sysdep.h: Likewise.
4167 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4168 * sysdeps/unix/i386/sysdep.S: Likewise.
4169 * sysdeps/unix/sparc/start.c: Likewise.
4170 * sysdeps/unix/sparc/sysdep.S: Likewise.
4171 * sysdeps/unix/sparc/sysdep.h: Likewise.
4172 * sysdeps/unix/start.c: Likewise.
4173 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4174 * sysdeps/x86_64/sysdep.h: Likewise.
4175
df78418a
UD
41762012-01-07 Ulrich Drepper <drepper@gmail.com>
4177
a784e502
UD
4178 [BZ #13553]
4179 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4180 for non-gcc.
4181 * argp/argp-fmtstream.h: Use const instead __const.
4182 * argp/argp.h: Likewise.
4183 * assert/assert.h: Likewise.
4184 * bits/fenv.h: Likewise.
4185 * bits/sched.h: Likewise.
4186 * bits/sigset.h: Likewise.
4187 * bits/sigthread.h: Likewise.
4188 * catgets/nl_types.h: Likewise.
4189 * conform/data/pthread.h-data: Likewise.
4190 * crypt/crypt-private.h: Likewise.
4191 * crypt/crypt.h: Likewise.
4192 * crypt/crypt_util.c: Likewise.
4193 * ctype/ctype.h: Likewise.
4194 * debug/execinfo.h: Likewise.
4195 * debug/mbsnrtowcs_chk.c: Likewise.
4196 * debug/mbsrtowcs_chk.c: Likewise.
4197 * debug/wcsnrtombs_chk.c: Likewise.
4198 * debug/wcsrtombs_chk.c: Likewise.
4199 * debug/wcstombs_chk.c: Likewise.
4200 * dirent/dirent.h: Likewise.
4201 * dlfcn/dlfcn.h: Likewise.
4202 * elf/neededtest4.c: Likewise.
4203 * grp/grp.h: Likewise.
4204 * gshadow/gshadow.h: Likewise.
4205 * iconv/gconv.h: Likewise.
4206 * iconv/gconv_int.h: Likewise.
4207 * iconv/gconv_simple.c: Likewise.
4208 * iconv/iconv.h: Likewise.
4209 * iconv/loop.c: Likewise.
4210 * iconv/skeleton.c: Likewise.
4211 * include/aio.h: Likewise.
4212 * include/aliases.h: Likewise.
4213 * include/argz.h: Likewise.
4214 * include/arpa/inet.h: Likewise.
4215 * include/assert.h: Likewise.
4216 * include/dirent.h: Likewise.
4217 * include/dlfcn.h: Likewise.
4218 * include/execinfo.h: Likewise.
4219 * include/fcntl.h: Likewise.
4220 * include/fenv.h: Likewise.
4221 * include/glob.h: Likewise.
4222 * include/grp.h: Likewise.
4223 * include/libintl.h: Likewise.
4224 * include/mntent.h: Likewise.
4225 * include/netdb.h: Likewise.
4226 * include/pwd.h: Likewise.
4227 * include/rpc/netdb.h: Likewise.
4228 * include/sched.h: Likewise.
4229 * include/search.h: Likewise.
4230 * include/shadow.h: Likewise.
4231 * include/signal.h: Likewise.
4232 * include/stdio.h: Likewise.
4233 * include/stdlib.h: Likewise.
4234 * include/string.h: Likewise.
4235 * include/sys/socket.h: Likewise.
4236 * include/sys/stat.h: Likewise.
4237 * include/sys/statfs.h: Likewise.
4238 * include/sys/statvfs.h: Likewise.
4239 * include/sys/syslog.h: Likewise.
4240 * include/sys/time.h: Likewise.
4241 * include/sys/uio.h: Likewise.
4242 * include/time.h: Likewise.
4243 * include/unistd.h: Likewise.
4244 * include/utmp.h: Likewise.
4245 * include/wchar.h: Likewise.
4246 * include/wctype.h: Likewise.
4247 * inet/aliases.h: Likewise.
4248 * inet/arpa/inet.h: Likewise.
4249 * inet/netinet/ether.h: Likewise.
4250 * inet/netinet/in.h: Likewise.
4251 * intl/libintl.h: Likewise.
4252 * io/bits/fcntl2.h: Likewise.
4253 * io/fcntl.h: Likewise.
4254 * io/ftw.h: Likewise.
4255 * io/sys/poll.h: Likewise.
4256 * io/sys/stat.h: Likewise.
4257 * io/sys/statfs.h: Likewise.
4258 * io/sys/statvfs.h: Likewise.
4259 * io/utime.h: Likewise.
4260 * libio/bits/stdio.h: Likewise.
4261 * libio/bits/stdio2.h: Likewise.
4262 * libio/libio.h: Likewise.
4263 * libio/libioP.h: Likewise.
4264 * libio/stdio.h: Likewise.
4265 * locale/lc-ctype.c: Likewise.
4266 * locale/locale.h: Likewise.
4267 * login/utmp.h: Likewise.
4268 * malloc/arena.c: Likewise.
4269 * malloc/malloc.c: Likewise.
4270 * malloc/malloc.h: Likewise.
4271 * malloc/mcheck.c: Likewise.
4272 * malloc/mtrace.c: Likewise.
4273 * math/bits/mathcalls.h: Likewise.
4274 * math/fenv.h: Likewise.
4275 * math/math_private.h: Likewise.
4276 * misc/bits/error.h: Likewise.
4277 * misc/bits/syslog.h: Likewise.
4278 * misc/err.h: Likewise.
4279 * misc/error.h: Likewise.
4280 * misc/fstab.h: Likewise.
4281 * misc/mntent.h: Likewise.
4282 * misc/regexp.h: Likewise.
4283 * misc/search.h: Likewise.
4284 * misc/sgtty.h: Likewise.
4285 * misc/sys/mman.h: Likewise.
4286 * misc/sys/syslog.h: Likewise.
4287 * misc/sys/uio.h: Likewise.
4288 * misc/sys/xattr.h: Likewise.
4289 * misc/ttyent.h: Likewise.
4290 * nis/rpcsvc/ypclnt.h: Likewise.
4291 * nss/nss.h: Likewise.
4292 * posix/bits/unistd.h: Likewise.
4293 * posix/fnmatch.h: Likewise.
4294 * posix/glob.h: Likewise.
4295 * posix/sched.h: Likewise.
4296 * posix/spawn.h: Likewise.
4297 * posix/sys/wait.h: Likewise.
4298 * posix/unistd.h: Likewise.
4299 * posix/wordexp.h: Likewise.
4300 * pwd/pwd.h: Likewise.
4301 * resolv/netdb.h: Likewise.
4302 * resource/sys/resource.h: Likewise.
4303 * rt/aio.h: Likewise.
4304 * rt/bits/mqueue2.h: Likewise.
4305 * rt/mqueue.h: Likewise.
4306 * shadow/shadow.h: Likewise.
4307 * signal/signal.h: Likewise.
4308 * socket/send.c: Likewise.
4309 * socket/sendto.c: Likewise.
4310 * socket/sys/socket.h: Likewise.
4311 * stdio-common/printf.h: Likewise.
4312 * stdlib/bits/stdlib.h: Likewise.
4313 * stdlib/fmtmsg.h: Likewise.
4314 * stdlib/monetary.h: Likewise.
4315 * stdlib/stdlib.h: Likewise.
4316 * stdlib/ucontext.h: Likewise.
4317 * streams/stropts.h: Likewise.
4318 * string/argz.h: Likewise.
4319 * string/bits/string2.h: Likewise.
4320 * string/string.h: Likewise.
4321 * string/strings.h: Likewise.
4322 * sunrpc/rpc/auth.h: Likewise.
4323 * sunrpc/rpc/auth_des.h: Likewise.
4324 * sunrpc/rpc/clnt.h: Likewise.
4325 * sunrpc/rpc/netdb.h: Likewise.
4326 * sunrpc/rpc/pmap_clnt.h: Likewise.
4327 * sunrpc/rpc/xdr.h: Likewise.
4328 * sysdeps/generic/inttypes.h: Likewise.
4329 * sysdeps/generic/net/if.h: Likewise.
4330 * sysdeps/generic/sys/swap.h: Likewise.
4331 * sysdeps/gnu/net/if.h: Likewise.
4332 * sysdeps/gnu/utmpx.h: Likewise.
4333 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4334 * sysdeps/i386/i486/bits/string.h: Likewise.
4335 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4336 * sysdeps/s390/bits/string.h: Likewise.
4337 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4338 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4339 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4340 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4341 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4342 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4343 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4344 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4345 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4346 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4347 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4348 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4349 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4350 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4351 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4352 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4353 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4354 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4355 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4356 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4357 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4358 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4359 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4360 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4361 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4362 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4363 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4364 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4365 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4366 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4367 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4368 * sysvipc/sys/ipc.h: Likewise.
4369 * sysvipc/sys/msg.h: Likewise.
4370 * sysvipc/sys/sem.h: Likewise.
4371 * sysvipc/sys/shm.h: Likewise.
4372 * termios/termios.h: Likewise.
4373 * time/sys/time.h: Likewise.
4374 * time/time.h: Likewise.
4375 * wcsmbs/bits/wchar2.h: Likewise.
4376 * wcsmbs/uchar.h: Likewise.
4377 * wcsmbs/wchar.h: Likewise.
4378 * wctype/wctype.h: Likewise.
4379
0269750c
UD
4380 [BZ #13551]
4381 * Makeconfig: Remove all but ELF support including AIX support.
4382 * Makerules: Likewise.
4383 * config.h.in: Likewise.
4384 * config.make.in: Likewise.
4385 * configure: Likewise.
4386 * configure.in: Likewise.
4387 * csu/Makefile: Likewise.
4388 * csu/version.c: Likewise.
4389 * debug/Makefile: Likewise.
4390 * dlfcn/Makefile: Likewise.
4391 * elf/Makefile: Likewise.
4392 * extra-lib.mk: Likewise.
4393 * iconv/Makefile: Likewise.
4394 * include/libc-symbols.h: Likewise.
4395 * include/shlib-compat.h: Likewise.
4396 * resolv/Makefile: Likewise.
4397 * resolv/res_libc.c: Likewise.
4398 * rt/Makefile: Likewise.
4399 * sysdeps/i386/asm-syntax.h: Likewise.
4400 * sysdeps/i386/sysdep.h: Likewise.
4401 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4402 * sysdeps/mach/sysdep.h: Likewise.
4403 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4404 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4405 * sysdeps/s390/asm-syntax.h: Likewise.
4406 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4407 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4408 * sysdeps/sh/sysdep.h: Likewise.
4409 * sysdeps/unix/sparc/sysdep.h: Likewise.
4410 * sysdeps/wordsize-32/divdi3.c: Likewise.
4411 * sysdeps/x86_64/sysdep.h: Likewise.
4412
00bbd29b
UD
4413 * argp/Versions: Remove _argp_unlock_xxx.
4414
4415 [BZ #13559]
4416 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4417 * abilist/libBrokenLocale.abilist: Likewise.
4418 * abilist/libanl.abilist: Likewise.
4419 * abilist/libc.abilist: Likewise.
4420 * abilist/libcrypt.abilist: Likewise.
4421 * abilist/libdl.abilist: Likewise.
4422 * abilist/libm.abilist: Likewise.
4423 * abilist/libnsl.abilist: Likewise.
4424 * abilist/libpthread.abilist: Likewise.
4425 * abilist/libresolv.abilist: Likewise.
4426 * abilist/librt.abilist: Likewise.
4427 * abilist/libthread_db.abilist: Likewise.
4428 * abilist/libutil.abilist: Likewise.
4429 * abilist/libnss_db.abilist: New file.
4430
4431 * scripts/abilist.awk: Add support for indirect functions.
4432
a2693a0e
UD
4433 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4434
3f05895f
UD
4435 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4436
ecb6fb48
UD
4437 * shlib-versions: Remove entries for ports architectures.
4438
664f8cb9
UD
4439 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4440 files in ports.
4441 * elf/stackguard-macros.h: Remove support for IA-64.
4442 * elf/tst-auditmod1.c: Likewise.
4443 * sysdeps/generic/ldsodefs.h: Likewise.
4444
7ae81d88
UD
4445 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4446 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4447 configure files.
4448
bdeba135
UD
4449 [BZ #13552]
4450 * configure.in: Remove --enable-omitfp support.
4451 * FAQ.in: Adjust.
4452 * config.make.in: Likewise.
4453 * Makeconfig: Likewise.
4454 * manual/install.texi: Likewise.
4455
d75a0a62
UD
4456 In case anyone cares, the IA-64 architecture could move to ports.
4457 * sysdeps/ia64/*: Removed.
4458 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 4459 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 4460
dcc9756b
UD
4461 [BZ #13555]
4462 * configure.in: Remove entries for unsupported architectures.
4463
d3761ebc 4464 [BZ #13533]
9954432e
UD
4465 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4466 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4467 routines.
4468 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4469 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4470 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4471 fall back to using wcrtomb.
4472 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4473 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4474 renaming.
4475 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4476 * wcsmbs/tst-c16c32-1.c: New file.
4477
4478 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4479 local variable.
4480
c3a87236
UD
4481 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4482
28926a1b
UD
4483 * elf/tst-unique3.cc: Add explicit declaration of gets.
4484 * elf/tst-unique3lib.cc: Likewise.
4485 * elf/tst-unique3lib2.cc: Likewise.
4486 * elf/tst-unique4.cc: Likewise.
4487
df78418a
UD
4488 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4489
8ecd6b2a
JM
44902012-01-06 Joseph Myers <joseph@codesourcery.com>
4491
4492 [BZ #13566]
4493 * assert/assert.h (static_assert): Don't define for C++.
4494 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4495 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4496
9f115170
UD
44972012-01-03 Ulrich Drepper <drepper@gmail.com>
4498
5e0d0300
UD
4499 * iconv/loop.c (single loop): Fix assertion in storing of
4500 remaining bytes.
4501
9f115170
UD
4502 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4503
81fb02b0
UD
45042012-01-01 Ulrich Drepper <drepper@gmail.com>
4505
4506 * posix/getconf.c: Update copyright year.
4507 * nss/getent.c: Likewise.
a316c1f6 4508 * nss/makedb.c: Likewise.
81fb02b0
UD
4509 * iconv/iconvconfig.c: Likewise.
4510 * iconv/iconv_prog.c: Likewise.
4511 * elf/ldconfig.c: Likewise.
a316c1f6
UD
4512 * elf/pldd.c: Likewise.
4513 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
4514 * catgets/gencat.c: Likewise.
4515 * csu/version.c: Likewise.
4516 * elf/ldd.bash.in: Likewise.
4517 * elf/sprof.c (print_version): Likewise.
4518 * locale/programs/locale.c: Likewise.
4519 * locale/programs/localedef.c: Likewise.
a316c1f6 4520 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4521 * nscd/nscd.c (print_version): Likewise.
4522 * debug/xtrace.sh: Likewise.
4523 * malloc/memusage.sh: Likewise.
4524 * malloc/mtrace.pl: Likewise.
4525 * debug/catchsegv.sh: Likewise.
4526
2ba92745
JJ
45272011-12-30 Jakub Jelinek <jakub@redhat.com>
4528
4529 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4530 pure attribute.
4531
dadebdae
UD
45322011-12-24 Ulrich Drepper <drepper@gmail.com>
4533
d3761ebc 4534 [BZ #13533]
db6af3eb
UD
4535 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4536 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4537 transformations.
4538 * iconv/gconv_int.h: Likewise.
4539 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4540 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4541 from libc for GLIBC_2.16.
4542 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4543 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4544 * wcsmbs/uchar.h: Really define mbstate_t.
4545 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4546 * wcsmbs/c16rtomb.c: New file.
4547 * wcsmbs/mbrtoc16.c: New file.
4548 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4549 for C/POSIX locale.
4550 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4551 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4552
dadebdae
UD
4553 * wcsmbs/wchar.h: Add missing __restrict.
4554
67371b56
UD
45552011-12-23 Ulrich Drepper <drepper@gmail.com>
4556
74033a25
UD
4557 [BZ #13532]
4558 * time/Makefile (routines): Add timespec_get.
4559 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4560 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4561 timespec for ISO C11.
4562 * time/timespec_get.c: New file.
4563 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4564 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4565
380d7e87
UD
4566 [BZ #13531]
4567 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4568 * stdlib/stdlib.h: Declare aligned_alloc.
4569 * Versions.def: Add GLIBC_2.16 for libc.
4570 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4571
4e9e7a35
UD
4572 [BZ 13527]
4573 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4574 ISO C11.
4575
380d7e87 4576 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
4577 code.
4578
03a71829
UD
4579 [BZ #13528]
4580 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4581
839e283e
UD
4582 [BZ #13529]
4583 * assert/assert.h (static_assert): Define.
4584
ce5294e2 4585 * version.h: Update for 2.16 development version.
90fa7312 4586
8d44e150 4587 [BZ #13526]
d7809905
UD
4588 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4589 _ISOC11_SOURCE.
4590
c0da14cd
UD
4591 * version.h (RELEASE): Bump for 2.15 release.
4592 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4593
530a3249
MP
4594 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4595 Patch by Marek Polacek <mpolacek@redhat.com>.
4596
67371b56
UD
4597 * bits/byteswap.h: Protect long long constants with __extension__.
4598 * sysdeps/i386/bits/byteswap.h: Likewise.
4599 * sysdeps/ia64/bits/byteswap.h: Likewise.
4600 * sysdeps/s390/bits/byteswap.h: Likewise.
4601 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4602
15db4de1
LD
46032011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4604
4605 [BZ #13540]
bbe315ea
LD
4606 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4607 destination buffer.
15db4de1
LD
4608 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4609
2b2596b1
MP
46102011-12-23 Marek Polacek <polacek@redhat.com>
4611
4612 * elf/dl-addr.c (determine_info): Add inline keyword.
4613 * elf/tst-auditmod4b.c (check_avx): Likewise.
4614 * elf/tst-auditmod6b.c (check_avx): Likewise.
4615 * elf/tst-auditmod6c.c (check_avx): Likewise.
4616 * elf/tst-auditmod7b.c (check_avx): Likewise.
4617
70c6c246
UD
46182011-12-23 Ulrich Drepper <drepper@gmail.com>
4619
4620 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4621 !__SSE_MATH__.
4622
c044cf14
LD
46232011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4624
15db4de1 4625 [BZ #13540]
c044cf14
LD
4626 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4627 processing for last bytes.
4628
6b13d9d9
BH
46292011-08-06 Bruno Haible <bruno@clisp.org>
4630
d455f537
BH
4631 [BZ #13061]
4632 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4633 U+0385, not to U+1FEE.
4634
6b13d9d9
BH
4635 [BZ #13062]
4636 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4637 entry for U+00A5 U+0301.
4638
db910efd
UD
46392011-12-22 Ulrich Drepper <drepper@gmail.com>
4640
27deeafc
UD
4641 [BZ #13166]
4642 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4643 buffer for the output is too small.
4644
aed9d171
UD
4645 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4646 optimization.
4647
db910efd
UD
4648 [BZ #13185]
4649 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4650 SSE flags if possible.
4651
2bd779ae
LD
46522011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4653
e7f9dac3 4654 [BZ #13540]
2bd779ae
LD
4655 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4656 processing for last bytes.
4657
154bfc16
JM
46582011-12-22 Joseph Myers <joseph@codesourcery.com>
4659
4660 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4661 (syscall-list-default-options, syscall-list-default-condition)
4662 (syscall-list-includes): Define.
4663 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4664 list of ABIs and options and #if conditions for each ABI. Do not
4665 handle common syscalls between ABIs specially.
4666 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4667 Remove.
4668 (syscall-list-variants, syscall-list-32bit-options)
4669 (syscall-list-32bit-condition, syscall-list-64bit-options)
4670 (syscall-list-64bit-condition): Define.
4671 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4672 (syscall-list-variants, syscall-list-32bit-options)
4673 (syscall-list-32bit-condition, syscall-list-64bit-options)
4674 (syscall-list-64bit-condition): Define.
4675 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4676 Remove.
4677 (syscall-list-variants, syscall-list-32bit-options)
4678 (syscall-list-32bit-condition, syscall-list-64bit-options)
4679 (syscall-list-64bit-condition): Define.
4680 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4681 Remove.
4682 (syscall-list-variants, syscall-list-32bit-options)
4683 (syscall-list-32bit-condition, syscall-list-64bit-options)
4684 (syscall-list-64bit-condition): Define.
4685
21eaf3a5
UD
46862011-12-22 Ulrich Drepper <drepper@gmail.com>
4687
16c6f992
UD
4688 * locale/iso-639.def: Add brx entry.
4689
41043168
UD
4690 [BZ #13328]
4691 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4692 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4693
21eaf3a5
UD
4694 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4695 __feraiseexcept_renamed.
4696
e3a851a2
UD
46972011-12-21 Ulrich Drepper <drepper@gmail.com>
4698
4920765e
UD
4699 [BZ #13538]
4700 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4701 EPOLLET with unsigned values.
4702 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4703 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4704
e3a851a2
UD
4705 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4706 to large cancellation.
4707 * math/s_cacoshf.c: Likewise.
4708 * math/s_cacoshl.c: Likewise.
4709
b27e24b8
RK
47102011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4711
4712 [BZ #13305]
aebefeee 4713 [BZ #12786]
b27e24b8
RK
4714 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4715 * math/s_cacoshf.c: Likewise.
4716 * math/s_cacoshl.c: Likewise.
4717
ee190f67
UD
47182011-12-21 Ulrich Drepper <drepper@gmail.com>
4719
4720 [BZ #13439]
4721 * iconv/gconv.h: Define __GCONV_SWAP.
4722 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4723 * iconvdata/utf-16.c: Likewise.
4724 * iconvdata/utf-32.c: Likewise.
4725
707f25df
AS
47262011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4727
4728 [BZ #13524]
4729 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4730 numerator after shifting it by one limb.
4731
d2daaa1e
RÁE
47322011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4733
4734 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4735 under [__USE_EXTERN_INLINES].
4736
a4647e72
UD
47372011-12-17 Ulrich Drepper <drepper@gmail.com>
4738
4739 [BZ #13446]
4740 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4741
f0b264f1
AZ
47422011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4743
4744 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4745 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4746 optimized code.
4747 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4748 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4749 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4750 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4751 for strncasecmp/strncasecmp_l compilation.
4752 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4753 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4754
8ef4f244
MP
47552011-12-08 Marek Polacek <mpolacek@redhat.com>
4756
4757 [BZ #13484]
4758 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4759 of __asm__.
4760
97ac2654
UD
47612011-12-17 Ulrich Drepper <drepper@gmail.com>
4762
4763 [BZ #13506]
4764 * time/tzfile.c (__tzfile_read): Check values from file header.
4765
91d2a845
WS
47662011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4767
4768 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4769 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4770 * powerpc/powerpc32/dl-start.S: Likewise.
4771 * powerpc/powerpc32/elf/start.S: Likewise.
4772 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4773 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4774 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4775 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4776 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4777 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4778 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4779 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4780 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4781 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4782 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4783 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4784 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4785 * powerpc/powerpc32/memset.S: Likewise.
4786 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4787 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4788 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4789 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4790 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4791 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4792 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4793 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4794 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4795 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4796 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4797 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4798 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4799
a1267ba1
AZ
48002011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4801
4802 * math/libm-test.inc: Added more nearbyint tests.
4803 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4804 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4805 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4806 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4807
ad8ac1bd
RL
48082011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4809
4810 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4811 FD_CLOEXEC.
4812
1d3e4b61
UD
48132011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4814
4815 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4816 Add wcscpy-ssse3 wcscpy-c.
4817 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4818 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4819 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4820 * sysdeps/x86_64/wcschr.S: New file.
4821 * sysdeps/x86_64/wcsrchr.S: New file.
4822 * string/test-strcmp.c: Remove checking of wcscmp function for
4823 wrong alignments.
4824 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4825 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4826 wcsrchr-sse2 wcsrchr-c.
4827 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4828 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4829 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4830 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4831 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4832 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4833 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4834 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4835 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4836 * wcsmbc/wcschr.c (WCSCHR): New macro.
4837
5b330a2d
UD
48382011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4839
4840 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4841 * wcsmbs/test-wcsrchr.c: New file.
4842 * string/test-strrchr.c: Add wcsrchr support.
4843 (WIDE): New macro.
4844 * wcsmbs/test-wcscpy.c: New file.
4845 * string/test-strcpy.c: Add wcscpy support.
4846 (WIDE): New macro.
26428b7c 4847
f039c043
UD
48482011-12-10 Ulrich Drepper <drepper@gmail.com>
4849
4850 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4851 the inner loop.
4852
850fb039
AS
48532011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4854
4855 [BZ #13472]
4856 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4857
4efbd5cb
UD
48582011-12-04 Ulrich Drepper <drepper@gmail.com>
4859
52ff5dd0 4860 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 4861 Minor optimizations.
52ff5dd0 4862
4efbd5cb
UD
4863 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4864 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4865 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4866
8a426e12
UD
48672011-12-03 Ulrich Drepper <drepper@gmail.com>
4868
aff2453d
UD
4869 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4870 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4871 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4872 for gcc to avoid warnings.
4873 * inet/Makefile (tests): Add tst-checks.
4874 * inet/tst-checks.c: New file.
4875
4876 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4877 warning.
4878
4879 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4880 __wmemcmp_sse2.
4881
4882 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4883 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4884
8a426e12
UD
4885 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4886
9bea3473
UD
48872011-12-02 Ulrich Drepper <drepper@gmail.com>
4888
3a965496
UD
4889 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4890 problem.
4891
9bea3473
UD
4892 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4893
f101631b
UD
48942011-11-29 Joseph Myers <joseph@codesourcery.com>
4895
4896 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4897 conditional on GCC version.
4898 (__arch_compare_and_exchange_val_8_acq)
4899 (__arch_compare_and_exchange_val_16_acq)
4900 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4901 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4902 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4903
a98275aa
UD
49042011-12-02 Joseph Myers <joseph@codesourcery.com>
4905
4906 * sysdeps/sh/backtrace.c: New file.
4907
d4cc29a2
AS
49082011-12-02 Andreas Schwab <schwab@redhat.com>
4909
4910 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4911 parenthesis.
4912
6257af2d
AS
49132011-12-01 Andreas Schwab <schwab@redhat.com>
4914
4915 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4916 falling back to utime.
4917
b5f44c1a
AS
49182011-11-30 Andreas Schwab <schwab@redhat.com>
4919
4920 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4921 expectations for float.
4922
f3a6cc0a
AS
49232011-11-29 Andreas Schwab <schwab@redhat.com>
4924
4925 * locale/weight.h (findidx): Add parameter len.
4926 * locale/weightwc.h (findidx): Likewise.
4927 * posix/fnmatch_loop.c (FCT): Adjust caller.
4928 * posix/regcomp.c (build_equiv_class): Likewise.
4929 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4930 * posix/regexec.c (check_node_accept_bytes): Likewise.
4931 * string/strcoll_l.c (STRCOLL): Likewise.
4932 * string/strxfrm_l.c (STRXFRM): Likewise.
4933
9d65ea3a
UD
49342011-11-17 Ulrich Drepper <drepper@gmail.com>
4935
4936 * Makefile.in: Remove CVSOPT handling.
4937 * configure.in: Remove use of AC_REVISION.
4938 * iconvdata/Makefile (distribute): No need to filter out CVS.
4939 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4940 handling.
4941
5583a086
AS
49422011-11-16 Andreas Schwab <schwab@redhat.com>
4943
4944 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4945 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4946 [USE_AS_STRNCASECMP_L]: Likewise.
4947 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4948 NO_TLS_DIRECT_SEG_REFS.
4949 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4950 Fix argument offsets for non-PIC.
4951 [USE_AS_STRNCASECMP_L]: Likewise.
4952 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4953 NO_TLS_DIRECT_SEG_REFS.
4954
d62a8200
UD
49552011-11-15 Ulrich Drepper <drepper@gmail.com>
4956
9d65ea3a 4957 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
4958 O_CLOEXEC.
4959 * locale/loadlocale.c (_nl_load_locale): Likewise.
4960
09f93bd3
AS
49612011-11-15 Andreas Schwab <schwab@redhat.com>
4962
446514f9
AS
4963 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4964 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4965 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4966 (SYSCALL_GETTIME): Set errno on error.
4967
09f93bd3
AS
4968 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4969 count references to noai6ai_cached.
4970
312be3f9
UD
49712011-11-15 Ulrich Drepper <drepper@gmail.com>
4972
4973 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4974
4975 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4976 FD_CLOEXEC for /proc/self/maps.
4977
4978 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4979 FD_CLOEXEC for /proc/meminfo.
4980
4981 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4982 gai.conf.
4983
4984 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4985 FD_CLOEXEC for given file.
4986
4987 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4988
4989 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4990 FD_CLOEXEC for /etc/hosts.
4991 (_gethtent): Likewise.
4992
4993 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4994
4995 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4996 cancellation and set FD_CLOEXEC for /etc/netgroup.
4997
4998 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4999 reading /etc/publickey.
5000
5001 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5002 allow cancellation when reading /etc/group.
5003
5004 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5005 cancellation.
5006 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5007
5008 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5009 when using data file.
5010
5011 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5012
5013 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5014 (write_nis_obj): Use "c" and "e" in fopen.
5015
5016 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5017
5018 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5019
5020 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5021
5022 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5023
5024 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5025 locale.alias.
5026
5027 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5028
5029 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5030
5031 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5032
5033 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5034 file parsing and set FD_CLOEXEC.
5035
82af0fa8
UD
50362011-11-14 Ulrich Drepper <drepper@gmail.com>
5037
5038 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5039
a5fb313c
AS
50402011-11-14 Andreas Schwab <schwab@redhat.com>
5041
5042 * malloc/arena.c (arena_get2): Don't call reused_arena when
5043 _int_new_arena failed.
5044
6abf3465
UD
50452011-11-14 Ulrich Drepper <drepper@gmail.com>
5046
5047 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5048 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5049 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5050 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5051 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5052 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5053 to compile strcasecmp and strncasecmp.
5054 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5055 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5056
5057 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5058
76e3966e
UD
50592011-11-13 Ulrich Drepper <drepper@gmail.com>
5060
5061 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5062 locale-defines.sym to gen-as-const-headers.
5063 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5064 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5065 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5066 to compile strcasecmp and strncasecmp.
5067 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5068 strcasecmp_l and strncasecmp_l.
5069 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5070 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5071 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5072 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5073 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5074 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5075 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5076 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5077 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5078 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5079 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5080
ab26144e
UD
50812011-11-12 Ulrich Drepper <drepper@gmail.com>
5082
7edb22ef
UD
5083 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5084 result of SYSDEP_GETTIME_CPU to retval.
5085 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5086 parameter list to macro. Remove trailing semicolon. Adjust users.
5087
9694fc44
UD
5088 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5089 variable.
5090
8ad89ef8
UD
5091 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5092 mantissa words.
5093 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5094
0c822ef9
UD
5095 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5096 from unused variable.
5097
874e0564
UD
5098 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5099 DWARF definitions.
5100 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5101 for assembling.
5102
3a2edc79
UD
5103 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5104 over namespaces.
5105
f3c2577f
UD
5106 * sunrpc/rpc_prot.c (rejected): Fix case value.
5107
294ce126
UD
5108 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5109 unsigned long long int to avoid warnings in shift.
5110
5e2b63c6
UD
5111 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5112 of use of trans.
5113 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5114 variable tmp.
5115
e7f4b08e
UD
5116 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5117 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5118 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5119
ab26144e
UD
5120 * nis/nis_table.c (nis_list): Use variable of correct type for
5121 result of __follow_path call.
5122
8a6d5255
AZ
51232011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5124
5125 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5126 of math functions ceil, trunc, floor, round, and sqrt, when
5127 avaliable on the platform.
5128 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5129 name clash.
5130 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5131 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5132 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5133
aaddc98c
MP
51342011-10-30 Marek Polacek <mpolacek@redhat.com>
5135
5136 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5137 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5138
95b7042b
RM
51392011-11-11 Roland McGrath <roland@hack.frob.com>
5140
5141 * include/unistd.h: Fix __readlink return type.
5142 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5143
57769839
UD
51442011-11-11 Ulrich Drepper <drepper@gmail.com>
5145
5146 * stdlib/ucontext.h: Undo last change for makecontext.
5147
edc5984d
AS
51482011-11-11 Andreas Schwab <schwab@redhat.com>
5149
98591e58
AS
5150 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5151
edc5984d
AS
5152 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5153 * setjmp/setjmp.h: Mark functions as non-leaf.
5154 * setjmp/bits/setjmp2.h: Likewise.
5155 * stdlib/ucontext.h: Likewise.
5156
77cdc054
AS
51572011-11-10 Andreas Schwab <schwab@redhat.com>
5158
5159 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5160 (reused_arena): Don't check arena limit.
5161 (arena_get2): Atomically check arena limit.
5162
fe72eebd
UD
51632011-11-08 Ulrich Drepper <drepper@gmail.com>
5164
5f078c32
UD
5165 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5166 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5167
fe72eebd
UD
5168 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5169 instructions.
5170
ae1bc2fa
AS
51712011-11-07 Andreas Schwab <schwab@redhat.com>
5172
7583a88d
AS
5173 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5174 handler when locking.
5175
ae1bc2fa
AS
5176 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5177 Fix size of allocated buffer.
5178
10fb0bfa
AS
51792011-11-04 Andreas Schwab <schwab@redhat.com>
5180
998832a4
AS
5181 [BZ #10103]
5182 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5183 declarations for long double functions.
5184 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5185
10fb0bfa
AS
5186 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5187
3d7ba52b
AS
51882011-11-03 Andreas Schwab <schwab@redhat.com>
5189
a9ae54a1
AS
5190 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5191 installed.
5192
3d7ba52b
AS
5193 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5194 is disabled.
5195
bc8db248
ST
51962011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5197
5198 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5199
45b96dd6
AS
52002011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5201
647776f6
AS
5202 * include/alloca.h (stackinfo_alloca_round): Define.
5203 (extend_alloca): Use it.
5204 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5205 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5206 here.
5207
d91a8b93
AS
5208 * scripts/check-local-headers.sh: Ignore libaudit.h.
5209
45b96dd6
AS
5210 * nscd/Makefile (extra-objs): Make recursively expanded.
5211
432d41ce
UD
52122011-11-01 Ulrich Drepper <drepper@gmail.com>
5213
34372fc6
UD
5214 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5215 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5216
fadb59f8
UD
5217 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5218 * posix/tst-rfc3484-2.c: Likewise.
5219 * posix/tst-rfc3484-3.c: Likewise.
5220
78239589
UD
5221 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5222 process_vm_writev.
5223 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5224 process_vm_writev.
5225 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5226 process_vm_writev from libc using GLIBC_2.15 version.
5227
432d41ce
UD
5228 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5229
02f9c6cf
PP
52302011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5231
5232 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5233 stack usage.
5234
3a2c0242
UD
52352011-10-31 Ulrich Drepper <drepper@gmail.com>
5236
f4ec4833
UD
5237 [BZ #13367]
5238 * nss/getent.c (initgroups_keys): Show error message in case no group
5239 names are given.
5240
3a2c0242
UD
5241 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5242 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5243 __bump_nl_timestamp.
5244 * nscd/connections (nscd_init): When host database is served open
5245 netlink socket and request notification about configuration changes.
5246 (main_loop_poll): Track netlink file descriptor and bump timestamp
5247 in case data becomes available.
5248 (main_loop_epoll): Likewise.
5249 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5250 (database_pers_head): Add extra_data fileds.
5251 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5252 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5253 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5254 Adjust caller.
5255 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5256 in6ai data, call __free_in6ai.
5257 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5258 Add -DHAVE_NETLINK.
5259 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5260 interface information. Reuse previous data if netlink timestamp
5261 is not changed.
5262 (__bump_nl_timestamp): New function.
5263 (__free_in6ai): New function.
5264
636064eb
UD
52652011-10-30 Ulrich Drepper <drepper@gmail.com>
5266
5267 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5268 close_not_cancel_no_status here.
5269 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5270
9beb2334
UD
52712011-10-29 Ulrich Drepper <drepper@gmail.com>
5272
6ef76f3b
UD
5273 [BZ #13276]
5274 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5275 return value.
5276
0ffc4f3e 5277 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5278 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5279 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5280
cb95113e
UD
52812011-07-03 Andreas Jaeger <aj@suse.de>
5282
5283 [BZ #10709]
5284 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5285 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5286 * math/libm-test.inc (sin_test): Add test case.
5287
a1b560ff
UD
52882011-10-29 Ulrich Drepper <drepper@gmail.com>
5289
c9aaface
UD
5290 [BZ #13337]
5291 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5292 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5293
d272e7f1
UD
5294 * elf/chroot_canon.c (chroot_canon): Cleanups.
5295
1bc33071
UD
5296 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5297
1760874d
TJ
5298 [BZ #13335]
5299 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5300 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5301
51d91b18
UD
5302 * string/test-strchr.c: Make usable for strchrnul testing.
5303 * string/test-strchrnul.c: New file.
5304 * string/Makefile (strop-tests): Add strchrnul.
5305
a1b560ff 5306 * po/it.po: Update from translation team.
b611fb81 5307 * po/es.po: Likewise.
a1b560ff 5308
a5b81e1f
UD
53092011-10-28 Ulrich Drepper <drepper@gmail.com>
5310
fd52bc6d
UD
5311 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5312 the three constants needed as parameters. Drop the others.
5313 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5314 __m128i_strloadu_tolower.
52e4b9eb
UD
5315 Create and initialize variable zero and use it in all the places
5316 where _mm_setzero_si128 was used.
fd52bc6d 5317
a5b81e1f
UD
5318 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5319 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5320 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5321 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5322 anymore.
5323 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5324 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5325 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5326 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5327 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5328 __mpranred, __mptan.
5329 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5330 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5331 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5332 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5333 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5334 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5335 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5336 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5337 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5338
b4343346
AS
53392011-10-28 Andreas Schwab <schwab@redhat.com>
5340
0c92d8a8
AS
5341 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5342 redefine if SHARED.
5343 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5344
b4343346
AS
5345 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5346 wide char related routines to wcsmbs subdir.
5347
3871f58f
AS
53482011-10-27 Andreas Schwab <schwab@redhat.com>
5349
5350 [BZ #13344]
5351 * misc/sys/cdefs.h (__THROWNL): Define.
5352 * posix/unistd.h: Use __THREADNL instead of __THREAD
5353 for memory synchronization functions.
5354
94d44d9f
RM
53552011-10-26 Roland McGrath <roland@hack.frob.com>
5356
21b64b15 5357 [BZ #13349]
94d44d9f
RM
5358 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5359 doesn't exist.
5360 * manual/stdio.texi (Obstack Streams): Node removed.
5361
f6ce9294
AS
53622011-10-26 Andreas Schwab <schwab@redhat.com>
5363
80479147
AS
5364 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5365 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5366 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5367
f6ce9294
AS
5368 * math/math_private.h (math_force_eval): Allow non-addressable
5369 arguments.
5370 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5371
618280a1
UD
53722011-10-25 Ulrich Drepper <drepper@gmail.com>
5373
e0016b11
UD
5374 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5375 file is not needed.
5376
5377 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5378 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5379 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5380 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5381 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5382 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5383 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5384 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5385 Add AVX variants.
5386 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5387 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5388 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5389 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5390 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5391 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5392 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5393 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5394 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5395 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5396 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5397 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5398 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5399 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5400 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5401 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5402 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5403 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5404 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5405
5406 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5407 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5408
618280a1
UD
5409 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5410 place. Use VEX encoding when compiling for AVX.
5411
37822576
AS
54122011-10-25 Andreas Schwab <schwab@redhat.com>
5413
1f1e1947
AS
5414 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5415 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5416
37822576
AS
5417 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5418
31ea014d
UD
54192011-10-25 Ulrich Drepper <drepper@gmail.com>
5420
d7826aa1 5421 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 5422 useless if() expression.
d7826aa1
UD
5423 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5424 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5425 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5426 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5427 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5428 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5429 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5430 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5431 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5432 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5433 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5434 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5435 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5436 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5437 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5438 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5439 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5440 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5441 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5442
31ea014d
UD
5443 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5444
16437fec
AS
54452011-10-25 Andreas Schwab <schwab@redhat.com>
5446
5447 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5448 condition.
5449 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5450
31d3cc00
UD
54512011-10-25 Ulrich Drepper <drepper@gmail.com>
5452
5453 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5454 .text section. Avoid duplicate constants.
5455 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5456 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5457 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5458 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5459 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5460 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5461 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5462 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5463 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5464 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5465 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5466 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5467 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5468 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5469 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5470 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5471 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5472 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5473 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5474 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5475 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5476 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5477 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5478 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5479 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5480 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5481 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5482 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5483 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5484 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5485 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5486 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5487 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5488 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5489 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5490 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5491 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5492 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5493 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5494 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5495 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5496 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5497 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5498 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5499 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5500
58985aa9
UD
55012011-10-24 Ulrich Drepper <drepper@gmail.com>
5502
202c9deb
UD
5503 * sysdeps/x86_64/dla.h: Move to ...
5504 * sysdeps/x86_64/fpu/dla.h: ...here.
5505 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5506 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 5507
af968f62
UD
5508 * config.make.in: Add have-mfma4 entry.
5509 * configure.in: Substitute libc_cv_cc_fma4.
5510 * math/Makefile (dbl-only-routines): Add sincostab.
5511 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5512 Use __sincostab not sincos.
5513 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5514 name is a macro.
5515 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5516 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5517 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5518 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5519 using __copysign.
5520 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5521 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5522 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5523 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5524 and __inv.
5525 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5526 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5527 __copysign.
5528 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5529 define aliases when function name is a macro.
5530 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5531 sysdeps/ieee754/dbl-64/sincos.tbl.
5532 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5533 fma4-enabled routines.
5534 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5535 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5536 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5537 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5538 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5539 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5540 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5541 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5542 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5543 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5544 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5545 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5546 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5547 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5548 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5549 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5550 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5551 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5552 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5553 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5554 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5555 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5556 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5557 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5558 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5559 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5560 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5561 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5562 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5563 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5564
58985aa9
UD
5565 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5566 rename.
5567 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5568 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5569 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5570 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5571 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5572 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5573 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5574 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5575
a201fbcf
AS
55762011-10-24 Andreas Schwab <schwab@redhat.com>
5577
5578 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5579
fc2ee42a
LD
55802011-10-23 Ulrich Drepper <drepper@gmail.com>
5581
bb3129bd
UD
5582 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5583
0275fff8
UD
5584 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5585 prediction.
5586 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5587
2fa2ae85
UD
5588 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5589 Remove unused variable magic_bits.
5590 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5591
fc2ee42a
LD
5592 * string/strnlen.c: Define and use STRNLEN macro.
5593 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5594 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5595 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5596 * wcsmbs/wcslen.c: Define and use WCSLEN.
5597 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5598 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5599 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5600 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5601 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5602 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5603 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5604
ce7dd29f
LD
56052011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5606
5607 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5608 strnlen-sse2-no-bsf.
5609 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5610 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5611 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5612 Add strnlen support.
5613 (USE_AS_STRNLEN): New macro.
5614 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5615 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5616 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5617 * sysdeps/x86_64/wcslen.S: New file.
5618
979c70a3
MZ
56192011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5620
5621 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5622 XMM-moves are used for copying on small sizes.
5623
2d09f82f
LD
56242011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5625
5626 * wcsmbs/Makefile (strop-tests): Add wcschr.
5627 * wcsmbs/test-wcschr.c: New file.
5628 * string/test-strchr.c: Update.
5629 Add wcschr support.
5630 (WIDE): New macro.
5631
619fccca
LD
56322011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5633
2d09f82f 5634 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
5635 * wcsmbs/test-wcslen.c: New file.
5636 * string/test-strlen.c: Update.
5637 Add wcslen support.
5638 (WIDE): New macro.
5639
09f699ea
UD
56402011-10-23 Ulrich Drepper <drepper@gmail.com>
5641
5642 * po/it.po: Update from translation team.
5643
95584d3b
LD
56442011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5645
5646 * sysdeps/x86_64/wcscmp.S: Update.
5647 Fix wrong comparison semantics.
5648 wcscmp shall use signed comparison not unsigned.
5649 Don't use substraction to avoid overflow bug.
5650 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5651 * wcsmbc/wcscmp.c: Likewise.
5652 * string/test-strcmp.c: Likewise.
5653 Add new tests to check cases with negative values.
5654
c8b3296b
UD
56552011-10-23 Ulrich Drepper <drepper@gmail.com>
5656
5657 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5658 * sysdeps/x86_64/dla.h: ...here. New file.
5659 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5660 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5661 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5662 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5663 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5664 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5665 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5666 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5667 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5668
246ad57a
AS
56692011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5670
5671 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5672 __ynl_finite aliases.
5673
a1a87169
UD
56742011-10-22 Ulrich Drepper <drepper@gmail.com>
5675
0d355eb7
UD
5676 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5677
a1a87169
UD
5678 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5679 define DLA_FMA.
5680 [DLA_FMA] (EMULV): Use DLA_FMA.
5681 [DLA_FMA] (MUL12): Use EMULV.
5682 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5683 that are not needed.
5684 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5685 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5686 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5687 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5688 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5689 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5690 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5691
ee2aafe0
AS
56922011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5693
5694 * math/s_nan.c: Undef __nan.
5695 * math/s_nanf.c: Undef __nanf.
5696 * math/s_nanl.c: Undef __nanl.
5697 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5698 "math_private.h".
5699
bc62c2fb
UD
57002011-10-22 Ulrich Drepper <drepper@gmail.com>
5701
77425c63
UD
5702 * math/s_catan.c: Add branch predictions.
5703 * math/s_catanf.c: Likewise.
5704 * math/s_catanh.c: Likewise.
5705 * math/s_catanhf.c: Likewise.
5706 * math/s_catanhl.c: Likewise.
5707 * math/s_catanl.c: Likewise.
5708 * math/s_cexp.c: Likewise.
5709 * math/s_cexpf.c: Likewise.
5710 * math/s_cexpl.c: Likewise.
5711 * math/s_clog.c: Likewise.
5712 * math/s_clog10.c: Likewise.
5713 * math/s_clog10f.c: Likewise.
5714 * math/s_clog10l.c: Likewise.
5715 * math/s_clogf.c: Likewise.
5716 * math/s_clogl.c: Likewise.
5717 * math/s_csqrt.c: Likewise.
5718 * math/s_csqrtf.c: Likewise.
5719 * math/s_csqrtl.c: Likewise.
5720 * math/s_ctanf.c: Likewise.
5721 * math/s_ctanh.c: Likewise.
5722 * math/s_ctanhf.c: Likewise.
5723 * math/s_ctanhl.c: Likewise.
5724 * math/s_ctanl.c: Likewise.
5725
bc62c2fb
UD
5726 * math/math_private.h: Define __nan, __nanf, __nanl.
5727 * math/s_cacosh.c: Include <math_private.h>.
5728 * math/s_cacoshl.c: Likewise.
5729 * math/s_casinh.c: Likewise.
5730 * math/s_casinhf.c: Likewise.
5731 * math/s_casinhl.c: Likewise.
5732 * math/s_ccos.c: Rely entire on ccosh.
5733 * math/s_ccosf.c: Rely entire on ccoshf.
5734 * math/s_ccosl.c: Rely entirely on ccoshl.
5735 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5736 Remove tests for FE_INVALID.
5737 * math/s_ccoshf.c: Likewise.
5738 * math/s_ccoshl.c: Likewise.
5739 * math/s_csin.c: Likewise.
5740 * math/s_csinf.c: Likewise.
5741 * math/s_csinh.c Likewise.
5742 * math/s_csinhf.c: Likewise.
5743 * math/s_csinhl.c: Likewise.
5744 * math/s_csinl.c: Likewise.
5745 * math/s_ctan.c: Likewise.
5746 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5747 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5748 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5749
8ec250a4
UD
57502011-10-21 Ulrich Drepper <drepper@gmail.com>
5751
c196fed8
UD
5752 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5753 compilation problems.
5754
8ec250a4
UD
5755 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5756 __builtin_expect.
5757
8d4f46c6
UD
57582011-10-20 Ulrich Drepper <drepper@gmail.com>
5759
ed72b654
UD
5760 * sysdeps/i386/configure.in: Test for -mfma4 option.
5761 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5762 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5763 COMMON_CPUID_INDEX_80000001.
5764 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5765 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5766 use it if FMA3 is not supported.
5767 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5768
8d4f46c6
UD
5769 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5770 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5771
d45c60c2
AS
57722011-10-20 Andreas Schwab <schwab@redhat.com>
5773
5774 [BZ #12892]
5775 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5776 it would create a cycle with a link time dependency.
5777
d9a4d2ab
UD
57782011-10-19 Ulrich Drepper <drepper@gmail.com>
5779
855d1560
UD
5780 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5781 instruction.
5782 * string/Makefile (strop-tests): Add rawmemchr.
5783 * string/test-rawmemchr.c: New file.
5784
d9a4d2ab
UD
5785 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5786 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5787 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5788 when compiling str{,n}casecmp and when AVX is available. Hook up
5789 new optimized code in initializers.
5790
8f3b1ffe
AS
57912011-10-19 Andreas Schwab <schwab@redhat.com>
5792
5793 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5794 __feraiseexcept instead of feraiseexcept.
5795
d38f1dba
UD
57962011-10-18 Ulrich Drepper <drepper@gmail.com>
5797
d9a8d0ab
UD
5798 * math/math_private.h: Define defaults for libc_fetestexcept and
5799 libc_feupdateenv.
5800 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5801 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5802 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5803 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5804 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5805 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5806 libc_fetestexcept and libc_feupdateenv.
5807
4855e3dd
UD
5808 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5809 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5810 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5811 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5812 libc_feholdexcept_setround.
5813
581d30e3
UD
5814 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5815 Add s_nearbyint-c and s_nearbyintf-c.
5816 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5817 nearbyintf inlines.
5818 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5819 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5820 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5821 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5822
d38f1dba
UD
5823 * math/math_private.h: Define defaults for libc_fegetround,
5824 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5825 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5826 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5827 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5828 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5829 standard functions.
5830 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5831 Remove comments and hacks for old compiler versions.
5832 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5833 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5834 libc_feholdexceptl.
5835
caa6c9d8
AS
58362011-10-18 Andreas Schwab <schwab@redhat.com>
5837
5838 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
5839 (__feraiseexcept_renamed): Add __NTH.
5840 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
5841 namespace violations.
5842
97c066e6
UD
58432011-10-17 Ulrich Drepper <drepper@gmail.com>
5844
99ce7b04
UD
5845 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5846
1004d182
UD
5847 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5848
228a984d
UD
5849 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5850 recently added interfaces.
5851 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5852
c8553a6a
UD
5853 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5854 about macro parameter expansion.
5855
ed22dcf6
UD
5856 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5857 __NO_MATH_INLINES is defined. Cleanups.
5858
5859 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5860 and __floorf is target has SSE4.1.
5861 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5862 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5863 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5864 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5865
b171c137
UD
5866 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5867 name.
5868 (floorf): Likewise.
5869
97c066e6
UD
5870 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5871
629f62ef
AS
58722011-10-17 Andreas Schwab <schwab@redhat.com>
5873
49a43d80
AS
5874 * misc/sys/cdefs.h: Fix last change.
5875
629f62ef
AS
5876 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5877 database lookup.
5878
e453f6cd
UD
58792011-10-16 Ulrich Drepper <drepper@gmail.com>
5880
aa78043a
UD
5881 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5882
ad0f5cad
UD
5883 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5884 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5885 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5886 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5887 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5888 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5889 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5890 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5891 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5892 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5893 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5894 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5895 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5896 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5897 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5898 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5899 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5900 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5901 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5902 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5903 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5904 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5905
5906 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5907 ceil, ceilf, floor, floorf.
5908
5909 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5910 Perform IRELATIVE relocations last.
5911
e453f6cd
UD
5912 * elf/do-rel.h: Add another parameter nrelative, replacing the
5913 local variable with the same name. Change name of the function
5914 to end in Rel or Rela (uppercase).
5915 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5916 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5917 elf_dynamic_do_##reloc function.
5918
fd5bdc09
UD
59192011-10-15 Ulrich Drepper <drepper@gmail.com>
5920
79b195b5
UD
5921 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5922 is sufficient, at least on modern CPUs.
5923
d4a28569
UD
5924 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5925
b61099b5
UD
5926 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5927 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5928
bcf01e6d
UD
5929 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5930 __expl_finite.
5931 * math/bits/math-finite.h: Add entries for exp.
5932 * math/e_expl.c: Add __*_finite alias.
5933 * sysdeps/i386/fpu/e_exp.S: Likewise.
5934 * sysdeps/i386/fpu/e_expf.S: Likewise.
5935 * sysdeps/i386/fpu/e_expl.c: Likewise.
5936 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5937 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5938 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5939 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5940 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5941 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5942 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5943
ba1a0d59
UD
5944 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5945 is sufficient, at least on modern CPUs.
5946
fd5bdc09
UD
5947 * ctype/ctype-info.c (__ctype_init): Define.
5948 * include/ctype.h (__ctype_init): Declare.
5949 (__ctype_b_loc): The variable is always initialized.
5950 (__ctype_toupper_loc): Likewise.
5951 (__ctype_tolower_loc): Likewise.
5952 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5953 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5954
7872cfb0
AS
59552011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5956
b468825a
AS
5957 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5958
7872cfb0
AS
5959 * configure.in: Also look in $cxxmachine/include for C++ system
5960 headers.
5961
be13f7bf
LD
59622011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5963
5964 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5965 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5966 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5967 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5968 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5969 (USE_AS_WMEMCMP): New macro.
5970 Fixing indents.
5971 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5972 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5973 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5974 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5975 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5976 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5977 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5978 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5979 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5980 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5981 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5982 (USE_AS_WMEMCMP): New macro.
5983 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5984 * sysdeps/string/test-memcmp.c: Update.
5985 Fix simple_wmemcmp.
5986 Add new tests.
5987 * wcsmbs/wmemcmp.c: Update.
5988 (WMEMCMP): New macro.
5989 Fix overflow bug.
5990
556a2007
AJ
59912011-10-12 Andreas Jaeger <aj@suse.de>
5992
5993 [BZ #13268]
5994 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5995
538faaa7
UD
59962011-10-15 Ulrich Drepper <drepper@gmail.com>
5997
ab6737ff
UD
5998 * libio/iofwide.c (do_length): Avoid warning.
5999
538faaa7
UD
6000 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6001
396a21b1
UD
60022011-10-14 Ulrich Drepper <drepper@gmail.com>
6003
cdf2901f
UD
6004 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6005
38ad40ce
UD
6006 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6007 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6008 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6009 * sysdeps/i386/i686/fpu/e_log.S: New file.
6010 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6011 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6012
396a21b1
UD
6013 * ctype/ctype.h: Add support for inlined isXXX functions when
6014 compiling C++ code.
6015
6b1f68c9
AS
60162011-10-14 Andreas Schwab <schwab@redhat.com>
6017
349290c0
AS
6018 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6019
6b1f68c9
AS
6020 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6021
f2282d42
RM
60222011-10-13 Roland McGrath <roland@hack.frob.com>
6023
6024 [BZ #13291]
6025 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6026
5298ffa8
AS
60272011-10-13 Andreas Schwab <schwab@redhat.com>
6028
714fad23
AS
6029 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6030 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6031 feraiseexcept.
6032
81dcc7fb
AS
6033 * sysdeps/x86_64/memrchr.S: Check for zero size.
6034
5298ffa8
AS
6035 * string/stratcliff.c: Add memrchr tests.
6036
951fbcec
LD
60372011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6038
6039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6040 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6041 rawmemchr-sse2 rawmemchr-sse2-bsf.
6042 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6043 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6044 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6045 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6046 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6047 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6048 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6049 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6050 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6051 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6052 * string/memrchr.c (MEMRCHR): New macro.
6053
0ac5ae23
UD
60542011-10-12 Ulrich Drepper <drepper@gmail.com>
6055
6056 Add integration with gcc's -ffinite-math-only and optimize wrapper
6057 functions in libm.
6058 * Versions.def: Define GLIBC_2.15 version for libm.
6059 * math/Makefile (headers): Add bits/math-finite.h.
6060 * math/bits/math-finite.h: New file.
6061 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6062 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6063 * math/e_acoshl.c: Add __*_finite alias.
6064 * math/e_acosl.c: Likewise.
6065 * math/e_asinl.c: Likewise.
6066 * math/e_atan2l.c: Likewise.
6067 * math/e_atanhl.c: Likewise.
6068 * math/e_coshl.c: Likewise.
6069 * math/e_exp10.c: Likewise.
6070 * math/e_exp10f.c: Likewise.
6071 * math/e_exp10l.c: Likewise.
6072 * math/e_exp2l.c: Likewise.
6073 * math/e_fmodl.c: Likewise.
6074 * math/e_gammal_r.c: Likewise.
6075 * math/e_hypotl.c: Likewise.
6076 * math/e_j0l.c: Likewise.
6077 * math/e_j1l.c: Likewise.
6078 * math/e_jnl.c: Likewise.
6079 * math/e_lgammal_r.c: Likewise.
6080 * math/e_log10l.c: Likewise.
6081 * math/e_log2l.c: Likewise.
6082 * math/e_logl.c: Likewise.
6083 * math/e_powl.c: Likewise.
6084 * math/e_sinhl.c: Likewise.
6085 * math/e_sqrtl.c: Likewise.
6086 * math/e_scalb.c: Completely rewritten and optimized.
6087 * math/e_scalbf.c: Likewise.
6088 * math/e_scalbl.c: Likewise.
6089 * math/w_acos.c: Likewise.
6090 * math/w_acosf.c: Likewise.
6091 * math/w_acosl.c: Likewise.
6092 * math/w_acosh.c: Likewise.
6093 * math/w_acoshf.c: Likewise.
6094 * math/w_acoshl.c: Likewise.
6095 * math/w_asin.c: Likewise.
6096 * math/w_asinf.c: Likewise.
6097 * math/w_asinl.c: Likewise.
6098 * math/w_atan2.c: Likewise.
6099 * math/w_atan2f.c: Likewise.
6100 * math/w_atan2l.c: Likewise.
6101 * math/w_atanh.c: Likewise.
6102 * math/w_atanhf.c: Likewise.
6103 * math/w_atanhl.c: Likewise.
6104 * math/w_exp10.c: Likewise.
6105 * math/w_exp10f.c: Likewise.
6106 * math/w_exp10l.c: Likewise.
6107 * math/w_fmod.c: Likewise.
6108 * math/w_fmodf.c: Likewise.
6109 * math/w_fmodl.c: Likewise.
6110 * math/w_j0.c: Likewise.
6111 * math/w_j0f.c: Likewise.
6112 * math/w_j0l.c: Likewise.
6113 * math/w_j1.c: Likewise.
6114 * math/w_j1f.c: Likewise.
6115 * math/w_j1l.c: Likewise.
6116 * math/w_jn.c: Likewise.
6117 * math/w_jnf.c: Likewise.
6118 * math/w_log.c: Likewise.
6119 * math/w_logf.c: Likewise.
6120 * math/w_logl.c: Likewise.
6121 * math/w_log10.c: Likewise.
6122 * math/w_log10f.c: Likewise.
6123 * math/w_log10l.c: Likewise.
6124 * math/w_log2.c: Likewise.
6125 * math/w_log2f.c: Likewise.
6126 * math/w_log2l.c: Likewise.
6127 * math/w_pow.c: Likewise.
6128 * math/w_powf.c: Likewise.
6129 * math/w_powl.c: Likewise.
6130 * math/w_remainder.c: Likewise.
6131 * math/w_remainderf.c: Likewise.
6132 * math/w_remainderl.c: Likewise.
6133 * math/w_scalb.c: Likewise.
6134 * math/w_scalbf.c: Likewise.
6135 * math/w_scalbl.c: Likewise.
6136 * math/w_sqrt.c: Likewise.
6137 * math/w_sqrtf.c: Likewise.
6138 * math/w_sqrtl.c: Likewise.
6139 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6140 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6141 used.
6142 * math/math_private.h: Declare __kernel_standard_f.
6143 * math/w_cosh.c: Remove cruft and optimize a bit.
6144 * math/w_coshf.c: Likewise.
6145 * math/w_coshl.c: Likewise.
6146 * math/w_exp2.c: Likewise.
6147 * math/w_exp2f.c: Likewise.
6148 * math/w_exp2l.c: Likewise.
6149 * math/w_hypot.c: Likewise.
6150 * math/w_hypotf.c: Likewise.
6151 * math/w_hypotl.c: Likewise.
6152 * math/w_lgamma.c: Likewise.
6153 * math/w_lgamma_r.c: Likewise.
6154 * math/w_lgammaf.c: Likewise.
6155 * math/w_lgammaf_r.c: Likewise.
6156 * math/w_lgammal.c: Likewise.
6157 * math/w_lgammal_r.c: Likewise.
6158 * math/w_sinh.c: Likewise.
6159 * math/w_sinhf.c: Likewise.
6160 * math/w_sinhl.c: Likewise.
6161 * math/w_tgamma.c: Likewise.
6162 * math/w_tgammaf.c: Likewise.
6163 * math/w_tgammal.c: Likewise.
6164 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6165 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6166 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6167 Minor optimizations. Pretty printing. Remove cruft.
6168 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6169 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6170 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6171 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6172 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6173 * sysdeps/i386/fpu/e_asin.S: Likewise.
6174 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6175 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6176 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6177 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6178 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6179 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6180 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6181 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6182 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6183 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6184 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6185 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6186 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6187 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6188 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6189 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6190 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6191 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6192 * sysdeps/i386/fpu/e_log.S: Likewise.
6193 * sysdeps/i386/fpu/e_log10.S: Likewise.
6194 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6195 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6196 * sysdeps/i386/fpu/e_log2.S: Likewise.
6197 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6198 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6199 * sysdeps/i386/fpu/e_logf.S: Likewise.
6200 * sysdeps/i386/fpu/e_logl.S: Likewise.
6201 * sysdeps/i386/fpu/e_pow.S: Likewise.
6202 * sysdeps/i386/fpu/e_powf.S: Likewise.
6203 * sysdeps/i386/fpu/e_powl.S: Likewise.
6204 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6205 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6206 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6207 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6208 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6209 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6210 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6211 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6212 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6213 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6214 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6215 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6216 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6217 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6218 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6219 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6220 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6221 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6222 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6223 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6224 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6225 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6226 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6227 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6228 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6229 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6230 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6231 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6232 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6233 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6234 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6235 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6236 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6237 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6238 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6239 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6240 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6241 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6242 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6243 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6244 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6245 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6246 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6247 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6248 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6249 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6250 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6251 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6252 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6253 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6254 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6255 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6256 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6257 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6258 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6259 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6260 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6261 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6262 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6263 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6264 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6265 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6266 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6267 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6268 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6269 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6270 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6271 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6272 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6273 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6274 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6275 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6276 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6277 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6278 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6279 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6280 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6281 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6282 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6283 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6284 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6285 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6286 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6287 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6288 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6289 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6290 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6291 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6292 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6293 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6294 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6295 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6296 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6297 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6298 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6299 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6300 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6301 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6302 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6303 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6304 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6305 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6306 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6307 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6308 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6309 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6310 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6311 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6312 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6313 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6314 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6315 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6316 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6317 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6318 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6319 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6320 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6321 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6322 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6323 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6324 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6325 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6326 (__isnanf): Likewise.
6327 (__isinf_ns): Likewise.
6328 (__isinf_nsf): Likewise.
6329 (__finite): Likewise.
6330 (__finitef): Likewise.
6331 (__ieee754_sqrt): Define as macro.
6332 (__ieee754_sqrtf): Define as macro.
6333 (__ieee754_sqrtl): Define as macro.
6334 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6335 inlined copy.
6336 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6337 __FINITE_MATH_ONLY__ consistent.
6338 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6339
12cc2fcd
AS
63402011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6341
a843a204
AS
6342 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6343 of rawmemchr.
6344
12cc2fcd
AS
6345 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6346
c853acd5
UD
63472011-10-09 Ulrich Drepper <drepper@gmail.com>
6348
6349 * po/ja.po: Update from translation team.
6350
c658d255
RM
63512011-10-08 Roland McGrath <roland@hack.frob.com>
6352
110946e4
RM
6353 * locale/programs/locarchive.c (prepare_address_space): New function.
6354 (create_archive, enlarge_archive, open_archive): Use it.
6355
50604220
RM
6356 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6357 inside [SHARED], where it is used.
6358
c658d255
RM
6359 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6360
6361 * nss/getent.c (netgroup_keys): Remove unused variable.
6362 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6363
6a621eb7
UD
63642011-10-08 Ulrich Drepper <drepper@gmail.com>
6365
7edb55ce
UD
6366 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6367 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6368 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6369 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6370 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6371 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6372 * math/Makefile (libm-calls): Add s_isinf_ns.
6373 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6374 * math/multc3.c: Likewise.
6375 * math/s_casin.c: Likewise.
6376 * math/s_casinf.c: Likewise.
6377 * math/s_casinl.c: Likewise.
6378 * math/s_ccos.c: Likewise.
6379 * math/s_ccosf.c: Likewise.
6380 * math/s_ccosl.c: Likewise.
6381 * math/s_ctan.c: Likewise.
6382 * math/s_ctanf.c: Likewise.
6383 * math/s_ctanh.c: Likewise.
6384 * math/s_ctanhf.c: Likewise.
6385 * math/s_ctanhl.c: Likewise.
6386 * math/s_ctanl.c: Likewise.
6387 * math/w_fmod.c: Likewise.
6388 * math/w_fmodf.c: Likewise.
6389 * math/w_fmodl.c: Likewise.
6390 * math/w_remainder.c: Likewise.
6391 * math/w_remainderf.c: Likewise.
6392 * math/w_remainderl.c: Likewise.
6393 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6394 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6395 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6396 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6397 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6398 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6399 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6400 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6401
187da0ae
UD
6402 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6403 of the number.
6404 * stdio-common/printf_fphex.c: Likewise.
6405 * stdio-common/printf_size.c: Likewise.
6406
9277c064
UD
6407 * math/e_exp10.c: Include math_private.h using <...> not "...".
6408 * math/e_exp10f.c: Likewise.
6409 * math/e_exp10l.c: Likewise.
6410 * math/e_exp2l.c: Likewise.
6411 * math/e_j0l.c: Likewise.
6412 * math/e_j1l.c: Likewise.
6413 * math/e_jnl.c: Likewise.
6414 * math/e_lgammal_r.c: Likewise.
6415 * math/e_rem_pio2l.c: Likewise.
6416 * math/e_scalb.c: Likewise.
6417 * math/e_scalbf.c: Likewise.
6418 * math/e_scalbl.c: Likewise.
6419 * math/k_cosl.c: Likewise.
6420 * math/k_sinl.c: Likewise.
6421 * math/k_tanl.c: Likewise.
6422 * math/s_cacoshf.c: Likewise.
6423 * math/s_catan.c: Likewise.
6424 * math/s_catanf.c: Likewise.
6425 * math/s_catanh.c: Likewise.
6426 * math/s_catanhf.c: Likewise.
6427 * math/s_catanhl.c: Likewise.
6428 * math/s_catanl.c: Likewise.
6429 * math/s_ccosh.c: Likewise.
6430 * math/s_ccoshf.c: Likewise.
6431 * math/s_ccoshl.c: Likewise.
6432 * math/s_cexp.c: Likewise.
6433 * math/s_cexpf.c: Likewise.
6434 * math/s_cexpl.c: Likewise.
6435 * math/s_clog.c: Likewise.
6436 * math/s_clog10.c: Likewise.
6437 * math/s_clog10f.c: Likewise.
6438 * math/s_clog10l.c: Likewise.
6439 * math/s_clogf.c: Likewise.
6440 * math/s_clogl.c: Likewise.
6441 * math/s_csin.c: Likewise.
6442 * math/s_csinf.c: Likewise.
6443 * math/s_csinh.c: Likewise.
6444 * math/s_csinhf.c: Likewise.
6445 * math/s_csinhl.c: Likewise.
6446 * math/s_csinl.c: Likewise.
6447 * math/s_csqrt.c: Likewise.
6448 * math/s_csqrtf.c: Likewise.
6449 * math/s_csqrtl.c: Likewise.
6450 * math/s_ctan.c: Likewise.
6451 * math/s_ctanf.c: Likewise.
6452 * math/s_ctanh.c: Likewise.
6453 * math/s_ctanhf.c: Likewise.
6454 * math/s_ctanhl.c: Likewise.
6455 * math/s_ctanl.c: Likewise.
6456 * math/s_ldexp.c: Likewise.
6457 * math/s_ldexpf.c: Likewise.
6458 * math/s_ldexpl.c: Likewise.
6459 * math/s_significand.c: Likewise.
6460 * math/s_significandf.c: Likewise.
6461 * math/s_significandl.c: Likewise.
6462 * math/w_acos.c: Likewise.
6463 * math/w_acosf.c: Likewise.
6464 * math/w_acosh.c: Likewise.
6465 * math/w_acoshf.c: Likewise.
6466 * math/w_acoshl.c: Likewise.
6467 * math/w_acosl.c: Likewise.
6468 * math/w_asin.c: Likewise.
6469 * math/w_asinf.c: Likewise.
6470 * math/w_asinl.c: Likewise.
6471 * math/w_atan2.c: Likewise.
6472 * math/w_atan2f.c: Likewise.
6473 * math/w_atan2l.c: Likewise.
6474 * math/w_atanh.c: Likewise.
6475 * math/w_atanhf.c: Likewise.
6476 * math/w_atanhl.c: Likewise.
6477 * math/w_cosh.c: Likewise.
6478 * math/w_coshf.c: Likewise.
6479 * math/w_coshl.c: Likewise.
6480 * math/w_dremf.c: Likewise.
6481 * math/w_exp10.c: Likewise.
6482 * math/w_exp10f.c: Likewise.
6483 * math/w_exp10l.c: Likewise.
6484 * math/w_exp2.c: Likewise.
6485 * math/w_exp2f.c: Likewise.
6486 * math/w_fmod.c: Likewise.
6487 * math/w_fmodf.c: Likewise.
6488 * math/w_fmodl.c: Likewise.
6489 * math/w_hypot.c: Likewise.
6490 * math/w_hypotf.c: Likewise.
6491 * math/w_hypotl.c: Likewise.
6492 * math/w_j0.c: Likewise.
6493 * math/w_j0f.c: Likewise.
6494 * math/w_j0l.c: Likewise.
6495 * math/w_j1.c: Likewise.
6496 * math/w_j1f.c: Likewise.
6497 * math/w_j1l.c: Likewise.
6498 * math/w_jn.c: Likewise.
6499 * math/w_jnf.c: Likewise.
6500 * math/w_jnl.c: Likewise.
6501 * math/w_lgamma.c: Likewise.
6502 * math/w_lgamma_r.c: Likewise.
6503 * math/w_lgammaf.c: Likewise.
6504 * math/w_lgammaf_r.c: Likewise.
6505 * math/w_lgammal.c: Likewise.
6506 * math/w_lgammal_r.c: Likewise.
6507 * math/w_log.c: Likewise.
6508 * math/w_log10.c: Likewise.
6509 * math/w_log10f.c: Likewise.
6510 * math/w_log10l.c: Likewise.
6511 * math/w_log2.c: Likewise.
6512 * math/w_log2f.c: Likewise.
6513 * math/w_log2l.c: Likewise.
6514 * math/w_logf.c: Likewise.
6515 * math/w_logl.c: Likewise.
6516 * math/w_pow.c: Likewise.
6517 * math/w_powf.c: Likewise.
6518 * math/w_powl.c: Likewise.
6519 * math/w_remainder.c: Likewise.
6520 * math/w_remainderf.c: Likewise.
6521 * math/w_remainderl.c: Likewise.
6522 * math/w_scalb.c: Likewise.
6523 * math/w_scalbf.c: Likewise.
6524 * math/w_scalbl.c: Likewise.
6525 * math/w_sinh.c: Likewise.
6526 * math/w_sinhf.c: Likewise.
6527 * math/w_sinhl.c: Likewise.
6528 * math/w_sqrt.c: Likewise.
6529 * math/w_sqrtf.c: Likewise.
6530 * math/w_sqrtl.c: Likewise.
6531 * math/w_tgamma.c: Likewise.
6532 * math/w_tgammaf.c: Likewise.
6533 * math/w_tgammal.c: Likewise.
6534
6a621eb7
UD
6535 * po/ja.po: Update from translation team.
6536
bf582445
AJ
65372011-09-29 Andreas Jaeger <aj@suse.de>
6538
f9efbf3a
AJ
6539 [BZ #13179]
6540 * sunrpc/netname.c (netname2host): Fix logic.
6541
bf582445
AJ
6542 [BZ #6779]
6543 [BZ #6783]
6544 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6545 correctly.
6546 * math/w_remainder.c (__remainder): Likewise.
6547 * math/w_remainderf.c (__remainderf): Likewise.
6548 * math/libm-test.inc (remainder_test): Add test cases.
6549
48693bea
AK
65502011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6551
6552 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6553 sdiv_qrnnd.
6554
42622229
LD
65552011-10-07 Ulrich Drepper <drepper@gmail.com>
6556
6557 * string/test-memcmp.c: Avoid unncessary #defines.
6558 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6559
093ecf92
LD
65602011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6561
6562 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6563 Use new sse2 version for core i3 - i7 as it's faster
6564 than sse42 version.
6565 (bit_Prefer_PMINUB_for_stringop): New.
6566 * sysdeps/x86_64/rawmemchr.S: Update.
6567 Replace with faster SSE2 version.
6568 * sysdeps/x86_64/memrchr.S: New file.
6569 * sysdeps/x86_64/memchr.S: Update.
6570 Replace with faster SSE2 version.
6571
fde56e5c
MP
65722011-09-12 Marek Polacek <mpolacek@redhat.com>
6573
6574 * elf/dl-load.c (lose): Add cast to avoid warning.
6575
21fd49a9
UD
65762011-10-07 Ulrich Drepper <drepper@gmail.com>
6577
5a06e643
UD
6578 * po/ca.po: Update from translation team.
6579
684ae515
UD
6580 * inet/getnetgrent_r.c: Hook up nscd.
6581 * nscd/Makefile (routines): Add nscd_netgroup.
6582 (nscd-modules): Add netgroupcache.
6583 (CFLAGS-netgroupcache.c): Define.
6584 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6585 (cache_search): Add const to second parameter.
6586 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6587 INNETGR.
6588 (dbs): Add netgrdb entry.
6589 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6590 (verify_persistent_db): Handle netgrdb.
6591 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6592 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6593 GETFDNETGR.
6594 (netgroup_response_header): Define.
6595 (innetgroup_response_header): Define.
6596 (datahead): Add netgroup_response_header and innetgroup_response_header
6597 elements.
6598 * nscd/nscd.conf: Add entries for netgroup cache.
6599 * nscd/nscd.h (dbtype): Add netgrdb.
6600 (_PATH_NSCD_NETGROUP_DB): Define.
6601 (netgroup_iov_disabled): Declare.
6602 (xmalloc, xcalloc, xrealloc): Move declarations here.
6603 (cache_search): Adjust prototype.
6604 Add netgroup-related prototypes.
6605 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6606 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6607 (__nscd_innetgr): Declare.
6608 * nscd/selinux.c (perms): Use access_vector_t as element type and
6609 add netgroup-related initializers.
6610 * nscd/netgroupcache.c: New file.
6611 * nscd/nscd_netgroup.c: New file.
6612 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6613 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6614 For four parameters use innetgr.
6615 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6616 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6617 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6618 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6619
21fd49a9
UD
6620 * nscd/connections.c (register_traced_file): Don't register file
6621 for disabled databases.
6622
054c0457
UD
66232011-10-06 Ulrich Drepper <drepper@gmail.com>
6624
32b63198
UD
6625 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6626
054c0457
UD
6627 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6628 from tree and freeing node.
6629
64031225
JO
66302011-09-25 Jiri Olsa <jolsa@redhat.com>
6631
6632 * nss/nsswitch.c (__nss_database_lookup): Handle
6633 nss_parse_service_list out of memory case.
6634
0490345c
JO
66352011-09-15 Jiri Olsa <jolsa@redhat.com>
6636
6637 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6638 out of memory case.
6639
3a62d00d
AS
66402011-10-04 Andreas Schwab <schwab@redhat.com>
6641
6642 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6643 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6644 pass it down.
6645 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6646 elf_machine_rela, elf_machine_lazy_rel.
6647 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6648 (ELF_DYNAMIC_DO_REL): Likewise.
6649 (ELF_DYNAMIC_DO_RELA): Likewise.
6650 (ELF_DYNAMIC_RELOCATE): Likewise.
6651 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6652 to ELF_DYNAMIC_DO_REL.
6653 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6654 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6655 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6656 elf_machine_rela.
6657 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6658 skip_ifunc, don't call ifunc function if non-zero.
6659 (elf_machine_rela): Likewise.
6660 (elf_machine_lazy_rel): Likewise.
6661 (elf_machine_lazy_rela): Likewise.
6662 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6663 (elf_machine_lazy_rel): Likewise.
6664 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6665 Likewise.
6666 (elf_machine_lazy_rel): Likewise.
6667 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6668 Likewise.
6669 (elf_machine_lazy_rel): Likewise.
6670 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6671 (elf_machine_lazy_rel): Likewise.
6672 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6673 (elf_machine_lazy_rel): Likewise.
6674 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6675 (elf_machine_lazy_rel): Likewise.
6676 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6677 (elf_machine_lazy_rel): Likewise.
6678 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6679 (elf_machine_lazy_rel): Likewise.
6680 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6681 (elf_machine_lazy_rel): Likewise.
6682
68577918
UD
66832011-09-28 Ulrich Drepper <drepper@gmail.com>
6684
6685 * nss/nss_files/files-init.c (_nss_files_init): Use static
6686 initialization for all the *_traced_file variables.
6687
68822d74
AS
66882011-09-28 Andreas Schwab <schwab@redhat.com>
6689
6690 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6691
2056100b
RM
66922011-09-27 Roland McGrath <roland@hack.frob.com>
6693
6694 [BZ #13226]
6695 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6696
32c76b63
AS
66972011-09-27 Andreas Schwab <schwab@redhat.com>
6698
6699 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6700 Reread the line before reparsing it.
6701
bf972c9d
AS
67022011-09-26 Andreas Schwab <schwab@redhat.com>
6703
6704 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6705
e057a1b5
JM
67062011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6707 Maxim Kuvyrkov <maxim@codesourcery.com>
6708 Joseph Myers <joseph@codesourcery.com>
6709
6710 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6711 if needed for __stack_chk_guard.
6712
bc7e1c36
RM
67132011-09-19 Roland McGrath <roland@hack.frob.com>
6714
ecb1482f
RM
6715 * sysdeps/posix/spawni.c (script_execute): Always define it.
6716 It will be optimized away if unused.
6717 (maybe_script_execute): New function.
6718 (__spawni): Call it.
6719
bc7e1c36
RM
6720 * Makerules: Don't include tls.make.
6721 (config-tls): Always set to thread.
6722 * tls.make.c: File removed.
6723
1c3b002b
MF
67242011-09-19 Mike Frysinger <vapier@gentoo.org>
6725
6726 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6727 * config.make.in (CPPFLAGS-config): New substituted variable.
6728
2840865d
UD
67292011-09-15 Ulrich Drepper <drepper@gmail.com>
6730
88738eb6
UD
6731 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6732
cbf645a6 6733 [BZ #13192]
2840865d
UD
6734 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6735 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6736
b402e91a
RM
67372011-09-15 Roland McGrath <roland@hack.frob.com>
6738
6739 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6740 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6741 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6742 (CALL_FAIL): Likewise.
6743 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6744 (CALL_FAIL): Macro removed.
6745 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6746
4c1a1f71
UD
67472011-09-15 Ulrich Drepper <drepper@gmail.com>
6748
6749 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6750 for __FINITE_MATH_ONLY__ == 1.
6751
edc121be
AS
67522011-09-15 Andreas Schwab <schwab@redhat.com>
6753
6754 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6755 __ieee754_sqrt instead of sqrt.
6756 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6757 __ieee754_sqrtf instead of sqrtf.
6758 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6759 __floorf instead of floorf.
6760 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6761 __floorf, __truncf instead of floorf, truncf.
6762
cd205654
UD
67632011-09-14 Ulrich Drepper <drepper@gmail.com>
6764
ee4d0315
UD
6765 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6766
cd205654
UD
6767 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6768 __extern_always_inline.
6769 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6770 32-bit.
6771
48b67d71
AS
67722011-09-14 Andreas Schwab <schwab@redhat.com>
6773
6774 * elf/rtld.c (dl_main): Also relocate in dependency order when
6775 doing symbol dependency testing.
6776
1ae12c75
AS
67772011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6778
6779 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6780 Always define `refsym'.
6781
995a80df
AS
67822011-09-13 Andreas Schwab <schwab@redhat.com>
6783
e529793b
AS
6784 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6785 (__FD_ELT): Renamed from __FDELT.
6786 * misc/bits/select2.h (__FD_ELT): Likewise.
6787 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6788 __FD_MASK instead of __FDELT, __FDMASK.
6789 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6790 Likewise.
6791 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6792 Likewise.
6793
52d4fef8
AS
6794 * elf/Makefile (gen-ldd): Fix pattern.
6795
995a80df
AS
6796 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6797 (init_tls): Likewise.
6798
8682f8b0
UD
67992011-09-12 Ulrich Drepper <drepper@gmail.com>
6800
6801 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6802
de82006d
AS
68032011-09-12 Andreas Schwab <schwab@redhat.com>
6804
a7c8e6a1
AS
6805 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6806 `struct cmsghdr *' instead of `void *'.
6807 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6808 Likewise.
6809
0f31fe77
AS
68102011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6811
6812 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6813 if non-absolute.
6814 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6815 ldd_rewrite_script.
0f31fe77 6816
32b4c839
UD
68172011-09-11 Ulrich Drepper <drepper@gmail.com>
6818
83cd1420
UD
6819 * configure.in: Remove --with-tls option.
6820 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6821 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6822 out in case it is missing.
6823 * sysdeps/ia64/elf/configure.in: Likewise.
6824 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6825 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6826 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6827 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6828 * sysdeps/sh/elf/configure.in: Likewise.
6829 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6830 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6831 * sysdeps/x86_64/elf/configure.in: Likewise.
6832 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6833 * sysdeps/mach/hurd/tls.h: Likewise.
6834
633f745d
UD
6835 [BZ #13067]
6836 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6837
f318beb8
UD
6838 [BZ #13090]
6839 * configure.in: Fix use of AC_INIT.
6840
32b4c839
UD
6841 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6842
3ce1f295
UD
68432011-09-10 Ulrich Drepper <drepper@gmail.com>
6844
bb016596
UD
6845 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6846 __set_errno.
8e58439c
UD
6847 * malloc/hooks.c: Likewise.
6848
aebae053 6849 [BZ #11929]
02d46fc4
UD
6850 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6851 variables statically.
6852 (narenas): Initialize.
6853 (list_lock): Initialize.
bb016596
UD
6854 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6855 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
6856 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6857 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6858 Add initializers to main_arena and mp_.
6859 (malloc_state): Remove pagesize member. Change all users to use
6860 GLRO(dl_pagesize).
6861
6862 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6863 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6864 is always initialized.
6865
22a89187
UD
6866 * malloc/malloc.c: Removed unused configurations and dead code.
6867 * malloc/arena.c: Likewise.
6868 * malloc/hooks.c: Likewise.
02d46fc4 6869 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 6870
d063d164
UD
6871 * include/tls.h: Removed. USE___THREAD must always be defined.
6872 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6873 * elf/dl-libc.c: Likewise.
6874 * elf/dl-tsd.c: Likewise.
6875 * include/errno.h: Likewise.
6876 * include/netdb.h: Likewise.
6877 * include/resolv.h: Likewise.
6878 * inet/herrno-loc.c: Likewise.
6879 * inet/herrno.c: Likewise.
6880 * malloc/arena.c: Likewise.
6881 * malloc/hooks.c: Likewise.
6882 * malloc/malloc.c: Likewise.
6883 * resolv/res-state.c: Likewise.
6884 * resolv/res_libc.c: Likewise.
6885 * sysdeps/i386/dl-machine.h: Likewise.
6886 * sysdeps/ia64/dl-machine.h: Likewise.
6887 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6888 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6889 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6890 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6891 * sysdeps/sh/dl-machine.h: Likewise.
6892 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6893 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6894 * sysdeps/unix/i386/sysdep.S: Likewise.
6895 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6896 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6897 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6898 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6899 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6900 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6901 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6902 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6903 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6904 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6905 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6906 * sysdeps/x86_64/dl-machine.h: Likewise.
6907 * tls.make.c: Likewise.
6908
3ce1f295
UD
6909 * configure.in: Remove --with-__thread option. Make tests for
6910 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6911 tls_model attribute fail if no support is available. Remove
6912 USE_IN_LIBIO.
6913 * Makeconfig: Adjust for dropped configure option. All features are
6914 now mandatory.
6915 * Makerules: Likewise.
6916 * Versions.def: Likewise.
6917 * argp/argp-fmtstream.c: Likewise.
6918 * argp/argp-fmtstream.h: Likewise.
6919 * argp/argp-help.c: Likewise.
6920 * assert/assert.c: Likewise.
6921 * config.h.in: Likewise.
6922 * config.make.in: Likewise.
6923 * configure: Likewise.
6924 * configure.in: Likewise.
6925 * csu/Versions: Likewise.
6926 * csu/init.c: Likewise.
6927 * elf/tst-audit2.c: Likewise.
6928 * elf/tst-tls10.c: Likewise.
6929 * elf/tst-tls10.h: Likewise.
6930 * elf/tst-tls11.c: Likewise.
6931 * elf/tst-tls12.c: Likewise.
6932 * elf/tst-tls14.c: Likewise.
6933 * elf/tst-tlsmod11.c: Likewise.
6934 * elf/tst-tlsmod12.c: Likewise.
6935 * elf/tst-tlsmod13.c: Likewise.
6936 * elf/tst-tlsmod13a.c: Likewise.
6937 * elf/tst-tlsmod14a.c: Likewise.
6938 * elf/tst-tlsmod15b.c: Likewise.
6939 * elf/tst-tlsmod16a.c: Likewise.
6940 * elf/tst-tlsmod16b.c: Likewise.
6941 * elf/tst-tlsmod7.c: Likewise.
6942 * elf/tst-tlsmod8.c: Likewise.
6943 * elf/tst-tlsmod9.c: Likewise.
6944 * gmon/gmon.c: Likewise.
6945 * grp/fgetgrent_r.c: Likewise.
6946 * grp/putgrent.c: Likewise.
6947 * hurd/fopenport.c: Likewise.
6948 * include/libc-symbols.h: Likewise.
6949 * include/tls.h: Likewise.
6950 * intl/gettextP.h: Likewise.
6951 * intl/loadinfo.h: Likewise.
6952 * locale/global-locale.c: Likewise.
6953 * locale/localeinfo.h: Likewise.
6954 * mach/devstream.c: Likewise.
6955 * malloc/arena.c: Likewise.
6956 * malloc/set-freeres.c: Likewise.
6957 * misc/err.c: Likewise.
6958 * misc/getttyent.c: Likewise.
6959 * misc/mntent_r.c: Likewise.
6960 * posix/getopt.c: Likewise.
6961 * posix/wordexp.c: Likewise.
6962 * pwd/fgetpwent_r.c: Likewise.
6963 * resolv/Versions: Likewise.
6964 * resolv/res_hconf.c: Likewise.
6965 * shadow/fgetspent_r.c: Likewise.
6966 * shadow/putspent.c: Likewise.
6967 * stdio-common/printf_fphex.c: Likewise.
6968 * stdio-common/tmpfile.c: Likewise.
6969 * stdlib/abort.c: Likewise.
6970 * stdlib/fmtmsg.c: Likewise.
6971 * sunrpc/auth_unix.c: Likewise.
6972 * sunrpc/clnt_perr.c: Likewise.
6973 * sunrpc/clnt_tcp.c: Likewise.
6974 * sunrpc/clnt_udp.c: Likewise.
6975 * sunrpc/clnt_unix.c: Likewise.
6976 * sunrpc/openchild.c: Likewise.
6977 * sunrpc/svc_simple.c: Likewise.
6978 * sunrpc/svc_tcp.c: Likewise.
6979 * sunrpc/svc_udp.c: Likewise.
6980 * sunrpc/svc_unix.c: Likewise.
6981 * sunrpc/xdr.c: Likewise.
6982 * sunrpc/xdr_array.c: Likewise.
6983 * sunrpc/xdr_rec.c: Likewise.
6984 * sunrpc/xdr_ref.c: Likewise.
6985 * sunrpc/xdr_stdio.c: Likewise.
6986
1248c1c4
PB
69872011-09-09 Ulrich Drepper <drepper@gmail.com>
6988
6989 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6990
69912011-07-03 Andreas Jaeger <aj@suse.de>
6992
6993 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6994 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6995 regenerate with gen-libm-tests.pl.
6996
69972010-05-12 Petr Baudis <pasky@suse.cz>
6998
6999 [BZ #11589]
7000 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7001 around j0() zero points by switching to j1().
7002 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7003 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7004 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7005 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7006
f22e1074
UD
70072011-09-09 Ulrich Drepper <drepper@gmail.com>
7008
f19009c1
UD
7009 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7010 instead of 0.
7011 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7012 instead of 0. .
7013 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7014 Patch in part by Pavel Roskin <proski@gnu.org>.
7015
3f8cc204
UD
7016 [BZ #13138]
7017 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7018 realloc.
7019 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7020 Free memory block if necessary.
7021
f22e1074
UD
7022 [BZ #12847]
7023 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7024 be NULL. Don't lock in this case.
7025
0a2349f9
RM
70262011-09-09 Roland McGrath <roland@hack.frob.com>
7027
7028 * elf/elf.h (ELFOSABI_GNU): New macro.
7029 (ELFOSABI_LINUX): Define to that.
7030
f3cdd467
DZ
70312011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7032
7033 * string/strncat.c (strncat): Undef the symbol in case it has been
7034 defined in bits/string.h.
7035
74718d13
UD
70362011-09-09 Ulrich Drepper <drepper@gmail.com>
7037
633e9e0f
UD
7038 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7039
0a2349f9 7040 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
7041 link map.
7042
f9924780
AJ
70432011-08-17 Andreas Jaeger <aj@suse.de>
7044
7045 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7046
7f5517aa
PP
70472011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7048 Ian Lance Taylor <iant@google.com>
7049
7050 * math/libm-test.inc (lround_test): New testcase.
7051 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7052
762011fe
UD
70532011-09-08 Ulrich Drepper <drepper@gmail.com>
7054
92963737
UD
7055 * Makefile: Remove support for automatic cvs check-ins.
7056 * Makerules: Likewise.
7057 * config.make.in: Likewise.
7058 * configure.in: Likewise.
7059 * intl/Makefile: Likewise.
7060 * locale/Makefile: Likewise.
7061 * po/Makefile: Likewise.
7062 * posix/Makefile: Likewise.
7063 * sysdeps/gnu/Makefile: Likewise.
7064 * sysdeps/mach/hurd/Makefile: Likewise.
7065 * sysdeps/sparc/sparc32/Makefile: Likewise.
7066
b0727fd8
JS
7067 [BZ #13118]
7068 * posix/Makefile (bug-regex32-ENV): Define.
7069 Patch by John Stanley <jpsinthemix@verizon.net>.
7070
a0f33f99
UD
7071 * misc/Makefile (headers): Add bits/select2.h.
7072 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7073 * misc/bits/select2.h: New file.
7074 * include/bits/select2.h: New file.
7075 * debug/Makefile (routines): Add fdelt_chk.
7076 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7077 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7078 FD_ISSET.
7079 * debug/fdelt_chk.c: New file.
7080
762011fe
UD
7081 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7082 * wcsmbs/test-wmemcmp.c: Likewise.
7083 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 7084 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
7085
70862011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7087
7088 * string/Makefile (strop-tests): Add memcmp.
7089 * string/test-wmemcmp.c: New file.
7090 * string/test-memcmp.c: Add wmemcmp support.
7091
7f513ec8
RM
70922011-09-08 Roland McGrath <roland@hack.frob.com>
7093
0442afb4
RM
7094 [BZ #13153]
7095 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7096 2011-07-19 change.
7097
7f513ec8
RM
7098 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7099 garbage value in a __mach_port_mod_refs call in the cases of the
7100 task-self and thread-self ports.
7101
a12b2239
ST
71022011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7103
7104 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7105
610f9ab4
AS
71062011-09-08 Andreas Schwab <schwab@redhat.com>
7107
7f513ec8 7108 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 7109
48882a1a
LD
71102011-09-07 Ulrich Drepper <drepper@gmail.com>
7111
b49865be
UD
7112 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7113
fdc86bc9
UD
7114 * elf/dl-libc.c (dlerror_run): Pass back error code from
7115 dl_catch_error.
7116
c966526a
UD
7117 [BZ #13123]
7118 * elf/dl-load.c (lose): Free l_origin if it is valid.
7119
48882a1a
LD
7120 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7121 names.
7122 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7123 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7124 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7125 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7126 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7127 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7128
77a2a8b4
AZ
71292011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7130
7131 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7132 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7133 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7134 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7135 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7136 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7137 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7138 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7139 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7140 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7141
24f579d8
AM
71422011-08-15 Alan Modra <amodra@gmail.com>
7143
7144 [BZ #13092]
7145 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7146 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7147 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7148 ppc_mcount to static-only-routines.
7149 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7150 __mcount_internal.
7151 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7152 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7153
3d4837df
UD
71542011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7155
7156 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7157 for finite and infinity parameters.
7158
22700377
WS
71592011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7160
7161 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7162 and add nop instructions for throughput optimization.
7163 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7164
5025581e
WS
71652011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7166
7167 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7168 aligned copy for power7 with vector-scalar instructions.
7169 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7170
08a300c9
L
71712011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7172
7173 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7174 AVX check.
7175
59178ef9
AS
71762011-09-07 Andreas Schwab <schwab@redhat.com>
7177
7178 [BZ #13144]
7179 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7180 last change.
7181
e38ba7ab
UD
71822011-09-07 Ulrich Drepper <drepper@gmail.com>
7183
7184 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7185 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7186 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7187 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7188 clock_gettime.
7189
d53a73ac
UD
71902011-09-06 Ulrich Drepper <drepper@gmail.com>
7191
fc8bffcc
UD
7192 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7193 Forgot to demangle the pointer.
7194
ceaa0c5d
UD
7195 * sysdeps/i386/sysdep.h: Define atom_text_section.
7196 * sysdeps/x86_64/sysdep.h: Likewise.
7197 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7198 section with atom_text_section.
7199 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7200 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7201 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7202 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7203 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7204
a77d3c17
UD
7205 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7206 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7207 already be defined. Change to take two parameters and don't assign
7208 result to variable. Adjust all users.
7209 Define INTERNAL_GETTIME if not already defined.
7210 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7211 call.
7212 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7213 HAVE_CLOCK_GETTIME_VSYSCALL.
7214 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7215
d53a73ac
UD
7216 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7217 gettimeofday vsyscall, just use time.
7218
a8f84144
AS
72192011-09-06 Andreas Schwab <schwab@redhat.com>
7220
7221 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7222 <errno.h>.
7223
ef606249
UD
72242011-09-06 Ulrich Drepper <drepper@gmail.com>
7225
7226 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7227 syscall on x86-64.
7228 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7229 syscall.
7230 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7231 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7232 syscall if possible.
7233
6585cb60
UD
72342011-09-05 Ulrich Drepper <drepper@gmail.com>
7235
7236 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7237 e_ident. Don't pass to find_mapsXX.
7238 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7239
a5f524e4
LD
72402011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7241
7242 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7243 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7244 * sysdeps/x86_64/multiarch/strchr.S: Update.
7245 Check bit_slow_BSF bit.
7246 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7247 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7248 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7249
554881ef
UD
72502011-09-05 Ulrich Drepper <drepper@gmail.com>
7251
d96de963
UD
7252 [BZ #13134]
7253 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7254 before glibc 2.15.
7255 (tryshell): Define.
7256 (__spawni): Change last parameter to be flag. Test
7257 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7258 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7259 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7260 * posix/spawni.c: Likewise.
7261 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7262 * posix/spawnp.c: Likewise. Change normal version to use
7263 SPAWN_XFLAGS_USE_PATH.
7264 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7265 SPAWN_XFLAGS_TRY_SHELL.
7266
d48e5868
UD
7267 [BZ #13150]
7268 * posix/glob.h: Remove gcc 1.x support.
7269
554881ef
UD
7270 [BZ #13068]
7271 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7272
693fb948
LD
72732011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7274
7275 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7276 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7277 strrchr-sse2-bsf
7278 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7279 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7280 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7281 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7282 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7283 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7284
1b48c537
UD
72852011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7286
49d42c37
UD
7287 * sysdeps/x86_64/wcscmp.S: New file.
7288
1b48c537
UD
7289 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7290 wcscmp-c wcscmp-sse2
7291 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7292 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7293 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7294 * wcsmbs/wcscmp.c: Allow renaming.
7295
15c95c5d
DM
72962011-09-05 David S. Miller <davem@davemloft.net>
7297
7298 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7299 stack slot, rather than the struct return pointer slot.
7300 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7301 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7303 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7304
2f0ad8f3
UD
73052011-09-05 Ulrich Drepper <drepper@gmail.com>
7306
d88ae418
UD
7307 * po/ja.po: Update from translation team.
7308
2f0ad8f3
UD
7309 [BZ #13144]
7310 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7311 kernel in 64-bit binaries.
7312
5f4318d1
DM
73132011-09-01 David S. Miller <davem@davemloft.net>
7314
7315 * elf/elf.h (HWCAP_SPARC_*): Move to..
7316 * sysdeps/sparc/sysdep.h: this new file and add new values.
7317 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7318 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7319 _DL_HWCAP_COUNT to 24.
7320 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7321 entries.
7322 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7323 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7324 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7325 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7326 instead of magic constants.
7327 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7328
3ba57516
DM
73292011-08-31 David S. Miller <davem@davemloft.net>
7330
7331 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7332 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7333 Reimplement to do errno handling inline.
7334 (SYSCALL_ERROR_HANDLER): New macro.
7335 (__SYSCALL_STRING): Do not do errno handling in asm.
7336 (__CLONE_SYSCALL_STRING): Delete.
7337 (__INTERNAL_SYSCALL_STRING): Delete.
7338 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7339 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7340 (PSEUDO): Reimplement to do errno handling inline.
7341 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7342 (SYSCALL_ERROR_HANDLER): New macro.
7343 (__SYSCALL_STRING): Do not do errno handling in asm.
7344 (__CLONE_SYSCALL_STRING): Delete.
7345 (__INTERNAL_SYSCALL_STRING): Delete.
7346 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7347 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7348 i386.
7349 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7350 (inline_syscall*): Add 'err' argument.
7351 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7352 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7353 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7354 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7355
7356 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7357 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7358
2bc17433
AS
73592011-08-30 Andreas Schwab <schwab@redhat.com>
7360
7361 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7362
fbeb5f4d
JO
73632011-08-29 Jiri Olsa <jolsa@redhat.com>
7364
7365 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7366 directive.
7367
ad69cc26
DM
73682011-08-24 David S. Miller <davem@davemloft.net>
7369
7370 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7371
39dd69df
AS
73722011-08-24 Andreas Schwab <schwab@redhat.com>
7373
7374 * elf/Makefile: Add rules to build and run unload8 test.
7375 * elf/unload8.c: New file.
7376 * elf/unload8mod1.c: New file.
7377 * elf/unload8mod1x.c: New file.
7378 * elf/unload8mod2.c: New file.
7379 * elf/unload8mod3.c: New file.
7380
7381 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7382 it wasn't used.
7383
2c0b250a
DM
73842011-08-23 David S. Miller <davem@davemloft.net>
7385
7386 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7387 subtract stack bias.
7388 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7389 %sp not %fp in calculations.
7390 (_JMPBUF_UNWINDS_ADJ): Likewise.
7391
22044b48
DM
7392 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7393 (aio_suspend): Call it to force an exception region around the
7394 AIO_MISC_WAIT() invocation.
7395
2cae4995
AS
73962011-08-23 Andreas Schwab <schwab@redhat.com>
7397
7398 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7399 backslash.
7400
873a772e
AJ
74012011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7402
7403 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7404 protection macro.
7405 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7406 and <dl-machine.h>.
7407 (Elf64_FuncDesc): Remove.
7408
25ad0df1
DM
74092011-08-22 David S. Miller <davem@davemloft.net>
7410
7411 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7412 sigaltstack check, add missing cfi directives.
7413 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7414 missing cfi directives, and sigaltstack handling.
7415
e888bcbe
AS
74162011-08-16 Andreas Schwab <schwab@redhat.com>
7417
7418 [BZ #11724]
7419 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7420 object is seen twice.
7421 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7422
7423 * elf/Makefile (distribute): Add tst-initorder2.c.
7424 (tests): Add tst-initorder2.
7425 (modules-names): Add tst-initorder2a tst-initorder2b
7426 tst-initorder2c tst-initorder2d. Add rules to build them.
7427 ($(objpfx)tst-initorder2.out): New rule.
7428 * elf/tst-initorder2.c: New file.
7429 * elf/tst-initorder2.exp: New file.
7430
87162f46
AS
74312011-08-22 Andreas Schwab <schwab@redhat.com>
7432
70538b7f
AS
7433 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7434
f55ffe58
AS
7435 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7436 dependencies back to end of function.
7437
87162f46
AS
7438 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7439 $(elfobjdir)/ld.so.
7440
91b392a4
UD
74412011-08-21 Ulrich Drepper <drepper@gmail.com>
7442
7443 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7444 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7445 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7446 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7447 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7448 of __vdso_gettimeofday.
7449 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7450 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7451 attribute_hidden.
7452 (_libc_vdso_platform_setup): Remove initialization of
7453 __vdso_gettimeofday and __vdso_time.
7454
5c43483f
UD
74552011-08-20 Ulrich Drepper <drepper@gmail.com>
7456
775a77e7
UD
7457 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7458 and fgetc_unlocked.
7459 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7460 getc_unlocked.
89f447ed 7461
49c74ba9
UD
7462 * elf/dl-open.c (add_to_global): Report additions to the global scope
7463 for LD_DEBUG=scopes.
7464 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 7465 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 7466
5c43483f
UD
7467 [BZ #13114]
7468 * stdio-common/Makefile (tests): Add bug24.
7469 * stdio-common/bug24.c: New file.
7470
a101b025
AJ
74712011-08-19 Andreas Jaeger <aj@suse.de>
7472
7473 [BZ #13114]
7474 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7475 non-existant file when using close-on-exec mode.
7476
c88f1766
UD
74772011-08-20 Ulrich Drepper <drepper@gmail.com>
7478
0276a718
UD
7479 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7480 the very first instruction.
7481
c88f1766
UD
7482 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7483 the CFI state in the end.
7484 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7485 inclusion of dl-trampoline.h.
7486 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7487
51ccffa0
AS
74882011-08-19 Andreas Schwab <schwab@redhat.com>
7489
94d7165f
AS
7490 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7491 expectations for long double.
7492
51ccffa0
AS
7493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7494 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7495
fd708658 74962011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
7497
7498 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7499 artificual limit depends upon the system page size.
7500
44f0a71e
UD
75012011-08-17 Ulrich Drepper <drepper@gmail.com>
7502
7503 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7504 * resolv/Makefile: Define CFLAGS-libresolv.
7505
8de79a24
AS
75062011-08-17 Andreas Schwab <schwab@redhat.com>
7507
7508 * nss/makedb.c (compute_tables): Make variables used in nested
7509 function static.
7510
27724598
UD
75112011-08-17 Ulrich Drepper <drepper@gmail.com>
7512
c5305d88
UD
7513 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7514 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7515 if buffer was too small.
7516
27724598
UD
7517 * elf/pldd.c (main): Attach to all threads in the process.
7518 Rewrite /proc handling to use *at functions.
7519
076fe015
UD
75202011-08-16 Ulrich Drepper <drepper@gmail.com>
7521
174baab3
UD
7522 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7523 specifies first scope to show.
7524 (dl_open_worker): Update callers. Move printing scope of new
7525 object to before the relocation.
44f0a71e 7526 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7527 * sysdeps/generic/ldsodefs.h: Update declaration.
7528
076fe015
UD
7529 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7530 string for the scope number.
7531
a60df2c3
UD
75322011-08-14 Ulrich Drepper <drepper@gmail.com>
7533
7534 * nscd/servicescache.c (cache_addserv): Make sure written is always
7535 initialized.
7536
5e4287d1
RM
75372011-08-14 Roland McGrath <roland@hack.frob.com>
7538
85ae0589
RM
7539 * sysdeps/i386/i486/bits/atomic.h
7540 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7541 statement expression, so as to suppress "set but not used" warning.
7542 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7543
69f63097
RM
7544 * string/strncat.c (STRNCAT): Use prototype definition.
7545
675456ef
RM
7546 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7547 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7548 -Iprograms here.
7549 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7550 (localedef-modules): Add localedef.
7551 (locale-modules): Add locale.
7552
5e4287d1
RM
7553 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7554 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7555 to avoid a warning.
7556
9c96ff23
DM
75572011-08-14 David S. Miller <davem@davemloft.net>
7558
7559 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7560 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7561
f9ddf089
UD
75622011-08-13 Ulrich Drepper <drepper@gmail.com>
7563
44f0a71e 7564 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
7565 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7566 * elf/rtld.c (dl_main): Set l_name of vDSO.
7567 Call _dl_show_scope when DL_DEBUG_SCOPES.
7568 (process_dl_debug): Recognize scopes flag and also set it for all.
7569 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7570 Declare _dl_show_scope.
7571
1dc27704
UD
7572 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7573 (do_dlopen): Pass caller_dlopen to dl_open.
7574 (__libc_dlopen_mode): Initialize caller_dlopen.
7575
f9ddf089
UD
7576 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7577 of libc. Make tolower call locale-independent. Optimize a bit by
7578 using isdigit instead of isalnum.
7579 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7580
9ac533d3
UD
75812011-08-12 Ulrich Drepper <drepper@gmail.com>
7582
7583 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7584 was a dependency or dynamically loaded.
7585
89edf2e9
UD
75862011-08-11 Ulrich Drepper <drepper@gmail.com>
7587
8e999d29
UD
7588 * intl/l10nflist.c: Allow architecture-specific pop function.
7589 * sysdeps/x86_64/l10nflist.c: New file.
7590
89edf2e9
UD
7591 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7592 classification.
7593
14d96785
AS
75942011-08-10 Andreas Schwab <schwab@redhat.com>
7595
7596 * include/dirent.h: Add libc_hidden_proto for scandirat and
7597 scandirat64. Don't declare __scandirat64.
7598 * dirent/scandirat.c: Add libc_hidden_def.
7599 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7600 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7601
6761ac04
DM
76022011-08-10 David S. Miller <davem@davemloft.net>
7603
7604 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7605 enum.
7606 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7607 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7608 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7609
c55fbd1e
UD
76102011-08-09 Ulrich Drepper <drepper@gmail.com>
7611
7612 * Versions.def [libc]: Add GLIBC_2.15.
7613 * dirent/Makefile (routines): Add scandirat and scandirat64.
7614 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7615 GLIBC_2.15.
7616 * dirent/dirent.h: Declare scandirat and scandirat64.
7617 * dirent/scandirat.c: New file.
7618 * dirent/scandirat64.c: New file.
7619 * sysdeps/wordsize-64/scandirat.c: New file.
7620 * sysdeps/wordsize-64/scandirat64.c: New file.
7621 * dirent/opendir.c: Define opendirat.
7622 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7623 using scandirat.
7624 * dirent/scandir64.c: Adjust for scandir.c change.
7625 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7626 __scandirat64, and __scandir_cancel_handler.
7627 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7628 additional parameter and use openat instead of open (outside of ld.so).
7629 Add new __opendir as wrapper around __opendirat.
7630 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7631 here without requiring old scandirat implementation.
7632
879165f2
UD
76332011-08-08 Ulrich Drepper <drepper@gmail.com>
7634
7635 * dirent/scandir.c (cancel_handler): Renamed to
7636 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7637 defined. Adjust users.
7638 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7639 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7640
cb7e923b
UD
76412011-08-04 Ulrich Drepper <drepper@gmail.com>
7642
16292edd
UD
7643 * string/test-string.h (IMPL): Use __STRING to expand name and then
7644 stringify it.
7645
cb7e923b
UD
7646 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7647 of cleanups.
7648
cff82933
LD
76492011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7650
7651 * string/Makefile: Update.
7652 (strop-tests): Append strncat.
7653 * string/test-wcscmp.c: New file.
7654 New comprehensive test for wcscmp.
7655 * string/test-strcmp.c: Update.
7656 (WIDE): New define.
7657
9be9bfcc
AS
76582011-07-22 Andreas Schwab <schwab@redhat.com>
7659
7660 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7661 line.
7662
2e96f1c7
AS
76632011-07-26 Andreas Schwab <schwab@redhat.com>
7664
7665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7666 encoding to ACE if AI_IDN.
7667
85188888
JJ
76682011-08-01 Jakub Jelinek <jakub@redhat.com>
7669
7670 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7671 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7672
5fa16e9b
LD
76732011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7674
7675 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7676 Fix overflow bug in strncat.
7677 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7678
7679 * string/test-strncat.c: Update.
7680 Add new tests for checking overflow bugs.
7681
76822011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7683
7684 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7685 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7686 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7687 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7688 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7689 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7690 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7691 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7692 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7693
7694 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7695 (USE_AS_STRCAT): Define.
7696 Add strcat and strncat support.
7697 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7698
8c1a459f
AS
76992011-07-25 Andreas Schwab <schwab@redhat.com>
7700
7701 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7702 __n bigger than INT_MAX+1.
7703 (__strncmp_g): Likewise.
7704
bba33c28
UD
77052011-07-23 Ulrich Drepper <drepper@gmail.com>
7706
798be72d
UD
7707 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7708 * libio/stido.h: Likewise.
7709
8accd4dc
UD
7710 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7711 (AF_NFC): Define.
7712 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7713 (AF_NFC): Define.
7714
cbff0d96
UD
7715 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7716 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7717 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7718 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7719 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7720
9191c04a
UD
7721 [BZ #13021]
7722 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7723 installed.
7724
bba33c28
UD
7725 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7726 typo.
7727 (_dl_x86_64_save_sse): Likewise.
7728
90f139dd
UD
77292011-07-22 Ulrich Drepper <drepper@gmail.com>
7730
1aae088a
UD
7731 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7732 OSXSAVE.
7733 (_dl_x86_64_save_sse): Likewise.
7734
8e2045f5
UD
7735 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7736
90f139dd
UD
7737 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7738
1d002f25
AS
77392011-07-21 Andreas Schwab <schwab@redhat.com>
7740
7741 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7742 change.
7743 (_dl_x86_64_save_sse): Use correct AVX check.
7744
21137f89
UD
77452011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7746
7747 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7748 bug in strncpy/strncat.
7749 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7750
a65c0b7a
UD
77512011-07-21 Ulrich Drepper <drepper@gmail.com>
7752
7753 * string/tester.c (test_strcat): Add tests for different alignments
7754 of source and destination.
7755 (test_strncat): Likewise.
7756
6986b98a
UD
77572011-07-20 Ulrich Drepper <drepper@gmail.com>
7758
90bb2039
UD
7759 [BZ #12852]
7760 * posix/glob.c (glob): Check passed in values before using them in
7761 expressions to avoid some overflows.
7762 (glob_in_dir): Likewise.
7763
5644ef54
UD
7764 [BZ #13007]
7765 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7766 check for AVX enablement so that we don't crash with old kernels and
7767 new hardware.
7768 * elf/tst-audit4.c: Add same checks here.
7769 * elf/tst-audit6.c: Likewise.
7770
7771 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 7772
bfc9dc9b
AS
77732011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7774
7775 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7776
702e64bb
UD
77772011-07-20 Ulrich Drepper <drepper@gmail.com>
7778
7779 * po/cs.po: Update from translation team.
7780 * po/bg.po: Likewise.
7781
295e904f
MP
77822011-07-12 Marek Polacek <mpolacek@redhat.com>
7783
7784 * misc/sys/cdefs.h: Add support for const attribute.
7785 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7786 to gnu_dev_{major,minor,makedev} functions.
7787
3ff94596
MP
77882011-07-20 Marek Polacek <mpolacek@redhat.com>
7789
7790 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7791
28b59fca
AS
77922011-07-20 Andreas Schwab <schwab@redhat.com>
7793
7794 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7795 strlen results.
7796
19df733e
AK
77972011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7798
7799 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7800 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7801 register in order to avoid conflicts with the soft frame pointer
7802 being held in r11 when necessary.
7803 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7804 (INTERNAL_VSYSCALL_NCS): Likewise.
7805
c8835729
MP
78062011-07-14 Marek Polacek <mpolacek@redhat.com>
7807
7808 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7809 * elf/dl-fini.c (_dl_fini): Adjust caller.
7810 * elf/dl-close.c (_dl_close_worker): Likewise.
7811 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7812
b902330c
MP
78132011-07-15 Marek Polacek <mpolacek@redhat.com>
7814
8991e135
MP
7815 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7816 "aux_cache->nlibs < 0".
7817
b902330c
MP
7818 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7819 in the reload-count case.
7820
99710781
LD
78212011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7822
7823 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7824 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7825 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7826 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7827 * sysdeps/x86_64/multiarch/strcat.S: New file.
7828 * sysdeps/x86_64/multiarch/strncat.S: New file.
7829 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7830 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7831 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7832 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7833 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7834 (USE_AS_STRCAT): Define.
7835 Add strcat and strncat support.
7836 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7837 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7838 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7839 * string/strncat.c: Update.
7840 (USE_AS_STRNCAT): Define.
7841 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7842 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7843 and i7.
7844 * sysdeps/x86_64/multiarch/init-arch.h
7845 (bit_Prefer_PMINUB_for_stringop): New.
7846 (index_Prefer_PMINUB_for_stringop): Likewise.
7847 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7848 bit_Prefer_PMINUB_for_stringop.
7849
7dc6bd90
UD
78502011-07-19 Ulrich Drepper <drepper@gmail.com>
7851
7852 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7853 buffer64.
7854 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7855 of casting of buffer.
7856 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7857 buffer32 and buffer64.
7858 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7859 writes instead of casting of buffer.
7860 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7861 buffer32.
7862 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7863 casting of buffer.
7864
e0e72284
AS
78652011-07-19 Andreas Schwab <schwab@redhat.com>
7866
7867 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7868
feb1eb0b
UD
78692011-07-19 Ulrich Drepper <drepper@gmail.com>
7870
7871 * nscd/nscd.c (termination_handler): Don't do anything for a database
7872 if it has not yet been initialized.
7873
298711ff
UD
78742011-07-18 Ulrich Drepper <drepper@gmail.com>
7875
7876 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7877
78782011-07-15 Marek Polacek <mpolacek@redhat.com>
7879
7880 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7881
f9d68389
UD
78822011-07-18 Ulrich Drepper <drepper@gmail.com>
7883
7884 * po/nl.po: Update from translation team.
7885 * po/sv.po: Likewise.
7886
db290cf5
RM
78872011-07-16 Roland McGrath <roland@hack.frob.com>
7888
7889 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7890 now disallowed by GCC.
5c550700 7891
fd5e21c7
RM
7892 * configure.in (use-default-link): Default to yes if a test -shared
7893 link meets our qualifications.
7894 * configure: Regenerated.
7895
5c550700
RM
7896 * config.make.in (output-format): New variable.
7897 * configure.in: Check for ld --print-output-format support.
7898 * configure: Regenerated.
7899 * Makerules ($(common-objpfx)format.lds)
7900 [$(output-format) != unknown]: Just use $(output-format),
7901 instead of the linker-script munging.
7902
9fa2c032
RM
79032011-07-14 Roland McGrath <roland@hack.frob.com>
7904
a6928d51
RM
7905 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7906 of $(common-objpfx)shlib.lds.
7907 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7908
661607b3
RM
7909 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7910 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7911
9fa2c032
RM
7912 * configure.in (-z relro check): Adjust test code to add a large
7913 writable data section after it.
7914 * configure: Regenerated.
7915
defe9061
RM
79162011-07-11 Roland McGrath <roland@hack.frob.com>
7917
7918 * configure.in (-z relro check): Fix test code to make the variable
7919 truly const.
7920 * configure: Regenerated.
7921
319b9ad4
UD
79222011-07-11 Ulrich Drepper <drepper@gmail.com>
7923
7924 * nscd/nscd.h (struct traced_file): Define.
7925 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7926 elements. Add traced_files.
7927 (inotify_fd): Declare.
7928 (register_traced_file): Declare.
7929 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7930 (inotify_fd): Export.
7931 (resolv_conf_descr): Remove.
7932 (nscd_init): Move inotify descriptor creation to main.
7933 Don't register files for notification here.
7934 (register_traced_file): New function.
7935 (invalidate_cache): Don't use reset_res to determine whether to call
7936 res_init, go through the list of registered files.
7937 (main_loop_poll): The inotify descriptors are now stored in the
7938 structures for the traced files.
7939 (main_loop_epoll): Likewise
7940 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7941 to __nss_disable_nscd.
7942 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7943 for a database anymore. Check the records for all the registered
7944 files instead.
7945 * nss/Makefile (libnss_files-routines): Add files-init.
7946 (libnss_db-routines): Add db-init.
7947 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7948 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7949 * nss/nss_db/db-init.c: New file.
7950 * nss/nss_files/files-init.c: New file.
7951 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7952 __nss_lookup_function.
7953 (__nss_lookup_function): Call nss_load_library.
7954 (nss_load_all_libraries): New function.
7955 (__nss_disable_nscd): Take parameter with callback function for files
7956 to register. Set is_nscd. Load all the DSOs for the NSS modules
7957 used for the cached services.
7958 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7959 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7960 options for features to all the files in nscd.
7961
7962 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7963
23bee3e8
RM
79642011-07-10 Roland McGrath <roland@hack.frob.com>
7965
7966 * csu/elf-init.c (__libc_csu_init): Comment typo.
7967
46a5b7f0
UD
79682011-07-09 Ulrich Drepper <drepper@gmail.com>
7969
7970 * po/pl.po: Update from translation team.
7971 * po/ja.po: Likewise.
7972 * po/ru.po: Likewise.
7973 * po/ko.po: Likewise.
7974 * po/fr.po: Likewise.
7975
d30cf5bb
RM
79762011-07-09 Roland McGrath <roland@hack.frob.com>
7977
113ddea4
RM
7978 * configure.in (.ctors/.dtors header and trailer check):
7979 Use an empirical test on a built program.
7980 * configure: Regenerated.
7981
574920b4
RM
7982 * configure.in (-z relro check): Use an empirical test on a built DSO.
7983 Detect, but do not require, on ia64.
7984 * configure: Regenerated.
7985
d30cf5bb
RM
7986 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7987 Update tests that use readelf to use $READELF instead.
7988 * configure: Regenerated.
7989
8538fdb3
UD
79902011-07-08 Ulrich Drepper <drepper@gmail.com>
7991
7992 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7993 if the result is not used.
7994
04d08991
AJ
79952011-07-05 Andreas Jaeger <aj@suse.de>
7996
7997 [BZ#9696]
7998 * stdlib/tst-strtod.c: Add testcase.
7999
de283087
AD
80002011-07-07 Ulrich Drepper <drepper@gmail.com>
8001
4e5f31c8 8002 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 8003 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
8004 The latter has a higher limit. Take additional parameter to pass to
8005 the new function.
8006 (__pathconf): Pass file to __statfs_link_max.
8007 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8008 __statfs_link_max.
8009 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8010 __statfs_link_max.
8011
de283087
AD
8012 [BZ #12868]
8013 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8014 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8015 Handle Lustre.
8016 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8017 (__statfs_filesize_max): Likewise.
8018 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8019
c75fa153
AJ
80202011-07-05 Andreas Jaeger <aj@suse.de>
8021
8022 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8023
1a544854
UD
80242011-07-06 Marek Polacek <mpolacek@redhat.com>
8025
8026 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8027 `status' variable.
8028 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8029 Likewise.
8030
6f0eec67
UD
80312011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8032
8033 * Makefile (strop-tests): Add strncat.
8034 * string/test-strncat.c: New file.
8035
aae30307
UD
80362011-06-30 Marek Polacek <mpolacek@redhat.com>
8037
8038 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8039
c0cfb5eb
UD
80402011-06-21 Andreas Jaeger <aj@suse.de>
8041
8042 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8043 Copy rule from iconvdata/Makefile.
8044
01636b21
UD
80452011-07-06 Ulrich Drepper <drepper@gmail.com>
8046
8047 [BZ #12922]
8048 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8049 but no long options are defined, just return 'W'.
8050
9895c8bc
UD
80512011-06-22 Marek Polacek <mpolacek@redhat.com>
8052
8053 [BZ #9696]
8054 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8055
5d4cf042
UD
80562011-07-06 Ulrich Drepper <drepper@gmail.com>
8057
8058 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8059 netgroups to read.
960e5535 8060 (innetgr): Likewise.
5d4cf042 8061
751eb97e
RM
80622011-07-05 Roland McGrath <roland@hack.frob.com>
8063
8064 * config.make.in (install_root): Default to $(DESTDIR).
8065
f15f1e45
UD
80662011-07-05 Ulrich Drepper <drepper@gmail.com>
8067
8068 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8069
4e34ac6a
RM
80702011-07-02 Roland McGrath <roland@hack.frob.com>
8071
5e9b6af4
RM
8072 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8073
84f9ea0f
RM
8074 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8075 containing directory rather than embedding absolute directory names.
8076
ea5ee9f7
RM
8077 * scripts/check-local-headers.sh: Rewritten using awk.
8078 Match by word, not by line. Print error messages for matches.
8079 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8080
1b74661a
RM
8081 * Makerules [shlib-lds-flags empty]:
8082 ($(common-objpfx)libc_pic.opts): New target.
8083 ($(common-objpfx)libc_pic.os.clean): New target.
8084 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8085
8086 * config.make.in (OBJCOPY): New variable.
8087 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8088 * configure: Regenerated.
8089
f781ef40
RM
8090 * config.make.in (use-default-link): New variable.
8091 * configure.in (use_default_link): Grok --with-default-link to set it.
8092 * configure: Regenerated.
8093 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8094 (shlib-lds, shlib-lds-flags): Define to empty.
8095
2d4fa81e
RM
8096 * Makerules (shlib-lds): New variable.
8097 (shlib-lds-flags): New variable.
8098 (build-shlib, build-moduile, build-module-asneeded): Use it.
8099 ($(common-objpfx)libc.so): Use $(shlib-lds).
8100 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8101 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8102
31fffa6b
RM
8103 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8104 DT_FLAGS/DT_FLAGS_1 with zero flags.
8105
4e34ac6a
RM
8106 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8107 linker script munging.
8108
fcfc776b
UD
81092011-07-02 Ulrich Drepper <drepper@gmail.com>
8110
8111 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8112 as 128-bit value.
8113 * crypt/sha512.c (sha512_process_block): Perform total addition using
8114 128-bit if possible.
8115 (__sha512_finish_ctx): Likewise.
8116 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8117 as 64-bit value.
8118 * crypt/sha256.c (SWAP64): Define.
8119 (sha256_process_block): Perform total addition using 64-bit if
8120 possible.
8121 (__sha256_finish_ctx): Likewise.
8122
99231d9a
UD
81232011-07-01 Ulrich Drepper <drepper@gmail.com>
8124
8125 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8126 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8127 * nscd/hstcache.c (cache_addhst): Likewise.
8128 * nscd/grpcache.c (cache_addgr): Likewise.
8129 * nscd/aicache.c (addhstaiX): Likewise
8130 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8131
445b4a53
TK
81322011-07-01 Thorsten Kukuk <kukuk@suse.de>
8133
8134 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8135 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8136 * nscd/hstcache.c (cache_addhst): Likewise.
8137 * nscd/grpcache.c (cache_addgr): Likewise.
8138 * nscd/aicache.c (addhstaiX): Likewise
8139
6d4d8e8e
AS
81402011-07-01 Andreas Schwab <schwab@redhat.com>
8141
8142 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8143 domain only when needed.
8144
89f654c5
AS
81452011-06-30 Andreas Schwab <schwab@redhat.com>
8146
8147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8148 is always restored.
8149
cf3b23ff
UD
81502011-06-29 Ulrich Drepper <drepper@gmail.com>
8151
8152 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8153 are re-adding the entry.
8154 * nscd/servicescache.c (cache_addserv): Likewise.
8155
751626f9
AJ
81562011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8157
8158 * sysdeps/generic/dl-irel.h: fix protection against multiple
8159 inclusions.
8160 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8161
9113ea1f
UD
81622011-06-28 Ulrich Drepper <drepper@gmail.com>
8163
5c0b8d90
UD
8164 [BZ #12935]
8165 * malloc/memusage.sh: Fix quoting in message.
8166 * debug/xtrace.sh: Likewise.
8167
9113ea1f
UD
8168 * configure.in: Remove support for --experimental-malloc option, make
8169 it the default.
8170 * config.make.in: Likewise.
8171 * malloc/Makefile: Likewise.
8172
a4172181
AS
81732011-06-27 Andreas Schwab <schwab@redhat.com>
8174
8175 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8176 two-byte characters.
8177
78a7eee7
RM
81782011-06-27 Roland McGrath <roland@hack.frob.com>
8179
62bede13
RM
8180 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8181 AC_CACHE_CHECK invocation.
8182 * configure: Regenerated.
8183
78a7eee7
RM
8184 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8185
5ce33a62
UD
81862011-06-27 Ulrich Drepper <drepper@gmail.com>
8187
034807a9
UD
8188 [BZ #12350]
8189 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8190 bit from old_res_options.
8191
4902da17
UD
8192 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8193
5ce33a62
UD
8194 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8195 value type for setfct.
8196
c2344f56
L
81972011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8198
8199 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8200 __gettimeofday instead of gettimeofday.
8201
68468076
UD
82022011-06-26 Ulrich Drepper <drepper@gmail.com>
8203
8204 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8205
acb0d739
L
82062011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8207
8208 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8209
8210 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8211 info.
8212
8912479f
L
82132011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8214
8215 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8216 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8217 strcpy-sse2-unaligned strncpy-sse2-unaligned
8218 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8219 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8220 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8221 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8222 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8223 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8224 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8225 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8226 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8227 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8228 (STRCPY): Support SSE2 and SSSE3 versions.
8229
d5495a11
UD
82302011-06-24 Ulrich Drepper <drepper@gmail.com>
8231
8232 [BZ #12874]
8233 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8234 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8235 kernels which artificially limit size of requests.
8236
0b1cbaae
L
82372011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8238
8239 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8240 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8241 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8242 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8243 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8244 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8245 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8246 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8247 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8248 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8249 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8250 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8251 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8252 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8253 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8254 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8255 Enable unaligned load optimization for Intel Core i3, i5 and i7
8256 processors.
8257 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8258 Define.
8259 (index_Fast_Unaligned_Load): Define.
8260 (HAS_FAST_UNALIGNED_LOAD): Define.
8261
07f494a0
MP
82622011-06-23 Marek Polacek <mpolacek@redhat.com>
8263
8264 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8265
fa3fc0fe
UD
82662011-06-22 Ulrich Drepper <drepper@gmail.com>
8267
8268 [BZ #12907]
8269 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8270 until it is clear that the information is realy needed.
8271 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8272
e12df166
AS
82732011-06-22 Andreas Schwab <schwab@redhat.com>
8274
8275 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8276
852eb34d
UD
82772011-06-22 Ulrich Drepper <drepper@gmail.com>
8278
84e2a551
UD
8279 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8280 /sys/devices/system/cpu/online if it is usable.
8281
852eb34d
UD
8282 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8283 reading the information from the /proc filesystem to once a second.
8284
6e502e19
UD
82852011-06-21 Andreas Jaeger <aj@suse.de>
8286
8287 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8288 NULL after inclusion of kernel headers.
8289
75d39ff2
UD
82902011-06-21 Ulrich Drepper <drepper@gmail.com>
8291
51f9aa6a
UD
8292 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8293 calls to internal_setent.
8294
c0244a9d
UD
8295 [BZ #12885]
8296 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8297 addresses using gethostbyname4_r ignore IPv4 addresses.
8298
c5e3c2ae
UD
8299 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8300 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8301
75d39ff2
UD
8302 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8303
42675c6f
DM
83042011-06-20 David S. Miller <davem@davemloft.net>
8305
8306 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8307 inclusions.
8308 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8309
8310 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8311 (elf_irel): Use it.
8312 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8313 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8314 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8315 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8316 * sysdeps/x86_64/dl-irel.h: Likewise.
8317
8318 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8319 * elf/dl-sym.c: Likewise.
8320
57912a71
UD
83212011-06-15 Ulrich Drepper <drepper@gmail.com>
8322
8323 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8324 need to dereference resplen2.
8325
ee22793d
AS
83262011-06-14 Andreas Schwab <schwab@redhat.com>
8327
8328 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8329
a9e836b0
UD
83302011-06-15 Ulrich Drepper <drepper@gmail.com>
8331
77fb9117
UD
8332 * Makeconfig: Define vardbdir and inst_vardbdir.
8333 * nss/Makefile: Add rules to install db-Makefile.
8334
40c1b22c
UD
8335 * nss/nss_db/db-XXX.c: Cleanup.
8336
9f2da732
UD
8337 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8338 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8339 GLIBC_PRIVATE.
8340 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8341 * nss/makedb.c: Implement -g option to specify that value strings
8342 are generated and should not be added to table iterated over for
8343 get*ent calls.
8344 * nss/nss_db/db-initgroups.c: New file.
8345
82e9a1f7
UD
8346 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8347 interface.
8348
c41af17e
UD
8349 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8350 (internal_getgrouplist): Adjust to name change.
8351 Update use_initgroups_entry if this is not the first call.
8352 * nss/databases.def: Add initgroups entry.
8353
a9e836b0
UD
8354 * nss/makedb.c (compute_tables): Check result of multiple hash table
8355 sizes to minimize maximum chain length.
8356
2666d441
UD
83572011-06-14 Ulrich Drepper <drepper@gmail.com>
8358
8359 * Versions.def: Add entry for libnss_db.
8360 * shlib-versions: Likewise.
8361 * nss/Makefile: Add rules to build libnss_db.
8362 * nss/Versions: Add libnss_db information. Organize libnss_files
8363 entries better.
8364 * nss/db-Makefile: Add gshadow support. Change rules for the new
8365 makedb progra. Some minor improvements to generate smaller files.
8366 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8367 here from...
8368 * nss/makedb.c: ...here.
8369 Improve database format to be smaller and require less memory at
8370 runtime.
8371 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8372 db anymore.
8373 * nss/nss_db/db-netgrp.c: Likewise.
8374 * nss/nss_db/db-open.c: Likewise.
8375 * nss/nss_files/flies-XXX.x: Adjust comments.
8376 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8377 * nss/nss_files/files-grp.c: Likewise.
8378 * nss/nss_files/files-hosts.c: Likewise.
8379 * nss/nss_files/files-network.c: Likewise.
8380 * nss/nss_files/files-proto.c: Likewise.
8381 * nss/nss_files/files-pwd.c: Likewise.
8382 * nss/nss_files/files-rpc.c: Likewise.
8383 * nss/nss_files/files-service.c: Likewise.
8384 * nss/nss_files/files-sgrp.c: Likewise.
8385 * nss/nss_files/files-spwd.c: Likewise.
8386 * nss/nss_db/db-alias.c: Removed.
8387 * nss/nss_db/dummy-db.h: Removed.
8388
9ee76b5a
UD
83892011-06-02 Ulrich Drepper <drepper@gmail.com>
8390
8391 * nss/makedb.c: Rewritten to not use database library.
8392 * nss/Makefile: Update to build new makedb program.
8393
c71ca1f8
AJ
83942011-06-14 Andreas Jaeger <aj@suse.de>
8395
8396 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8397 memset declaration.
8398
3154bfb8
UD
83992011-06-10 Andreas Schwab <schwab@redhat.com>
8400
8401 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8402 tmpbuf.
8403
b350afab
RM
84042011-06-10 Roland McGrath <roland@hack.frob.com>
8405
decd4e50
RM
8406 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8407 * elf/Makefile ($(objpfx)ld.so): Likewise.
8408
5615eaf2
RM
8409 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8410 Don't list ld.so twice in dependencies.
8411
8412 * posix/bug-regex31.c: Include <stdlib.h>.
8413
8414 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8415
8416 * nis/nss_compat/compat-spwd.c
8417 (getspent_next_nss_netgr): Remove unused variable.
8418 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8419
8420 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8421 nonmembers" output to use the right array.
8422
8423 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8424
8425 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8426
8427 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8428 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8429 * catgets/gencat.c (read_input_file): Likewise.
8430 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8431
8432 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8433 variable definition inside #if's controlling its use.
8434
8435 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8436
8437 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8438
8439 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8440
8441 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8442 unreachable code.
8443
8444 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8445
b68e08db
RM
8446 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8447 * configure: Regenerated.
8448
b350afab
RM
8449 * Makerules: Revert last change.
8450 * elf/Makefile: Likewise.
8451
28368601
RM
84522011-06-09 Roland McGrath <roland@hack.frob.com>
8453
8454 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8455 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8456 (reloc-link): Likewise.
8457
11988f8f
UD
84582011-06-09 Ulrich Drepper <drepper@gmail.com>
8459
8460 * elf/Makefile: Add rules to build pldd.
8461 * elf/pldd.c: New file.
8462 * elf/pldd-xx.c: New file.
8463
e80fab37
UD
84642011-06-07 Ulrich Drepper <drepper@gmail.com>
8465
8466 * version.h: Update for 2.15 development version.
8467
9b849836
DM
84682011-06-07 David S. Miller <davem@davemloft.net>
8469
8470 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8471 ifuncs.
8472 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8473 elf_machine_lazy_rel): Likewise.
8474 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8475 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8476 elf_machine_lazy_rel): Likewise.
8477 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8478 dl_hwcap via passed in argument.
8479 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8480 Likewise.
8481
5a31b283
AK
84822011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8483
8484 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8485
069e52f8
RM
84862011-06-06 Roland McGrath <roland@hack.frob.com>
8487
8488 [BZ #12849]
8489 * manual/fdl-1.1.texi: New file, verbatim from:
8490 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8491 * manual/lgpl-2.1.texi: New file, verbatim from:
8492 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8493 * manual/Makefile (licenses): New variable, list those new file names.
8494 (texis): Use it.
8495 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8496
8497 * manual/fdl.texi: File removed.
8498 * manual/lesser.texi: File removed.
8499 * manual/libc.texinfo (Copying, Documentation License):
8500 Use new @include file names, put @appendix directive before @include.
8501
f16846a5
JJ
85022011-06-04 Jakub Jelinek <jakub@redhat.com>
8503
8504 [BZ #12841]
8505 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8506 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8507 (mq_open): Add __NTH.
8508
3d29045b
L
85092011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8510
8511 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8512 Assume Intel Core i3/i5/i7 processor if AVX is available.
8513
8c297311
UD
85142011-05-31 Ulrich Drepper <drepper@gmail.com>
8515
8516 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8517 typo.
8518
c8fc0c91
UD
85192011-05-31 Andreas Schwab <schwab@redhat.com>
8520
8521 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8522 memory. Use alloca_account. Fix memory leak when retrying.
8523
5b27a807
UD
85242011-05-31 Ulrich Drepper <drepper@gmail.com>
8525
356f8bc6
UD
8526 * version.h (RELEASE): Bump for 2.14 release.
8527 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8528
5b27a807
UD
8529 * config.make.in (RANLIB): Remove entry.
8530
01f16ab0
UD
85312011-05-30 Ulrich Drepper <drepper@gmail.com>
8532
41fce8bd
UD
8533 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8534 (libc.pot): Work around missing support for .ksh extension in xgettext.
8535
4769ae77
UD
8536 [BZ #12684]
8537 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8538 if both request failed.
8539 (send_dg): In case of server errors clear resplen or *resplen2.
8540
6b1e7d19
UD
8541 [BZ #12454]
8542 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8543 when there are multiple maps.
8544 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8545 (_dl_fini): Remove test here.
8546
01f16ab0
UD
8547 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8548
b1ebd700
UD
85492011-05-29 Ulrich Drepper <drepper@gmail.com>
8550
7ae22829
UD
8551 [BZ #12350]
8552 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8553 bit from old_res_options.
8554 (gaih_inet): Likewise.
8555
553149f6 8556 [BZ #11099]
18a84741 8557 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8558 as signed.
8559
652ffab1
UD
8560 * resolv/res_init.c (res_setoptions): Make the code more compact.
8561
16985fd0
UD
8562 [BZ #11558]
8563 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8564 set RES_USEVC.
8565
0464f746
UD
8566 [BZ #11634]
8567 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8568
7d17596c
UD
8569 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8570
cf6bbbd7
UD
8571 [BZ #11781]
8572 * malloc/malloc.h: Declare malloc hook variables as volatile.
8573
13f1ab36
UD
8574 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8575 in last patch.
8576
b1ebd700
UD
8577 [BZ #11799]
8578 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 8579 raise in the comment.
80e2212d
UD
8580 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8581 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8582 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 8583
ce67228d
UD
85842011-05-28 Ulrich Drepper <drepper@gmail.com>
8585
8887a920
UD
8586 [BZ #12811]
8587 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8588 grow the buffers more if it already has to be sufficient.
8589 (build_wcs_upper_buffer): Likewise.
8590 * posix/regexec.c (check_matching): Likewise.
8591 (clean_state_log_if_needed): Likewise.
8592 (extend_buffers): Don't enlarge buffers beyond size of the input
8593 buffer.
8594 Patches mostly by Emil Wojak <emil@wojak.eu>.
8595 * posix/bug-regex32.c: New file.
8596 * posix/Makefile (tests): Add bug-regex32.
8597
4f031072
UD
8598 * locale/findlocale.c (_nl_find_locale): Return right away if
8599 _nl_explode_name failed.
8600 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8601
d0478f0c
UD
8602 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8603
de81b246
UD
8604 * debug/xtrace.sh: Unify messages.
8605 * malloc/memusage.sh: Likewise.
8606
c738465a
UD
8607 [BZ #12813]
8608 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8609 time symbol from vDSO. Substitute with vsyscall if not available.
8610 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8611 __vdso_time.
8612
f1f929d7
UD
8613 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8614 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8615 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8616 Add sendmmsg and internal_sendmmsg.
8617 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8618 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8619 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8620
ce67228d
UD
8621 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8622 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8623 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8624
e57420c6
UD
86252011-05-27 Ulrich Drepper <drepper@gmail.com>
8626
a8509ca5
UD
8627 [BZ #12813]
8628 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8629 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8630 available.
8631 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8632 __vdso_getcpu.
8633
e57420c6
UD
8634 [BZ #12814]
8635 * iconvdata/Makefile (tests): Add bug-iconv9.
8636 * iconvdata/bug-iconv9.c: New file.
8637
4d07db15
AS
86382011-05-27 Andreas Schwab <schwab@redhat.com>
8639
8640 [BZ #12814]
8641 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8642
ea486f69
JJ
86432011-05-25 Jakub Jelinek <jakub@redhat.com>
8644
8645 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8646 (struct user_regs_struct): Change intcs field back to cs.
8647
6f038433
UD
86482011-05-25 Ulrich Drepper <drepper@gmail.com>
8649
8650 * po/ja.po: Update from translation team.
8651
67f86a25
UD
86522011-05-23 Ulrich Drepper <drepper@gmail.com>
8653
8654 [BZ #12795]
8655 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8656 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8657
def7fbd6
AS
86582011-05-20 Andreas Schwab <schwab@redhat.com>
8659
8660 * stdlib/longlong.h: Update from GCC.
8661
f50ef8f1
AS
86622011-05-23 Andreas Schwab <schwab@redhat.com>
8663
8664 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8665 parameter name.
8666 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8667 Add parameter name.
8668 (__sysconf): Pass it down.
8669
de7ce8f1
UD
86702011-05-22 Ulrich Drepper <drepper@gmail.com>
8671
f2962a71
UD
8672 [BZ #12671]
8673 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8674 some situations.
8675 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8676 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8677 add in in __libc_use_alloca calls. Adjust callers.
8678 (glob): Use malloc in some situations.
8679
de7ce8f1
UD
8680 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8681 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8682 pltexit.
8683
aec84f53
UD
86842011-05-21 Ulrich Drepper <drepper@gmail.com>
8685
05bb4a68
UD
8686 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8687 and CLOCK_BOOTTIME_ALARM.
8688
7ea72f99
UD
8689 [BZ #12782]
8690 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8691 is returned.
8692
7e4afad5
UD
8693 * string/_strerror.c (__strerror_r): Print negative errors as signed
8694 numbers.
8695
8e211fec
UD
8696 [BZ #12777]
8697 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8698 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8699 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8700
f7d82dc9
UD
8701 * configure.in: Fix typo in redirection and correct removal of test
8702 files in two cases.
8703
cc9e536d
UD
8704 [BZ #12788]
8705 * locale/setlocale.c (new_composite_name): Fix test to check for
8706 identical name of all categories.
8707
aec84f53
UD
8708 [BZ #12792]
8709 * libio/filedoalloc.c (local_isatty): New function.
8710 (_IO_file_doallocate): Use local_isatty.
8711 * stdio-common/perror.c (perror): In case a new stream is used
8712 forward the stream error.
8713 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8714 error flag.
8715
78e64fdc
RT
87162011-05-20 Ulrich Drepper <drepper@gmail.com>
8717
34a9094f
UD
8718 [BZ #11869]
8719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8720 alloca.
8721 * include/alloca.h (extend_alloca_account): Define.
8722
78e64fdc
RT
8723 [BZ #11857]
8724 * posix/regex.h: Fix comments with documentation of user-accessible
8725 fields after compilation and describe correct free'ing of pattern
8726 after re_compile_pattern.
8727 Patch by Reuben Thomas <rrt@sc3d.org>.
8728
457bddfc
RA
87292011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8730
8731 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8732 and -mno-altivec to prevent the compiler from using Altivec and/or
8733 VSX instructions when the corresponding registers are not available.
8734
a4527b51
AS
87352011-05-19 Andreas Schwab <schwab@redhat.com>
8736
8737 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8738
ed690b2f
UD
87392011-05-19 Ulrich Drepper <drepper@gmail.com>
8740
8741 * libio/freopen.c (freopen): Use __dup2, not dup2.
8742 * libio/freopen64.c (freopen64): Likewise.
8743
8db73634
L
87442011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8745
8746 [BZ #12775]
8747 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8748 * math/Makefile (tests): Add test-powl.
8749 (CFLAGS-test-powl.c): Define.
8750 * math/test-powl.c: New file.
8751
0a197a9d
L
87522011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8753
8754 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8755
ee30c380
UD
87562011-05-17 Ulrich Drepper <drepper@gmail.com>
8757
8758 [BZ #11837]
8759 * iconvdata/gb18030.c: Update to GB18020-2005.
8760
6ce75379
UD
87612011-05-16 Ulrich Drepper <drepper@gmail.com>
8762
a4b89fd8
AR
8763 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8764 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8765 Patch by Aharon Robbins <arnold@skeeve.com>.
8766
ea389b12
UD
8767 [BZ #11892]
8768 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8769 on the stack.
8770
68a3f91f
UD
8771 [BZ #11895]
8772 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8773 through underflows.
8774
15cc7dd1
UD
8775 [BZ #12766]
8776 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8777 point to strings before performing equality test for error_one_per_line
8778 mode.
8779
f3799213
UD
8780 [BZ #11697]
8781 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8782
d79a9c94
UD
8783 [BZ #11820]
8784 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8785 (struct user_fpregs_struct): Avoid __uint*_t types.
8786
56e5eb46
UD
8787 [BZ #6420]
8788 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8789 symbol info. Use it instead of calling _dl_addr locally.
8790 (lock_and_info): New function.
8791 (tr_freehook): Call lock_and_info and pass symbol info as additional
8792 parameter to tr_where.
8793 (tr_mallochook): Likewise.
8794 (tr_reallochook): Likewise.
8795 (tr_memalignhook): Likewise.
8796
6ce75379
UD
8797 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8798 used and couldn't be at all thread-safe.
8799
f8a3b5bf
UD
88002011-05-15 Ulrich Drepper <drepper@gmail.com>
8801
94b7cc37
UD
8802 * libio/freopen.c (freopen): Don't close old file descriptor
8803 before the new one is opened. Instead dup the new file descriptor
8804 to the old one after the new stream is created.
8805 * libio/freopen64.c (freopen64): Likewise.
8806 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8807 * libio/fileops.c (_IO_new_file_close_it): Handle new
8808 _IO_FLAGS2_NOCLOSE flag.
8809 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8810 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8811 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8812 _IO_FLAGS2_NOCLOSE flag.
8813 * include/unistd.h: Add hidden_proto for dup3.
8814 Define __have_dup3.
8815 * io/dup3.c: Define hidden symbol.
8816 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8817
bd25564e
UD
8818 [BZ #7101]
8819 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8820 when an incomplete long option is used.
8821 * posix/tst-getopt_long1.c: New file.
8822 * posix/Makefile (tests): Add tst-getopt_long1.
8823
c84cfef4
UD
8824 [BZ #10138]
8825 * scripts/config.guess: Update from autoconf-2.68.
8826 * scripts/config.sub: Likewise.
8827
3b85df27
UD
8828 [BZ #10157]
8829 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8830 tests into ...
8831 (has_cpuclock): ...this. New function.
8832 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8833 macro here based on has_cpuclock code.
8834
15a856b1
UD
8835 [BZ #10149]
8836 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8837 First byte (not low byte) is now always NUL.
8838 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8839
05f399e6
UD
8840 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8841 Use non-cancelable interfaces.
8842
10a52685 8843 [BZ #9809]
94ecc67d
UD
8844 * locale/iso-639.def: Add entry for Sorani.
8845
f8a3b5bf
UD
8846 [BZ #11901]
8847 * include/stdlib.h: Move include protection to the right place.
8848 Define abort_msg_s. Declare __abort_msg with it.
8849 * stdlib/abort.c (__abort_msg): Adjust type.
8850 * assert/assert.c (__assert_fail_base): New function. Majority
8851 of code from __assert_fail. Allocate memory for __abort_msg with
8852 mmap.
8853 (__assert_fail): Now call __assert_fail_base.
8854 * assert/assert-perr.c: Remove bulk of implementation. Use
8855 __assert_fail_base.
8856 * include/assert.hL Declare __assert_fail_base.
8857 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8858 mmap.
8859 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8860
1af4e298
UD
88612011-05-14 Ulrich Drepper <drepper@gmail.com>
8862
f8a3b5bf 8863 [BZ #11952]
d26dfc60
MG
8864 [BZ #12453]
8865 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8866 until all modules are registered in the DTV.
8867 * elf/Makefile: Add rules to build and run tst-tls19.
8868 * elf/tst-tls19.c: New file.
8869 * elf/tst-tls19mod1.c: New file.
8870 * elf/tst-tls19mod2.c: New file.
8871 * elf/tst-tls19mod3.c: New file.
8872 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8873
2fc54d6f
UD
8874 [BZ #12083]
8875 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8876 correctly.
8877
98d76b46
UD
8878 [BZ #12601]
8879 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8880 two-byte sequence errors.
8881 * iconvdata/Makefile (tests): Add bug-iconv8.
8882 * iconvdata/bug-iconv8.c: New file.
8883
da3c19ef
UD
8884 [BZ #12626]
8885 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8886 buf2 definition.
8887
ca408c15
UD
8888 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8889
d6f67f7d
UD
8890 [BZ #12432]
8891 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8892 (dummy_getcfa): New function.
8893 (init): Get _Unwind_GetCFA address, use dummy if not found.
8894 (backtrace_helper): In recursion check, also check whether CFA changes.
8895 (__backtrace): Completely initialize arg.
8896
1af4e298 8897 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
8898 storing incomplete byte sequence in state object. Avoid testing for
8899 guaranteed too small input if we know there is enough data available.
1af4e298 8900
da62f81b
AS
89012011-05-11 Andreas Schwab <schwab@redhat.com>
8902
8903 * Makeconfig (+link-pie): Indent.
8904 * Rules (binaries-pie): Define if $(have-fpie) and
8905 $(build-shared).
8906 (binaries-shared): Also filter out $(binaries-pie).
8907 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8908 * nscd/Makefile (others-pie): Add nscd.
8909 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8910 ($(objpfx)nscd): Remove command override.
8911 * login/Makefile (others-pie): Add pt_chown.
8912 ($(objpfx)pt_chown): Remove command override.
8913 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8914 remove command overrides.
8915
fcabc0f8
UD
89162011-05-13 Ulrich Drepper <drepper@gmail.com>
8917
20030ae6
UD
8918 * libio/tst_putwc.c: Fix error messages.
8919
fcabc0f8
UD
8920 [BZ #12724]
8921 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8922 currently writing and seek to current position when not.
8923 * libio/Makefile (tests): Add bug-fclose1.
8924 * libio/bug-fclose1.c: New file.
8925
320a5dc0
PB
89262011-05-12 Ulrich Drepper <drepper@gmail.com>
8927
8928 [BZ #12511]
8929 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8930 don't set DF_1_NODELETE here.
8931 (do_lookup_x): When entering new entry test for copy relocation
8932 and if necessary set DF_1_NODELETE flag.
8933 * elf/tst-unique4.cc: New file.
8934 * elf/tst-unique4.h: New file.
8935 * elf/tst-unique4lib.cc: New file.
8936 * elf/Makefile: Add rules to build and run tst-unique4.
8937 Patch by Piotr Bury <pbury@goahead.com>.
8938
22836f52
UD
89392011-05-11 Ulrich Drepper <drepper@gmail.com>
8940
f574184a
UD
8941 [BZ #12052]
8942 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8943
e1fb097f
UD
8944 [BZ #12625]
8945 * misc/mntent_r.c (addmntent): Flush the stream after the output
8946
22836f52
UD
8947 [BZ #12393]
8948 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8949 (is_trusted_path_normalize): Skip initial colon. Append slash
8950 to empty buffer. Duplicate is_trusted_path code but allow
8951 constructed patch to be prefix.
8952 (is_dst): Allow $ORIGIN followed by /.
8953 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8954 Correct testing of result of is_trusted_path_normalize
8955 (decompose_rpath): Fix warning.
8956
7b3b0b2a
UD
89572011-05-10 Ulrich Drepper <drepper@gmail.com>
8958
8959 [BZ #11257]
8960 * grp/initgroups.c (internal_getgrouplist): When we found the service
8961 list through the initgroups entry in nsswitch.conf do not always
8962 continue on a successful lookup. Don't always use the
eac80ce2 8963 __nss_group_database value if it is set.
7b3b0b2a
UD
8964 * nss/nsswitch.conf (initgroups): Change action for successful db
8965 lookup to continue for compatibility.
8966
2a81eaa5
UD
89672011-05-09 Ulrich Drepper <drepper@gmail.com>
8968
be97a69e
UD
8969 [BZ #11532]
8970 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8971 and CP774 modules.
8972 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8973 and CP774 modules.
8974 * iconvdata/tst-tables.sh: Likewise.
8975 * iconvdata/cp770.c: New file.
8976 * iconvdata/cp771.c: New file.
8977 * iconvdata/cp772.c: New file.
8978 * iconvdata/cp773.c: New file.
8979 * iconvdata/cp774.c: New file.
8980 * iconvdata/testdata/CP770: New file.
8981 * iconvdata/testdata/CP770..UTF8: New file.
8982 * iconvdata/testdata/CP771: New file.
8983 * iconvdata/testdata/CP771..UTF8: New file.
8984 * iconvdata/testdata/CP772: New file.
8985 * iconvdata/testdata/CP772..UTF8: New file.
8986 * iconvdata/testdata/CP773: New file.
8987 * iconvdata/testdata/CP773..UTF8: New file.
8988 * iconvdata/testdata/CP774: New file.
8989 * iconvdata/testdata/CP774..UTF8: New file.
8990
8991 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8992 END CHARMAP line.
8993 * iconvdata/gen-8bit-gap.sh: Likewise.
8994 * iconvdata/gen-8bit.sh: Likewise.
8995
c1e9e399
UD
8996 * locale/iso-639.def: Add ary entry.
8997
24c55fb3 8998 [BZ #11258]
96b4b1b0
UD
8999 * locale/C-translit.h.in: Add U20A1 transliteration.
9000
bdc2f971
KB
9001 [BZ #12178]
9002 * locale/iso-639.def: Add wae entry.
9003 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9004
2952b117
UD
9005 [BZ #12545]
9006 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9007 for n.
9008
2a81eaa5
UD
9009 [BZ #12711]
9010 * locale/C-translit.h.in: Add entry for U20B9.
9011 Patch by pravin.d.s@gmail.com.
9012
28377d1b
UD
90132011-05-08 Ulrich Drepper <drepper@gmail.com>
9014
7fb90fb8
UD
9015 [BZ #12713]
9016 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9017 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
9018 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9019 in rtld. Use *stat64.
7fb90fb8 9020 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 9021 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 9022 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
9023 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9024 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9025 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9026 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9027 __fstatat64 macros.
7fb90fb8
UD
9028 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9029 * dirent/rewinddir.c: Add libc_hidden_def.
9030 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 9031 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 9032
28377d1b
UD
9033 * include/dirent.h (__alloc_dir): Add flags parameter.
9034 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9035 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9036 __alloc_dir.
9037 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9038 from fdopendir if O_CLOEXEC is already set.
9039
66bdbaa4
AM
90402011-03-15 Alan Modra <amodra@gmail.com>
9041
9042 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9043 l_tls_firstbyte_offset non-zero. Save padding offset in
9044 l_tls_firstbyte_offset for later use.
9045 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9046 freeing static tls block.
9047
95721191
JN
90482011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9049
9050 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9051 where #ifdef was intended. The intent is to prevent ARG_MAX from
9052 being defined by the kernel headers.
9053
f87dfb1f
UD
90542011-05-07 Ulrich Drepper <drepper@gmail.com>
9055
9056 [BZ #12734]
9057 * resolv/resolv.h: Define RES_NOTLDQUERY.
9058 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9059 no-tld-query and set RES_NOTLDQUERY.
9060 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9061 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9062 modern BIND to search name as TLD unless forbidden.
9063
47c3cd7a
UD
90642011-05-07 Petr Baudis <pasky@suse.cz>
9065 Ulrich Drepper <drepper@gmail.com>
9066
9067 [BZ #12393]
9068 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9069 (is_trusted_path): ...to here.
c1e9ea35 9070 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 9071 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 9072 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 9073
8a35c912
PP
90742011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9075
9076 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9077 __BEGIN/__END_DECLS.
9078
acd41f47
UD
90792011-05-06 Ulrich Drepper <drepper@gmail.com>
9080
9081 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9082 NSS_STATUS_NOTFOUND if no record was found.
9083
597df647
AS
90842011-05-05 Andreas Schwab <schwab@redhat.com>
9085
9086 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9087 (headers-not-in-tirpc): Remove rpc/netdb.h
9088 * resolv/netdb.h: Revert last change.
9089
b9af1301
PP
90902011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9091
9092 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9093 circular dependency between libgcc.a and libc.a.
9094
4e34d5f5
AS
90952011-05-05 Andreas Schwab <schwab@redhat.com>
9096
9097 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9098 * nis/Makefile: Don't install rpcsvc/*.
9099 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9100 instead of <rpc/types.h>.
9101 (MAXHOSTNAMELEN): Define.
9102
00ee369c
AS
91032011-05-03 Andreas Schwab <schwab@redhat.com>
9104
9105 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9106
0b592a30
MB
91072011-04-28 Maciej Babinski <mbabinski@google.com>
9108
9109 [BZ #12714]
9110 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9111 gethostbyname4_r when IPv6 results are possible.
9112
6e04cbbe
UD
91132011-05-02 Ulrich Drepper <drepper@gmail.com>
9114
9115 [BZ #12723]
9116 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9117 _PC_PIPE_BUF handling.
9118
e4ecafe0
BH
91192011-04-30 Bruno Haible <bruno@clisp.org>
9120
9121 [BZ #12717]
9122 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9123 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9124 to 'int'.
9125 * inet/getnameinfo.c (getnameinfo): Likewise.
9126
125ee683
UD
91272011-04-29 Ulrich Drepper <drepper@gmail.com>
9128
9129 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9130 to groups setting in database lookup.
9131 * nss/nsswitch.conf: Add initgroups entry.
9132
b722481a
EB
91332011-04-22 Ulrich Drepper <drepper@gmail.com>
9134
9135 [BZ #12685]
9136 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9137 mode string.
9138 Patch by Eric Blake <eblake@redhat.com>.
9139
4df46dbd
L
91402011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9141
9142 * sunrpc/Makefile (need-export-routines): Add svc_run.
9143 (routines): Remove svc_run.
9144 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9145 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9146 * sunrpc/svc_run.c (svc_run): Likewise.
9147 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9148
e84142d2
UD
91492011-04-21 Ulrich Drepper <drepper@gmail.com>
9150
9151 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9152 problem in reallocation in last patch.
9153
877175d8
UD
91542011-04-20 Ulrich Drepper <drepper@gmail.com>
9155
9156 * sunrpc/Makefile: Move inclusion of Rules.
9157
ab8eed78
UD
91582011-04-19 Ulrich Drepper <drepper@gmail.com>
9159
9160 * nss/nss_files/files-initgroups.c: New file.
9161 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9162 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9163 _nss_files_initgroups_dyn.
9164
e3d8f584
RS
91652011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9166
9167 * elf/elf.h (R_ARM_IRELATIVE): Define.
9168
af190f45
UD
91692011-04-19 Ulrich Drepper <drepper@gmail.com>
9170
9171 * po/ru.po: Update from translation team.
9172
53cf59ef
UD
91732011-04-17 Ulrich Drepper <drepper@gmail.com>
9174
9175 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9176 dependencies.
9177
4c559bcd
MF
91782011-02-06 Mike Frysinger <vapier@gentoo.org>
9179
9180 [BZ #12653]
9181 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9182 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9183 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9184 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9185 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9186
4420675c
AS
91872011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9188
9189 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9190 differing bytes.
9191 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9192 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9193 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9194
75ea32ab
UD
91952011-04-17 Ulrich Drepper <drepper@gmail.com>
9196
9197 [BZ #12420]
9198 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9199 storing it.
9200 * stdlib/bug-getcontext.c: New file.
9201 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9202
27390476
AK
92032011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9204
9205 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9206 instructions into .machine "z9-109".
9207 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9208 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9209
10442705
AK
92102011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9211
9212 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9213 between environment variables and auxiliary vector.
9214
7b57bfe5
UD
92152011-04-16 Ulrich Drepper <drepper@gmail.com>
9216
9217 * Makefile: Add rules to build linkobj/libc.so.
9218 * include/libc-symbols.h: Define libc_hidden_nolink.
9219 * include/rpc/auth.h: Mark functions which are to be hidden.
9220 * include/rpc/auth_des.h: Likewise.
9221 * include/rpc/auth_unix.h: Likewise.
9222 * include/rpc/clnt.h: Likewise.
9223 * include/rpc/des_crypt.h: Likewise.
9224 * include/rpc/key_prot.h: Likewise.
9225 * include/rpc/pmap_clnt.h: Likewise.
9226 * include/rpc/pmap_prot.h: Likewise.
9227 * include/rpc/pmap_rmt.h: Likewise.
9228 * include/rpc/rpc_msg.h: Likewise.
9229 * include/rpc/svc.h: Likewise.
9230 * include/rpc/svc_auth.h: Likewise.
9231 * include/rpc/xdr.h: Likewise.
9232 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9233 * nss/Makefile: Likewise.
9234 * sunrpc/Makefile: Don't install headers. Build library with normal
9235 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9236 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9237 for the compat linking library. Remove use of INTDEF/INTUSE.
9238 * sunrpc/auth_none.c: Likewise.
9239 * sunrpc/auth_unix.c: Likewise.
9240 * sunrpc/authdes_prot.c: Likewise.
9241 * sunrpc/authuxprot.c: Likewise.
9242 * sunrpc/clnt_gen.c: Likewise.
9243 * sunrpc/clnt_perr.c: Likewise.
9244 * sunrpc/clnt_raw.c: Likewise.
9245 * sunrpc/clnt_simp.c: Likewise.
9246 * sunrpc/clnt_tcp.c: Likewise.
9247 * sunrpc/clnt_udp.c: Likewise.
9248 * sunrpc/clnt_unix.c: Likewise.
9249 * sunrpc/des_crypt.c: Likewise.
9250 * sunrpc/des_soft.c: Likewise.
9251 * sunrpc/get_myaddr.c: Likewise.
9252 * sunrpc/key_call.c: Likewise.
9253 * sunrpc/key_prot.c: Likewise.
9254 * sunrpc/netname.c: Likewise.
9255 * sunrpc/pm_getmaps.c: Likewise.
9256 * sunrpc/pm_getport.c: Likewise.
9257 * sunrpc/pmap_clnt.c: Likewise.
9258 * sunrpc/pmap_prot.c: Likewise.
9259 * sunrpc/pmap_prot2.c: Likewise.
9260 * sunrpc/pmap_rmt.c: Likewise.
9261 * sunrpc/publickey.c: Likewise.
9262 * sunrpc/rpc_cmsg.c: Likewise.
9263 * sunrpc/rpc_common.c: Likewise.
9264 * sunrpc/rpc_dtable.c: Likewise.
9265 * sunrpc/rpc_prot.c: Likewise.
9266 * sunrpc/rpc_thread.c: Likewise.
9267 * sunrpc/rtime.c: Likewise.
9268 * sunrpc/svc.c: Likewise.
9269 * sunrpc/svc_auth.c: Likewise.
9270 * sunrpc/svc_authux.c: Likewise.
9271 * sunrpc/svc_raw.c: Likewise.
9272 * sunrpc/svc_run.c: Likewise.
9273 * sunrpc/svc_simple.c: Likewise.
9274 * sunrpc/svc_tcp.c: Likewise.
9275 * sunrpc/svc_udp.c: Likewise.
9276 * sunrpc/svc_unix.c: Likewise.
9277 * sunrpc/svcauth_des.c: Likewise.
9278 * sunrpc/xcrypt.c: Likewise.
9279 * sunrpc/xdr.c: Likewise.
9280 * sunrpc/xdr_array.c: Likewise.
9281 * sunrpc/xdr_float.c: Likewise.
9282 * sunrpc/xdr_intXX_t.c: Likewise.
9283 * sunrpc/xdr_mem.c: Likewise.
9284 * sunrpc/xdr_rec.c: Likewise.
9285 * sunrpc/xdr_ref.c: Likewise.
9286 * sunrpc/xdr_sizeof.c: Likewise.
9287 * sunrpc/xdr_stdio.c: Likewise.
9288
e6c61494
UD
92892011-04-10 Ulrich Drepper <drepper@gmail.com>
9290
9291 [BZ #12650]
9292 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9293 * sysdeps/ia64/dl-tls.h: Likewise.
9294 * sysdeps/powerpc/dl-tls.h: Likewise.
9295 * sysdeps/s390/dl-tls.h: Likewise.
9296 * sysdeps/sh/dl-tls.h: Likewise.
9297 * sysdeps/sparc/dl-tls.h: Likewise.
9298 * sysdeps/x86_64/dl-tls.h: Likewise.
9299 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9300
34fe483e
AS
93012011-03-14 Andreas Schwab <schwab@redhat.com>
9302
9303 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9304 rpath element also skip the following colon.
9305 (expand_dynamic_string_token): Add is_path parameter and pass
9306 down to DL_DST_REQUIRED and _dl_dst_substitute.
9307 (decompose_rpath): Call expand_dynamic_string_token with
9308 non-zero is_path. Ignore empty rpaths.
9309 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9310 with zero is_path.
9311
f12a32e6
AS
93122011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9313
9314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9315 Make cancelable.
9316
38a7d692
UD
93172011-04-09 Ulrich Drepper <drepper@gmail.com>
9318
9319 [BZ #12655]
9320 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9321 Patch by Filipe David Manana <fdmanana@apache.org>.
9322
e451d22b
AS
93232011-04-07 Andreas Schwab <schwab@redhat.com>
9324
9325 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9326 Maintain aligned stack.
9327 (CHECK_RSP): Remove unused macro.
9328
dedc7c7b
UD
93292011-04-03 Ulrich Drepper <drepper@gmail.com>
9330
9331 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9332 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9333
94521213
UD
93342011-04-02 Ulrich Drepper <drepper@gmail.com>
9335
9336 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9337
8cb700c0 9338 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9339
0354e355
L
93402011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9341
9342 [BZ #12518]
9343 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9344 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9345 * sysdeps/x86_64/memmove.c: New file.
9346 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9347 (memcpy): Renamed to ...
9348 (__new_memcpy): This.
9349 (memcpy): Provide GLIBC_2_14 memcpy.
9350 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9351 (memcpy): Provide GLIBC_2_2_5 memcpy.
9352
8593482f
UD
93532011-04-01 Ulrich Drepper <drepper@gmail.com>
9354
9355 [BZ #12631]
9356 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9357
81a5726b
AS
93582011-03-30 Andreas Schwab <schwab@redhat.com>
9359
9360 * misc/syncfs.c: New file.
9361 * misc/Makefile (routines): Add syncfs.
9362 * posix/unistd.h: Declare syncfs.
9363 * sysdeps/unix/syscalls.list: Add syncfs.
9364
00e5419f
AS
93652011-04-01 Andreas Schwab <schwab@redhat.com>
9366
9367 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9368 open_by_handle_at.
9369 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9370 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9371 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9372 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9373 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9374 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9375 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9376
748876bf
UD
93772011-04-01 Ulrich Drepper <drepper@gmail.com>
9378
658e451d
UD
9379 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9380 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9381 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9382 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9383 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9384 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9385 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9386
748876bf
UD
9387 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9388 sync_file_range.c with -fexceptions.
9389 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9390 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9391 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9392 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9393 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9394 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9395 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
9396 sync_file_range as cancellation point
9397 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9398 now a wrapper around __call_sync_file_range with cancellation handling.
9399 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9400 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9401 function name to __call_sync_file_range.
9402 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9403 Add call_sync_file_range.
748876bf 9404
6e63d5e1
AS
94052011-04-01 Andreas Schwab <schwab@redhat.com>
9406
9407 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 9408 bits/timex.h.
6e63d5e1 9409
46998f74
UD
94102011-04-01 Ulrich Drepper <drepper@gmail.com>
9411
4c1423ed
UD
9412 * iconv/iconv.h: Fix typo in comment.
9413 * io/fcntl.h: Likewise.
9414 * libio/stdio.h: Likewise.
9415 * posix/spawn.h: Likewise.
9416 * posix/unistd.h: Likewise.
9417 * stdlib/stdlib.h: Likewise.
9418 * time/time.h: Likewise.
9419 * wcsmbs/wchar.h: Likewise.
9420
158648c0
UD
9421 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9422 open_by_handle): Add.
9423 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9424 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9425 Augment a few comments.
9426 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9427 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9428 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9429 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9430 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9431 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9432 open_by_handle.
9433
46998f74
UD
9434 * io/fcntl.h (AT_EMPTY_PATH): Define.
9435
83fe108b
UD
94362011-03-30 Ulrich Drepper <drepper@gmail.com>
9437
9438 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9439 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9440 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9441 to...
9442 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
9443 * Versions.def: Add GLIBC_2.14.
9444 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9445 Export.
83fe108b 9446
bb242059
UD
94472011-03-22 Ulrich Drepper <drepper@gmail.com>
9448
9449 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9450 round counter.
9451 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9452
c97a1282
L
94532011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9454
9455 [BZ #12597]
9456 * string/test-strncmp.c (do_page_test): New function.
9457 (check2): Likewise.
9458 (test_main): Call check2.
9459 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9460
2a115601
UD
94612011-03-20 Ulrich Drepper <drepper@gmail.com>
9462
9463 [BZ #12587]
9464 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9465 Handle cache information in CPU leaf 4.
9466 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9467
8126d904
UD
94682011-03-18 Ulrich Drepper <drepper@gmail.com>
9469
042c49c6 9470 [BZ #12583]
8126d904
UD
9471 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9472 character representation.
9473 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9474
ccfe366e
RA
94752011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9476
9477 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9478 END(__isnan) to END(__isnanf) to match function entry point/label
9479 EALIGN(__isnanf,...).
9480
c6e13027
JJ
94812011-03-10 Jakub Jelinek <jakub@redhat.com>
9482
9483 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9484
33f85a3f
UD
94852011-03-10 Ulrich Drepper <drepper@gmail.com>
9486
028478fa
UD
9487 [BZ #12510]
9488 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9489 copy from the symbol referenced in the relocation to initialize the
9490 used variable.
9491 Patch by Piotr Bury <pbury@goahead.com>.
9492 * elf/Makefile: Add rules to build and tst-unique3.
9493 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9494 * elf/tst-unique3.cc: New file.
9495 * elf/tst-unique3.h: New file.
9496 * elf/tst-unique3lib.cc: New file.
9497 * elf/tst-unique3lib2.cc: New file.
9498
33f85a3f
UD
9499 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9500
03592fc7
MF
95012011-03-10 Mike Frysinger <vapier@gentoo.org>
9502
9503 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9504 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9505 to _start.
03592fc7 9506
6a5ee102
UD
95072011-03-06 Ulrich Drepper <drepper@gmail.com>
9508
9509 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9510 to-be-loaded object along a path to loader is ld.so.
9511
7e4ba49c
HJ
95122011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9513 Ulrich Drepper <drepper@gmail.com>
9514
9515 * sysdeps/x86_64/memset.S: After aligning destination, code
9516 branches to different locations depending on the value of
9517 misalignment, when multiarch is enabled. Fix this.
9518
95192011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9520
9521 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9522 Set _x86_64_preferred_memory_instruction for AMD processsors.
9523 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9524 Set bit_Prefer_SSE_for_memop for AMD processors.
9525
13a804de
UD
95262011-03-04 Ulrich Drepper <drepper@gmail.com>
9527
9528 * libio/fmemopen.c (fmemopen): Optimize a bit.
9529
9d25c392
AS
95302011-03-03 Andreas Schwab <schwab@redhat.com>
9531
9532 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9533
a5543c6a
RM
95342011-03-03 Roland McGrath <roland@redhat.com>
9535
9536 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9537
012d35f7
DM
95382011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9539
7e4ba49c 9540 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9541 __bzero_ultra1 instead of __memset_ultra1.
9542
4bff6e01
AS
95432011-02-23 Andreas Schwab <schwab@redhat.com>
9544 Ulrich Drepper <drepper@gmail.com>
9545
9546 [BZ #12509]
9547 * include/link.h (struct link_map): Add l_orig_initfini.
9548 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9549 returning unsuccessfully.
9550 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9551 close of a file loaded at startup, restore the original l_initfini
9552 list.
9553 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9554 list, store the pointer.
9555 * elf/Makefile ($(objpfx)noload-mem): New rule.
9556 (noload-ENV): Define.
9557 (tests): Add $(objpfx)noload-mem.
9558 * elf/noload.c: Include <memcheck.h>.
9559 (main): Call mtrace. Close all opened handles.
9560
f2092faf
AS
95612011-02-17 Andreas Schwab <schwab@redhat.com>
9562
9563 [BZ #12454]
9564 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9565 dependencies are missing.
9566
6c8a2e88
ST
95672011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9568
f2092faf 9569 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
9570 Hurd needs munmap.
9571 * sysdeps/mach/hurd/ifreq.h: New file.
9572
84a42118
PB
95732011-01-27 Petr Baudis <pasky@suse.cz>
9574 Ulrich Drepper <drepper@gmail.com>
9575
071f805e 9576 [BZ 12445]#
84a42118
PB
9577 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9578 to extend_alloca().
9579 * stdio-common/bug23.c: New file.
9580 * stdio-common/Makefile (tests): Add bug23.
9581
e23fe25b
AS
95822010-09-28 Andreas Schwab <schwab@redhat.com>
9583 Ulrich Drepper <drepper@gmail.com>
9584
9585 [BZ #12489]
9586 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9587 before performing relro protection. At old place add assertion
9588 to make sure nothing changed.
9589
d3f02e10
NS
95902011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9591 Glauber de Oliveira Costa <glommer@gmail.com>
9592
9593 * elf/elf.h: Add new ARM TLS relocs.
9594
d55fd7a5
RA
95952011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9596
9597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9598 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9599 cast from r3.
9600 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9601 'tests' variable.
9602 * sysdeps/wordsize-64/tst-writev.c: New file.
9603
2206397e
RA
96042011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9605
9606 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9607 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9608 insns in _dl_start to prevent a TOC reference before relocs are
9609 resolved.
9610
e9433893
UD
96112011-02-15 Ulrich Drepper <drepper@gmail.com>
9612
9613 [BZ #12469]
9614 * Makeconfig: Remove RANLIB definition.
9615 * Makerules: Don't use RANLIB.
9616 * aclocal.m4: Remove ranlib test.
9617 * configure.in: No need to check for ranlib.
9618 * elf/rtld-Rules: Don't use RANLIB.
9619
f75286c6
ST
96202011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9621
8e31c82d
ST
9622 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9623 protection macro.
9624 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9625 inclusion protection macro.
9626
f75286c6
ST
9627 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9628 SIGRTMIN and SIGRTMAX and print information in that case only when
9629 SIGRTMIN is defined.
9630
c1d0e639
JJ
96312011-02-11 Jakub Jelinek <jakub@redhat.com>
9632
9633 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9634 arginfo fn returning -1.
9635
9636 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9637 and thousands string is zero terminated.
9638
edf9294e
AS
96392011-02-03 Andreas Schwab <schwab@redhat.com>
9640
9641 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9642 sysdeps/unix/sysv/linux/bits/socket.h.
9643
2b7e92df
ST
96442011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9645
edf9294e
AS
9646 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9647 (__CPU_COUNT): Remove old macros.
9648 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9649 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9650 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
9651 (__sched_cpualloc, __sched_cpufree): Add declarations.
9652
a4c7ea7b
UD
96532011-02-05 Ulrich Drepper <drepper@gmail.com>
9654
9655 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9656 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9657 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9658 (readdhstai): Return value of addhstaiX call.
9659 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9660 (addgrbyX): Return value returned by cache_addgr.
9661 (readdgrbyname): Return value returned by addgrbyX.
9662 (readdgrbygid): Likewise.
9663 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9664 (addpwbyX): Return value returned by cache_addpw.
9665 (readdpwbyname): Return value returned by addhstbyX.
9666 (readdpwbyuid): Likewise.
9667 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9668 (addservbyX): Return value returned by cache_addserv.
9669 (readdservbyname): Return value returned by addservbyX:
9670 (readdservbyport): Likewise.
9671 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9672 (addhstbyX): Return value returned by cache_addhst.
9673 (readdhstbyname): Return value returned by addhstbyX.
9674 (readdhstbyaddr): Likewise.
9675 (readdhstbynamev6): Likewise.
9676 (readdhstbyaddrv6): Likewise.
9677 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9678 (readdinitgroups): Return value returned by addinitgroupsX.
9679 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9680 (prune_cache): Keep track of timeout value of re-added entries.
9681 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9682 * nscd/nscd.h: Adjust prototypes of readd* functions.
9683
a0bf67cc
RM
96842011-02-04 Roland McGrath <roland@redhat.com>
9685
9686 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9687 (nis_stats): Likewise.
9688 * nis/nis_modify.c (nis_modify): Likewise.
9689 * nis/nis_remove.c (nis_remove): Likewise.
9690 * nis/nis_add.c (nis_add): Likewise.
9691
9692 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9693
9694 * posix/fnmatch_loop.c: Add some consts.
9695
9696 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9697
435b95eb
L
96982011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9699
9700 [BZ #12460]
9701 * config.make.in (config-cflags-novzeroupper): Define.
9702 * configure.in: Substitute libc_cv_cc_novzeroupper.
9703 * elf/Makefile (AVX-CFLAGS): Define.
9704 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9705 (CFLAGS-tst-auditmod4a.c): Likewise.
9706 (CFLAGS-tst-auditmod4b.c): Likewise.
9707 (CFLAGS-tst-auditmod6b.c): Likewise.
9708 (CFLAGS-tst-auditmod6c.c): Likewise.
9709 (CFLAGS-tst-auditmod7b.c): Likewise.
9710 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9711
8517b15e
UD
97122011-02-02 Ulrich Drepper <drepper@gmail.com>
9713
9714 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9715 function to the callback.
9716 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9717
10a656fe
AS
97182011-02-02 Andreas Schwab <schwab@redhat.com>
9719
9720 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9721 of errno.
9722
968dad0a
UD
97232011-01-19 Ulrich Drepper <drepper@gmail.com>
9724
9f94d2ea 9725 [BZ #11724]
968dad0a
UD
9726 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9727 of constructors.
9728 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9729 of destructors.
9730 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9731
9732 [BZ #11724]
9733 * elf/Makefile: Add rules to build and run new test.
9734 * elf/tst-initorder.c: New file.
9735 * elf/tst-initorder.exp: New file.
9736 * elf/tst-initordera1.c: New file.
9737 * elf/tst-initordera2.c: New file.
9738 * elf/tst-initordera3.c: New file.
9739 * elf/tst-initordera4.c: New file.
9740 * elf/tst-initorderb1.c: New file.
9741 * elf/tst-initorderb2.c: New file.
9742 * elf/tst-order-a1.c: New file.
9743 * elf/tst-order-a2.c: New file.
9744 * elf/tst-order-a3.c: New file.
9745 * elf/tst-order-a4.c: New file.
9746 * elf/tst-order-b1.c: New file.
9747 * elf/tst-order-b2.c: New file.
9748 * elf/tst-order-main.c: New file.
9749 New test case by George Gensure <werkt0@gmail.com>.
9750
86e92359
UD
97512010-10-01 Andreas Schwab <schwab@redhat.com>
9752
9753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9754 decoding ACE if AI_CANONIDN.
9755
5d5732b0
UD
97562011-01-18 Ulrich Drepper <drepper@gmail.com>
9757
9758 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9759
a77e8cbc
UD
97602011-01-17 Ulrich Drepper <drepper@gmail.com>
9761
6392473f
UD
9762 * version.h (RELEASE): Bump for 2.13 release.
9763 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9764
620a0529
UD
9765 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9766
18ba70a5
UD
9767 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9768 MADV_NOHUGEPAGE.
32465c3e
UD
9769 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9770 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9771 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9772 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9773 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9774 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9775
c0dafcf1
UD
9776 * posix/getconf.c: Update copyright year.
9777 * catgets/gencat.c: Likewise.
9778 * csu/version.c: Likewise.
9779 * debug/catchsegv.sh: Likewise.
9780 * debug/xtrace.sh: Likewise.
9781 * elf/ldconfig.c: Likewise.
9782 * elf/ldd.bash.in: Likewise.
9783 * elf/sprof.c (print_version): Likewise.
9784 * iconv/iconv_prog.c: Likewise.
9785 * iconv/iconvconfig.c: Likewise.
9786 * locale/programs/locale.c: Likewise.
9787 * locale/programs/localedef.c: Likewise.
9788 * malloc/memusage.sh: Likewise.
9789 * malloc/mtrace.pl: Likewise.
9790 * nscd/nscd.c (print_version): Likewise.
9791 * nss/getent.c: Likewise.
9792
a77e8cbc
UD
9793 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9794 PF_CAIF, and PF_ALG.
9795 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9796
77e8bddf
AS
97972011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9798
1f20b93a
AS
9799 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9800 (modules-names): Use them.
9801 (ifunc-test-modules, ifunc-pie-tests): Define.
9802 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9803 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9804 (test-extras): Likewise.
9805 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9806 $(compile-command.c).
9807 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9808 (all-built-dso): Define.
9809 (check-textrel.out, check-execstack.out): Depend on it.
9810
77e8bddf
AS
9811 * configure.in: Don't override --enable-multi-arch.
9812
bc425b33
UD
98132011-01-15 Ulrich Drepper <drepper@gmail.com>
9814
9815 [BZ #6812]
9816 * nscd/hstcache.c (tryagain): Define.
9817 (cache_addhst): Return tryagain not notfound for temporary errors.
9818 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9819 failed.
9820
794c3ad3
UD
98212011-01-14 Ulrich Drepper <drepper@gmail.com>
9822
70181fdd
UD
9823 [BZ #10563]
9824 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9825 to make the syscall.
9826 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9827
794c3ad3
UD
9828 [BZ #12378]
9829 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9830 and fall back to matching as normal character if the string ends before
9831 the matching ']' is found. This is what POSIX requires.
9832 * posix/testfnm.c: Adjust test result.
9833 * posix/globtest.sh: Adjust test result. Add new test.
9834 * posix/tst-fnmatch.input: Likewise.
9835 * posix/tst-fnmatch2.c: Add new test.
9836
68dc9497
AS
98372010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9838
9839 * elf/Makefile (check-execstack): Revert last change. Depend on
9840 check-execstack.h.
9841 (check-execstack.h): New target.
9842 (generated): Add check-execstack.h.
9843 * elf/check-execstack.c: Include "check-execstack.h".
9844 (main): Revert last change.
9845 (handle_file): Return zero if GNU_STACK is absent and
9846 DEFAULT_STACK_PERMS doesn't include PF_X.
9847
451f001b
UD
98482011-01-13 Ulrich Drepper <drepper@gmail.com>
9849
cfa28e56
UD
9850 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9851 in child fails because the descriptor is already closed.
8cf8ce17
UD
9852 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9853 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9854 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 9855
1086d70d
UD
9856 [BZ #12397]
9857 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9858 syscall.
9859
451f001b
UD
9860 [BZ #10484]
9861 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9862 temporary buffer used to handle multi lookups locally.
a85b5cb4 9863 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 9864
08769175
UD
98652011-01-12 Ulrich Drepper <drepper@gmail.com>
9866
9867 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9868 loader is ld.so.
9869
5e49c52e
UD
98702011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9871
9872 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9873 alignment for SSE2.
9874
60522a5f
UD
98752011-01-12 Ulrich Drepper <drepper@gmail.com>
9876
9877 [BZ #12394]
9878 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9879 characters. When rounding increased number of integer digits recompute
9880 number of groups.
9881 * stdio-common/tst-grouping.c: New file.
9882 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9883
f257bbd7
UD
98842011-01-09 Ulrich Drepper <drepper@gmail.com>
9885
9886 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9887 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9888
9889 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9890 void.
9891 * bits/select.h: Likewise.
9892
fa9c15cb
UD
98932011-01-08 Ulrich Drepper <drepper@gmail.com>
9894
9895 * po/ja.po: Update from translation team.
9896
16c2895f
DM
98972011-01-04 David S. Miller <davem@sunset.davemloft.net>
9898
9899 [BZ #11155]
9900 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9901 implementation just like for lxstat, fxstatat, et al.
9902
2543fef2
JM
99032010-12-27 Jim Meyering <meyering@redhat.com>
9904
9905 [BZ #12348]
9906 * posix/regexec.c (build_trtable): Return failure indication upon
9907 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9908
98727dbe
UD
99092010-12-25 Ulrich Drepper <drepper@gmail.com>
9910
5bd6dc5c
UD
9911 [BZ #12201]
9912 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9913 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9914 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9915 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9916
97983464
UD
9917 [BZ #12207]
9918 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9919
98727dbe
UD
9920 [BZ #12204]
9921 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9922 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9923
4a531bb0
L
99242010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9925
9926 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9927 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9928 script has SORT_BY_INIT_PRIORITY.
9929 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9930 NO_CTORS_DTORS_SECTIONS is defined.
9931 * elf/soinit.c: Likewise.
9932 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9933 NO_CTORS_DTORS_SECTIONS is defined.
9934 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9935 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9936 * sysdeps/sh/init-first.c: Likewise.
9937 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9938
07eb4b71
UD
99392010-12-24 Ulrich Drepper <drepper@gmail.com>
9940
9941 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9942 always use the slow path.
9943
30950a5f
RA
99442010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9945
9946 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9947 similar rule which adds the sysdep directories to the header search in
9948 order to pick up the correct platform stackinfo.h.
9949 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9950 perform test if it is, otherwise return successfully without testing.
9951 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9952 DEFAULT_STACK_PERMS define in stackinfo.h.
9953 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9954 defined in stackinfo.h.
9955 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9956 DEFAULT_STACK_PERMS defined in stackinfo.h.
9957 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9958 * sysdeps/ia64/stackinfo.h: Likewise.
9959 * sysdeps/s390/stackinfo.h: Likewise.
9960 * sysdeps/sh/stackinfo.h: Likewise.
9961 * sysdeps/sparc/stackinfo.h: Likewise.
9962 * sysdeps/x86_64/stackinfo.h: Likewise.
9963 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9964 PF_X for powerpc64. Retain PF_X for powerpc32.
9965
db753e2c
UD
99662010-12-19 Ulrich Drepper <drepper@gmail.com>
9967
14b697f7
UD
9968 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9969 accurately.
db753e2c
UD
9970 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9971 GETDENTS_64BIT_ALIGNED.
9972
28300719
UD
99732010-12-14 Ulrich Drepper <dreper@gmail.com>
9974
14b697f7 9975 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 9976
4f197237
AS
99772010-12-10 Andreas Schwab <schwab@redhat.com>
9978
dbb0472f
AS
9979 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9980 _GNU_SOURCE.
9981
4f197237
AS
9982 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9983 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9984 Remove __restrict.
9985 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9986 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9987
fb88ac72
UD
99882010-12-09 Ulrich Drepper <drepper@gmail.com>
9989
9990 [BZ #11655]
9991 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9992 are initialized.
9993
42acbb92
JJ
99942010-12-09 Jakub Jelinek <jakub@redhat.com>
9995
9996 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9997
c038d98d
UD
99982010-12-03 Ulrich Drepper <drepper@gmail.com>
9999
10000 * po/it.po: Update from translation team.
10001
3a4a2499
L
100022010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10003
10004 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10005 unused codes.
10006
1e24cf6e
UD
100072010-11-30 Ulrich Drepper <drepper@gmail.com>
10008
10009 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10010
a7690819
AS
100112010-11-24 Andreas Schwab <schwab@redhat.com>
10012
10013 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10014 specially.
10015 (gaih_getanswer_slice): Likewise.
10016
3bf8d1b1
JJ
100172010-10-20 Jakub Jelinek <jakub@redhat.com>
10018
10019 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10020
6db52fbb
PB
100212010-05-31 Petr Baudis <pasky@suse.cz>
10022
10023 [BZ #11149]
10024 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10025 silently even in the chroot mode.
10026
eaca7569
UD
100272010-11-22 Ulrich Drepper <drepper@gmail.com>
10028
10029 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10030 last patch a bit. Pretty printing
10031
3056dcdb
UD
100322010-05-31 Petr Baudis <pasky@suse.cz>
10033
10034 [BZ #10085]
10035 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10036 initialization of skip_initgroups_dyn.
10037
cf7c9078
UD
100382010-11-19 Ulrich Drepper <drepper@gmail.com>
10039
10040 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10041 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10042
a1fb5e3e
UD
100432010-11-16 Ulrich Drepper <drepper@gmail.com>
10044
10045 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10046
3540d66b
AS
100472010-11-11 Andreas Schwab <schwab@redhat.com>
10048
10049 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10050 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10051 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10052 ($(objpfx)tst-fnmatch-mem): New rule.
10053 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10054 * posix/tst-fnmatch.c (main): Call mtrace.
10055
13b69574
L
100562010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10057
10058 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10059 Support Intel processor model 6 and model 0x2c.
10060
da93d214
LM
100612010-11-10 Luis Machado <luisgpm@br.ibm.com>
10062
10063 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10064 signed comparison.
10065
8ca52c6e
L
100662010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10067
10068 [BZ #12205]
10069 * string/test-strncasecmp.c (check_result): New function.
10070 (do_one_test): Use it.
10071 (check1): New function.
10072 (test_main): Use it.
10073 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10074 Support strcasecmp and strncasecmp.
10075
69da074d
UD
100762010-11-08 Ulrich Drepper <drepper@gmail.com>
10077
10078 [BZ #12194]
10079 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10080 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10081
ff02d528
L
100822010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10083
10084 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10085 IFUNC support.
10086 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10087 memset-x86-64.
10088 * sysdeps/x86_64/multiarch/bzero.S: New file.
10089 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10090 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10091 * sysdeps/x86_64/multiarch/memset.S: New file.
10092 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10094 Set bit_Prefer_SSE_for_memop for Intel processors.
10095 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10096 Define.
10097 (index_Prefer_SSE_for_memop): Define.
10098 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10099
344d0b54
LM
101002010-11-04 Luis Machado <luisgpm@br.ibm.com>
10101
10102 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10103 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10104
c0dde15b
UD
101052010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10106
10107 [BZ #12191]
10108 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10109 (__x86_64_raw_data_cache_size_half): Likewise.
10110 (__x86_64_raw_shared_cache_size): Likewise.
10111 (__x86_64_raw_shared_cache_size_half): Likewise.
10112
10113 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10114 (__x86_64_raw_data_cache_size_half): Likewise.
10115 (__x86_64_raw_shared_cache_size): Likewise.
10116 (__x86_64_raw_shared_cache_size_half): Likewise.
10117 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10118 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10119 and __x86_64_raw_shared_cache_size_half. Round
10120 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10121 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10122 to multiple of 256 bytes.
10123
0e516e0e
MS
101242010-11-03 Ulrich Drepper <drepper@gmail.com>
10125
10126 [BZ #12167]
10127 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10128 of inacessible symlinks. Verify result of symlink before returning it.
10129 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10130 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10131
0e012e87
ER
101322010-10-28 Erich Ritz <erichritz@gmail.com>
10133
10134 * math/math.h (isinf): Fix typo in comment.
10135
de0ff7bc
UD
101362010-11-01 Ulrich Drepper <drepper@gmail.com>
10137
10138 * po/da.po: Update from translation team.
10139
fa41c84d
UD
101402010-10-26 Ulrich Drepper <drepper@gmail.com>
10141
10142 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10143 is added to the list.
10144
f0967738
AK
101452010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10146 Ulrich Drepper <drepper@gmail.com>
10147
10148 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10149 the global list here. Move code to...
10150 (_dl_add_to_namespace_list): ...here. New function.
10151 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10152 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10153 * elf/dl-load.c (lose): Don't remove the element from the list.
10154 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10155 (_dl_map_object): Likewise.
10156
101572010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
10158
10159 [BZ #12159]
10160 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10161 into all bytes of SSE register.
10162 Patch by Richard Li <richardpku@gmail.com>.
10163
f0967738 101642010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
10165
10166 [BZ #12140]
10167 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10168 perturbing.
10169
d0b9e94f
MB
101702010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10171
10172 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10173 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10174 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10175 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10177 submachine.
10178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10179
8e9f92e9
AS
101802010-10-22 Andreas Schwab <schwab@redhat.com>
10181
10182 * include/dlfcn.h (__RTLD_SECURE): Define.
10183 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10184 mode & __RTLD_SECURE instead.
10185 (open_path): Rename preloaded parameter to secure.
10186 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10187 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10188 * elf/dl-deps.c (openaux): Likewise.
10189 * elf/rtld.c (struct map_args): Remove is_preloaded.
10190 (map_doit): Don't use it.
10191 (dl_main): Likewise.
10192 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10193 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10194
bc96fbda
AS
101952010-09-09 Andreas Schwab <schwab@redhat.com>
10196
10197 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10198 (sysd-rules-targets): Remove duplicates.
10199 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10200 rtld-%.$o dependency.
10201
22cd1c9b
AS
102022010-10-18 Andreas Schwab <schwab@redhat.com>
10203
10204 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10205 _dl_map_object do it.
10206
18edac48
UD
102072010-10-19 Ulrich Drepper <drepper@gmail.com>
10208
10209 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10210 fast fma builtins, define the macros in the C99 standard.
10211 (FP_FAST_FMAF): Likewise.
10212 (FP_FAST_FMAL): Likewise.
10213 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10214
10215 * bits/mathdef.h: Update copyright year.
10216 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10217
d2050124
MM
102182010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10219
10220 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10221 builtins, define the macros in the C99 standard.
10222 (FP_FAST_FMAF): Likewise.
10223 (FP_FAST_FMAL): Likewise.
10224 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10225 multiply/add.
10226 (FP_FAST_FMAF): Likewise.
10227
475facd1
JJ
102282010-10-15 Jakub Jelinek <jakub@redhat.com>
10229
10230 [BZ #3268]
10231 * math/libm-test.inc (fma_test): Some new testcases.
10232 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10233 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10234 y and infinite z. Do multiplication by C already in long double.
10235 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10236 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10237 y and infinite z. Do bitwise or of inexact bit into u.d.
10238 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10239 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10240 * sysdeps/i386/fpu/s_fma.S: Removed.
10241 * sysdeps/i386/fpu/s_fmal.S: Removed.
10242
7c08a05c
JJ
102432010-10-16 Jakub Jelinek <jakub@redhat.com>
10244
10245 [BZ #3268]
10246 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10247 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10248 computation is not scheduled after fetestexcept. Fix value
10249 of minimum denormal long double.
10250
f3f7372d
JJ
102512010-10-14 Jakub Jelinek <jakub@redhat.com>
10252
10253 [BZ #3268]
10254 * math/libm-test.inc (fma_test): Add some more tests.
10255 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10256 correctly.
10257
14d43591
AS
102582010-10-15 Andreas Schwab <schwab@redhat.com>
10259
10260 * scripts/data/localplt-s390-linux-gnu.data: New file.
10261 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10262
5e908464
JJ
102632010-10-13 Jakub Jelinek <jakub@redhat.com>
10264
10265 [BZ #3268]
10266 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10267 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10268 instead of dbl-64.
10269 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10270 inlines.
10271 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10272 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10273 if one of x and y is very large and the other is subnormal.
10274 * sysdeps/s390/fpu/s_fmaf.c: New file.
10275 * sysdeps/s390/fpu/s_fma.c: New file.
10276 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10277 * sysdeps/powerpc/fpu/s_fma.S: New file.
10278 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10279 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10280 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10281
102822010-10-12 Jakub Jelinek <jakub@redhat.com>
10283
10284 [BZ #3268]
10285 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10286 fma tests.
10287 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10288 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10289 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10290 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10291 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10292 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10293 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10294
b833d51f
UD
102952010-10-12 Ulrich Drepper <drepper@redhat.com>
10296
10297 [BZ #12078]
10298 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10299 * posix/bug-regex31.input: Add test case.
10300
1751705d
UD
103012010-10-11 Ulrich Drepper <drepper@gmail.com>
10302
e9b9cbf5
UD
10303 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10304 * posix/bug-regex31.input: New file.
10305
10306 [BZ #12078]
10307 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10308 (parse_sub_exp): Fix last change, use postorder.
10309
ef06edbe
UD
10310 * posix/bug-regex31.c: New file.
10311 * posix/Makefile: Add rules to build and run bug-regex31.
10312
a129c80d
UD
10313 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10314
10315 [BZ #12078]
10316 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10317
b76b818e
UD
10318 [BZ #12108]
10319 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10320 to have entries in sys_siglist.
10321
1751705d
UD
10322 [BZ #12093]
10323 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10324 be NULL.
10325
9ff8d36f
JJ
103262010-10-07 Jakub Jelinek <jakub@redhat.com>
10327
10328 [BZ #3268]
10329 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10330 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10331 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10332 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10333 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10334 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10335 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10336 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10337 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10338 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10339 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10340 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10341 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10342 * math/ftestexcept.c (fetestexcept): Likewise.
10343 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10344 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10345 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10346 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10347 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10348 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10349 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10350
af325969
UD
103512010-10-11 Ulrich Drepper <drepper@gmail.com>
10352
c579b202 10353 [BZ #12107]
af325969
UD
10354 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10355 newline.
10356
67a67b95
UD
103572010-10-06 Ulrich Drepper <drepper@gmail.com>
10358
10359 * string/bug-strstr1.c: New file.
10360 * string/Makefile: Add rules to build and run bug-strstr1.
10361
5fb308bc
EB
103622010-10-05 Eric Blake <eblake@redhat.com>
10363
10364 [BZ #12092]
10365 * string/str-two-way.h (two_way_long_needle): Always clear memory
10366 when skipping input due to the shift table.
10367
45db99c7
UD
103682010-10-03 Ulrich Drepper <drepper@gmail.com>
10369
3b111893
UD
10370 [BZ #12005]
10371 * malloc/mcheck.c: Handle large requests.
10372
45db99c7
UD
10373 [BZ #12077]
10374 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10375 for strncmp and strncasecmp.
10376 * string/stratcliff.c: Add tests for strcmp and strncmp.
10377 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10378
cf7a1eb8
NI
103792010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10380
10381 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10382 __set_fpscr.
10383
6484ba5e
AJ
103842010-09-30 Andreas Jaeger <aj@suse.de>
10385
10386 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10387 (CGROUP_SUPER_MAGIC): Define.
10388 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10389 Handle btrfs and cgroup file systems.
10390 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10391 Likewise.
10392
91c42559
LM
103932010-09-27 Luis Machado <luisgpm@br.ibm.com>
10394
10395 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10396 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10397
87a97932
AK
103982010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10399
10400 [BZ #12067]
10401 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10402 trying to locate the ELF header.
10403
c21cc9bc
AS
104042010-09-27 Andreas Schwab <schwab@redhat.com>
10405
10406 [BZ #11611]
10407 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10408 Mask out sign-bit copies when constructing f_fsid.
10409
315970f6
PB
104102010-09-24 Petr Baudis <pasky@suse.cz>
10411
10412 * debug/stack_chk_fail_local.c: Add missing licence exception.
10413 * debug/warning-nop.c: Likewise.
10414
1ac7a2c7
JM
104152010-09-15 Joseph Myers <joseph@codesourcery.com>
10416
10417 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10418 implementing getdents64 using getdents syscall, set d_type if
10419 __ASSUME_GETDENTS32_D_TYPE.
10420
56801c50
AS
104212010-09-16 Andreas Schwab <schwab@redhat.com>
10422
10423 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10424 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10425
dda51327
UD
104262010-09-21 Ulrich Drepper <drepper@redhat.com>
10427
10428 [BZ #12037]
10429 * posix/unistd.h: Undo change of feature selection for ftruncate from
10430 2010-01-11.
10431
8ffcee4a
UD
104322010-09-20 Ulrich Drepper <drepper@redhat.com>
10433
a545ecd9 10434 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
10435 detection.
10436
e24f0a8b
AS
104372010-09-20 Andreas Schwab <schwab@redhat.com>
10438
10439 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10440 fanotify_mark.
10441 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10442
7291c56f
AS
104432010-09-14 Andreas Schwab <schwab@redhat.com>
10444
10445 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10446 variables after CHECK_SP call.
10447 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10448
bc5fb037
AS
104492010-09-13 Andreas Schwab <schwab@redhat.com>
10450 Ulrich Drepper <drepper@redhat.com>
10451
10452 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10453 re-relocationg ld.so.
10454 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10455 _dl_init_paths call.
10456 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10457 here anymore.
10458
e66e7419
UD
104592010-09-14 Ulrich Drepper <drepper@redhat.com>
10460
10461 * resolv/res_init.c (__res_vinit): Count the default server we added.
10462
c044aa75
CLT
104632010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10464 Ulrich Drepper <drepper@redhat.com>
10465
10466 [BZ #11968]
10467 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10468 (____longjmp_chk): Use %ebx for saving value across system call.
10469 Add unwind info.
10470
32cf4069
AS
104712010-09-06 Andreas Schwab <schwab@redhat.com>
10472
10473 * manual/Makefile: Don't mix pattern rules with normal rules.
10474
817328ee
AS
104752010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10476
10477 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10478 operation.
10479 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10480 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10481 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10482 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10483 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10484 Likewise.
10485
29fddf61
UD
104862010-09-04 Ulrich Drepper <drepper@redhat.com>
10487
10488 [BZ #11979]
10489 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10490 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10491
0959ffc9
UD
104922010-09-02 Ulrich Drepper <drepper@redhat.com>
10493
10494 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10495 * sysdeps/x86_64/addmul_1.S: Likewise.
10496 * sysdeps/x86_64/lshift.S: Likewise.
10497 * sysdeps/x86_64/mul_1.S: Likewise.
10498 * sysdeps/x86_64/rshift.S: Likewise.
10499 * sysdeps/x86_64/sub_n.S: Likewise.
10500 * sysdeps/x86_64/submul_1.S: Likewise.
10501
ece29840
ST
105022010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10503
0959ffc9
UD
10504 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10505 Define __sched_param instead of SCHED_* and sched_param when
ece29840 10506 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 10507 * bits/sched.h [__need_schedparam]
ece29840 10508 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
10509 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10510 (__defined_schedparam): Define to 1.
ece29840
ST
10511 (__sched_param): New structure, identical to sched_param.
10512 (__need_schedparam): Undefine.
10513
e53a31fe
MF
105142010-08-31 Mike Frysinger <vapier@gentoo.org>
10515
fdc0c10d
MF
10516 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10517 (epoll_create1): Declare.
10518
e53a31fe
MF
10519 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10520
a726d796
AS
105212010-08-31 Andreas Schwab <schwab@redhat.com>
10522
10523 [BZ #7066]
10524 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10525 shifting retval into place.
10526
2f3e3dc7
UD
105272010-09-01 Ulrich Drepper <drepper@redhat.com>
10528
f2933da9
UD
10529 * nis/rpcsvc/nis.h: Update copyright notice.
10530 * nis/rpcsvc/nis.x: Likewise.
10531 * nis/rpcsvc/nis_callback.h: Likewise.
10532 * nis/rpcsvc/nis_callback.x: Likewise.
10533 * nis/rpcsvc/nis_object.x: Likewise.
10534 * nis/rpcsvc/nis_tags.h: Likewise.
10535 * nis/rpcsvc/yp.h: Likewise.
10536 * nis/rpcsvc/yp.x: Likewise.
10537 * nis/rpcsvc/ypupd.h: Likewise.
10538 * nis/yp_xdr.c: Likewise.
10539 * nis/ypupdate_xdr.c: Likewise.
10540
2f3e3dc7
UD
10541 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10542 mainly the body of pmap_getport. Add parameters to specify timeouts.
10543 (pmap_getport): Use __libc_rpc_getport.
10544 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10545 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10546 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10547
f3dcc2f9
AS
105482010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10549
10550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10551 fanotify_mark.
10552
6d34eb5b
RM
105532010-08-27 Roland McGrath <roland@redhat.com>
10554
10555 * sysdeps/i386/i686/multiarch/Makefile
10556 (CFLAGS-varshift.c): New variable.
10557
9ea3de11
UD
105582010-08-27 Ulrich Drepper <drepper@redhat.com>
10559
c96d23fc
UD
10560 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10561 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10562
9ea3de11
UD
10563 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10564
10565 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10566
623aac7f
L
105672010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10568
10569 * sysdeps/x86_64/strlen.S: Unroll the loop.
10570 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10571 strlen-sse2 strlen-sse2-bsf.
10572 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10573 __strlen_no_bsf if bit_Slow_BSF is set.
10574 (__strlen_sse42): Removed.
10575 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10576 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10577
8b2b7715
RM
105782010-08-25 Roland McGrath <roland@redhat.com>
10579
10580 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10581 * sysdeps/x86_64/multiarch/varshift.c: New file.
10582 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10583 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10584 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10585 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10586
e73015f2
L
105872010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10588
10589 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10590 strlen-sse2 strlen-sse2-bsf.
10591 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10592 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10593 (__strlen_sse2): Removed.
10594 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10595 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10597 bit_Slow_BSF for Atom.
10598 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10599 (index_Slow_BSF): Define.
10600 (HAS_SLOW_BSF): Define.
10601
df24a73e
UD
106022010-08-25 Ulrich Drepper <drepper@redhat.com>
10603
10604 [BZ #10851]
10605 * resolv/res_init.c (__res_vinit): When no server address at all
10606 is given default to loopback.
10607
f2ac4868
RM
106082010-08-24 Roland McGrath <roland@redhat.com>
10609
09055553
RM
10610 * configure.in: Remove config-name.h generation.
10611 * configure: Regenerated.
10612 * config-name.in: File removed.
10613 * scripts/config-uname.sh: New file.
10614 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10615 ($(objdir)config-name.h): New target.
10616
f2ac4868
RM
10617 * sunrpc/rpc_parse.h: Avoid nested comment.
10618
73f27d5e
RH
106192010-08-24 Richard Henderson <rth@redhat.com>
10620 Ulrich Drepper <drepper@redhat.com>
10621 H.J. Lu <hongjiu.lu@intel.com>
10622
10623 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10624 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10625 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10626 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10627 _mm_alignr_epi8 with _mm_loadu_si128.
10628 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10629 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10630 (__m128i_shift_right): Removed.
10631 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10632 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10633 * sysdeps/x86_64/multiarch/varshift.h: New file.
10634 * sysdeps/x86_64/multiarch/varshift.S: New file.
10635
84b9230c
MF
106362010-08-21 Mike Frysinger <vapier@gentoo.org>
10637
10638 * configure.in: Move assembler checks to before sysdep dir checking.
10639
9bbd0ddc
PB
106402010-08-20 Petr Baudis <pasky@suse.cz>
10641
10642 * LICENSES: Sync the sunrpc license.
10643
9da4bb31
UD
106442010-08-19 Ulrich Drepper <drepper@redhat.com>
10645
a7ab6ec8
UD
10646 * sunrpc/auth_des.c: Update copyright notice once again.
10647 * sunrpc/auth_none.c: Likewise.
10648 * sunrpc/auth_unix.c: Likewise.
10649 * sunrpc/authdes_prot.c: Likewise.
10650 * sunrpc/authuxprot.c: Likewise.
10651 * sunrpc/bindrsvprt.c: Likewise.
10652 * sunrpc/clnt_gen.c: Likewise.
10653 * sunrpc/clnt_perr.c: Likewise.
10654 * sunrpc/clnt_raw.c: Likewise.
10655 * sunrpc/clnt_simp.c: Likewise.
10656 * sunrpc/clnt_tcp.c: Likewise.
10657 * sunrpc/clnt_udp.c: Likewise.
10658 * sunrpc/clnt_unix.c: Likewise.
10659 * sunrpc/des_crypt.c: Likewise.
10660 * sunrpc/des_soft.c: Likewise.
10661 * sunrpc/get_myaddr.c: Likewise.
10662 * sunrpc/getrpcport.c: Likewise.
10663 * sunrpc/key_call.c: Likewise.
10664 * sunrpc/key_prot.c: Likewise.
10665 * sunrpc/openchild.c: Likewise.
10666 * sunrpc/pm_getmaps.c: Likewise.
10667 * sunrpc/pm_getport.c: Likewise.
10668 * sunrpc/pmap_clnt.c: Likewise.
10669 * sunrpc/pmap_prot.c: Likewise.
10670 * sunrpc/pmap_prot2.c: Likewise.
10671 * sunrpc/pmap_rmt.c: Likewise.
10672 * sunrpc/rpc/auth.h: Likewise.
10673 * sunrpc/rpc/auth_unix.h: Likewise.
10674 * sunrpc/rpc/clnt.h: Likewise.
10675 * sunrpc/rpc/des_crypt.h: Likewise.
10676 * sunrpc/rpc/key_prot.h: Likewise.
10677 * sunrpc/rpc/netdb.h: Likewise.
10678 * sunrpc/rpc/pmap_clnt.h: Likewise.
10679 * sunrpc/rpc/pmap_prot.h: Likewise.
10680 * sunrpc/rpc/pmap_rmt.h: Likewise.
10681 * sunrpc/rpc/rpc.h: Likewise.
10682 * sunrpc/rpc/rpc_des.h: Likewise.
10683 * sunrpc/rpc/rpc_msg.h: Likewise.
10684 * sunrpc/rpc/svc.h: Likewise.
10685 * sunrpc/rpc/svc_auth.h: Likewise.
10686 * sunrpc/rpc/types.h: Likewise.
10687 * sunrpc/rpc/xdr.h: Likewise.
10688 * sunrpc/rpc_clntout.c: Likewise.
10689 * sunrpc/rpc_cmsg.c: Likewise.
10690 * sunrpc/rpc_common.c: Likewise.
10691 * sunrpc/rpc_cout.c: Likewise.
10692 * sunrpc/rpc_dtable.c: Likewise.
10693 * sunrpc/rpc_hout.c: Likewise.
10694 * sunrpc/rpc_main.c: Likewise.
10695 * sunrpc/rpc_parse.c: Likewise.
10696 * sunrpc/rpc_parse.h: Likewise.
10697 * sunrpc/rpc_prot.c: Likewise.
10698 * sunrpc/rpc_sample.c: Likewise.
10699 * sunrpc/rpc_scan.c: Likewise.
10700 * sunrpc/rpc_scan.h: Likewise.
10701 * sunrpc/rpc_svcout.c: Likewise.
10702 * sunrpc/rpc_tblout.c: Likewise.
10703 * sunrpc/rpc_util.c: Likewise.
10704 * sunrpc/rpc_util.h: Likewise.
10705 * sunrpc/rpcinfo.c: Likewise.
10706 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10707 * sunrpc/rpcsvc/key_prot.x: Likewise.
10708 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10709 * sunrpc/rpcsvc/mount.x: Likewise.
10710 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10711 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10712 * sunrpc/rpcsvc/rex.x: Likewise.
10713 * sunrpc/rpcsvc/rstat.x: Likewise.
10714 * sunrpc/rpcsvc/rusers.x: Likewise.
10715 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10716 * sunrpc/rpcsvc/spray.x: Likewise.
10717 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10718 * sunrpc/rtime.c: Likewise.
10719 * sunrpc/svc.c: Likewise.
10720 * sunrpc/svc_auth.c: Likewise.
10721 * sunrpc/svc_authux.c: Likewise.
10722 * sunrpc/svc_raw.c: Likewise.
10723 * sunrpc/svc_run.c: Likewise.
10724 * sunrpc/svc_simple.c: Likewise.
10725 * sunrpc/svc_tcp.c: Likewise.
10726 * sunrpc/svc_udp.c: Likewise.
10727 * sunrpc/svc_unix.c: Likewise.
10728 * sunrpc/svcauth_des.c: Likewise.
10729 * sunrpc/xcrypt.c: Likewise.
10730 * sunrpc/xdr.c: Likewise.
10731 * sunrpc/xdr_array.c: Likewise.
10732 * sunrpc/xdr_float.c: Likewise.
10733 * sunrpc/xdr_mem.c: Likewise.
10734 * sunrpc/xdr_rec.c: Likewise.
10735 * sunrpc/xdr_ref.c: Likewise.
10736 * sunrpc/xdr_sizeof.c: Likewise.
10737 * sunrpc/xdr_stdio.c: Likewise.
10738
9da4bb31
UD
10739 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10740 handling.
10741
bdaa77bc
AS
107422010-08-19 Andreas Schwab <schwab@redhat.com>
10743
10744 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10745
fe2f79db
LM
107462010-08-19 Luis Machado <luisgpm@br.ibm.com>
10747
10748 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10749 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10750 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10751 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10752 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10753 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10754 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10755 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10756 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10757 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10758 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10759 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10760 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10761 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10762
b9b42ee0
AB
107632010-07-26 Anton Blanchard <anton@samba.org>
10764
10765 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10766 * malloc/arena.c (heap_trim): Likewise.
10767
1c06ba31
UD
107682010-08-16 Ulrich Drepper <drepper@redhat.com>
10769
10770 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10771 here. Not...
10772 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10773 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10774
f8392f40
L
107752010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10776
10777 * sysdeps/i386/elf/Makefile: New file.
10778
3162f12e
AS
107792010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10780
10781 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10782 from fanotify_init.
10783 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10784 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10785
28c90b2c
UD
107862010-08-15 Ulrich Drepper <drepper@redhat.com>
10787
10788 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10789 of strncasecmp_l.
1feccb6c 10790 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 10791
ca6bb004
UD
107922010-08-14 Ulrich Drepper <drepper@redhat.com>
10793
e9f82e0d
UD
10794 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10795 strncase_l-nonascii.
10796 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10797 Add strncase_l-ssse3.
10798 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10799 * sysdeps/x86_64/strcmp.S: Likewise.
10800 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10801 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10802 * sysdeps/x86_64/strncase.S: New file.
10803 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10804 * sysdeps/x86_64/strncase_l.S: New file.
10805 * string/Makefile (strop-tests): Add strncasecmp.
10806 * string/test-strncasecmp.c: New file.
10807
10808 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10809 warning.
10810
ca6bb004
UD
10811 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10812 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10813
052fa7b3
AS
108142010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10815
10816 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10817
962dba78
UD
108182010-08-12 Ulrich Drepper <drepper@redhat.com>
10819
10820 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10821 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10822 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10823
bebff237
AM
108242010-05-01 Alan Modra <amodra@gmail.com>
10825
10826 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10827 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10828 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10829 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10830 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10831 tidying. Don't tail-call __sigjmp_save for static lib.
10832 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10833 save location.
10834 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10835 (CALL_MCOUNT): Add eh info, and nop after bl.
10836 (TAIL_CALL_SYSCALL_ERROR): New macro.
10837 (PSEUDO_RET): Use it.
10838 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10839 Correct save location of integer regs and cr.
10840 (_dl_profile_resolve): Correct cr save location. Delete nops
10841 after bl when SHARED. Reduce cfi size a little by better
10842 placement of cfi directives.
10843 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10844 make a stack frame. Instead use parm save area as a temp.
10845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10846 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10848 Don't make a stack frame for parent, use parm save area.
10849 Increase child stack frame to 112 bytes. Don't save unused reg,
10850 and adjust reg usage. Set up cfi on error recovery and
10851 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10853 (__makecontext): Add dummy nop after jump to exit.
10854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10855 Use correct parm save area and cr save, reduce stack frame.
10856 Correct cfi for possible PSEUDO_RET frame setup.
10857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10858 Branch to local label emitted by PSEUDO_RET rather than
10859 __syscall_error.
10860
02637374
AS
108612010-08-12 Andreas Schwab <schwab@redhat.com>
10862
10863 [BZ #11904]
10864 * locale/programs/locale.c (print_assignment): New function.
10865 (show_locale_vars): Use it.
10866
c3e2f19b
UD
108672010-08-11 Ulrich Drepper <drepper@redhat.com>
10868
3cdaa6ad
UD
10869 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10870 field.
10871 (struct statfs64): Likewise.
10872 (_STATFS_F_FLAGS): Define.
10873 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10874 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10875 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10876 (ST_VALID): Define locally.
10877 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10878 __statvfs_getflags, use the provided value.
10879 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10880 __ASSUME_STATFS_F_FLAGS.
10881
754f7da3
UD
10882 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10883
10b3bedc
UD
10884 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10885 Add sys/fanotify.h.
10886 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10887 fanotify_mask for GLIBC_2.13.
10888 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10889 fanotify_init and fanotify_mark.
10890 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10891 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10892
c08fb0d7
UD
10893 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10894 Add prlimit.
10895 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10896 prlimit64 for GLIBC_2.13.
10897 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10898 prlimit64.
10899 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10900 syscall.
10901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10902 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10903 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10904 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10905 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10906 add prlimit alias.
10907 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10908
15bac72b
UD
10909 [BZ #11903]
10910 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10911 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10912
c3e2f19b
UD
10913 * nss/Makefile: Add rules to build and run tst-nss-test1.
10914 * shlib-versions: Add entry for libnss_test1.
10915 * nss/nss_test1.c: New file.
10916 * nss/tst-nss-test1.c: New file.
10917
10918 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10919 (__nss_configure_lookup): Set appropriate entry in
10920 __nss_configure_lookup to true.
10921 * nss/nsswitch.h: Define enum with indeces of databases in
10922 databases and __nss_database_custom arrays. Declare
10923 __nss_database_custom.
10924 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10925 to avoid using nscd when custom rules are installed.
10926 * nss/getXXbyYY_r.c: Likewise.
10927 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10928
10929 * nss/nss_files/files-parse.c: Whitespace fixes.
10930
f15ce4d8
UD
109312010-08-09 Ulrich Drepper <drepper@redhat.com>
10932
10933 [BZ #11883]
10934 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10935 * posix/fnmatch_loop.c: Likewise.
10936
d22e4cc9
AK
109372010-07-17 Andi Kleen <ak@linux.intel.com>
10938
10939 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10940 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10941 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10942 * Versions.def [GLIBC_2.13]: Add.
10943
805bc17d
UD
109442010-08-06 Ulrich Drepper <drepper@redhat.com>
10945
10946 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10947 Also fail if tpwd after pwuid call is NULL.
10948
5a42321d
ST
109492010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10950
10951 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10952 when converting to ms.
10953
fd3ebeda
ST
109542010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10955
10956 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10957 EOPNOTSUPP errors with ENOTTY.
10958 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10959 EOPNOTSUPP errors with ENOTTY.
10960
73507d3a
UD
109612010-07-31 Ulrich Drepper <drepper@redhat.com>
10962
10963 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10964 Add strcasecmp_l-ssse3.
10965 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10966 strcasecmp.
10967 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10968 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10969 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10970
fe36dd02
UD
109712010-07-30 Ulrich Drepper <drepper@redhat.com>
10972
66f6765a
UD
10973 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10974
42e08a54
UD
10975 * string/Makefile (strop-tests): Add strcasecmp.
10976 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10977 strcasecmp_l-nonascii.
10978 (gen-as-const-headers): Add locale-defines.sym.
10979 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10980 * sysdeps/x86_64/strcasecmp.S: New file.
10981 * sysdeps/x86_64/strcasecmp_l.S: New file.
10982 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10983 * sysdeps/x86_64/locale-defines.sym: New file.
10984 * string/test-strcasecmp.c: New file.
10985
fe36dd02
UD
10986 * string/test-strcasestr.c: Test both ends of the range of characters.
10987 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10988
48cbc0d6
RM
109892010-07-29 Roland McGrath <roland@redhat.com>
10990
76e6d6bc 10991 [BZ #11856]
48cbc0d6
RM
10992 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10993
880113d9
UD
109942010-07-27 Ulrich Drepper <drepper@redhat.com>
10995
10996 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10997 for ld.so.
10998
deb9cabb
AS
109992010-07-27 Andreas Schwab <schwab@redhat.com>
11000
11001 * manual/memory.texi (Malloc Tunable Parameters): Document
11002 M_PERTURB.
11003
1c7570ff
RM
110042010-07-26 Roland McGrath <roland@redhat.com>
11005
11006 [BZ #11840]
11007 * configure.in (-fgnu89-inline check): Set and substitute
11008 gnu89_inline, not libc_cv_gnu89_inline.
11009 * configure: Regenerated.
11010 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11011
24fb0f88
UD
110122010-07-26 Ulrich Drepper <drepper@redhat.com>
11013
11014 * string/test-strnlen.c: New file.
11015 * string/Makefile (strop-tests): Add strnlen.
11016 * string/tester.c (test_strnlen): Add a few more test cases.
11017 * string/tst-strlen.c: Better error reporting.
11018
11019 * sysdeps/x86_64/strnlen.S: New file.
11020
8e96b93a
UD
110212010-07-24 Ulrich Drepper <drepper@redhat.com>
11022
11023 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11024 lower-latency instructions.
11025
dbc676d4
UD
110262010-07-23 Ulrich Drepper <drepper@redhat.com>
11027
11028 * string/test-strcasestr.c: New file.
11029 * string/test-strstr.c: New file.
11030 * string/Makefile (strop-tests): Add strstr and strcasestr.
11031 * string/str-two-way.h: Don't undefine MAX.
11032 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11033
f6a31e0e
AS
110342010-07-21 Andreas Schwab <schwab@redhat.com>
11035
11036 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11037 strcasestr-nonascii.
11038 (CFLAGS-strcasestr-nonascii.c): Define.
11039 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11040 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11041 Remove unused attribute.
11042
5dbc3b6c
RM
110432010-07-20 Roland McGrath <roland@redhat.com>
11044
11045 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11046 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11047 ld.so.cache was broken. With it, there is no way to disable dsocaps
11048 like LD_HWCAP_MASK can disable hwcaps.
11049
23d101d8
EPM
110502010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11051
11052 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11053
cc9f2e47
UD
110542010-07-16 Ulrich Drepper <drepper@redhat.com>
11055
11056 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11057 call in strcasestr.
11058 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11059 __strcasestr_sse42_nonascii.
11060 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11061 strcasestr-nonascii.c.
11062 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11063
77c1b069
LM
110642010-06-15 Luis Machado <luisgpm@br.ibm.com>
11065
11066 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11067 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11068 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11069 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11070
440566c3
UD
110712010-07-09 Ulrich Drepper <drepper@redhat.com>
11072
11073 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11074 fcntl.
11075
5be9d05d
AS
110762010-07-06 Andreas Schwab <schwab@redhat.com>
11077
c30b7ee2 11078 [BZ #11577]
5be9d05d
AS
11079 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11080 dl_signal_cerror.
11081
8a492a67
UD
110822010-07-06 Ulrich Drepper <drepper@redhat.com>
11083
11084 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11085 _PC_PIPE_BUF using F_GETPIPE_SZ.
11086
713df3d5
RM
110872010-07-05 Roland McGrath <roland@redhat.com>
11088
11089 * manual/arith.texi (Rounding Functions): Fix rint description
11090 implicit in round description.
11091
702e8f14
UD
110922010-07-02 Ulrich Drepper <drepper@redhat.com>
11093
11094 * elf/Makefile: Fix linking for a few tests to make recent linker
11095 happy.
11096
52ed8be9
AS
110972010-06-30 Andreas Schwab <schwab@redhat.com>
11098
11099 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11100 $(common-objpfx)libc_nonshared.a.
11101
f47c9a11
LM
111022010-06-21 Luis Machado <luisgpm@br.ibm.com>
11103
11104 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11105 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11106 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11107 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11108 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11109 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11110 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11111 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11126 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11127 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11128 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11129 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11130 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11131 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11132 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11133 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11134 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11135 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11136 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11137 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11152
6fb8cbcb
L
111532010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11154
11155 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11156 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11157 * string/memmove.c (memmove): Renamed to ...
11158 (MEMMOVE): ...this. Default to memmove.
11159 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11160 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11161 (END_CHK): Define.
11162 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11163 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11164 mempcpy-ssse3-back memmove-ssse3-back.
11165 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11166 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11167 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11168 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11169 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11170 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11171 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11172 * sysdeps/x86_64/multiarch/memmove.c: New file.
11173 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11174 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11175 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11176 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11177 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11178 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11179 Define.
11180 (index_Fast_Copy_Backward): Define.
11181 (HAS_ARCH_FEATURE): Define.
11182 (HAS_FAST_REP_STRING): Define.
11183 (HAS_FAST_COPY_BACKWARD): Define.
11184
4e733bac 111852010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
11186
11187 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11188 Restore proper fallback handling.
11189
63c4ed22
UD
111902010-06-19 Ulrich Drepper <drepper@redhat.com>
11191
ac2b484c
UD
11192 [BZ #11701]
11193 * posix/group_member.c (__group_member): Correct checking loop.
11194
63c4ed22
UD
11195 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11196 OOM in getpwuid_r correctly. Return error number when the caller
11197 should return, otherwise -1.
11198 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11199 call returning > 0 value.
11200 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11201
765ade4b
AS
112022010-06-07 Andreas Schwab <schwab@redhat.com>
11203
11204 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11205 libc_nonshared.a from targets in modules-names.
11206
80da2e09
KS
112072010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11208
11209 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11210 requires it.
11211
158db122
LM
112122010-06-10 Luis Machado <luisgpm@br.ibm.com>
11213
11214 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11215 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11216 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11217 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11218
caa78cf8
AS
112192010-06-02 Andreas Schwab <schwab@redhat.com>
11220
11221 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11222
b2ef2c01
UD
112232010-06-14 Ulrich Drepper <drepper@redhat.com>
11224
11225 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11226 and F_GETPIPE_SZ.
11227 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11228 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11229 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11230 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11231 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11232 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11233
fbd643b6
RM
112342010-06-14 Roland McGrath <roland@redhat.com>
11235
11236 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11237
f32f2869
JJ
112382010-06-07 Jakub Jelinek <jakub@redhat.com>
11239
11240 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11241 __REDIRECT followed by __THROW.
11242 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11243 * posix/getopt.h (getopt): Likewise.
11244
2a50c078
EPM
112452010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11246
11247 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11248 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11249 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11250 in AT_FLAGS.
11251 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11252 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11253
eb5ad2eb
LM
112542010-05-28 Luis Machado <luisgpm@br.ibm.com>
11255
11256 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11257
3c88fe1e
L
112582010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11259
11260 [BZ #11640]
11261 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11262 Properly check family and model.
11263
d2f73151
TY
112642010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11265
11266 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11267
ebd2e13d
LM
112682010-05-24 Luis Machado <luisgpm@br.ibm.com>
11269
11270 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11271
b32b8b45
UD
112722010-05-21 Ulrich Drepper <drepper@redhat.com>
11273
11274 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11275 symbol reference.
11276
9acbe24d
AS
112772010-05-19 Andreas Schwab <schwab@redhat.com>
11278
11279 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11280 symbol reference.
11281
f0ccf6ea
AS
112822010-05-21 Andreas Schwab <schwab@redhat.com>
11283
3d04ff3a
AS
11284 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11285 and internal_recvmmsg.
11286 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11287 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11288 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11289 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11290
f0ccf6ea
AS
11291 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11292 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11293 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11294
5b08ac57
AS
112952010-05-20 Andreas Schwab <schwab@redhat.com>
11296
11297 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11298
4828935d
LM
112992010-05-17 Luis Machado <luisgpm@br.ibm.com>
11300
11301 POWER7 optimizations.
11302 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11303 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11304
373d545e
UD
113052010-05-19 Ulrich Drepper <drepper@redhat.com>
11306
11307 * version.h: Update for 2.13 development version.
11308
21a2b1ae
AS
113092010-05-12 Andrew Stubbs <ams@codesourcery.com>
11310
11311 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11312 exceptions. Return 0.
11313
3f7dcb2b
RM
113142010-05-07 Roland McGrath <roland@redhat.com>
11315
11316 * elf/ldconfig.c (main): Add a const.
11317
5f24d53a 113182010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11319
a160f8d8
UD
11320 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11321 (args_options): Add no-idn option.
11322 (ahosts_keys_int): Add idn_flags to ai_flags.
11323 (parse_option): Handle 'i' option to clear idn_flags.
11324
5f24d53a
UD
11325 * malloc/malloc.c (_int_free): Possible race in the most recently
11326 added check. Only act on the data if no current modification
11327 happened.
265bb1ce
UD
11328
11329See ChangeLog.17 for earlier changes.
This page took 1.516479 seconds and 5 git commands to generate.