]> sourceware.org Git - glibc.git/blob - ChangeLog
Add byteswap-16.h for __bswap_16
[glibc.git] / ChangeLog
1 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2
3 * bits/byteswap.h (__bswap_16): Removed.
4 Include <bits/byteswap-16.h> to get __bswap_16.
5 * sysdeps/i386/bits/byteswap.h: Likewise.
6 * sysdeps/s390/bits/byteswap.h: Likewise.
7 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8 * bits/byteswap-16.h: New file.
9 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12 * string/Makefile (headers): Add bits/byteswap-16.h.
13
14 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15
16 [BZ #13895]
17 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
18 extra indirection.
19 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20 * nss/tst-nss-static.c: New.
21
22 2012-04-06 Robert Millan <rmh@gnu.org>
23
24 [BZ #6486]
25 * manual/llio.texi (File Position Primitive): lseek
26 refers to WHENCE when it really means OFFSET.
27
28 2012-04-06 Andreas Jaeger <aj@suse.de>
29
30 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31 strncmp declarations.
32
33 * abilist/libc.abilist: Add __poll and __ppoll.
34
35 2012-04-05 David S. Miller <davem@davemloft.net>
36
37 * scripts/check-local-headers.sh: Accept a host triplet in the
38 path matched by the exclude regexp.
39
40 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41 definition.
42 * sysdeps/powerpc/powerpc32/dl-machine.h
43 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44 * sysdeps/s390/s390-32/dl-machine.h
45 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46 * sysdeps/sparc/sparc32/dl-machine.h
47 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48 * sysdeps/sparc/sparc64/dl-machine.h
49 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50
51 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
52 lazy binding.
53 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
54 undefined symbol errors.
55
56 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
57 DT_NEEDED entries.
58
59 2012-04-05 Michael Matz <matz@suse.de>
60
61 [BZ #13592]
62 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
63
64 2012-04-05 Andreas Jaeger <aj@suse.de>
65
66 [BZ #13908]
67 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
68 comment.
69
70 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
71
72 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
73 which ROUND is no valid rounding mode.
74
75 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
76
77 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
78 read again.
79 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
80
81 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
82
83 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
84 an exception using FPU order intentionally.
85
86 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
87
88 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
89 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
90 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
91 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
92
93 2012-04-05 Simon Josefsson <simon@josefsson.org>
94
95 [BZ #12340]
96 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
97 EINVAL when BUFLEN is too smal.
98
99 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
100
101 [BZ #13553]
102 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
103 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
104
105 2012-04-03 Andreas Jaeger <aj@suse.de>
106
107 [BZ #13938]
108 * manual/setjmp.texi (System V contexts): Fix sentence.
109
110 [BZ #13926]
111 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
112 New macro for this case.
113 [!__GNUC__] (__bswap_64): New inline function for this case.
114 * sysdeps/x86_64/bits/byteswap.h: Likewise.
115 * bits/byteswap.h: Likewise.
116 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
117 ull, guard with __GLIBC_HAVE_LONG_LONG.
118
119 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
120 __GLIBC_HAVE_LONG_LONG.
121
122 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
123 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
124
125 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
126
127 [BZ #13691]
128 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
129 inptr and inend, rather than using last_ch.
130
131 2012-04-02 David S. Miller <davem@davemloft.net>
132
133 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
134 * stdio-common/printf-parse.h (read_int): Change return type to
135 'int', return -1 on INT_MAX overflow.
136 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
137 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
138 overflows INT_MAX. Check for overflow of in-format-string precision
139 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
140 SIZE_MAX not INT_MAX for integer overflow test.
141 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
142 skip the construct in the format string but do not record anything.
143 * stdio-common/bug22.c: Adjust to test both width/prevision
144 INT_MAX overflow as well as total length INT_MAX overflow. Check
145 explicitly for proper errno values.
146
147 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
148
149 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
150 CHAR_MAX.
151 * string/test-strcmp.c [! WIDE]: Likewise.
152 * time/tst-mktime2.c: Likewise for INT_MAX.
153 * string/test-string.h: #include <sys/param.h> for MIN.
154
155 * csu/init-first.c (__libc_init_first): Call __ctype_init.
156 * sysdeps/i386/init-first.c (init): Likewise.
157 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
158 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
159 * sysdeps/sh/init-first.c (init): Likewise.
160
161 2012-04-01 Ulrich Drepper <drepper@gmail.com>
162
163 * po/ru.po: Update from translation team.
164 * po/vi.po: Likewise.
165
166 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
167
168 * resolv/nss_dns/dns-host.c: Merge copyright years.
169
170 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
171
172 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
173 Optimize memcpy with prefetch if
174 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
175 src, dst pointers have unequal 16 byte alignments.
176
177 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
178
179 [BZ #13928]
180 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
181 from a CNAME entry and return the minimum ttl for the query.
182 (gaih_getanswer_slice): Likewise.
183
184 2012-03-30 Jeff Law <law@redhat.com>
185
186 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
187 due to long keys.
188 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
189 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
190
191 * resolv/nss_dns/dns-host.c: Update copyright year.
192
193 2012-03-30 Ulrich Drepper <drepper@gmail.com>
194
195 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
196 requests to save a system call. Fix check that all bytes are sent.
197
198 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
199 comments for sendmmsg.
200
201 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
202
203 [BZ #13691]
204 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
205 with only 1 character between 0x0041 and 0x01b0.
206 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
207 * wcsmbs/tst-mbsnrtowcs.c: New file.
208
209 2012-03-29 David S. Miller <davem@davemloft.net>
210
211 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
212 small copies by hand.
213
214 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
215
216 [BZ #13761]
217 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
218 _nss_compat_initgroups_dyn): Fall back to malloc/free
219 for large group memberships.
220
221 2012-03-28 David S. Miller <davem@davemloft.net>
222
223 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
224 that branches into memcpy.
225 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
226 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
227 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
228 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
229 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
230 bits.
231 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
232 implementation too.
233 * sysdeps/sparc/mempcpy.S: New file.
234
235 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
236 the IFUNC routine in the libc case.
237 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
238
239 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
240 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
241 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
242 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
243 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
244 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
245 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
246 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
247
248 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
249 loop to 256 bytes instead of 64 bytes and fix test signedness.
250
251 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
252 * sysdeps/sparc/sparc32/Makefile: rather than here...
253 * sysdeps/sparc/sparc64/Makefile: and here.
254
255 2012-03-28 Ulrich Drepper <drepper@gmail.com>
256
257 * malloc/mallocbug.c: Avoid warnings about unused variables.
258
259 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
260
261 [BZ #13760]
262 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
263 in the right place. Discard and retry query if response is
264 larger than input buffer size.
265
266 2012-03-28 Joseph Myers <joseph@codesourcery.com>
267
268 [BZ #369]
269 [BZ #2678]
270 [BZ #3866]
271 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
272 x for large integer exponent.
273 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
274 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
275 sign of result as needed afterwards.
276 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
277 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
278 result for underflowing pow the same as for overflow.
279 (__kernel_standard_l): Handle powl overflow and underflow here
280 rather than calling __kernel_standard.
281 * math/libm-test.inc (pow_test): Add more tests.
282
283 [BZ #3868]
284 [BZ #13879]
285 [BZ #13910]
286 [BZ #13911]
287 [BZ #13912]
288 [BZ #13913]
289 [BZ #13915]
290 [BZ #13916]
291 [BZ #13917]
292 [BZ #13918]
293 [BZ #13919]
294 [BZ #13920]
295 [BZ #13921]
296 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
297 * sysdeps/ieee754/k_standard.c: Include <float.h>.
298 (__kernel_standard_l): New function.
299 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
300 __kernel_standard.
301 * math/w_acosl.c (__acosl): Likewise.
302 * math/w_asinl.c (__asinl): Likewise.
303 * math/w_atan2l.c (__atan2l): Likewise.
304 * math/w_atanhl.c (__atanhl): Likewise.
305 * math/w_coshl.c (__coshl): Likewise.
306 * math/w_exp10l.c (__exp10l): Likewise.
307 * math/w_exp2l.c (__exp2l): Likewise.
308 * math/w_fmodl.c (__fmodl): Likewise.
309 * math/w_hypotl.c (__hypotl): Likewise.
310 * math/w_j0l.c (__j0l, __y0l): Likewise.
311 * math/w_j1l.c (__j1l, __y1l): Likewise.
312 * math/w_jnl.c (__jnl, __ynl): Likewise.
313 * math/w_lgammal.c (__lgammal): Likewise.
314 * math/w_log10l.c (__log10l): Likewise.
315 * math/w_log2l.c (__log2l): Likewise.
316 * math/w_logl.c (__logl): Likewise.
317 * math/w_powl.c (__powl): Likewise.
318 * math/w_remainderl.c (__remainderl): Likewise.
319 * math/w_scalbl.c (sysv_scalbl): Likewise.
320 * math/w_sinhl.c (__sinhl): Likewise.
321 * math/w_sqrtl.c (__sqrtl): Likewise.
322 * math/w_tgammal.c (__tgammal): Likewise.
323 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
324 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
325 * math/libm-test.inc (acos_test): Add more tests.
326 (acosh_test): Likewise.
327 (asin_test): Likewise.
328 (atanh_test): Likewise.
329 (exp_test): Likewise.
330 (exp10_test): Likewise.
331 (exp2_test): Likewise.
332 (expm1_test): Likewise.
333 (lgamma_test): Likewise.
334 (log_test): Likewise.
335 (log10_test): Likewise.
336 (log1p_test): Likewise.
337 (log2_test): Likewise.
338 (pow_test): Do not allow some spurious overflow exceptions.
339 (sqrt_test): Add more tests.
340 (tgamma_test): Likewise.
341 (y0_test): Likewise.
342 (y1_test): Likewise.
343 (yn_test): Likewise.
344
345 2012-03-27 Anton Blanchard <anton@samba.org>
346
347 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
348 MAP_HUGETLB.
349 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
350 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
351 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
352
353 2012-03-27 David S. Miller <davem@davemloft.net>
354
355 * conform/Makefile: Run run-conformtest.sh using $(BASH).
356
357 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
358 have-as-vis3 check.
359
360 2012-03-27 Andreas Jaeger <aj@suse.de>
361
362 * sysdeps/x86_64/elf/configure.in: Moved to ...
363 * sysdeps/x86_64/configure.in: ... here.
364 * sysdeps/x86_64/elf/start.S: Moved to ...
365 * sysdeps/x86_64/start.S: ... here.
366 * sysdeps/x86_64/elf/configure: Delete.
367
368 * sysdeps/x86_64/configure.in: Merge contents from
369 sysdeps/i386/configure.in (without i686 check).
370
371 * sysdeps/i386/elf/Versions: Merge into ...
372 * sysdeps/i386/Versions: ... this.
373 * sysdeps/i386/elf/Versions: Delete file.
374 * sysdeps/i386/elf/start.S: Moved to ...
375 * sysdeps/i386/start.S: ...here.
376 * sysdeps/i386/elf/configure.in: Merge into...
377 * sysdeps/i386/configure.in: ...here.
378 * sysdeps/i386/elf/configure.in: Delete file.
379 * sysdeps/i386/elf/configure: Delete file.
380
381 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
382 * debug/backtracesyms.c: ... here.
383 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
384 * debug/backtracesymsfd.c: ... here.
385 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
386 * sysdeps/generic/ifunc-sel.h: ... here.
387
388 * sysdeps/unix/i386/start.c: Delete file.
389 * sysdeps/unix/sparc/start.c: Delete file.
390 * sysdeps/unix/start.c: Delete file.
391
392 * sysdeps/sh/elf/configure.in: Moved to ...
393 * sysdeps/sh/configure.in: ... here.
394 * sysdeps/sh/elf/start.S: Moved to ...
395 * sysdeps/sh/start.S: ... here.
396 * sysdeps/sh/elf/configure: Delete file.
397
398 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
399 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
400 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
401 * sysdeps/powerpc/powerpc64/entry.h: ... here.
402 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
403 * sysdeps/powerpc/powerpc64/start.S: here.
404 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
405 * sysdeps/powerpc/powerpc64/Makefile: ... this.
406 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
407 * sysdeps/powerpc/powerpc64/configure.in: ... this.
408 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
409
410 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
411 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
412 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
413 * sysdeps/powerpc/powerpc32/start.S: ... here.
414 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
415 * sysdeps/powerpc/powerpc32/configure.in: ... this.
416 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
417
418 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
419 * sysdeps/powerpc/ifunc-sel.h: ... here.
420 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
421 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
422
423 * sysdeps/sparc/elf/configure.in: Moved to ...
424 * sysdeps/sparc/configure.in: ... here.
425 * sysdeps/sparc/elf/configure: Delete file.
426 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
427 * sysdeps/sparc/sparc32/start.S: ... here.
428 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
429 * sysdeps/sparc/sparc64/start.S: ... here.
430 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
431 * sysdeps/sparc/sparc32/Makefile: ... this.
432 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
433 * sysdeps/sparc/sparc64/Makefile: ... this.
434
435 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
436 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
437 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
438 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
439 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
440 * sysdeps/s390/s390-32/setjmp.S: ... here.
441 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
442 * sysdeps/s390/s390-32/configure.in: ... here.
443 * sysdeps/s390/s390-32/elf/configure: Delete file.
444 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
445 * sysdeps/s390/s390-32/start.S: ... here.
446
447 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
448 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
449 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
450 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
451 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
452 * sysdeps/s390/s390-64/setjmp.S: ... here.
453 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
454 * sysdeps/s390/s390-64/configure.in: ... here
455 * sysdeps/s390/s390-64/elf/configure: Delete file.
456 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
457 * sysdeps/s390/s390-64/start.S: ... here.
458 * sysdeps/s390/s390-64/elf/configure: Delete.
459
460 * configure.in: Remove support for elf directories in sysdeps.
461
462 * configure: Regenerated.
463 * sysdeps/i386/configure: Regenerated.
464 * sysdeps/powerpc/powerpc32/configure: Regenerated.
465 * sysdeps/powerpc/powerpc64/configure: Regenerated.
466 * sysdeps/s390/s390-32/configure: Regenerated.
467 * sysdeps/s390/s390-64/configure: Regenerated.
468 * sysdeps/sh/configure: Regenerated.
469 * sysdeps/sparc/configure: Regenerated.
470 * sysdeps/x86_64/configure: Regenerated.
471
472 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
473
474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
475
476 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
477 denormal result into account.
478
479 2012-03-25 Roland McGrath <roland@hack.frob.com>
480
481 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
482 Reported by Allan McRae <allan@archlinux.org>.
483
484 2012-03-23 Jeff Law <law@redhat.com>
485
486 * nss/getnssent.c (__nss_getent): Fix typo.
487
488 2012-03-23 David S. Miller <davem@davemloft.net>
489
490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
491
492 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
493
494 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
495 to pad to uint64_t for each field.
496 (dl_tls_index): Replace unsigned long with uint64_t.
497
498 2012-03-23 Daniel Jacobowitz <dmj@google.com>
499 Paul Pluzhnikov <ppluzhnikov@google.com>
500
501 [BZ #6528]
502 * grp/Makefile (otherlibs): Don't set it.
503 * inet/Makefile (otherlibs): Likewise.
504 * login/Makefile (otherlibs): Likewise.
505 * nscd/Makefile (otherlibs): Likewise.
506 * posix/Makefile (otherlibs): Likewise.
507 * pwd/Makefile (otherlibs): Likewise.
508 * rt/Makefile (otherlibs): Likewise.
509 * sunrpc/Makefile (otherlibs): Likewise.
510 * nss/Makefile (otherlibs): Likewise.
511 Add libnss_files to routines and static-only-routines.
512 ($(objpfx)getent): Remove rule.
513 * resolv/Makefile: Add libnss_dns and libresolv to routines and
514 static-only-routines.
515
516 2012-03-22 Joseph Myers <joseph@codesourcery.com>
517
518 [BZ #13892]
519 * math/s_cexp.c: Include <float.h>.
520 (__cexp): Handle exp result overflowing not necessarily
521 overflowing both real and imaginary parts of result.
522 * math/s_cexpf.c: Likewise.
523 * math/s_cexpl.c: Likewise.
524 * math/libm-test.inc (cexp_test): Add more tests.
525 * sysdeps/i386/fpu/libm-test-ulps: Update.
526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
527
528 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
529
530 * include/link.h (ELFW): New macro.
531 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
532 Replace ELF64_R_TYPE with ELFW(R_TYPE).
533
534 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
535
536 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
537 with uint64_t.
538
539 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
540
541 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
542 declaration.
543 (struct La_x32_retval): Likewise.
544
545 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
546
547 * sysdeps/x86_64/preconfigure.in: New file.
548 * sysdeps/x86_64/preconfigure: New generated file.
549
550 2012-03-22 Joseph Myers <joseph@codesourcery.com>
551
552 [BZ #13824]
553 * math/e_exp2l.c: Include <float.h>.
554 (__ieee754_exp2l): Handle overflow and underflow cases
555 separately. Only pass fractional part of argument to
556 __ieee754_expl.
557 * math/libm-test.inc (exp2_test): Add more tests.
558
559 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
560 negating x to take absolute value.
561 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
562 Likewise.
563 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
564 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
565 Likewise.
566 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
567 computing low part if x was negated.
568 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
569
570 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
571
572 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
573 la_x32_gnu_pltexit.
574 (pltexit): Cast int_retval to ptrdiff_t.
575 * elf/tst-auditmod3b.c: Likewise.
576 * elf/tst-auditmod4b.c: Likewise.
577 * elf/tst-auditmod5b.c: Likewise.
578 * elf/tst-auditmod6b.c: Likewise.
579 * elf/tst-auditmod6c.c: Likewise.
580 * elf/tst-auditmod7b.c: Likewise.
581
582 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
583 and x32_gnu_pltexit.
584
585 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
586 __ELF_NATIVE_CLASS.
587 (La_x32_regs): New macro.
588 (La_x32_retval): Likewise.
589 (la_x32_gnu_pltenter): New function prototype.
590 (la_x32_gnu_pltexit): Likewise.
591
592 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
593
594 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
595 exponent.
596
597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
598
599 * configure.in (libc_cv_cc_nofma): Check for option to disable
600 generation of FMA instructions.
601 * configure: Regenerate.
602 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
603 * sysdeps/ieee754/dbl-64/Makefile: New file.
604 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
605 Remove brandred-fma4.
606 (CFLAGS-brandred-fma4.c): Remove.
607 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
608 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
609 define.
610 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
611 define.
612
613 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
614
615 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
616 LLONG_MAX != LONG_MAX.
617 (_itoa_word): Use _ITOA_WORD_TYPE on value.
618 (_fitoa_word): Likewise.
619 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
620 LLONG_MAX != LONG_MAX.
621 * stdio-common/_itowa.h: Include <_itoa.h>.
622 (_itowa_word): Use _ITOA_WORD_TYPE on value.
623 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
624 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
625 only if not defined.
626 (_ITOA_WORD_TYPE): Likewise.
627 (_itoa_word): Use _ITOA_WORD_TYPE on value.
628 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
629
630 2012-03-21 David S. Miller <davem@davemloft.net>
631
632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
633
634 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
635
636 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
637 of x86_64 when setting libc_cv_slibdir, libdir and
638 libc_cv_localedir.
639 * sysdeps/unix/sysv/linux/configure: Regenerated.
640
641 2012-03-21 Joseph Myers <joseph@codesourcery.com>
642
643 * manual/lang.texi (Old Varargs): Remove section.
644 (How Variadic): Update menu.
645 (va_start): Do not mention varargs.h.
646
647 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
648 Joseph Myers <joseph@codesourcery.com>
649
650 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
651 link test.
652 * configure: Regenerated.
653
654 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
655
656 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
657 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
658 conformtest.pl
659
660 2012-03-21 Joseph Myers <joseph@codesourcery.com>
661
662 * NOTES: Remove.
663 * Makefile (files-for-dist): Remove NOTES.
664 (NOTES): Remove rule.
665 * README: Don't refer to NOTES.
666 * manual/creature.texi: Don't include macros.texi.
667 * manual/intro.texi (creature.texi): Remove comment referring to
668 NOTES.
669
670 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
671 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
672 * configure: Regenerated.
673 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
674 LIBC_TRY_CC_OPTION.
675 (libc_cv_as_i686): Likewise.
676 (libc_cv_cc_avx): Likewise.
677 (libc_cv_cc_sse2avx): Likewise.
678 (libc_cv_cc_fma4): Likewise.
679 (libc_cv_cc_novzeroupper): Likewise.
680 * sysdeps/i386/configure: Regenerated.
681
682 [BZ #13883]
683 * sysdeps/i386/fpu/s_cexp.S: Remove.
684 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
685 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
686 * math/libm-test.inc (cexp_test): Add more tests.
687 * sysdeps/i386/fpu/libm-test-ulps: Update.
688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
689
690 2012-03-21 Allan McRae <allan@archlinux.org>
691
692 * timezone/Makefile: Do not install iso3166.tab and zone.tab
693
694 2012-03-21 Joseph Myers <joseph@codesourcery.com>
695
696 [BZ #13871]
697 * math/w_exp2.c: Do not include <float.h>.
698 (o_threshold, u_threshold): Remove.
699 (__exp2): Calculate result before checking finiteness and calling
700 __kernel_standard.
701 * math/w_exp2f.c: Likewise.
702 * math/w_exp2l.c: Likewise.
703 * math/libm-test.inc (exp2_test): Require overflow exception for
704 1e6 input.
705
706 [BZ #3866]
707 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
708 range of signed 64-bit integers before using fistpll. Remove
709 checks for whether integers fit in mantissa bits.
710 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
711 the range of signed 32-bit integers before using fistpl. Remove
712 checks for whether integers fit in mantissa bits.
713 * sysdeps/i386/fpu/e_powl.S (p64): New object.
714 (__ieee754_powl): Test for y outside the range of signed 64-bit
715 integers before using fistpll. Reduce 64-bit values to 63-bit
716 ones as needed.
717 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
718 divide-by-zero is raised for zero to large negative powers.
719 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
720 (__ieee754_powl): Test for y outside the range of signed 64-bit
721 integers before using fistpll. Reduce 64-bit values to 63-bit
722 ones as needed.
723 * math/libm-test.inc (pow_test): Add more tests.
724
725 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
726
727 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
728 <stdio-common/_itoa.h>.
729 * debug/segfault.c: Likewise.
730 * elf/dl-cache.c: Likewise.
731 * elf/dl-minimal.c: Likewise.
732 * elf/dl-misc.c: Likewise.
733 * elf/dl-sysdep.c: Likewise.
734 * elf/dl-version.c: Likewise.
735 * elf/rtld.c: Likewise.
736 * hurd/hurdsock.c: Likewise.
737 * hurd/lookup-retry.c: Likewise.
738 * malloc/malloc.c: Likewise.
739 * malloc/mtrace.c: Likewise.
740 * nscd/nscd_getgr_r.c: Likewise.
741 * nscd/nscd_getpw_r.c: Likewise.
742 * nscd/nscd_getserv_r.c: Likewise.
743 * posix/getopt_init.c: Likewise.
744 * posix/wordexp.c: Likewise.
745 * stdio-common/_itoa.c: Likewise.
746 * stdio-common/printf_fphex.c: Likewise.
747 * stdio-common/vfprintf.c: Likewise.
748 * string/_strerror.c: Likewise.
749 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
750 * sysdeps/i386/i686/hp-timing.h: Likewise.
751 * sysdeps/mach/_strerror.c: Likewise.
752 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
753 * sysdeps/mach/hurd/sethostid.c: Likewise.
754 * sysdeps/mach/hurd/xmknodat.c: Likewise.
755 * sysdeps/mach/xpg-strerror.c: Likewise.
756 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
757 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
758 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
759 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
760 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
761 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
762 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
763 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
764 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
765 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
766 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
767 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
768 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
769 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
770 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
771 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
772 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
773 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
774 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
775 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
776 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
777
778 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
779
780 * stdio-common/_itoa.h: Moved to ...
781 * sysdeps/generic/_itoa.h: Here.
782
783 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
784
785 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
786 instead of "_itoa.h" and "_itowa.h".
787 * stdio-common/vfprintf.: Likewise.
788
789 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
790
791 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
792 <bits/wordsize.h>.
793 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
794 (__signbit): Likwise.
795 (llrintf): Likwise.
796 (llrint): Likwise.
797
798 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
799
800 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
801 __WORDSIZE != 64.
802
803 2012-03-20 Joseph Myers <joseph@codesourcery.com>
804
805 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
806 OVERFLOW_EXCEPTION_OK.
807 * math/libm-test.inc ("Philosophy"): Update comment about
808 exception testing.
809 (OVERFLOW_EXCEPTION): Define.
810 (OVERFLOW_EXCEPTION_OK): Likewise.
811 (INVALID_EXCEPTION_OK): Renumber.
812 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
813 (IGNORE_ZERO_INF_SIGN): Likewise.
814 (test_exceptions): Handle FE_OVERFLOW.
815 (exp10_test): Expect overflow exceptions.
816 (exp2_test): Likewise.
817 (expm1_test): Likewise.
818 (nextafter_test): Likewise.
819 (pow_test): Likewise.
820 (scalbn_test): Likewise.
821 (scalbln_test): Likewise.
822
823 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
824
825 * sysdeps/x86_64/bits/atomic.h
826 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
827 64bit integer.
828 (atomic_exchange_acq): Likewise.
829 (__arch_exchange_and_add_body): Likewise.
830 (__arch_add_body): Likewise.
831 (atomic_add_negative): Likewise.
832 (atomic_add_zero): Likewise.
833
834 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
835
836 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
837 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
838
839 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
840
841 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
842 Check __x86_64__ instead of __WORDSIZE.
843
844 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
845
846 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
847
848 2012-03-19 David S. Miller <davem@davemloft.net>
849
850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
851
852 * sysdeps/sparc/fpu/fenv_private.h: New file.
853 * sysdeps/sparc/fpu/math_private.h: Use it.
854 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
855 Remove.
856 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
857 (libc_feholdexcept_setroundl): Remove.
858 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
859 Remove.
860 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
861 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
862
863 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
864
865 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
866 int64_t instead of long int.
867 (INSERT_WORDS64): Likwise.
868
869 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
870
871 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
872 _Unwind_GetCFA return to _Unwind_Ptr first.
873
874 2012-03-19 Joseph Myers <joseph@codesourcery.com>
875
876 [BZ #13629]
877 * math/s_clog.c: Include <float.h>.
878 (__clog): Scale large or subnormal inputs.
879 * math/s_clogf.c: Likewise.
880 * math/s_clogl.c: Likewise.
881 * math/s_clog10.c: Include <float.h>.
882 (M_LOG10_2): Define.
883 (__clog10): Scale large or subnormal inputs.
884 * math/s_clog10f.c: Likewise.
885 * math/s_clog10l.c: Likewise.
886 * math/libm-test.inc (clog_test): Add more tests.
887 (clog10_test): Likewise.
888 * sysdeps/i386/fpu/libm-test-ulps: Update.
889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
890
891 [BZ #11451]
892 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
893 x and y.
894 * math/libm-test.inc (atan2_test): Add another test.
895
896 * Makerules (common-objdir-compile): Remove.
897 * sysdeps/unix/Makefile (config-generated): Do not add
898 $(unix-generated) to variable.
899 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
900 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
901 Remove rule.
902 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
903 Likewise.
904 [generic bits/local_lim.h] (before-compile): Do not append to
905 variable.
906 [generic bits/local_lim.h] (common-generated): Likewise.
907 [generic sys/param.h] (before-compile): Do not append to variable.
908 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
909 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
910 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
911 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
912 include.
913 [generic sys/param.h] (sys/param.h-includes): Remove variable.
914 [generic sys/param.h] (sys/param.h-includes): Remove rule.
915 [generic sys/param.h] ($(addprefix
916 $(common-objpfx),$(sys/param.h-includes))): Likewise.
917 [generic sys/param.h] (common-generated): Do not append to
918 variable.
919 [generic sys/param.h] (sysdep_headers): Likewise.
920 [generic bits/errno.h] (before-compile): Do not append to
921 variable.
922 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
923 rule.
924 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
925 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
926 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
927 [generic bits/errno.h] (common-generated): Do not append to
928 variable.
929 [generic bits/ioctls.h] (before-compile): Do not append to
930 variable.
931 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
932 rule.
933 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
934 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
935 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
936 rule.
937 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
938 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
939 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
940 [generic bits/ioctls.h] (common-generated): Do not append to
941 variable.
942 [generic sys/syscall.h] (syscall.h): Remove variable.
943 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
944 rule.
945 [generic sys/syscall.h] (before-compile): Do not append to
946 variable.
947 [generic sys/syscall.h] (common-generated): Likewise.
948 * sysdeps/unix/errnos-tmpl.c: Remove file.
949 * sysdeps/unix/errnos.awk: Likewise.
950 * sysdeps/unix/ioctls-tmpl.c: Likewise.
951 * sysdeps/unix/ioctls.awk: Likewise.
952 * sysdeps/unix/mk-local_lim.c: Likewise.
953 * sysdeps/unix/snarf-ioctls: Likewise.
954
955 2012-03-19 Richard Henderson <rth@twiddle.net>
956
957 * sysdeps/i386/fpu/fenv_private.h: New file.
958 * sysdeps/i386/fpu/math_private.h: Use it.
959 (math_opt_barrier, math_force_eval): Remove.
960 (libc_feholdexcept_setround_53bit): Remove.
961 (libc_feupdateenv_53bit): Remove.
962 * sysdeps/x86_64/fpu/math_private.h: Likewise.
963 (math_opt_barrier, math_force_eval): Remove.
964 (libc_feholdexcept): Remove.
965 (libc_feholdexcept_setround): Remove.
966 (libc_fetestexcept, libc_fesetenv): Remove.
967 (libc_feupdateenv_test): Remove.
968 (libc_feupdateenv, libc_feholdsetround): Remove.
969 (libc_feresetround): Remove.
970
971 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
972 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
973
974 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
975 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
976 (libc_feupdateenv_testl): New.
977 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
978 (libc_feupdateenv_testf): New.
979 (libc_feupdateenv): Use libc_feupdateenv_test.
980 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
981 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
982
983 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
984 (libc_feholdsetroundf, libc_feholdsetroundl): New.
985 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
986 (libc_feresetround_noex): New.
987 (libc_feresetround_noexf): New.
988 (libc_feresetround_noexl): New.
989 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
990 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
991 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
992 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
993 SET_RESTORE_ROUND.
994 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
995 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
996 (__cos): Likewise.
997 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
998 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
999 SET_RESTORE_ROUND_NOEX.
1000 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1001 SET_RESTORE_ROUND_NOEXF.
1002 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1003 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1004 (libc_feholdsetroundf): New.
1005 (libc_feresetround, libc_feresetroundf): New.
1006
1007 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1008 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1009 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1010
1011 * sysdeps/generic/math_private.h: Include <fenv.h>.
1012 (default_libc_feholdexcept): New.
1013 (default_libc_feholdexcept_setround): New.
1014 (default_libc_fesetenv, default_libc_feupdateenv): New.
1015 (libc_feholdexcept): Only define if undefined.
1016 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1017 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1018 (libc_feholdexcept_setroundl): Likewise.
1019 (libc_feholdexcept_setround_53bit): Likewise.
1020 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1021 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1022 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1023 (libc_feupdateenv_53bit): Likewise.
1024 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1025 (libc_feholdexcept): Convert from macro to inline function.
1026 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1027 (libc_fesetenv, libc_feupdateenv): Likewise.
1028
1029 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1030 not previously defined.
1031 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1032 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1033 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1034 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1035 * sysdeps/ieee754/flt-32/math_private.h: New file.
1036 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1037 math_private.h below SET_FLOAT_WORD.
1038 (__isnan, __isinf_ns, __finite): Remove.
1039 (__isnanf, __isinf_nsf, __finitef): Remove.
1040
1041 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1042
1043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1044
1045 2012-03-17 David S. Miller <davem@davemloft.net>
1046
1047 [BZ #6471]
1048 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1049 for 2.16.
1050
1051 2012-03-16 David S. Miller <davem@davemloft.net>
1052
1053 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1054 warnings.
1055
1056 [BZ #6471]
1057 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1058 properly.
1059 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1060 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1061 sysdep_routines when subdir is sysvipc.
1062 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1063 __getshmlba helper.
1064
1065 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1066
1067 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1068
1069 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1070 [__LP64__].
1071
1072 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1073
1074 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1075 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1076 (__lround): Renamed to ...
1077 (__llround): This. Replace long int with long long int.
1078 Define lround functions as aliases of llround functions.
1079 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1080
1081 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1082
1083 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1084 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1085 adresses to uintptr_t. Replace "long int" and "unsigned long
1086 int" with "greg_t" on va_arg.
1087
1088 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1089
1090 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1091 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1092
1093 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1094 Move e_machine check before EI_CLASS check. Handle x32
1095 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1096 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1097 SKIP_EM_IA_64 and include
1098 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1099
1100 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1101 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1102 (add_system_dir): New macro.
1103
1104 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1105 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1106
1107 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1108
1109 [BZ #2551]
1110 [BZ #2552]
1111 [BZ #2553]
1112 [BZ #2554]
1113 [BZ #2562]
1114 [BZ #2563]
1115 [BZ #2565]
1116 [BZ #2566]
1117 [BZ #2576]
1118 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1119 (y0): Likewise.
1120 * math/w_j0f.c (j0f): Likewise.
1121 (y0f): Likewise.
1122 * math/w_j0l.c (__j0l): Likewise.
1123 (__y0l): Likewise.
1124 * math/w_j1.c (j1): Likewise.
1125 (y1): Likewise.
1126 * math/w_j1f.c (j1f): Likewise.
1127 (y1f): Likewise.
1128 * math/w_j1l.c (__j1l): Likewise.
1129 (__y1l): Likewise.
1130 * math/w_jn.c (jn): Likewise.
1131 (yn): Likewise.
1132 * math/w_jnf.c (jnf): Likewise.
1133 (ynf): Likewise.
1134 * math/w_jnl.c (__jnl): Likewise.
1135 (__ynl): Likewise.
1136 * math/libm-test.inc (j0_test): Add more tests.
1137 (j1_test): Likewise.
1138 (jn_test): Likewise. Add trailing semicolon to existing test.
1139 (y0_test): Likewise.
1140 (y1_test): Likewise.
1141 * sysdeps/i386/fpu/libm-test-ulps: Update.
1142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1143
1144 [BZ #13851]
1145 [BZ #13854]
1146 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1147 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1148 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1149 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1150 (__tanl): Set errno for infinite argument.
1151 * sysdeps/i386/fpu/mptan.c: Remove.
1152 * sysdeps/i386/fpu/s_tan.S: Likewise.
1153 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1154 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1155 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1156 * math/libm-test.inc (tan_test): Add more tests and enable more
1157 tests for double and long double.
1158 * sysdeps/i386/fpu/libm-test-ulps: Update.
1159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1160
1161 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1162
1163 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1164 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1165
1166 2012-03-16 Roland McGrath <roland@hack.frob.com>
1167
1168 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1169 * configure.in: Use it for both main tree and add-ons.
1170 * configure: Regenerated.
1171
1172 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1173
1174 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1175
1176 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1177
1178 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1179 in comment.
1180
1181 [BZ #13851]
1182 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1183 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1184 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1185 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1186 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1187 infinite argument.
1188 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1189 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1190 != 0 for prec == 2.
1191 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1192 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1193 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1194 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1195 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1196 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1197 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1198 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1199 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1200 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1201 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1202 * math/libm-test.inc (cos_test): Add more tests and enable more
1203 tests for long double.
1204 (sin_test): Likewise.
1205 (sincos_test): Likewise.
1206 * sysdeps/i386/fpu/libm-test-ulps: Update.
1207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1208
1209 2012-03-16 David S. Miller <davem@davemloft.net>
1210
1211 * sysdeps/sparc/fpu/math_private.h: New file.
1212
1213 2012-03-15 David S. Miller <davem@davemloft.net>
1214
1215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1216 file.
1217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1219 file.
1220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1222 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1223 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1224 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1225 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1226 sysdep routines.
1227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1228
1229 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1230 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1231
1232 * sysdeps/sparc/sparc-ifunc.h: New file.
1233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1234 sparc-ifunc.h
1235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1237 Likewise.
1238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1239 Likewise.
1240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1244 Likewise.
1245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1250 Likewise.
1251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1252 Likewise.
1253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1257 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1258 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1259 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1260 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1262 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1264 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1265 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1266 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1267 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1270 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1271 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1272 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1273 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1274 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1275 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1276 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1277
1278 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1279
1280 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1281 scaling.
1282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1283
1284 2012-03-15 Andreas Jaeger <aj@suse.de>
1285
1286 [BZ #13852]
1287 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1288 ieee754/flt-32 implementation for sin, cos and sincos.
1289 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1290 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1291 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1292 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1293 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1294 ieee754/flt-32 implementation for tan.
1295
1296 * math/libm-test.inc (cos_test): Enable some large input tests for
1297 float as well
1298 (sin_test): Likewise.
1299 (sincos_test): Likewise.
1300 (tan_test): Add tests for large input.
1301
1302 * sysdeps/i386/fpu/libm-test-ulps: Update.
1303
1304 2012-03-15 Andreas Jaeger <aj@suse.de>
1305
1306 [BZ #13658]
1307 * math/libm-test.inc (cos_test): Add more test cases.
1308 (sin_test): Likewise.
1309 (sincos_test): Likewise.
1310
1311 2012-03-15 Andreas Jaeger <aj@suse.de>
1312
1313 [BZ #13837]
1314 * math/libm-test.inc (cos_test): Add a test case for large input
1315 value.
1316 (sin_test): Likewise.
1317 (sincos_test): Likewise.
1318
1319 2012-03-15 Andreas Jaeger <aj@suse.de>,
1320 Joseph Myers <joseph@codesourcery.com>
1321
1322 [BZ #13658]
1323 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1324 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1325 * sysdeps/i386/fpu/branred.c: Likewise.
1326 * sysdeps/i386/fpu/dosincos.c: Likewise.
1327 * sysdeps/i386/fpu/mpa.c: Likewise.
1328 * sysdeps/i386/fpu/s_cos.S: Likewise.
1329 * sysdeps/i386/fpu/s_sin.S: Likewise.
1330 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1331 * sysdeps/i386/fpu/sincos32.c: Likewise.
1332
1333 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1334 Define.
1335 (libc_feupdateenv_53bit): Define.
1336 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1337 Define.
1338 (libc_feupdateenv_53bit): Define.
1339
1340 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1341 53 bit (without extend i386 double precision).
1342
1343 * math/libm-test.inc (sincos_test): Add tests for large input.
1344 (sin): Likewise.
1345 (cos): Likewise.
1346
1347 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1348
1349 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1350
1351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1352
1353 2012-03-15 David S. Miller <davem@davemloft.net>
1354
1355 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1356 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1357 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1358 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1363 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1364 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1365 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1366 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1368 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1369 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1371 file.
1372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1374 file.
1375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1377 file.
1378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1380 file.
1381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1382 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1383 fmin/fmax sysdep routines.
1384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1385
1386 2012-03-14 David S. Miller <davem@davemloft.net>
1387
1388 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1389 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1390 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1391 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1392 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1393 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1394 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1395 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1396 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1397 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1398 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1399 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1400 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1401 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1402 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1403 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1404 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1405 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1406 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1407 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1408 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1409 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1410 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1411 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1412 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1413 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1414 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1415 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1416 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1417 routines.
1418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1419 file.
1420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1422 file.
1423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1425 file.
1426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1428 file.
1429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1431 file.
1432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1434 file.
1435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1436 file.
1437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1438 file.
1439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1440 file.
1441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1442 New file.
1443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1444 file.
1445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1446 file.
1447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1449 file.
1450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1452 file.
1453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1455 file.
1456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1458 VIS3 routines.
1459
1460 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1461 New file.
1462
1463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1464
1465 * sysdeps/sparc/configure.in: New file.
1466 * sysdeps/sparc/configure: Generate.
1467 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1468 * configure: Regenerate.
1469 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1470 * config.make.in (have-as-vis3): New.
1471 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1472 available use -Av9d instead of -Av9a.
1473 * sysdeps/sparc/sparc64/Makefile: Likewise.
1474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1476 New file.
1477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1478 file.
1479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1480 New file.
1481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1482 file.
1483 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1484 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1485 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1486 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1487 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1488
1489 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1490 fzeros/fnegs to load 0x80000000 into a float register instead of
1491 using the stack.
1492 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1493
1494 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1495
1496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1497 bits/syscall.h.
1498 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1499 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1500 ($(inst_includedir)/bits/syscall.h): Remove rule.
1501 ($(objpfx)bits/syscall.d): Include instead of
1502 $(objpfx)syscall-list.d.
1503 (generated): Change syscall-list.h and syscall-list.d to
1504 bits/syscall.h and bits/syscall.d.
1505
1506 2012-03-14 Roland McGrath <roland@hack.frob.com>
1507
1508 [BZ #13846]
1509 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1510
1511 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1512
1513 [BZ #13841]
1514 * math/s_csqrt.c: Include <float.h>.
1515 (__csqrt): Scale large or subnormal inputs.
1516 * math/s_csqrtf.c: Likewise.
1517 * math/s_csqrtl.c: Likewise.
1518 * math/libm-test.inc (csqrt_test): Add more tests.
1519 * sysdeps/i386/fpu/libm-test-ulps: Update.
1520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1521
1522 [BZ #13840]
1523 * math/libm-test.inc (hypot_test): Add more tests.
1524
1525 2012-03-13 David S. Miller <davem@davemloft.net>
1526
1527 [BZ #13840]
1528 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1529 double-precision for the calculation instead of scaling.
1530
1531 2012-03-13 Joseph Myers <joseph@codesourcery.com>
1532
1533 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1534 manipulate bits before adding and subtracting TWO52[sx].
1535 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1536 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1537 Likewise.
1538 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1539
1540 2012-03-13 David S. Miller <davem@davemloft.net>
1541
1542 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1543 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1544 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1545 rtld-global-offsets.h
1546 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1547
1548 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1549 large parameters.
1550
1551 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1552
1553 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1554 'err' in the ifdef scope in which it is actually used.
1555
1556 * nss/nss_db/db-init.c: Include string.h
1557
1558 2012-03-12 David S. Miller <davem@davemloft.net>
1559
1560 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1561 masking out of the most significant byte of random value used.
1562 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1563 Fix coding style in previous change.
1564
1565 * sysdeps/unix/sysv/linux/kernel-features.h
1566 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1567 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1568 expression.
1569 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1570 later.
1571
1572 2012-03-11 David S. Miller <davem@davemloft.net>
1573
1574 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1575 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1576 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1577 for 'resultvar' otherwise things get truncated on 64-bit.
1578
1579 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1580 Fix masking out of the most significant byte of random value used.
1581
1582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1583
1584 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1585
1586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1587
1588 2012-03-09 David S. Miller <davem@davemloft.net>
1589
1590 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1591 variables with appropriate CPP guards.
1592 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1593 frame pointer, not the stack pointer. Correct layout comments. Fix test
1594 on resulting framesize and the management of the outregs buffer for pltexit.
1595 Preserve floating point return values across _dl_call_pltexit call.
1596 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1597 framesize and the management of the outregs buffer for pltexit.
1598 Preserve floating point return values across _dl_call_pltexit
1599 call.
1600 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1601 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1602 (print_exit): Fix format string for return register value.
1603
1604 2012-03-10 Joseph Myers <joseph@codesourcery.com>
1605
1606 * sunrpc/Makefile (others): Add rpcgen.
1607 ($(objpfx)rpcgen): Remove special build rule and dependency on
1608 libc.
1609 * sunrpc/rpcgen.c: New file.
1610
1611 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1612
1613 [BZ #13673]
1614 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1615 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1616 * sysdeps/i386/crti.S: Likewise.
1617 * sysdeps/i386/crtn.S: Likewise.
1618 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1619 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1620 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1621 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1622 * sysdeps/sh/crti.S: Likewise.
1623 * sysdeps/sh/crtn.S: Likewise.
1624 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1625
1626 [BZ #13673]
1627 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1628 with URL.
1629 * locale/programs/locfile-kw.gperf: Likewise.
1630 * locale/programs/charmap-kw.h: Regenerated.
1631 * locale/programs/locfile-kw.h: Likewise.
1632
1633 [BZ #13673]
1634 * intl/plural.y: Replace FSF snail mail address with URL.
1635 * intl/plural.c: Regenerated.
1636
1637 2012-03-09 Richard Henderson <rth@twiddle.net>
1638
1639 * include/math_private.h: Remove file.
1640 * math/math_private.h: Move file ...
1641 * sysdeps/generic/math_private.h: ... here.
1642
1643 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1644 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1645 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1646
1647 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1648 and <math_private.h>.
1649 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1650 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1651 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1652 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1653 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1654 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1655 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1656 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1657 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1658 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1659 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1660 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1661 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1662 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1663 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1664 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1665 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1666 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1667 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1668 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1669 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1670 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1671 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1672 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1673 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1674 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1675 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1676 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1677 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1678 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1679 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1680 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1681 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1682 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1683 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1684 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1685 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1686 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1687 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1688 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1689 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1690 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1691 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1692 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1693 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1694 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1695 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1696 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1697 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1698 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1699 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1700 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1701 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1702 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1703 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1704 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1705 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1706 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1707 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1708 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1709 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1710 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1711 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1712 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1713 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1714 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1715 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1716 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1717 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1718 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1719 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1720 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1721 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1722 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1723 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1724 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1725 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1726 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1727 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1728 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1729 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1730 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1731 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1732 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1733 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1734 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1735 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1736 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1737 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1738 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1739 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1740 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1741 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1742 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1743 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1744 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1745 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1746 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1747 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1748 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1749 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1750 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1751 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1752 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1753 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1754 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1755 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1756 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1757 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1758 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1759 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1760 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1761 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1762 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1763 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1764 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1765 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1766 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1767 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1768 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1769 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1770 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1771 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1772 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1773 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1774 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1775 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1776 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1777 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1778 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1779 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1780 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1781 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1782 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1783 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1784 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1785 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1786 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1787 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1788 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1789 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1790 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1791 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1792 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1793 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1794 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1795 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1796 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1797 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1798 * sysdeps/ieee754/k_standard.c: Likewise.
1799 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1800 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1801 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1802 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1803 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1804 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1805 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1806 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1807 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1808 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1809 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1810 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1811 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1812 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1813 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1814 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1815 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1816 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1817 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1818 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1819 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1820 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1821 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1822 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1823 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1824 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1825 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1826 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1827 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1828 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1829 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1830 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1831 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1832 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1833 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1834 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1835 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1836 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1837 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1838 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1839 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1840 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1841 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1842 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1843 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1844 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1845 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1846 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1847 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1848 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1849 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1850 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1851 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1852 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1853 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1854 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1855 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1856 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1857 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1858 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1859 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1860 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1861 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1862 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1863 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1864 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1865 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1866 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1867 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1868 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1869 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1870 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1871 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1872 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1873 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1874 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1875 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1876 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1877 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1878 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1879 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1880 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1881 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1882 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1883 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1884 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1885 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1886 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1887 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1888 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1889 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1890 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1891 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1892 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1893 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1894 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1895 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1896 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1897 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1898 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1899 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1900 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1901 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1902 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1903 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1904 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1905 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1906 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1907 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1908 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1909 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1910 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1911 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1912 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1913 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1914 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1915 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1916 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1917 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1918 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1919 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1920 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1921 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1922 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1923 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1924 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1925 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1926 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1927 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1928 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1929 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1930 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1931 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1932 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1933 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1934 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1935 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1936 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1937 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1938 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1939 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1940 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1941 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1942 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1943 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1944 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1945 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1946 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1947 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1948 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1949 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1950 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1951 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1952 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1953 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1954 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1955 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1956 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1957 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1958 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1959 * sysdeps/ieee754/s_lib_version.c: Likewise.
1960 * sysdeps/ieee754/s_matherr.c: Likewise.
1961 * sysdeps/ieee754/s_signgam.c: Likewise.
1962 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1963 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1964 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1965 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1966 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1967 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1968 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1969 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1970 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1971 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1972 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1973 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1974 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1975 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1976 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1977 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1978 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1979 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1980 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1981 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1982 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1983
1984 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1985
1986 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1987 * sunrpc/rpc_main.c: Likewise.
1988 * sunrpc/rpc_svcout.c: Likewise.
1989
1990 2012-03-09 David S. Miller <davem@davemloft.net>
1991
1992 * include/math_private.h: New file.
1993
1994 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1995
1996 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1997 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1998 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1999 from <bits/socket_type.h>.
2000 (enum __socket_type): Don't define here.
2001 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2002 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2003 bits/socket_type.h.
2004
2005 [BZ #13566]
2006 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2007 checking __USE_GNU.
2008
2009 * Makerules ($(inst_includedir)/%.h): New rule.
2010 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2011 (install-others): Remove variable setting.
2012 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2013
2014 2012-03-08 Richard Henderson <rth@twiddle.net>
2015
2016 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2017 from macro to inline function; merge with the
2018 !__LIBC_INTERNAL_MATH_INLINES version.
2019 (__ieee754_sqrtf): Likewise.
2020
2021 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2022 to inline function.
2023 (__rintf, __floor, __floorf): Likewise.
2024
2025 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2026 macro to inline function.
2027 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2028
2029 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2030 not <math/math_private.h>.
2031
2032 2012-03-08 David S. Miller <davem@davemloft.net>
2033
2034 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2035 copyright year.
2036 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2037
2038 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2039
2040 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2041 normalization.
2042 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2043 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2044
2045 2012-03-08 Ulrich Drepper <drepper@gmail.com>
2046
2047 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2048 be defined individually, they must be defined as a block. Define
2049 S for printing a string instead of hidint the different by using a
2050 macro for adding the 'l'.
2051 * stdio-common/tst-fphex-wide.c: Adjust.
2052
2053 2012-03-07 Marek Polacek <polacek@redhat.com>
2054
2055 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2056
2057 2012-03-08 Marek Polacek <polacek@redhat.com>
2058
2059 [BZ #13806]
2060 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2061 * stdio-common/tst-fphex.c: Define a few macros to make the
2062 test reusable. Use them.
2063 * stdio-common/tst-fphex-wide.c: New file.
2064
2065 2012-03-08 Joseph Myers <joseph@codesourcery.com>
2066
2067 [BZ #6911]
2068 * manual/macros.texi (gnusystems): New macro.
2069 (nongnusystems): Likewise.
2070 (gnulinuxhurdsystems): Likewise.
2071 (gnuhurdsystems): Likewise..
2072 (gnulinuxsystems): Likewise.
2073 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2074 variants of the GNU system, not "GNU system".
2075 * manual/conf.texi: Likewise.
2076 * manual/errno.texi: Likewise. Update example of errno macro
2077 expansion.
2078 * manual/filesys.texi: Likewise.
2079 (getumask): Document as specific to GNU/Hurd.
2080 * manual/install.texi: Likewise. Reword some references to
2081 GNU/Linux.
2082 * manual/intro.texi: Likewise.
2083 * manual/io.texi: Likewise.
2084 (File Name Portability): Detail which constraints are inapplicable
2085 to all GNU systems and which are only inapplicable to GNU/Hurd.
2086 * manual/job.texi: Likewise.
2087 * manual/llio.texi: Likewise.
2088 (O_NOCTTY): Document as present on GNU/Linux.
2089 * manual/maint.texi: Likewise.
2090 * manual/memory.texi: Likewise.
2091 * manual/pattern.texi: Likewise.
2092 * manual/pipe.texi: Likewise.
2093 * manual/process.texi: Likewise.
2094 * manual/resource.texi: Likewise.
2095 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2096 child on GNU/Hurd.
2097 * manual/setjmp.texi: Likewise.
2098 * manual/signal.texi: Likewise.
2099 * manual/startup.texi: Likewise.
2100 * manual/stdio.texi: Likewise.
2101 * manual/terminal.texi: Likewise.
2102 (ONLCR): Document as POSIX.
2103 (OXTABS): Document availability on GNU/Linux as XTABS.
2104 (ONOEOT): Document availability separately from other bits.
2105 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2106 * manual/time.texi: Likewise.
2107 * manual/users.texi: Likewise.
2108 * INSTALL: Regenerated.
2109 * sysdeps/gnu/errlist.c: Regenerated.
2110
2111 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2112 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2113 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2114 puts.
2115 * configure: Regenerated.
2116
2117 2012-03-07 Joseph Myers <joseph@codesourcery.com>
2118
2119 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2120 default includes instead of AC_HEADER_CHECK.
2121 * sysdeps/i386/configure: Regenerated.
2122
2123 [BZ #10716]
2124 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2125 * math/s_cacoshf.c (__cacoshf): Likewise.
2126 * math/s_cacoshl.c (__cacoshl): Likewise.
2127 * math/s_casinh.c (__casinh): Set signs of result from argument.
2128 * math/s_casinhf.c (__casinhf): Likewise.
2129 * math/s_casinhl.c (__casinhl): Likewise.
2130 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2131 (casinh_test): Add more tests.
2132 * sysdeps/i386/fpu/libm-test-ulps: Update.
2133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2134
2135 2012-03-07 Ulrich Drepper <drepper@gmail.com>
2136
2137 * po/zh_TW.po: Update from translation team.
2138
2139 * login/Makefile (distribute): Remove variable.
2140 * catgets/Makefile: Likewise.
2141 * mach/Makefile: Likewise.
2142 * malloc/Makefile: Likewise.
2143 * misc/Makefile: Likewise.
2144 * iconv/Makefile: Likewise.
2145 * nscd/Makefile: Likewise.
2146 * hurd/Makefile: Likewise.
2147 * manual/Makefile: Likewise.
2148 * locale/Makefile: Likewise.
2149 * intl/Makefile: Likewise.
2150 * conform/Makefile: Likewise.
2151 * nss/Makefile: Likewise.
2152 * time/Makefile: Likewise.
2153 * soft-fp/Makefile: Likewise.
2154 * dirent/Makefile: Likewise.
2155 * gmon/Makefile: Likewise.
2156 * po/Makefile: Likewise.
2157 * rt/Makefile: Likewise.
2158 * socket/Makefile: Likewise.
2159 * math/Makefile: Likewise.
2160 * signal/Makefile: Likewise.
2161 * debug/Makefile: Likewise.
2162 * elf/Makefile: Likewise.
2163 * timezone/Makefile: Likewise.
2164 * stdlib/Makefile: Likewise.
2165 * iconvdata/Makefile: Likewise.
2166 * sunrpc/Makefile: Likewise.
2167 * io/Makefile: Likewise.
2168 * argp/Makefile: Likewise.
2169 * inet/Makefile: Likewise.
2170 * hesiod/Makefile: Likewise.
2171 * grp/Makefile: Likewise.
2172 * csu/Makefile: Likewise.
2173 * wctype/Makefile: Likewise.
2174 * crypt/Makefile: Likewise.
2175 * libio/Makefile: Likewise.
2176 * string/Makefile: Likewise.
2177 * nis/Makefile: Likewise.
2178 * resolv/Makefile: Likewise.
2179 * stdio-common/Makefile: Likewise.
2180 * wcsmbs/Makefile: Likewise.
2181 * dlfcn/Makefile: Likewise.
2182 * posix/Makefile: Likewise.
2183
2184 * timezone/Makefile: Don't install timezone files, just the programs
2185 and scripts.
2186
2187 2012-03-06 Ulrich Drepper <drepper@gmail.com>
2188
2189 * nss/databases.def: Add missing gshadow entry.
2190
2191 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2192
2193 2012-03-06 Marek Polacek <polacek@redhat.com>
2194
2195 [BZ #13726]
2196 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2197 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2198 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2199 * stdio-common/tst-long-dbl-fphex.c: New file.
2200
2201 2012-03-06 David S. Miller <davem@davemloft.net>
2202
2203 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2204 (set_obp_int): New function.
2205 (get_obp_int): New function.
2206 (__get_clockfreq_via_dev_openprom): Likewise.
2207 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2208 Avoid unused variable warnings on 'val' and use builtin_expect.
2209 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2210 __builtin_expect.
2211 (INLINE_CLONE_SYSCALL): Likewise.
2212
2213 2012-03-05 David S. Miller <davem@davemloft.net>
2214
2215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2216
2217 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2218
2219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2220
2221 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2222 only for |x| >= 40.
2223 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2224
2225 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
2226
2227 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2228 Replace gettimeofday with __vdso_gettimeofday.
2229
2230 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2231 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2232 __vdso_clock_gettime and __vdso_getcpu.
2233
2234 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2235 time with __vdso_time.
2236
2237 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2238
2239 * manual/lang.texi (size_t): Note types to which size_t may be
2240 equivalent with the GNU C Library, but do not describe when
2241 differences between them are significant.
2242
2243 2012-03-05 Andreas Jaeger <aj@suse.de>
2244
2245 * sysdeps/i386/fpu/libm-test-ulps: Update.
2246
2247 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2248
2249 [BZ #3976]
2250 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2251 (__ieee754_pow): Save and restore rounding mode and use
2252 round-to-nearest for main computations.
2253 * math/libm-test.inc (pow_test_tonearest): New function.
2254 (pow_test_towardzero): Likewise.
2255 (pow_test_downward): Likewise.
2256 (pow_test_upward): Likewise.
2257 (main): Call the new functions.
2258 * sysdeps/i386/fpu/libm-test-ulps: Update.
2259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2260
2261 [BZ #3976]
2262 * math/libm-test.inc (cosh_test_tonearest): New function.
2263 (cosh_test_towardzero): Likewise.
2264 (cosh_test_downward): Likewise.
2265 (cosh_test_upward): Likewise.
2266 (sinh_test_tonearest): Likewise.
2267 (sinh_test_towardzero): Likewise.
2268 (sinh_test_downward): Likewise.
2269 (sinh_test_upward): Likewise.
2270 (main): Call the new functions.
2271 * sysdeps/i386/fpu/libm-test-ulps: Update.
2272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2273
2274 2012-03-05 Tom de Vries <tom@codesourcery.com>
2275
2276 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2277 default stack guard is set in last bytes.
2278 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2279
2280 2012-03-05 Kees Cook <keescook@chromium.org>
2281
2282 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2283
2284 [BZ #13656]
2285 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2286 possibly allocate from heap instead of stack.
2287 * stdio-common/bug-vfprintf-nargs.c: New file.
2288 * stdio-common/Makefile (tests): Add nargs overflow test.
2289
2290 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2291
2292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2293
2294 2012-03-03 Marek Polacek <polacek@redhat.com>
2295
2296 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2297 * math/math_private.h: Likewise.
2298 * stdlib/tst-strtod.c: Likewise.
2299 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2300 * sysdeps/x86_64/bits/atomic.h: Likewise.
2301
2302 2012-03-02 David S. Miller <davem@davemloft.net>
2303
2304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2308 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2309 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2310 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2311 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2312
2313 2012-03-02 Roland McGrath <roland@hack.frob.com>
2314
2315 [BZ #13792]
2316 * manual/examples/README: New file, says the example source files
2317 can be used under GPL>=2.
2318 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2319 line containing just "*/".
2320 * manual/examples/add.c: Add copyright header (GPL>=2).
2321 * manual/examples/argp-ex1.c: Likewise.
2322 * manual/examples/argp-ex2.c: Likewise.
2323 * manual/examples/argp-ex3.c: Likewise.
2324 * manual/examples/argp-ex4.c: Likewise.
2325 * manual/examples/atexit.c: Likewise.
2326 * manual/examples/db.c: Likewise.
2327 * manual/examples/dir.c: Likewise.
2328 * manual/examples/dir2.c: Likewise.
2329 * manual/examples/execinfo.c: Likewise.
2330 * manual/examples/filecli.c: Likewise.
2331 * manual/examples/filesrv.c: Likewise.
2332 * manual/examples/fmtmsgexpl.c: Likewise.
2333 * manual/examples/genpass.c: Likewise.
2334 * manual/examples/inetcli.c: Likewise.
2335 * manual/examples/inetsrv.c: Likewise.
2336 * manual/examples/isockad.c: Likewise.
2337 * manual/examples/longopt.c: Likewise.
2338 * manual/examples/memopen.c: Likewise.
2339 * manual/examples/memstrm.c: Likewise.
2340 * manual/examples/mkfsock.c: Likewise.
2341 * manual/examples/mkisock.c: Likewise.
2342 * manual/examples/mygetpass.c: Likewise.
2343 * manual/examples/pipe.c: Likewise.
2344 * manual/examples/popen.c: Likewise.
2345 * manual/examples/rprintf.c: Likewise.
2346 * manual/examples/search.c: Likewise.
2347 * manual/examples/select.c: Likewise.
2348 * manual/examples/setjmp.c: Likewise.
2349 * manual/examples/sigh1.c: Likewise.
2350 * manual/examples/sigusr.c: Likewise.
2351 * manual/examples/stpcpy.c: Likewise.
2352 * manual/examples/strdupa.c: Likewise.
2353 * manual/examples/strftim.c: Likewise.
2354 * manual/examples/strncat.c: Likewise.
2355 * manual/examples/subopt.c: Likewise.
2356 * manual/examples/swapcontext.c: Likewise.
2357 * manual/examples/termios.c: Likewise.
2358 * manual/examples/testopt.c: Likewise.
2359 * manual/examples/testpass.c: Likewise.
2360 * manual/examples/timeval_subtract.c: Likewise.
2361
2362 [BZ #13792]
2363 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2364 function to ...
2365 * manual/timeval_subtract.c.texi: ... here, new file.
2366
2367 2012-03-02 David S. Miller <davem@davemloft.net>
2368
2369 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2370
2371 2012-03-02 Joseph Myers <joseph@codesourcery.com>
2372
2373 [BZ #3976]
2374 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2375 (__sin): Save and restore rounding mode and use round-to-nearest
2376 for all computations.
2377 (__cos): Save and restore rounding mode and use round-to-nearest
2378 for all computations.
2379 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2380 <fenv.h>.
2381 (tan): Save and restore rounding mode and use round-to-nearest for
2382 all computations.
2383 * math/libm-test.inc (cos_test_tonearest): New function.
2384 (cos_test_towardzero): Likewise.
2385 (cos_test_downward): Likewise.
2386 (cos_test_upward): Likewise.
2387 (sin_test_tonearest): Likewise.
2388 (sin_test_towardzero): Likewise.
2389 (sin_test_downward): Likewise.
2390 (sin_test_upward): Likewise.
2391 (tan_test_tonearest): Likewise.
2392 (tan_test_towardzero): Likewise.
2393 (tan_test_downward): Likewise.
2394 (tan_test_upward): Likewise.
2395 (main): Call the new functions.
2396 * sysdeps/i386/fpu/libm-test-ulps: Update.
2397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2398
2399 [BZ #10135]
2400 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2401 small n, then large n, before computing and testing k+n.
2402 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2403 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2404 Likewise.
2405 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2406 Likewise.
2407 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2408 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2409 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2410 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2411 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2412 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2413 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2414 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2415 * math/libm-test.inc (scalbn_test): Add more tests.
2416 (scalbln_test): Likewise.
2417
2418 * manual/filesys.texi (mode_t): Describe constraints on size and
2419 signedness, not exact equivalence to a particular type.
2420 (ino_t): Likewise.
2421 (ino64_t): Likewise.
2422 (dev_t): Likewise.
2423 (nlink_t): Likewise.
2424 (blkcnt_t): Likewise.
2425 (blkcnt64_t): Likewise.
2426 * manual/llio.texi (off_t): Likewise.
2427
2428 [BZ #3976]
2429 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2430 (__ieee754_exp): Save and restore rounding mode and use
2431 round-to-nearest for all computations.
2432 * math/libm-test.inc (exp_test_tonearest): New function.
2433 (exp_test_towardzero): Likewise.
2434 (exp_test_downward): Likewise.
2435 (exp_test_upward): Likewise.
2436 (main): Call the new functions.
2437 * sysdeps/i386/fpu/libm-test-ulps: Update.
2438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2439
2440 2012-03-01 Chris Demetriou <cgd@google.com>
2441
2442 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2443 have predictable order.
2444
2445 2012-03-01 David S. Miller <davem@davemloft.net>
2446
2447 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2448
2449 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2450 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2451 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2452 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2453
2454 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2455 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2456 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2458 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2459 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2460 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2461 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2462 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2463
2464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2465
2466 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2467 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2468 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2469
2470 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2471 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2472 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2473 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2474 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2475 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2476 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2477 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2478 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2479 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2480 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2481 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2482 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2483 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2484 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2485 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2486 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2487 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2488 * sysdeps/sparc/elf/configure: Regenerated.
2489
2490 2012-03-01 Joseph Myers <joseph@codesourcery.com>
2491
2492 * configure.in (AS, LD): Require binutils 2.20 or later.
2493 * configure: Regenerated.
2494 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2495 as required minimum version.
2496 * INSTALL: Regenerated.
2497
2498 [BZ #2541]
2499 [BZ #4108]
2500 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2501 before squaring exponent.
2502 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2503 bottom long double and 27 bits of top long double before squaring
2504 exponent.
2505 * math/libm-test.inc (erfc_test): Add more tests.
2506 * sysdeps/i386/fpu/libm-test-ulps: Update.
2507 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2509
2510 2012-03-01 Kai Tietz <ktietz@redhat.com>
2511
2512 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2513 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2514 containing bit-fields.
2515 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2516 * soft-fp/single.h (_FP_UNION_S): Likewise.
2517 * soft-fp/double.h (_FP_UNION_D): Likewise.
2518
2519 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2520
2521 [BZ #13786]
2522 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2523 not include ../strcmp.S.
2524 [USE_AS_STRNCASECMP_L]: Likewise.
2525 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2526 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2527 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2528 (__strncasecmp_l_ia32): Define as alias to
2529 __strncasecmp_l_nonascii.
2530
2531 [BZ #5794]
2532 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2533 * sysdeps/i386/fpu/libm-test-ulps: Update.
2534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2535
2536 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2538
2539 2012-02-29 Jeff Law <law@redhat.com>
2540
2541 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2542 out of bounds read.
2543
2544 2012-02-29 Marek Polacek <polacek@redhat.com>
2545
2546 [BZ #13706]
2547 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2548 * elf/Makefile: Add rules to run tst-unused-dep.out.
2549
2550 2012-02-28 David S. Miller <davem@davemloft.net>
2551
2552 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2553 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2554 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2555 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2556 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2557 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2558
2559 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2560
2561 * math/libm-test.inc (llround_test): Move one test from
2562 lround_test. Use TEST_f_L in moved test.
2563 (lround_test): Move misplaced test to llround_test. Add testcase
2564 from bug 2561.
2565
2566 2012-02-28 Ulrich Drepper <drepper@gmail.com>
2567
2568 * sysdeps/x86_64/fpu/e_expf.S: New file.
2569 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2570
2571 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2572
2573 [BZ #13637]
2574 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2575 of remain_len that may cause incomplete multi-byte character and
2576 false match.
2577 * posix/bug-regex33.c: New file.
2578 * posix/Makefile (tests): Add bug-regex33.
2579
2580 2012-02-28 Joseph Myers <joseph@codesourcery.com>
2581
2582 * manual/macros.texi: New file.
2583 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2584 * manual/libc.texinfo: Include macros.texi.
2585 * manual/creatute.texi: Likewise.
2586 * manual/install.texi: Likewise.
2587 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2588 @glibcadj{} in references to the GNU C Library.
2589 * manual/charset.texi: Likewise.
2590 * manual/conf.texi: Likewise.
2591 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2592 when not using those macros.
2593 * manual/creature.texi: Likewise.
2594 * manual/crypt.texi: Likewise.
2595 * manual/errno.texi: Likewise.
2596 * manual/filesys.texi: Likewise.
2597 * manual/header.texi: Likewise.
2598 * manual/install.texi: Likewise.
2599 * manual/intro.texi: Likewise.
2600 * manual/io.texi: Likewise.
2601 * manual/job.texi: Likewise.
2602 * manual/lang.texi: Likewise.
2603 * manual/libc.texiinfo: Likewise.
2604 * manual/llio.texi: Likewise.
2605 * manual/locale.texi: Likewise.
2606 * manual/maint.texi: Likewise.
2607 * manual/math.texi: Likewise.
2608 * manual/memory.texi: Likewise.
2609 * manual/message.texi: Likewise.
2610 * manual/nss.texi: Likewise.
2611 * manual/pattern.texi: Likewise.
2612 * manual/process.texi: Likewise.
2613 * manual/resource.texi: Likewise.
2614 * manual/search.texi: Likewise.
2615 * manual/setjmp.texi: Likewise.
2616 * manual/signal.texi: Likewise.
2617 * manual/socket.texi: Likewise.
2618 * manual/startup.texi: Likewise.
2619 * manual/stdio.texi: Likewise.
2620 * manual/string.texi: Likewise.
2621 * manual/sysinfo.texi: Likewise.
2622 * manual/syslog.texi: Likewise.
2623 * manual/terminal.texi: Likewise.
2624 * manual/time.texi: Likewise.
2625 * manual/users.texi: Likewise.
2626 * INSTALL: Regenerated.
2627 * NOTES: Regenerated.
2628 * sysdeps/gnu/errlist.c: Regenerated.
2629
2630 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2631
2632 * include/dirent.h: Include <dirstream.h> before
2633 <dirent/dirent.h>.
2634
2635 2012-02-28 David S. Miller <davem@davemloft.net>
2636
2637 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2638 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2639 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2640 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2641
2642 2012-02-27 David S. Miller <davem@davemloft.net>
2643
2644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2646 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2647 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2648
2649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2650 frame pointer instead of stack pointer relative arg slot.
2651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2652 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2653 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2654
2655 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2656
2657 [BZ #3992]
2658 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2659
2660 2012-02-27 David S. Miller <davem@davemloft.net>
2661
2662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2666 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2667 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2668 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2669 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2670
2671 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2672
2673 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2674 later. Allow versions 5-9.
2675 * configure: Regenerated.
2676 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2677 required minimum version and 4.6 as recommended version. Do not
2678 mention bugs in GCC 2.7 and 2.8.
2679 * INSTALL: Regenerated.
2680
2681 2012-02-27 David S. Miller <davem@davemloft.net>
2682
2683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2687 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2688 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2689 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2690 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2691
2692 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2693 manipulate bits before adding and subtracting TWO112[sx].
2694 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2695
2696 2012-02-27 Roland McGrath <roland@hack.frob.com>
2697
2698 [BZ #13775]
2699 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2700 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2701 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2702 being in POSIX, because they are in 1003.1-2008.
2703
2704 * rt/tst-aio.c: Include <fcntl.h>.
2705 * rt/tst-aio7.c: Likewise.
2706 * rt/tst-aio64.c: Likewise.
2707
2708 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2709
2710 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2711
2712 * manual/install.texi (--with-headers): Describe headers as
2713 interface headers, not private headers.
2714 (Specific advice for GNU/Linux systems): Describe use of headers
2715 from "make headers_install", not private headers from older
2716 kernels.
2717 * INSTALL: Regenerated.
2718 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2719 Change to 2.6.19.
2720 * sysdeps/unix/sysv/linux/configure: Regenerated.
2721
2722 * manual/llio.texi (fclean): Remove documentation.
2723
2724 * manual/Makefile (libc-texi-generated): New variable. Include
2725 version.texi.
2726 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2727 $(libc-texi-generated), not duplicated list of files.
2728 (version.texi, stamp-version): New rules.
2729 (realclean): Remove $(libc-texi-generated), not individual files
2730 from that list. Do not remove dir-add.texinfo.
2731 * manual/libc.texinfo: Comment out uses of edition numbers and
2732 references to printed manual. Remove last-updated dates.
2733 (EDITION): Comment out.
2734 (ISBN): Likewise.
2735 (VERSION, UPDATED): Remove.
2736 (version.texi): Include.
2737
2738 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2739
2740 * sysdeps/posix/spawni.c: Include <signal.h>.
2741 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2742 * sysdeps/pthread/aio_fsync.c: Likewise.
2743
2744 2012-02-26 Ulrich Drepper <drepper@gmail.com>
2745
2746 * conform/Makefile (tests): Run only when not cross-compiling and
2747 when fast-check is not defined.
2748
2749 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2750 * conform/data/limits.h-data: Fixes for POSIX2008.
2751 * conform/run-conformtest.sh: Run all tests.
2752 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2753 headers.
2754 * include/bits/dlfcn.h: Likewise.
2755 * include/langinfo.h: Likewise.
2756 * include/monetary.h: Likewise.
2757 * include/sys/poll.h: Likewise.
2758
2759 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2760 for __USE_GNU.
2761 * posix/spawn.h: Define __need_sigset_t.
2762 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2763 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2764 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2765 to get sigevent_t only.
2766 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2767 only for __USE_GNU.
2768 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2769 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2770 process_vm_writev only for __USE_GNU.
2771 * termios/termios.h: Declare tcgetsid also for POSIX2008.
2772
2773 * conform/Makefile: For now ignore errors from run-conformtest.
2774 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2775 POSIX to avoid namespace pollution. Don't prepend headers.
2776 * conform/data/aio.h-data: Fixes for POSIX testing.
2777 * conform/data/fcntl.h-data: Likewise.
2778 * conform/data/glob.h-data: Likewise.
2779 * conform/data/grp.h-data: Likewise.
2780 * conform/data/pthread.h-data: Likewise.
2781 * conform/data/pwd.h-data: Likewise.
2782 * conform/data/signal.h-data: Likewise.
2783 * conform/data/spawn.h-data: Likewise.
2784 * conform/data/stdio.h-data: Likewise.
2785 * conform/data/stdlib.h-data: Likewise.
2786 * conform/data/stropts.h-data: Likewise.
2787 * conform/data/sys/mman.h-data: Likewise.
2788 * conform/data/sys/stat.h-data: Likewise.
2789 * conform/data/sys/types.h-data: Likewise.
2790 * conform/data/sys/wait.h-data: Likewise.
2791 * conform/data/time.h-data: Likewise.
2792 * conform/data/unistd.h-data: Likewise.
2793 * conform/data/utime.h-data: Likewise.
2794
2795 * io/sys/stat.h: fchmod was always in POSIX.
2796 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2797 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2798 * rt/aio.h: Define __need_timespec before including <time.h>.
2799 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2800 struct. Add forward declaration of pthread_attr_t and use it in
2801 sigevent.
2802 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2803 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2804 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2805 always remove CLK_TCK definition.
2806
2807 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2808
2809 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2810
2811 2012-02-25 Ulrich Drepper <drepper@gmail.com>
2812
2813 * conform/run-conformtest.sh: New file.
2814 * conform/Makefile: Run run-conformtest for tests.
2815 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2816 support.
2817
2818 * conform/data/uchar.h-data: New file.
2819 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2820 * conform/data/arpa/inet.h-data: Likewise.
2821 * conform/data/assert.h-data: Likewise.
2822 * conform/data/complex.h-data: Likewise.
2823 * conform/data/cpio.h-data: Likewise.
2824 * conform/data/ctype.h-data: Likewise.
2825 * conform/data/dirent.h-data: Likewise.
2826 * conform/data/dlfcn.h-data: Likewise.
2827 * conform/data/errno.h-data: Likewise.
2828 * conform/data/fcntl.h-data: Likewise.
2829 * conform/data/float.h-data: Likewise.
2830 * conform/data/fmtmsg.h-data: Likewise.
2831 * conform/data/fnmatch.h-data: Likewise.
2832 * conform/data/ftw.h-data: Likewise.
2833 * conform/data/glob.h-data: Likewise.
2834 * conform/data/grp.h-data: Likewise.
2835 * conform/data/iconv.h-data: Likewise.
2836 * conform/data/inttypes.h-data: Likewise.
2837 * conform/data/langinfo.h-data: Likewise.
2838 * conform/data/libgen.h-data: Likewise.
2839 * conform/data/limits.h-data: Likewise.
2840 * conform/data/locale.h-data: Likewise.
2841 * conform/data/math.h-data: Likewise.
2842 * conform/data/monetary.h-data: Likewise.
2843 * conform/data/mqueue.h-data: Likewise.
2844 * conform/data/ndbm.h-data: Likewise.
2845 * conform/data/net/if.h-data: Likewise.
2846 * conform/data/netdb.h-data: Likewise.
2847 * conform/data/netinet/in.h-data: Likewise.
2848 * conform/data/nl_types.h-data: Likewise.
2849 * conform/data/poll.h-data: Likewise.
2850 * conform/data/pthread.h-data: Likewise.
2851 * conform/data/pwd.h-data: Likewise.
2852 * conform/data/regex.h-data: Likewise.
2853 * conform/data/sched.h-data: Likewise.
2854 * conform/data/search.h-data: Likewise.
2855 * conform/data/semaphore.h-data: Likewise.
2856 * conform/data/setjmp.h-data: Likewise.
2857 * conform/data/signal.h-data: Likewise.
2858 * conform/data/spawn.h-data: Likewise.
2859 * conform/data/stdarg.h-data: Likewise.
2860 * conform/data/stdio.h-data: Likewise.
2861 * conform/data/stdlib.h-data: Likewise.
2862 * conform/data/string.h-data: Likewise.
2863 * conform/data/strings.h-data: Likewise.
2864 * conform/data/stropts.h-data: Likewise.
2865 * conform/data/sys/ipc.h-data: Likewise.
2866 * conform/data/sys/mman.h-data: Likewise.
2867 * conform/data/sys/msg.h-data: Likewise.
2868 * conform/data/sys/resource.h-data: Likewise.
2869 * conform/data/sys/select.h-data: Likewise.
2870 * conform/data/sys/sem.h-data: Likewise.
2871 * conform/data/sys/shm.h-data: Likewise.
2872 * conform/data/sys/socket.h-data: Likewise.
2873 * conform/data/sys/stat.h-data: Likewise.
2874 * conform/data/sys/statvfs.h-data: Likewise.
2875 * conform/data/sys/time.h-data: Likewise.
2876 * conform/data/sys/timeb.h-data: Likewise.
2877 * conform/data/sys/times.h-data: Likewise.
2878 * conform/data/sys/types.h-data: Likewise.
2879 * conform/data/sys/uio.h-data: Likewise.
2880 * conform/data/sys/un.h-data: Likewise.
2881 * conform/data/sys/utsname.h-data: Likewise.
2882 * conform/data/sys/wait.h-data: Likewise.
2883 * conform/data/syslog.h-data: Likewise.
2884 * conform/data/tar.h-data: Likewise.
2885 * conform/data/termios.h-data: Likewise.
2886 * conform/data/utime.h-data: Likewise.
2887 * conform/data/utmpx.h-data: Likewise.
2888 * conform/data/varargs.h-data: Likewise.
2889 * conform/data/wchar.h-data: Likewise.
2890 * conform/data/wctype.h-data: Likewise.
2891 * conform/data/wordexp.h-data: Likewise.
2892
2893 * include/stropts.h: New file.
2894 * include/uchar.h: New file.
2895 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2896 * include/assert.h: Likewise.
2897 * include/ctype.h: Likewise.
2898 * include/dirent.h: Likewise.
2899 * include/dlfcn.h: Likewise.
2900 * include/fcntl.h: Likewise.
2901 * include/fnmatch.h: Likewise.
2902 * include/glob.h: Likewise.
2903 * include/grp.h: Likewise.
2904 * include/libio.h: Likewise.
2905 * include/locale.h: Likewise.
2906 * include/math.h: Likewise.
2907 * include/net/if.h: Likewise.
2908 * include/netdb.h: Likewise.
2909 * include/netinet/in.h: Likewise.
2910 * include/pthread.h: Likewise.
2911 * include/pwd.h: Likewise.
2912 * include/regex.h: Likewise.
2913 * include/sched.h: Likewise.
2914 * include/search.h: Likewise.
2915 * include/setjmp.h: Likewise.
2916 * include/signal.h: Likewise.
2917 * include/stdio.h: Likewise.
2918 * include/stdlib.h: Likewise.
2919 * include/string.h: Likewise.
2920 * include/sys/cdefs.h: Likewise.
2921 * include/sys/mman.h: Likewise.
2922 * include/sys/msg.h: Likewise.
2923 * include/sys/resource.h: Likewise.
2924 * include/sys/select.h: Likewise.
2925 * include/sys/socket.h: Likewise.
2926 * include/sys/stat.h: Likewise.
2927 * include/sys/statvfs.h: Likewise.
2928 * include/sys/time.h: Likewise.
2929 * include/sys/times.h: Likewise.
2930 * include/sys/uio.h: Likewise.
2931 * include/sys/utsname.h: Likewise.
2932 * include/sys/wait.h: Likewise.
2933 * include/termios.h: Likewise.
2934 * include/time.h: Likewise.
2935 * include/ulimit.h: Likewise.
2936 * include/unistd.h: Likewise.
2937 * include/utime.h: Likewise.
2938 * include/wchar.h: Likewise.
2939 * include/wctype.h: Likewise.
2940 * include/wordexp.h: Likewise.
2941
2942 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2943
2944 * time/time.h: TIME_UTC must be a macro.
2945 Make timespec_get available for ISO C11 only as well.
2946
2947 2012-02-24 Ulrich Drepper <drepper@gmail.com>
2948
2949 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2950 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2951
2952 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2953
2954 * configure.in: Use -o not -a in test for unsupported multi-arch.
2955
2956 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2957
2958 * manual/texinfo.tex: Update to version 2012-01-19.16.
2959
2960 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2961
2962 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2963
2964 2012-02-24 Roland McGrath <roland@hack.frob.com>
2965
2966 [BZ #13738]
2967 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2968 * manual/fdl-1.3.texi: New file.
2969 * manual/fdl-1.1.texi: File removed.
2970
2971 [BZ #13738]
2972 * manual/libc.texinfo (FDL_VERSION): New @set.
2973 Use it for mention of FDL in cover text.
2974 (Documentation License): Use it in @include file name.
2975
2976 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2977 Roland McGrath <roland@hack.frob.com>
2978
2979 [BZ #5461]
2980 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2981 not LONG_LONG_MAX and LONG_LONG_MIN.
2982 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2983 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2984 name.
2985 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2986
2987 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2988
2989 [BZ #2547]
2990 [BZ #11365]
2991 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2992 manipulate bits before adding and subtracting TWO23[sx].
2993 * math/libm-test.inc (nearbyint_test): Add more tests.
2994
2995 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2996
2997 [BZ #2548]
2998 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2999 bits before adding and subtracting TWO23[sx].
3000 * math/libm-test.inc (rint_test): Add more tests.
3001 (rint_test_tonearest): Likewise.
3002 (rint_test_towardzero): Likewise.
3003 (rint_test_downward): Likewise.
3004 (rint_test_upward: Likewise.
3005
3006 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3007
3008 [BZ #10110]
3009 * include/stdc-predef.h: New file. Extracted from features.h.
3010 * include/features.h: Include stdc-predef.h.
3011 * Makefile (headers): Add stdc-predef.h.
3012 * CONFORMANCE (Compiler limitations): Update.
3013
3014 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3015
3016 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3017
3018 2012-02-21 David S. Miller <davem@davemloft.net>
3019
3020 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3021 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3022
3023 2012-02-20 David S. Miller <davem@davemloft.net>
3024
3025 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3026 using a normal save/restore sequence, rather than allocating a
3027 dummy stack frame just to store a frame pointer and restore.
3028 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3029
3030 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3031
3032 * manual/install.texi: Fix stray word in line-wrapped comment.
3033
3034 2012-02-20 David S. Miller <davem@davemloft.net>
3035
3036 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3037 both binutils and gcc support GOTDATA.
3038
3039 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3040 "rd %pc" in the PIC register setup sequences.
3041
3042 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3043 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3044 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3045 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3046 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3047 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3048 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3049 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3050 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3051 (SYSCALL_ERROR_HANDLER): Likewise.
3052 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3053 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3054 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3055 (SYSCALL_ERROR_HANDLER): Likewise.
3056
3057 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3058 (HAVE_GCC_GOTDATA): New.
3059 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3060 relocation support in both binutils and gcc.
3061 * sysdeps/sparc/elf/configure: Regenerate.
3062
3063 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3064 * sysdeps/sparc/sparc32/elf/configure: Delete.
3065 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3066 * sysdeps/sparc/sparc64/elf/configure: Delete.
3067 * sysdeps/sparc/elf/configure.in: New file.
3068 * sysdeps/sparc/elf/configure: Generate.
3069
3070 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3071 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3072 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3073 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3074 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3075
3076 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3077
3078 * manual/install.texi: Do not mention specific glibc version
3079 numbers.
3080 * manual/libc.texinfo (VERSION, UPDATED): Update.
3081 (@copying): Use @copyright{} and range of years.
3082
3083 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3084
3085 [BZ #13695]
3086 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3087 [crti.S not in sysdirs] (generated): Do not append.
3088 [crti.S not in sysdirs] (omit-deps): Likewise.
3089 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3090 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3091 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3092 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3093 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3094 Likewise.
3095 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3096 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3097 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3098 * csu/defs.awk: Remove file.
3099 * sysdeps/generic/initfini.c: Likewise.
3100 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3101 variable.
3102 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3103 Likewise.
3104
3105 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3106
3107 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3108 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3109 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3110 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3111 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3112 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3113 <bits/epoll.h>.
3114 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3115 (__EPOLL_PACKED): Define to empty if not defined by
3116 <bits/epoll.h>.
3117 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3118 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3119 bits/epoll.h.
3120
3121 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3122
3123 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3124 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3125 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3126 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3127 <bits/timerfd.h>.
3128 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3129 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3130 bits/timerfd.h.
3131
3132 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3133
3134 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3135 in C locale.
3136 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3137 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3138 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3140
3141 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3142
3143 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3144 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3145
3146 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3147
3148 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3149 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3150 defined.
3151 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3152 Likewise.
3153 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3154 entry for 2.16.
3155
3156 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3157
3158 * math/w_acos.c: Use non-signaling floating-point comparisons.
3159 * math/w_acosf.c: Likewise.
3160 * math/w_acosh.c: Likewise.
3161 * math/w_acoshf.c: Likewise.
3162 * math/w_acoshl.c: Likewise.
3163 * math/w_acosl.c: Likewise.
3164 * math/w_asin.c: Likewise.
3165 * math/w_asinf.c: Likewise.
3166 * math/w_asinl.c: Likewise.
3167 * math/w_atanh.c: Likewise.
3168 * math/w_atanhf.c: Likewise.
3169 * math/w_atanhl.c: Likewise.
3170 * math/w_exp2.c: Likewise.
3171 * math/w_exp2f.c: Likewise.
3172 * math/w_exp2l.c: Likewise.
3173 * math/w_j0.c: Likewise.
3174 * math/w_j0f.c: Likewise.
3175 * math/w_j0l.c: Likewise.
3176 * math/w_j1.c: Likewise.
3177 * math/w_j1f.c: Likewise.
3178 * math/w_j1l.c: Likewise.
3179 * math/w_jn.c: Likewise.
3180 * math/w_jnf.c: Likewise.
3181 * math/w_log.c: Likewise.
3182 * math/w_log10.c: Likewise.
3183 * math/w_log10f.c: Likewise.
3184 * math/w_log10l.c: Likewise.
3185 * math/w_log2.c: Likewise.
3186 * math/w_log2f.c: Likewise.
3187 * math/w_log2l.c: Likewise.
3188 * math/w_logf.c: Likewise.
3189 * math/w_logl.c: Likewise.
3190 * math/w_sqrt.c: Likewise.
3191 * math/w_sqrtf.c: Likewise.
3192 * math/w_sqrtl.c: Likewise.
3193 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3194 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3195 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3196 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3197 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3198
3199 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3200
3201 [BZ #9739]
3202 * manual/string.texi (strnlen): Use correct parameter name in
3203 equivalent expression.
3204
3205 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3206
3207 [BZ #11174]
3208 * manual/users.texi (seteuid): Consistently use neweuid for
3209 argument name.
3210
3211 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3212
3213 [BZ #13704]
3214 * manual/nss.texi (Services in the NSS configuration): Correct
3215 list of services in example configuration file.
3216
3217 2012-02-19 Nick Bowler <nbowler@draconx.ca>
3218
3219 [BZ #11322]
3220 * manual/arith.texi: Remove statements about negative zero
3221 behaving identically to zero.
3222
3223 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3224
3225 [BZ #5993]
3226 * manual/install.texi: Do not document upgrading from libc5.
3227
3228 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3229
3230 [BZ #4596]
3231 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3232
3233 2012-02-18 David S. Miller <davem@davemloft.net>
3234
3235 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3236 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3237 %o7 across the call.
3238 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3239 instead.
3240 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3241 SETUP_PIC_REG_LEAF.
3242 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3243 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3244 * sysdeps/sparc/crtn.S: Likewise.
3245
3246 2012-02-17 Ulrich Drepper <drepper@gmail.com>
3247
3248 * aout/Makefile: Remove.
3249
3250 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3251
3252 [BZ #13058]
3253 * manual/examples/argp-ex1.c (main): Format definition in GNU
3254 style.
3255 * manual/examples/argp-ex2.c (main): Likewise.
3256 * manual/examples/argp-ex3.c (main): Likewise.
3257 * manual/examples/argp-ex4.c (main): Likewise.
3258 * manual/examples/longopt.c (main): Use new-style prototype
3259 definition.
3260 * manual/examples/strncat.c (main): Specify return type and use
3261 (void) for arguments.
3262 * manual/examples/subopt.c (main): Use char **argv argument.
3263
3264 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3265
3266 [BZ #5077]
3267 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3268 rounding modes.
3269
3270 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3271
3272 [BZ #6907]
3273 * manual/string.texi (strchr): Change when strchrnul is
3274 recommended.
3275
3276 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3277
3278 [BZ #174]
3279 * manual/locale.texi (setlocale): Document LOCPATH.
3280
3281 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3282
3283 [BZ #10210]
3284 * manual/process.texi (execle): Move @dots{} before last argument.
3285
3286 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
3287
3288 [BZ #12047]
3289 * manual/charset.texi (Generic Charset Conversion): Fix typo
3290 (LC_TYPE -> LC_CTYPE).
3291
3292 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3293
3294 [BZ #5805]
3295 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3296 (scalbnf): Likewise.
3297 (scalbnl): Likewise.
3298 (scalbln): Likewise.
3299 (scalblnf): Likewise.
3300 (scalblnl): Likewise.
3301 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3302 (vwarnx): Likewise.
3303 (verr): Likewise.
3304 (verrx): Likewise.
3305 * manual/filesys.texi (telldir): Use braces around return type.
3306 * manual/llio.texi (mmap): Add space after comma.
3307 (mmap64): Likewise.
3308 * manual/math.texi (jn): Use @var{} on parameter names.
3309 (jnf): Likewise.
3310 (jnl): Likewise.
3311 (yn): Likewise.
3312 (ynf): Likewise.
3313 (ynl): Likewise.
3314 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3315 line.
3316 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3317 "...".
3318 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3319 (sched_get_priority_max): Likewise.
3320 * manual/signal.texi (sigvec): Add space after comma.
3321 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3322 names.
3323 (if_indextoname): Likewise.
3324 (if_freenameindex): Likewise.
3325 (sendto): Use ',' instead of '.' in prototype.
3326 * manual/startup.texi (syscall): Use @dots{} instead of literal
3327 "...".
3328 * manual/stdio.texi (__fpending): Separate initial words of
3329 paragraph from @deftypefun line.
3330 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3331 "...".
3332 (vsyslog): Use @var{} on parameter names.
3333 * manual/terminal.texi (stty): Use @var{} on parameter names.
3334 * manual/users.texi (getutmp): Use @var{} on parameter names.
3335 (getutmpx): Likewise.
3336
3337 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3338
3339 [BZ #6884]
3340 * manual/stdio.texi (fopen): Fix typos in description of
3341 ",ccs=STRING".
3342
3343 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3344
3345 [BZ #4026]
3346 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3347 get clock_id definition.
3348
3349 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
3350
3351 [BZ #4822]
3352 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3353 (madvise): Cast every argument to void on its own.
3354
3355 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3356
3357 [BZ #9902]
3358 * manual/startup.texi (Exit Status): Fix typo.
3359
3360 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3361
3362 [BZ #10140]
3363 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3364 * manual/examples/argp-ex2.c: Likewise.
3365 * manual/examples/argp-ex3.c: Likewise.
3366
3367 2012-02-16 Richard Henderson <rth@redhat.com>
3368
3369 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3370 * sysdeps/s390/s390-32/initfini.c: Remove.
3371 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3372 * sysdeps/s390/s390-64/initfini.c: Remove.
3373
3374 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3375
3376 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3377 compiler output for sysdeps/generic/initfini.c.
3378 * sysdeps/sh/elf/initfini.c: Remove file.
3379
3380 2012-02-16 David S. Miller <davem@davemloft.net>
3381
3382 [BZ #11494]
3383 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3384
3385 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3386 * sysdeps/sparc/crti.S: New file.
3387 * sysdeps/sparc/crtn.S: New file.
3388 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3389 * sysdeps/sparc/sparc64/Makefile: Likewise.
3390
3391 2012-02-15 Mike Frysinger <vapier@gentoo.org>
3392
3393 [BZ #3335]
3394 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3395
3396 2012-02-15 Roland McGrath <roland@hack.frob.com>
3397
3398 [BZ #4822]
3399 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3400
3401 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3402 (write, read, close): Likewise.
3403 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3404
3405 2012-02-15 Joseph Myers <joseph@codesourcery.com>
3406
3407 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3408 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3409 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3410 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3411 <bits/signalfd.h>.
3412 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3413 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3414 bits/signalfd.h.
3415
3416 2012-02-14 Marek Polacek <polacek@redhat.com>
3417
3418 * sysdeps/x86_64/crti.S: New file.
3419 * sysdeps/x86_64/crtn.S: New file.
3420 * sysdeps/x86_64/elf/initfini.c: Remove file.
3421
3422 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3423
3424 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3425 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3426 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3427 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3428 <bits/inotify.h>.
3429 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3430 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3431 bits/inotify.h.
3432
3433 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3434
3435 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3436 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3437 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3438 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3439 <bits/eventfd.h>.
3440 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3441 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3442 bits/eventfd.h.
3443
3444 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3445
3446 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3447 __feraiseexcept instead of feraiseexcept.
3448
3449 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3450 nanosleep invocations.
3451 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3452 strings, and add error checking for a nanosleep invocations.
3453
3454 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3455
3456 Replace FSF snail mail address with URLs, as per GNU coding standards.
3457 Most of the snail mail addresses were wrong anyway, and omitting
3458 them makes the source code easier to maintain. Almost all of the
3459 changes are to license notices and to locale LC_IDENTIFICATION
3460 addresses, except for this one:
3461 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3462 not its snail mail address.
3463
3464 2012-02-09 Richard Henderson <rth@twiddle.net>
3465
3466 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3467 of kernel-features.h.
3468
3469 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3470
3471 2012-02-08 Marek Polacek <polacek@redhat.com>
3472
3473 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3474 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3475 * sysdeps/gnu/_G_config.h: Likewise.
3476 * sysdeps/generic/_G_config.h: Likewise.
3477
3478 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3479
3480 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3481 tests.
3482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3483
3484 * sysdeps/powerpc/powerpc32/crti.S: New file.
3485 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3486 * sysdeps/powerpc/powerpc64/crti.S: New file.
3487 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3488
3489 * Makeconfig (have-initfini): Don't set.
3490 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3491 * configure.in (nopic_initfini): Don't substitute.
3492 * config.h.in (HAVE_INITFINI): Don't #undef.
3493 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3494 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3495
3496 2012-02-08 Joseph Myers <joseph@codesourcery.com>
3497
3498 Support crti.S and crtn.S provided directly by architectures.
3499 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3500 [crti.S in sysdirs] (omit-deps): Likewise.
3501 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3502 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3503 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3504 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3505 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3506 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3507 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3508 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3509 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3510 compiler output for sysdeps/generic/initfini.c.
3511 * sysdeps/i386/elf/Makefile: Remove file.
3512 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3513
3514 2012-02-07 Marek Polacek <polacek@redhat.com>
3515
3516 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3517 * sysdeps/gnu/_G_config.h: Likewise.
3518 * sysdeps/mach/hurd/_G_config.h: Likewise.
3519
3520 2012-02-07 Marek Polacek <polacek@redhat.com>
3521
3522 * math/Makefile (tests): Add tst-CMPLX2.
3523 * math/tst-CMPLX2.c: New file.
3524
3525 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3526
3527 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3528
3529 * math/libm-test.inc (jn_test): Add missing L suffix.
3530
3531 2012-02-06 Marek Polacek <polacek@redhat.com>
3532
3533 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3534 * sysdeps/i386/fpu/e_powf.S: Likewise.
3535 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3536 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3537 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3538 * sysdeps/i386/fpu/e_pow.S: Likewise.
3539 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3540 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3541 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3542 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3543 * sysdeps/i386/fpu/e_log2.S: Likewise.
3544 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3545 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3546 * sysdeps/i386/fpu/e_powl.S: Likewise.
3547 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3548 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3549 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3550 * sysdeps/i386/fpu/e_logl.S: Likewise.
3551 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3552 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3553 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3554 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3555 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3556 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3557 * sysdeps/i386/fpu/e_log.S: Likewise.
3558 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3559 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3560 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3561 * sysdeps/i386/fpu/e_logf.S: Likewise.
3562 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3563 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3564 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3565 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3566 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3567 * sysdeps/i386/fpu/e_log10.S: Likewise.
3568 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3569 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3570 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3571 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3572 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3573 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3574 * sysdeps/i386/asm-syntax.h: Likewise.
3575 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3576 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3577 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3578 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3579 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3580 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3581 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3582 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3583 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3584 * sysdeps/powerpc/sysdep.h: Likewise.
3585 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3586 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3587
3588 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3589
3590 [BZ #411]
3591 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3592
3593 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3594
3595 * sysdeps/i386/sysdep.h: Include <features.h>.
3596 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3597 version.
3598
3599 2012-02-05 Joseph Myers <joseph@codesourcery.com>
3600
3601 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3602 Define.
3603 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3604 LOAD_PIC_REG_STR.
3605
3606 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3607
3608 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3609 (SETUP_PIC_REG): Use GET_PC_THUNK.
3610 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3611 macro.
3612
3613 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3614
3615 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3616 for non-PIC compilation.
3617 (SETUP_PIC_REG): Add .p2align directive.
3618 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3619 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3620 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3621 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3622 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3623 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3624 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3625 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3626 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3627 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3628 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3629 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3630 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3631 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3632 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3633 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3634 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3635 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3636 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3637 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3638 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3639 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3640 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3641 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3642 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3643 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3644 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3645 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3646 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3647 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3648 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3649 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3650 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3651 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3652 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3653 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3654 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3655 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3656 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3657 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3658 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3659
3660 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3661
3662 * math/tst-CMPLX.c: Include <stdio.h>.
3663
3664 2012-01-31 Joseph Myers <joseph@codesourcery.com>
3665
3666 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3667 float.
3668 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3669 * sysdeps/sparc/bits/mathdef.h: Likewise.
3670
3671 2012-01-31 Marek Polacek <polacek@redhat.com>
3672
3673 * libio/libio.h: Don't define _PARAMS.
3674 * locale/programs/config.h: Don't define PARAMS.
3675 * stdlib/strtol_l.c: Likewise.
3676 (__strtol_l): Remove PARAMS from the prototype.
3677
3678 2012-01-31 Ulrich Drepper <drepper@gmail.com>
3679
3680 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3681 names. Just use the correct names. Remove unnecessary wrapper
3682 functions.
3683 * malloc/arena.c: Likewise.
3684 * malloc/hooks.c: Likewise.
3685
3686 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3687 ARENA_TEST says not to. Simplify test for creation of a new arena.
3688 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3689
3690 2012-01-30 Ulrich Drepper <drepper@gmail.com>
3691
3692 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3693 into tail calls.
3694 (update_get_addr): New function.
3695 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3696 GET_ADDR_MODULE parameter.
3697
3698 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3699
3700 * crypt/cert.c: Remove __STDC__ conditionals.
3701 * crypt/crypt-entry.c: Likewise.
3702 * crypt/crypt_util.c: Likewise.
3703 * libio/filedoalloc.c: Likewise.
3704 * libio/fileops.c: Likewise.
3705 * libio/genops.c: Likewise.
3706 * libio/iofclose.c: Likewise.
3707 * libio/iofdopen.c: Likewise.
3708 * libio/iofopen.c: Likewise.
3709 * libio/iofopen64.c: Likewise.
3710 * libio/iogetdelim.c: Likewise.
3711 * libio/iopopen.c: Likewise.
3712 * libio/obprintf.c: Likewise.
3713 * libio/oldfileops.c: Likewise.
3714 * libio/oldiofclose.c: Likewise.
3715 * libio/oldiofdopen.c: Likewise.
3716 * libio/oldiofopen.c: Likewise.
3717 * libio/oldiopopen.c: Likewise.
3718 * libio/wfiledoalloc.c: Likewise.
3719 * libio/wgenops.c: Likewise.
3720 * locale/programs/xmalloc.c: Likewise.
3721 * misc/syslog.c: Likewise.
3722 * stdio-common/xbug.c: Likewise.
3723 * string/memchr.c: Likewise.
3724 * string/memcmp.c: Likewise.
3725 * string/memrchr.c: Likewise.
3726 * string/rawmemchr.c: Likewise.
3727 * sysdeps/posix/getcwd.c: Likewise.
3728 * time/strftime_l.c: Likewise.
3729
3730 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3731
3732 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3733 * config.make.in (config-cflags-sse2avx): Define.
3734 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3735 Fix typo.
3736
3737 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3738
3739 * scripts/config.guess: Update from upstream config git repository.
3740 * scripts/config.sub: Likewise.
3741
3742 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3743
3744 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3745 (EM_NUM): Update.
3746 (R_TILEPRO_*, R_TILEGX_*): New macros.
3747
3748 * scripts/firstversions.awk: Fix bug in version range handling.
3749
3750 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3751
3752 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3753
3754 * include/sys/epoll.h: New file.
3755 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3756 libc_hidden_def.
3757
3758 2012-01-28 Ulrich Drepper <drepper@gmail.com>
3759
3760 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3761 Avoid unnecessary __WORDSIZE == 64 test.
3762 (fmaxf): Use VEX format if possible.
3763 (fmax): Likewise.
3764 (fminf): Likewise.
3765 (fmin): Likewise.
3766
3767 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3768 * math/math_private.h: Remove libc_fegetround* and
3769 libc_fesetround*.
3770 * sysdeps/i386/configure.in: Check for -msse2avx.
3771 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3772 also if SSE2AVX is defined.
3773 Remove libc_fegetround* and libc_fesetround*.
3774 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3775 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3776 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3777 of HAS_YMM_USABLE.
3778 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3779 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3780 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3781 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3782 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3783
3784 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3785
3786 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3787
3788 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3789 size is not set.
3790 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3791
3792 2012-01-27 Ulrich Drepper <drepper@gmail.com>
3793
3794 [BZ #13618]
3795 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3796 relocation.
3797 * Makeconfig (libm): Define.
3798 * elf/Makefile: Add rules to build and run tst-relsort1.
3799 * elf/tst-relsort1.c: New file.
3800 * elf/tst-relsort1mod1.c: New file.
3801 * elf/tst-relsort1mod2.c: New file.
3802
3803 2012-01-27 Joseph Myers <joseph@codesourcery.com>
3804
3805 * math/s_ldexp.c: Remove __STDC__ conditionals.
3806 * math/s_ldexpf.c: Likewise.
3807 * math/s_ldexpl.c: Likewise.
3808 * math/s_nextafter.c: Likewise.
3809 * math/s_nexttowardf.c: Likewise.
3810 * math/s_significand.c: Likewise.
3811 * math/s_significandf.c: Likewise.
3812 * math/s_significandl.c: Likewise.
3813 * math/w_jnl.c: Likewise.
3814 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3815 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3816 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3817 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3818 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3819 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3820 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3821 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3822 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3823 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3824 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3825 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3826 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3827 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3828 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3829 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3830 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3831 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3832 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3833 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3834 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3835 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3836 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3837 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3838 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3839 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3840 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3841 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3842 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3843 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3844 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3845 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3846 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3847 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3848 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3849 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3850 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3851 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3852 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3853 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3854 * sysdeps/ieee754/k_standard.c: Likewise.
3855 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3856 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3857 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3858 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3859 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3860 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3861 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3862 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3863 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3864 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3865 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3866 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3867 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3868 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3869 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3870 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3871 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3872 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3873 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3874 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3875 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3876 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3877 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3878 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3879 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3880 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3881 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3882 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3883 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3884 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3885 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3886 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3887 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3888 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3889 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3890 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3891 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3892 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3893 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3894 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3895 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3896 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3897 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3898 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3899 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3900 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3901 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3902 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3903 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3904 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3905 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3906 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3907 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3908 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3909 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3910 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3911 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3912 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3913 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3914 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3915 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3916 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3917 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3918 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3919 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3920 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3921 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3922 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3923 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3924 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3925 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3926 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3927 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3928 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3929 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3930 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3931 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3932 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3933 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3934 * sysdeps/ieee754/s_matherr.c: Likewise.
3935 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3936 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3937 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3938 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3939
3940 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3941
3942 * crypt/md5.h: Remove __STDC__ conditionals.
3943 * libio/libioP.h: Likewise.
3944 * locale/programs/config.h: Likewise.
3945 * sysdeps/generic/sysdep.h: Likewise.
3946 * sysdeps/i386/asm-syntax.h: Likewise.
3947 * sysdeps/s390/asm-syntax.h: Likewise.
3948 * sysdeps/unix/sysdep.h: Likewise.
3949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3951
3952 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3953
3954 * libio/libio.h: Remove __STDC__ conditionals.
3955 * malloc/obstack.h: Likewise.
3956 * math/complex.h: Likewise.
3957 * math/math.h: Likewise.
3958 * sysdeps/generic/_G_config.h: Likewise.
3959 * sysdeps/gnu/_G_config.h: Likewise.
3960 * sysdeps/mach/hurd/_G_config.h: Likewise.
3961 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3962 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3963 * sysdeps/sparc/bits/mathdef.h: Likewise.
3964
3965 2012-01-26 Ulrich Drepper <drepper@gmail.com>
3966
3967 [BZ #13583]
3968 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
3969 Clean up HAS_* macros.
3970 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
3971 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3972 possible.
3973 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3974 HAS_AVX.
3975 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3976 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3977 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3978 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3979 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3980
3981 2012-01-25 Joseph Myers <joseph@codesourcery.com>
3982
3983 * elf/tst-unique3.cc (gets): Remove declaration.
3984 * elf/tst-unique3lib.cc (gets): Likewise.
3985 * elf/tst-unique3lib2.cc (gets): Likewise.
3986 * elf/tst-unique4.cc (gets): Likewise.
3987
3988 2012-01-24 Ulrich Drepper <drepper@gmail.com>
3989
3990 * include/stdio.h: Add C++ protection. Add gets declarations and
3991 definitions.
3992 * debug/tst-chk1.c: Don't declare gets here.
3993 * stdio-common/tst-gets.c: Likewise.
3994
3995 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3996
3997 * posix/glob: Remove directory.
3998
3999 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4000
4001 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4002
4003 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4004
4005 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4006 of the non-standard EPFNOSUPPORT.
4007
4008 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4009
4010 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4011 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4012 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4013
4014 2012-01-21 Ulrich Drepper <drepper@gmail.com>
4015
4016 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4017
4018 2012-01-20 Ulrich Drepper <drepper@gmail.com>
4019
4020 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4021 transient errors.
4022 * nscd/grpcache.c (cache_addgr): Likewise.
4023 * nscd/hstcache.c (cache_addhst): Likewise.
4024 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4025 * nscd/pwdcache.c (cache_addpw): Likewise.
4026 * nscd/servicescache.c (cache_addserv): Likewise.
4027
4028 2012-01-16 Ulrich Drepper <drepper@gmail.com>
4029
4030 * malloc/malloc.c: Various cleanups.
4031 * malloc/hooks.c: Likewise.
4032
4033 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4034 * stdlib/bug-fmtmsg1.c: New file.
4035
4036 * stdlib/fmtmsg.c (init): Add missing unlock.
4037 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4038
4039 2012-01-12 Marek Polacek <polacek@redhat.com>
4040
4041 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4042 and _GNU_SOURCE.
4043
4044 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4045
4046 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4047 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4048 macro to ensure uniqueness of label name.
4049 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4050 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4051
4052 2012-01-11 Ulrich Drepper <drepper@gmail.com>
4053
4054 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4055
4056 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4057 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4058 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4059 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4060
4061 2012-01-10 Ulrich Drepper <drepper@gmail.com>
4062
4063 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4064
4065 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4066 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4067 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4068
4069 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4070
4071 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4072 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4073 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4074 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4075
4076 * math/bits/math-finite.h: Add ldexp support.
4077
4078 2012-01-10 Marek Polacek <polacek@redhat.com>
4079
4080 * locale/programs/localedef.h (show_archive_content): Add noreturn
4081 attribute.
4082
4083 2012-01-09 Ulrich Drepper <drepper@gmail.com>
4084
4085 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4086
4087 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4088
4089 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4090
4091 * io/Makefile (headers): Add bits/poll2.h.
4092
4093 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4094
4095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4096 typo #include statement.
4097
4098 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4099
4100 * include/sys/cdefs.h: Define __attribute_alloc_size.
4101 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4102 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4103 * elf/pldd.c: Likewise.
4104 * iconv/iconv_charmap.c: Likewise.
4105 * iconv/iconvconfig.c: Likewise.
4106 * iconv/strtab.c: Likewise.
4107 * locale/programs/locale.c: Likewise.
4108 * locale/programs/localedef.h: Likewise.
4109 * locale/programs/simple-hash.c: Likewise.
4110 * nscd/nscd.h: Likewise.
4111 * nss/makedb.c: Likewise.
4112 * sysdeps/generic/ldconfig.h: Likewise.
4113 * locale/programs/localedef.c: Remove xmalloc prototype.
4114 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4115
4116 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4117
4118 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4119 appropriate.
4120
4121 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4122
4123 * math/Makefile (tests): Add tst-CMPLX.
4124 * math/tst-CMPLX.c: New file.
4125
4126 * math/complex.h (CMPLXL): Fix typo.
4127
4128 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4129 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4130 GLIBC_2.16.
4131 * debug/tst-chk1.c: Add poll and ppoll tests.
4132 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4133 * include/sys/poll.h: Add hidden proto for ppoll.
4134 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4135 * sysdeps/mach/hurd/ppoll.c: Likewise.
4136 * io/ppoll.c: Likewise.
4137 * debug/poll_chk.c: New file.
4138 * debug/ppoll_chk.c: New file.
4139 * include/bits/poll2.h: New file.
4140 * io/bits/poll2.h: New file.
4141
4142 [BZ #1350]
4143 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4144
4145 * configure.in: static is always set to yes. Remove.
4146 * config.make.in: Don't set build-static.
4147 * Makeconfig: Remove use of build-static.
4148 * dlfcn/Makefile: Likewise.
4149 * elf/Makefile: Likewise.
4150 * math/Makefile: Likewise.
4151 * misc/Makefile: Likewise.
4152 * nptl/Makefile: Likewise.
4153 * sysdeps/mach/hurd/Makefile: Likewise.
4154
4155 * configure.in: PWD_P is not used anymore.
4156 * config.make.in: Remove PWD_P entry.
4157
4158 * configure.in: Remove last remnants of RANLIB.
4159 No need to check for signed size_t anymore.
4160 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4161 and IA-64.
4162 Remove __builtin_expect test because we require at least gcc 3.4.
4163 * aclocal.m4: Likewise.
4164
4165 * wcsmbs/mbrtoc16.c: Implement using towc function.
4166 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4167 * wcsmbs/wcsmbsload.c: Likewise.
4168 * iconv/gconv_simple.c: Likewise.
4169 * iconv/gconv_int.h: Likewise.
4170 * iconv/gconv_builtin.h: Likewise.
4171 * iconv/iconv_prog.c: Remove CHAR16 handling.
4172
4173 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4174
4175 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4176
4177 * configure.in: Remove --with-elf and --enable-bounded options.
4178 Dont set base_machine for ia64. More non-ELF conditions removed.
4179 Remove testing and setting of leading underscore information.
4180 * config.make.in (build-bounded): Set to no.
4181 * config.h.in: Remove NO_UNDERSCORES entry.
4182 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4183 them.
4184 * csu/start.c: Remove !NO_UNDERSCORE code.
4185 * locale/localeinfo.h: Likewise.
4186 * sysdeps/generic/machine-gmon.h: Likewise.
4187 * sysdeps/generic/sysdep.h: Likewise.
4188 * sysdeps/i386/sysdep.h: Likewise.
4189 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4190 * sysdeps/mach/sysdep.h: Likewise.
4191 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4192 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4193 * sysdeps/sh/sysdep.h: Likewise.
4194 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4195 * sysdeps/unix/i386/sysdep.S: Likewise.
4196 * sysdeps/unix/sparc/start.c: Likewise.
4197 * sysdeps/unix/sparc/sysdep.S: Likewise.
4198 * sysdeps/unix/sparc/sysdep.h: Likewise.
4199 * sysdeps/unix/start.c: Likewise.
4200 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4201 * sysdeps/x86_64/sysdep.h: Likewise.
4202
4203 2012-01-07 Ulrich Drepper <drepper@gmail.com>
4204
4205 [BZ #13553]
4206 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4207 for non-gcc.
4208 * argp/argp-fmtstream.h: Use const instead __const.
4209 * argp/argp.h: Likewise.
4210 * assert/assert.h: Likewise.
4211 * bits/fenv.h: Likewise.
4212 * bits/sched.h: Likewise.
4213 * bits/sigset.h: Likewise.
4214 * bits/sigthread.h: Likewise.
4215 * catgets/nl_types.h: Likewise.
4216 * conform/data/pthread.h-data: Likewise.
4217 * crypt/crypt-private.h: Likewise.
4218 * crypt/crypt.h: Likewise.
4219 * crypt/crypt_util.c: Likewise.
4220 * ctype/ctype.h: Likewise.
4221 * debug/execinfo.h: Likewise.
4222 * debug/mbsnrtowcs_chk.c: Likewise.
4223 * debug/mbsrtowcs_chk.c: Likewise.
4224 * debug/wcsnrtombs_chk.c: Likewise.
4225 * debug/wcsrtombs_chk.c: Likewise.
4226 * debug/wcstombs_chk.c: Likewise.
4227 * dirent/dirent.h: Likewise.
4228 * dlfcn/dlfcn.h: Likewise.
4229 * elf/neededtest4.c: Likewise.
4230 * grp/grp.h: Likewise.
4231 * gshadow/gshadow.h: Likewise.
4232 * iconv/gconv.h: Likewise.
4233 * iconv/gconv_int.h: Likewise.
4234 * iconv/gconv_simple.c: Likewise.
4235 * iconv/iconv.h: Likewise.
4236 * iconv/loop.c: Likewise.
4237 * iconv/skeleton.c: Likewise.
4238 * include/aio.h: Likewise.
4239 * include/aliases.h: Likewise.
4240 * include/argz.h: Likewise.
4241 * include/arpa/inet.h: Likewise.
4242 * include/assert.h: Likewise.
4243 * include/dirent.h: Likewise.
4244 * include/dlfcn.h: Likewise.
4245 * include/execinfo.h: Likewise.
4246 * include/fcntl.h: Likewise.
4247 * include/fenv.h: Likewise.
4248 * include/glob.h: Likewise.
4249 * include/grp.h: Likewise.
4250 * include/libintl.h: Likewise.
4251 * include/mntent.h: Likewise.
4252 * include/netdb.h: Likewise.
4253 * include/pwd.h: Likewise.
4254 * include/rpc/netdb.h: Likewise.
4255 * include/sched.h: Likewise.
4256 * include/search.h: Likewise.
4257 * include/shadow.h: Likewise.
4258 * include/signal.h: Likewise.
4259 * include/stdio.h: Likewise.
4260 * include/stdlib.h: Likewise.
4261 * include/string.h: Likewise.
4262 * include/sys/socket.h: Likewise.
4263 * include/sys/stat.h: Likewise.
4264 * include/sys/statfs.h: Likewise.
4265 * include/sys/statvfs.h: Likewise.
4266 * include/sys/syslog.h: Likewise.
4267 * include/sys/time.h: Likewise.
4268 * include/sys/uio.h: Likewise.
4269 * include/time.h: Likewise.
4270 * include/unistd.h: Likewise.
4271 * include/utmp.h: Likewise.
4272 * include/wchar.h: Likewise.
4273 * include/wctype.h: Likewise.
4274 * inet/aliases.h: Likewise.
4275 * inet/arpa/inet.h: Likewise.
4276 * inet/netinet/ether.h: Likewise.
4277 * inet/netinet/in.h: Likewise.
4278 * intl/libintl.h: Likewise.
4279 * io/bits/fcntl2.h: Likewise.
4280 * io/fcntl.h: Likewise.
4281 * io/ftw.h: Likewise.
4282 * io/sys/poll.h: Likewise.
4283 * io/sys/stat.h: Likewise.
4284 * io/sys/statfs.h: Likewise.
4285 * io/sys/statvfs.h: Likewise.
4286 * io/utime.h: Likewise.
4287 * libio/bits/stdio.h: Likewise.
4288 * libio/bits/stdio2.h: Likewise.
4289 * libio/libio.h: Likewise.
4290 * libio/libioP.h: Likewise.
4291 * libio/stdio.h: Likewise.
4292 * locale/lc-ctype.c: Likewise.
4293 * locale/locale.h: Likewise.
4294 * login/utmp.h: Likewise.
4295 * malloc/arena.c: Likewise.
4296 * malloc/malloc.c: Likewise.
4297 * malloc/malloc.h: Likewise.
4298 * malloc/mcheck.c: Likewise.
4299 * malloc/mtrace.c: Likewise.
4300 * math/bits/mathcalls.h: Likewise.
4301 * math/fenv.h: Likewise.
4302 * math/math_private.h: Likewise.
4303 * misc/bits/error.h: Likewise.
4304 * misc/bits/syslog.h: Likewise.
4305 * misc/err.h: Likewise.
4306 * misc/error.h: Likewise.
4307 * misc/fstab.h: Likewise.
4308 * misc/mntent.h: Likewise.
4309 * misc/regexp.h: Likewise.
4310 * misc/search.h: Likewise.
4311 * misc/sgtty.h: Likewise.
4312 * misc/sys/mman.h: Likewise.
4313 * misc/sys/syslog.h: Likewise.
4314 * misc/sys/uio.h: Likewise.
4315 * misc/sys/xattr.h: Likewise.
4316 * misc/ttyent.h: Likewise.
4317 * nis/rpcsvc/ypclnt.h: Likewise.
4318 * nss/nss.h: Likewise.
4319 * posix/bits/unistd.h: Likewise.
4320 * posix/fnmatch.h: Likewise.
4321 * posix/glob.h: Likewise.
4322 * posix/sched.h: Likewise.
4323 * posix/spawn.h: Likewise.
4324 * posix/sys/wait.h: Likewise.
4325 * posix/unistd.h: Likewise.
4326 * posix/wordexp.h: Likewise.
4327 * pwd/pwd.h: Likewise.
4328 * resolv/netdb.h: Likewise.
4329 * resource/sys/resource.h: Likewise.
4330 * rt/aio.h: Likewise.
4331 * rt/bits/mqueue2.h: Likewise.
4332 * rt/mqueue.h: Likewise.
4333 * shadow/shadow.h: Likewise.
4334 * signal/signal.h: Likewise.
4335 * socket/send.c: Likewise.
4336 * socket/sendto.c: Likewise.
4337 * socket/sys/socket.h: Likewise.
4338 * stdio-common/printf.h: Likewise.
4339 * stdlib/bits/stdlib.h: Likewise.
4340 * stdlib/fmtmsg.h: Likewise.
4341 * stdlib/monetary.h: Likewise.
4342 * stdlib/stdlib.h: Likewise.
4343 * stdlib/ucontext.h: Likewise.
4344 * streams/stropts.h: Likewise.
4345 * string/argz.h: Likewise.
4346 * string/bits/string2.h: Likewise.
4347 * string/string.h: Likewise.
4348 * string/strings.h: Likewise.
4349 * sunrpc/rpc/auth.h: Likewise.
4350 * sunrpc/rpc/auth_des.h: Likewise.
4351 * sunrpc/rpc/clnt.h: Likewise.
4352 * sunrpc/rpc/netdb.h: Likewise.
4353 * sunrpc/rpc/pmap_clnt.h: Likewise.
4354 * sunrpc/rpc/xdr.h: Likewise.
4355 * sysdeps/generic/inttypes.h: Likewise.
4356 * sysdeps/generic/net/if.h: Likewise.
4357 * sysdeps/generic/sys/swap.h: Likewise.
4358 * sysdeps/gnu/net/if.h: Likewise.
4359 * sysdeps/gnu/utmpx.h: Likewise.
4360 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4361 * sysdeps/i386/i486/bits/string.h: Likewise.
4362 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4363 * sysdeps/s390/bits/string.h: Likewise.
4364 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4365 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4366 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4367 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4368 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4369 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4370 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4371 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4372 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4373 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4374 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4375 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4376 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4377 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4378 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4379 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4380 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4381 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4382 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4383 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4384 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4385 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4386 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4387 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4388 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4389 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4390 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4391 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4392 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4393 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4394 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4395 * sysvipc/sys/ipc.h: Likewise.
4396 * sysvipc/sys/msg.h: Likewise.
4397 * sysvipc/sys/sem.h: Likewise.
4398 * sysvipc/sys/shm.h: Likewise.
4399 * termios/termios.h: Likewise.
4400 * time/sys/time.h: Likewise.
4401 * time/time.h: Likewise.
4402 * wcsmbs/bits/wchar2.h: Likewise.
4403 * wcsmbs/uchar.h: Likewise.
4404 * wcsmbs/wchar.h: Likewise.
4405 * wctype/wctype.h: Likewise.
4406
4407 [BZ #13551]
4408 * Makeconfig: Remove all but ELF support including AIX support.
4409 * Makerules: Likewise.
4410 * config.h.in: Likewise.
4411 * config.make.in: Likewise.
4412 * configure: Likewise.
4413 * configure.in: Likewise.
4414 * csu/Makefile: Likewise.
4415 * csu/version.c: Likewise.
4416 * debug/Makefile: Likewise.
4417 * dlfcn/Makefile: Likewise.
4418 * elf/Makefile: Likewise.
4419 * extra-lib.mk: Likewise.
4420 * iconv/Makefile: Likewise.
4421 * include/libc-symbols.h: Likewise.
4422 * include/shlib-compat.h: Likewise.
4423 * resolv/Makefile: Likewise.
4424 * resolv/res_libc.c: Likewise.
4425 * rt/Makefile: Likewise.
4426 * sysdeps/i386/asm-syntax.h: Likewise.
4427 * sysdeps/i386/sysdep.h: Likewise.
4428 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4429 * sysdeps/mach/sysdep.h: Likewise.
4430 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4431 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4432 * sysdeps/s390/asm-syntax.h: Likewise.
4433 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4434 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4435 * sysdeps/sh/sysdep.h: Likewise.
4436 * sysdeps/unix/sparc/sysdep.h: Likewise.
4437 * sysdeps/wordsize-32/divdi3.c: Likewise.
4438 * sysdeps/x86_64/sysdep.h: Likewise.
4439
4440 * argp/Versions: Remove _argp_unlock_xxx.
4441
4442 [BZ #13559]
4443 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4444 * abilist/libBrokenLocale.abilist: Likewise.
4445 * abilist/libanl.abilist: Likewise.
4446 * abilist/libc.abilist: Likewise.
4447 * abilist/libcrypt.abilist: Likewise.
4448 * abilist/libdl.abilist: Likewise.
4449 * abilist/libm.abilist: Likewise.
4450 * abilist/libnsl.abilist: Likewise.
4451 * abilist/libpthread.abilist: Likewise.
4452 * abilist/libresolv.abilist: Likewise.
4453 * abilist/librt.abilist: Likewise.
4454 * abilist/libthread_db.abilist: Likewise.
4455 * abilist/libutil.abilist: Likewise.
4456 * abilist/libnss_db.abilist: New file.
4457
4458 * scripts/abilist.awk: Add support for indirect functions.
4459
4460 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4461
4462 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4463
4464 * shlib-versions: Remove entries for ports architectures.
4465
4466 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4467 files in ports.
4468 * elf/stackguard-macros.h: Remove support for IA-64.
4469 * elf/tst-auditmod1.c: Likewise.
4470 * sysdeps/generic/ldsodefs.h: Likewise.
4471
4472 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4473 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4474 configure files.
4475
4476 [BZ #13552]
4477 * configure.in: Remove --enable-omitfp support.
4478 * FAQ.in: Adjust.
4479 * config.make.in: Likewise.
4480 * Makeconfig: Likewise.
4481 * manual/install.texi: Likewise.
4482
4483 In case anyone cares, the IA-64 architecture could move to ports.
4484 * sysdeps/ia64/*: Removed.
4485 * sysdeps/unix/sysv/linux/ia64/*: Removed.
4486 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4487
4488 [BZ #13555]
4489 * configure.in: Remove entries for unsupported architectures.
4490
4491 [BZ #13533]
4492 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4493 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4494 routines.
4495 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4496 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4497 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4498 fall back to using wcrtomb.
4499 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4500 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4501 renaming.
4502 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4503 * wcsmbs/tst-c16c32-1.c: New file.
4504
4505 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4506 local variable.
4507
4508 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4509
4510 * elf/tst-unique3.cc: Add explicit declaration of gets.
4511 * elf/tst-unique3lib.cc: Likewise.
4512 * elf/tst-unique3lib2.cc: Likewise.
4513 * elf/tst-unique4.cc: Likewise.
4514
4515 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4516
4517 2012-01-06 Joseph Myers <joseph@codesourcery.com>
4518
4519 [BZ #13566]
4520 * assert/assert.h (static_assert): Don't define for C++.
4521 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4522 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4523
4524 2012-01-03 Ulrich Drepper <drepper@gmail.com>
4525
4526 * iconv/loop.c (single loop): Fix assertion in storing of
4527 remaining bytes.
4528
4529 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4530
4531 2012-01-01 Ulrich Drepper <drepper@gmail.com>
4532
4533 * posix/getconf.c: Update copyright year.
4534 * nss/getent.c: Likewise.
4535 * nss/makedb.c: Likewise.
4536 * iconv/iconvconfig.c: Likewise.
4537 * iconv/iconv_prog.c: Likewise.
4538 * elf/ldconfig.c: Likewise.
4539 * elf/pldd.c: Likewise.
4540 * elf/sotruss.ksh: Likewise.
4541 * catgets/gencat.c: Likewise.
4542 * csu/version.c: Likewise.
4543 * elf/ldd.bash.in: Likewise.
4544 * elf/sprof.c (print_version): Likewise.
4545 * locale/programs/locale.c: Likewise.
4546 * locale/programs/localedef.c: Likewise.
4547 * login/programs/pt_chown.c: Likewise.
4548 * nscd/nscd.c (print_version): Likewise.
4549 * debug/xtrace.sh: Likewise.
4550 * malloc/memusage.sh: Likewise.
4551 * malloc/mtrace.pl: Likewise.
4552 * debug/catchsegv.sh: Likewise.
4553
4554 2011-12-30 Jakub Jelinek <jakub@redhat.com>
4555
4556 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4557 pure attribute.
4558
4559 2011-12-24 Ulrich Drepper <drepper@gmail.com>
4560
4561 [BZ #13533]
4562 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4563 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4564 transformations.
4565 * iconv/gconv_int.h: Likewise.
4566 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4567 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4568 from libc for GLIBC_2.16.
4569 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4570 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4571 * wcsmbs/uchar.h: Really define mbstate_t.
4572 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4573 * wcsmbs/c16rtomb.c: New file.
4574 * wcsmbs/mbrtoc16.c: New file.
4575 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4576 for C/POSIX locale.
4577 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4578 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4579
4580 * wcsmbs/wchar.h: Add missing __restrict.
4581
4582 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4583
4584 [BZ #13532]
4585 * time/Makefile (routines): Add timespec_get.
4586 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4587 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4588 timespec for ISO C11.
4589 * time/timespec_get.c: New file.
4590 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4591 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4592
4593 [BZ #13531]
4594 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4595 * stdlib/stdlib.h: Declare aligned_alloc.
4596 * Versions.def: Add GLIBC_2.16 for libc.
4597 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4598
4599 [BZ 13527]
4600 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4601 ISO C11.
4602
4603 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4604 code.
4605
4606 [BZ #13528]
4607 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4608
4609 [BZ #13529]
4610 * assert/assert.h (static_assert): Define.
4611
4612 * version.h: Update for 2.16 development version.
4613
4614 [BZ #13526]
4615 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4616 _ISOC11_SOURCE.
4617
4618 * version.h (RELEASE): Bump for 2.15 release.
4619 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4620
4621 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4622 Patch by Marek Polacek <mpolacek@redhat.com>.
4623
4624 * bits/byteswap.h: Protect long long constants with __extension__.
4625 * sysdeps/i386/bits/byteswap.h: Likewise.
4626 * sysdeps/ia64/bits/byteswap.h: Likewise.
4627 * sysdeps/s390/bits/byteswap.h: Likewise.
4628 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4629
4630 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4631
4632 [BZ #13540]
4633 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4634 destination buffer.
4635 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4636
4637 2011-12-23 Marek Polacek <polacek@redhat.com>
4638
4639 * elf/dl-addr.c (determine_info): Add inline keyword.
4640 * elf/tst-auditmod4b.c (check_avx): Likewise.
4641 * elf/tst-auditmod6b.c (check_avx): Likewise.
4642 * elf/tst-auditmod6c.c (check_avx): Likewise.
4643 * elf/tst-auditmod7b.c (check_avx): Likewise.
4644
4645 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4646
4647 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4648 !__SSE_MATH__.
4649
4650 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4651
4652 [BZ #13540]
4653 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4654 processing for last bytes.
4655
4656 2011-08-06 Bruno Haible <bruno@clisp.org>
4657
4658 [BZ #13061]
4659 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4660 U+0385, not to U+1FEE.
4661
4662 [BZ #13062]
4663 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4664 entry for U+00A5 U+0301.
4665
4666 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4667
4668 [BZ #13166]
4669 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4670 buffer for the output is too small.
4671
4672 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4673 optimization.
4674
4675 [BZ #13185]
4676 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4677 SSE flags if possible.
4678
4679 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4680
4681 [BZ #13540]
4682 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4683 processing for last bytes.
4684
4685 2011-12-22 Joseph Myers <joseph@codesourcery.com>
4686
4687 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4688 (syscall-list-default-options, syscall-list-default-condition)
4689 (syscall-list-includes): Define.
4690 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4691 list of ABIs and options and #if conditions for each ABI. Do not
4692 handle common syscalls between ABIs specially.
4693 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4694 Remove.
4695 (syscall-list-variants, syscall-list-32bit-options)
4696 (syscall-list-32bit-condition, syscall-list-64bit-options)
4697 (syscall-list-64bit-condition): Define.
4698 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4699 (syscall-list-variants, syscall-list-32bit-options)
4700 (syscall-list-32bit-condition, syscall-list-64bit-options)
4701 (syscall-list-64bit-condition): Define.
4702 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4703 Remove.
4704 (syscall-list-variants, syscall-list-32bit-options)
4705 (syscall-list-32bit-condition, syscall-list-64bit-options)
4706 (syscall-list-64bit-condition): Define.
4707 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4708 Remove.
4709 (syscall-list-variants, syscall-list-32bit-options)
4710 (syscall-list-32bit-condition, syscall-list-64bit-options)
4711 (syscall-list-64bit-condition): Define.
4712
4713 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4714
4715 * locale/iso-639.def: Add brx entry.
4716
4717 [BZ #13328]
4718 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4719 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4720
4721 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4722 __feraiseexcept_renamed.
4723
4724 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4725
4726 [BZ #13538]
4727 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4728 EPOLLET with unsigned values.
4729 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4730 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4731
4732 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4733 to large cancellation.
4734 * math/s_cacoshf.c: Likewise.
4735 * math/s_cacoshl.c: Likewise.
4736
4737 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4738
4739 [BZ #13305]
4740 [BZ #12786]
4741 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4742 * math/s_cacoshf.c: Likewise.
4743 * math/s_cacoshl.c: Likewise.
4744
4745 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4746
4747 [BZ #13439]
4748 * iconv/gconv.h: Define __GCONV_SWAP.
4749 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4750 * iconvdata/utf-16.c: Likewise.
4751 * iconvdata/utf-32.c: Likewise.
4752
4753 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4754
4755 [BZ #13524]
4756 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4757 numerator after shifting it by one limb.
4758
4759 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4760
4761 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4762 under [__USE_EXTERN_INLINES].
4763
4764 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4765
4766 [BZ #13446]
4767 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4768
4769 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4770
4771 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4772 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4773 optimized code.
4774 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4775 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4776 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4777 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4778 for strncasecmp/strncasecmp_l compilation.
4779 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4780 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4781
4782 2011-12-08 Marek Polacek <mpolacek@redhat.com>
4783
4784 [BZ #13484]
4785 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4786 of __asm__.
4787
4788 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4789
4790 [BZ #13506]
4791 * time/tzfile.c (__tzfile_read): Check values from file header.
4792
4793 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4794
4795 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4796 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4797 * powerpc/powerpc32/dl-start.S: Likewise.
4798 * powerpc/powerpc32/elf/start.S: Likewise.
4799 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4800 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4801 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4802 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4803 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4804 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4805 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4806 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4807 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4808 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4809 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4810 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4811 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4812 * powerpc/powerpc32/memset.S: Likewise.
4813 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4814 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4815 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4816 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4817 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4818 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4819 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4820 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4821 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4822 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4823 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4824 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4825 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4826
4827 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4828
4829 * math/libm-test.inc: Added more nearbyint tests.
4830 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4831 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4832 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4833 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4834
4835 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4836
4837 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4838 FD_CLOEXEC.
4839
4840 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4841
4842 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4843 Add wcscpy-ssse3 wcscpy-c.
4844 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4845 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4846 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4847 * sysdeps/x86_64/wcschr.S: New file.
4848 * sysdeps/x86_64/wcsrchr.S: New file.
4849 * string/test-strcmp.c: Remove checking of wcscmp function for
4850 wrong alignments.
4851 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4852 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4853 wcsrchr-sse2 wcsrchr-c.
4854 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4855 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4856 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4857 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4858 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4859 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4860 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4861 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4862 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4863 * wcsmbc/wcschr.c (WCSCHR): New macro.
4864
4865 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4866
4867 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4868 * wcsmbs/test-wcsrchr.c: New file.
4869 * string/test-strrchr.c: Add wcsrchr support.
4870 (WIDE): New macro.
4871 * wcsmbs/test-wcscpy.c: New file.
4872 * string/test-strcpy.c: Add wcscpy support.
4873 (WIDE): New macro.
4874
4875 2011-12-10 Ulrich Drepper <drepper@gmail.com>
4876
4877 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4878 the inner loop.
4879
4880 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4881
4882 [BZ #13472]
4883 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4884
4885 2011-12-04 Ulrich Drepper <drepper@gmail.com>
4886
4887 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
4888 Minor optimizations.
4889
4890 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4891 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4892 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4893
4894 2011-12-03 Ulrich Drepper <drepper@gmail.com>
4895
4896 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4897 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4898 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4899 for gcc to avoid warnings.
4900 * inet/Makefile (tests): Add tst-checks.
4901 * inet/tst-checks.c: New file.
4902
4903 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4904 warning.
4905
4906 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4907 __wmemcmp_sse2.
4908
4909 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4910 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4911
4912 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4913
4914 2011-12-02 Ulrich Drepper <drepper@gmail.com>
4915
4916 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4917 problem.
4918
4919 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4920
4921 2011-11-29 Joseph Myers <joseph@codesourcery.com>
4922
4923 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4924 conditional on GCC version.
4925 (__arch_compare_and_exchange_val_8_acq)
4926 (__arch_compare_and_exchange_val_16_acq)
4927 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4928 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4929 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4930
4931 2011-12-02 Joseph Myers <joseph@codesourcery.com>
4932
4933 * sysdeps/sh/backtrace.c: New file.
4934
4935 2011-12-02 Andreas Schwab <schwab@redhat.com>
4936
4937 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4938 parenthesis.
4939
4940 2011-12-01 Andreas Schwab <schwab@redhat.com>
4941
4942 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4943 falling back to utime.
4944
4945 2011-11-30 Andreas Schwab <schwab@redhat.com>
4946
4947 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4948 expectations for float.
4949
4950 2011-11-29 Andreas Schwab <schwab@redhat.com>
4951
4952 * locale/weight.h (findidx): Add parameter len.
4953 * locale/weightwc.h (findidx): Likewise.
4954 * posix/fnmatch_loop.c (FCT): Adjust caller.
4955 * posix/regcomp.c (build_equiv_class): Likewise.
4956 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4957 * posix/regexec.c (check_node_accept_bytes): Likewise.
4958 * string/strcoll_l.c (STRCOLL): Likewise.
4959 * string/strxfrm_l.c (STRXFRM): Likewise.
4960
4961 2011-11-17 Ulrich Drepper <drepper@gmail.com>
4962
4963 * Makefile.in: Remove CVSOPT handling.
4964 * configure.in: Remove use of AC_REVISION.
4965 * iconvdata/Makefile (distribute): No need to filter out CVS.
4966 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4967 handling.
4968
4969 2011-11-16 Andreas Schwab <schwab@redhat.com>
4970
4971 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4972 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4973 [USE_AS_STRNCASECMP_L]: Likewise.
4974 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4975 NO_TLS_DIRECT_SEG_REFS.
4976 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4977 Fix argument offsets for non-PIC.
4978 [USE_AS_STRNCASECMP_L]: Likewise.
4979 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4980 NO_TLS_DIRECT_SEG_REFS.
4981
4982 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4983
4984 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
4985 O_CLOEXEC.
4986 * locale/loadlocale.c (_nl_load_locale): Likewise.
4987
4988 2011-11-15 Andreas Schwab <schwab@redhat.com>
4989
4990 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4991 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4992 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4993 (SYSCALL_GETTIME): Set errno on error.
4994
4995 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4996 count references to noai6ai_cached.
4997
4998 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4999
5000 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5001
5002 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5003 FD_CLOEXEC for /proc/self/maps.
5004
5005 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5006 FD_CLOEXEC for /proc/meminfo.
5007
5008 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5009 gai.conf.
5010
5011 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5012 FD_CLOEXEC for given file.
5013
5014 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5015
5016 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5017 FD_CLOEXEC for /etc/hosts.
5018 (_gethtent): Likewise.
5019
5020 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5021
5022 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5023 cancellation and set FD_CLOEXEC for /etc/netgroup.
5024
5025 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5026 reading /etc/publickey.
5027
5028 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5029 allow cancellation when reading /etc/group.
5030
5031 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5032 cancellation.
5033 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5034
5035 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5036 when using data file.
5037
5038 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5039
5040 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5041 (write_nis_obj): Use "c" and "e" in fopen.
5042
5043 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5044
5045 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5046
5047 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5048
5049 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5050
5051 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5052 locale.alias.
5053
5054 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5055
5056 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5057
5058 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5059
5060 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5061 file parsing and set FD_CLOEXEC.
5062
5063 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5064
5065 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5066
5067 2011-11-14 Andreas Schwab <schwab@redhat.com>
5068
5069 * malloc/arena.c (arena_get2): Don't call reused_arena when
5070 _int_new_arena failed.
5071
5072 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5073
5074 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5075 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5076 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5077 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5078 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5079 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5080 to compile strcasecmp and strncasecmp.
5081 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5082 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5083
5084 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5085
5086 2011-11-13 Ulrich Drepper <drepper@gmail.com>
5087
5088 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5089 locale-defines.sym to gen-as-const-headers.
5090 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5091 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5092 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5093 to compile strcasecmp and strncasecmp.
5094 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5095 strcasecmp_l and strncasecmp_l.
5096 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5097 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5098 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5099 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5100 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5101 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5102 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5103 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5104 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5105 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5106 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5107
5108 2011-11-12 Ulrich Drepper <drepper@gmail.com>
5109
5110 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5111 result of SYSDEP_GETTIME_CPU to retval.
5112 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5113 parameter list to macro. Remove trailing semicolon. Adjust users.
5114
5115 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5116 variable.
5117
5118 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5119 mantissa words.
5120 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5121
5122 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5123 from unused variable.
5124
5125 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5126 DWARF definitions.
5127 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5128 for assembling.
5129
5130 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5131 over namespaces.
5132
5133 * sunrpc/rpc_prot.c (rejected): Fix case value.
5134
5135 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5136 unsigned long long int to avoid warnings in shift.
5137
5138 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5139 of use of trans.
5140 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5141 variable tmp.
5142
5143 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5144 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5145 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5146
5147 * nis/nis_table.c (nis_list): Use variable of correct type for
5148 result of __follow_path call.
5149
5150 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5151
5152 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5153 of math functions ceil, trunc, floor, round, and sqrt, when
5154 avaliable on the platform.
5155 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5156 name clash.
5157 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5158 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5159 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5160
5161 2011-10-30 Marek Polacek <mpolacek@redhat.com>
5162
5163 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5164 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5165
5166 2011-11-11 Roland McGrath <roland@hack.frob.com>
5167
5168 * include/unistd.h: Fix __readlink return type.
5169 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5170
5171 2011-11-11 Ulrich Drepper <drepper@gmail.com>
5172
5173 * stdlib/ucontext.h: Undo last change for makecontext.
5174
5175 2011-11-11 Andreas Schwab <schwab@redhat.com>
5176
5177 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5178
5179 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5180 * setjmp/setjmp.h: Mark functions as non-leaf.
5181 * setjmp/bits/setjmp2.h: Likewise.
5182 * stdlib/ucontext.h: Likewise.
5183
5184 2011-11-10 Andreas Schwab <schwab@redhat.com>
5185
5186 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5187 (reused_arena): Don't check arena limit.
5188 (arena_get2): Atomically check arena limit.
5189
5190 2011-11-08 Ulrich Drepper <drepper@gmail.com>
5191
5192 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5193 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5194
5195 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5196 instructions.
5197
5198 2011-11-07 Andreas Schwab <schwab@redhat.com>
5199
5200 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5201 handler when locking.
5202
5203 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5204 Fix size of allocated buffer.
5205
5206 2011-11-04 Andreas Schwab <schwab@redhat.com>
5207
5208 [BZ #10103]
5209 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5210 declarations for long double functions.
5211 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5212
5213 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5214
5215 2011-11-03 Andreas Schwab <schwab@redhat.com>
5216
5217 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5218 installed.
5219
5220 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5221 is disabled.
5222
5223 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5224
5225 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5226
5227 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5228
5229 * include/alloca.h (stackinfo_alloca_round): Define.
5230 (extend_alloca): Use it.
5231 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5232 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5233 here.
5234
5235 * scripts/check-local-headers.sh: Ignore libaudit.h.
5236
5237 * nscd/Makefile (extra-objs): Make recursively expanded.
5238
5239 2011-11-01 Ulrich Drepper <drepper@gmail.com>
5240
5241 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5242 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5243
5244 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5245 * posix/tst-rfc3484-2.c: Likewise.
5246 * posix/tst-rfc3484-3.c: Likewise.
5247
5248 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5249 process_vm_writev.
5250 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5251 process_vm_writev.
5252 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5253 process_vm_writev from libc using GLIBC_2.15 version.
5254
5255 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5256
5257 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5258
5259 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5260 stack usage.
5261
5262 2011-10-31 Ulrich Drepper <drepper@gmail.com>
5263
5264 [BZ #13367]
5265 * nss/getent.c (initgroups_keys): Show error message in case no group
5266 names are given.
5267
5268 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5269 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5270 __bump_nl_timestamp.
5271 * nscd/connections (nscd_init): When host database is served open
5272 netlink socket and request notification about configuration changes.
5273 (main_loop_poll): Track netlink file descriptor and bump timestamp
5274 in case data becomes available.
5275 (main_loop_epoll): Likewise.
5276 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5277 (database_pers_head): Add extra_data fileds.
5278 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5279 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5280 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5281 Adjust caller.
5282 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5283 in6ai data, call __free_in6ai.
5284 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5285 Add -DHAVE_NETLINK.
5286 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5287 interface information. Reuse previous data if netlink timestamp
5288 is not changed.
5289 (__bump_nl_timestamp): New function.
5290 (__free_in6ai): New function.
5291
5292 2011-10-30 Ulrich Drepper <drepper@gmail.com>
5293
5294 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5295 close_not_cancel_no_status here.
5296 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5297
5298 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5299
5300 [BZ #13276]
5301 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5302 return value.
5303
5304 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5305 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5306 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5307
5308 2011-07-03 Andreas Jaeger <aj@suse.de>
5309
5310 [BZ #10709]
5311 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5312 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5313 * math/libm-test.inc (sin_test): Add test case.
5314
5315 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5316
5317 [BZ #13337]
5318 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5319 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5320
5321 * elf/chroot_canon.c (chroot_canon): Cleanups.
5322
5323 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5324
5325 [BZ #13335]
5326 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5327 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5328
5329 * string/test-strchr.c: Make usable for strchrnul testing.
5330 * string/test-strchrnul.c: New file.
5331 * string/Makefile (strop-tests): Add strchrnul.
5332
5333 * po/it.po: Update from translation team.
5334 * po/es.po: Likewise.
5335
5336 2011-10-28 Ulrich Drepper <drepper@gmail.com>
5337
5338 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5339 the three constants needed as parameters. Drop the others.
5340 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5341 __m128i_strloadu_tolower.
5342 Create and initialize variable zero and use it in all the places
5343 where _mm_setzero_si128 was used.
5344
5345 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5346 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5347 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5348 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5349 anymore.
5350 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5351 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5352 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5353 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5354 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5355 __mpranred, __mptan.
5356 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5357 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5358 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5359 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5360 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5361 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5362 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5363 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5364 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5365
5366 2011-10-28 Andreas Schwab <schwab@redhat.com>
5367
5368 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5369 redefine if SHARED.
5370 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5371
5372 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5373 wide char related routines to wcsmbs subdir.
5374
5375 2011-10-27 Andreas Schwab <schwab@redhat.com>
5376
5377 [BZ #13344]
5378 * misc/sys/cdefs.h (__THROWNL): Define.
5379 * posix/unistd.h: Use __THREADNL instead of __THREAD
5380 for memory synchronization functions.
5381
5382 2011-10-26 Roland McGrath <roland@hack.frob.com>
5383
5384 [BZ #13349]
5385 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5386 doesn't exist.
5387 * manual/stdio.texi (Obstack Streams): Node removed.
5388
5389 2011-10-26 Andreas Schwab <schwab@redhat.com>
5390
5391 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5392 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5393 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5394
5395 * math/math_private.h (math_force_eval): Allow non-addressable
5396 arguments.
5397 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5398
5399 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5400
5401 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5402 file is not needed.
5403
5404 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5405 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5406 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5407 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5408 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5409 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5410 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5411 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5412 Add AVX variants.
5413 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5414 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5415 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5416 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5417 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5418 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5419 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5420 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5421 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5422 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5423 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5424 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5425 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5426 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5427 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5428 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5429 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5430 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5431 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5432
5433 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5434 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5435
5436 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5437 place. Use VEX encoding when compiling for AVX.
5438
5439 2011-10-25 Andreas Schwab <schwab@redhat.com>
5440
5441 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5442 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5443
5444 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5445
5446 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5447
5448 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5449 useless if() expression.
5450 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5451 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5452 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5453 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5454 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5455 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5456 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5457 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5458 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5459 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5460 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5461 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5462 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5463 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5464 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5465 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5466 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5467 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5468 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5469
5470 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5471
5472 2011-10-25 Andreas Schwab <schwab@redhat.com>
5473
5474 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5475 condition.
5476 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5477
5478 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5479
5480 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5481 .text section. Avoid duplicate constants.
5482 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5483 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5484 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5485 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5486 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5487 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5488 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5489 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5490 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5491 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5492 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5493 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5494 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5495 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5496 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5497 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5498 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5499 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5500 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5501 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5502 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5503 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5504 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5505 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5506 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5507 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5508 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5509 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5510 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5511 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5512 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5513 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5514 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5515 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5516 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5517 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5518 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5519 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5520 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5521 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5522 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5523 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5524 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5525 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5526 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5527
5528 2011-10-24 Ulrich Drepper <drepper@gmail.com>
5529
5530 * sysdeps/x86_64/dla.h: Move to ...
5531 * sysdeps/x86_64/fpu/dla.h: ...here.
5532 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5533 situations. Use __builtin_fma only for gcc 4.6 and up.
5534
5535 * config.make.in: Add have-mfma4 entry.
5536 * configure.in: Substitute libc_cv_cc_fma4.
5537 * math/Makefile (dbl-only-routines): Add sincostab.
5538 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5539 Use __sincostab not sincos.
5540 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5541 name is a macro.
5542 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5543 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5544 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5545 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5546 using __copysign.
5547 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5548 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5549 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5550 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5551 and __inv.
5552 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5553 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5554 __copysign.
5555 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5556 define aliases when function name is a macro.
5557 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5558 sysdeps/ieee754/dbl-64/sincos.tbl.
5559 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5560 fma4-enabled routines.
5561 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5562 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5563 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5564 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5565 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5566 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5567 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5568 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5569 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5570 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5571 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5572 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5573 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5574 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5575 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5576 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5577 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5578 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5579 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5580 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5581 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5582 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5583 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5584 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5585 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5586 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5587 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5588 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5589 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5590 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5591
5592 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5593 rename.
5594 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5595 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5596 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5597 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5598 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5599 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5600 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5601 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5602
5603 2011-10-24 Andreas Schwab <schwab@redhat.com>
5604
5605 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5606
5607 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5608
5609 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5610
5611 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5612 prediction.
5613 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5614
5615 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5616 Remove unused variable magic_bits.
5617 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5618
5619 * string/strnlen.c: Define and use STRNLEN macro.
5620 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5621 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5622 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5623 * wcsmbs/wcslen.c: Define and use WCSLEN.
5624 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5625 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5626 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5627 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5628 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5629 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5630 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5631
5632 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5633
5634 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5635 strnlen-sse2-no-bsf.
5636 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5637 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5638 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5639 Add strnlen support.
5640 (USE_AS_STRNLEN): New macro.
5641 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5642 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5643 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5644 * sysdeps/x86_64/wcslen.S: New file.
5645
5646 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5647
5648 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5649 XMM-moves are used for copying on small sizes.
5650
5651 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5652
5653 * wcsmbs/Makefile (strop-tests): Add wcschr.
5654 * wcsmbs/test-wcschr.c: New file.
5655 * string/test-strchr.c: Update.
5656 Add wcschr support.
5657 (WIDE): New macro.
5658
5659 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5660
5661 * wcsmbs/Makefile (strop-tests): Add wcslen.
5662 * wcsmbs/test-wcslen.c: New file.
5663 * string/test-strlen.c: Update.
5664 Add wcslen support.
5665 (WIDE): New macro.
5666
5667 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5668
5669 * po/it.po: Update from translation team.
5670
5671 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5672
5673 * sysdeps/x86_64/wcscmp.S: Update.
5674 Fix wrong comparison semantics.
5675 wcscmp shall use signed comparison not unsigned.
5676 Don't use substraction to avoid overflow bug.
5677 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5678 * wcsmbc/wcscmp.c: Likewise.
5679 * string/test-strcmp.c: Likewise.
5680 Add new tests to check cases with negative values.
5681
5682 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5683
5684 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5685 * sysdeps/x86_64/dla.h: ...here. New file.
5686 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5687 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5688 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5689 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5690 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5691 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5692 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5693 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5694 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5695
5696 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5697
5698 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5699 __ynl_finite aliases.
5700
5701 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5702
5703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5704
5705 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5706 define DLA_FMA.
5707 [DLA_FMA] (EMULV): Use DLA_FMA.
5708 [DLA_FMA] (MUL12): Use EMULV.
5709 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5710 that are not needed.
5711 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5712 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5713 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5714 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5715 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5716 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5717 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5718
5719 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5720
5721 * math/s_nan.c: Undef __nan.
5722 * math/s_nanf.c: Undef __nanf.
5723 * math/s_nanl.c: Undef __nanl.
5724 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5725 "math_private.h".
5726
5727 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5728
5729 * math/s_catan.c: Add branch predictions.
5730 * math/s_catanf.c: Likewise.
5731 * math/s_catanh.c: Likewise.
5732 * math/s_catanhf.c: Likewise.
5733 * math/s_catanhl.c: Likewise.
5734 * math/s_catanl.c: Likewise.
5735 * math/s_cexp.c: Likewise.
5736 * math/s_cexpf.c: Likewise.
5737 * math/s_cexpl.c: Likewise.
5738 * math/s_clog.c: Likewise.
5739 * math/s_clog10.c: Likewise.
5740 * math/s_clog10f.c: Likewise.
5741 * math/s_clog10l.c: Likewise.
5742 * math/s_clogf.c: Likewise.
5743 * math/s_clogl.c: Likewise.
5744 * math/s_csqrt.c: Likewise.
5745 * math/s_csqrtf.c: Likewise.
5746 * math/s_csqrtl.c: Likewise.
5747 * math/s_ctanf.c: Likewise.
5748 * math/s_ctanh.c: Likewise.
5749 * math/s_ctanhf.c: Likewise.
5750 * math/s_ctanhl.c: Likewise.
5751 * math/s_ctanl.c: Likewise.
5752
5753 * math/math_private.h: Define __nan, __nanf, __nanl.
5754 * math/s_cacosh.c: Include <math_private.h>.
5755 * math/s_cacoshl.c: Likewise.
5756 * math/s_casinh.c: Likewise.
5757 * math/s_casinhf.c: Likewise.
5758 * math/s_casinhl.c: Likewise.
5759 * math/s_ccos.c: Rely entire on ccosh.
5760 * math/s_ccosf.c: Rely entire on ccoshf.
5761 * math/s_ccosl.c: Rely entirely on ccoshl.
5762 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5763 Remove tests for FE_INVALID.
5764 * math/s_ccoshf.c: Likewise.
5765 * math/s_ccoshl.c: Likewise.
5766 * math/s_csin.c: Likewise.
5767 * math/s_csinf.c: Likewise.
5768 * math/s_csinh.c Likewise.
5769 * math/s_csinhf.c: Likewise.
5770 * math/s_csinhl.c: Likewise.
5771 * math/s_csinl.c: Likewise.
5772 * math/s_ctan.c: Likewise.
5773 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5774 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5775 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5776
5777 2011-10-21 Ulrich Drepper <drepper@gmail.com>
5778
5779 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5780 compilation problems.
5781
5782 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5783 __builtin_expect.
5784
5785 2011-10-20 Ulrich Drepper <drepper@gmail.com>
5786
5787 * sysdeps/i386/configure.in: Test for -mfma4 option.
5788 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5789 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5790 COMMON_CPUID_INDEX_80000001.
5791 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5792 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5793 use it if FMA3 is not supported.
5794 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5795
5796 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5797 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5798
5799 2011-10-20 Andreas Schwab <schwab@redhat.com>
5800
5801 [BZ #12892]
5802 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5803 it would create a cycle with a link time dependency.
5804
5805 2011-10-19 Ulrich Drepper <drepper@gmail.com>
5806
5807 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5808 instruction.
5809 * string/Makefile (strop-tests): Add rawmemchr.
5810 * string/test-rawmemchr.c: New file.
5811
5812 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5813 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5814 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5815 when compiling str{,n}casecmp and when AVX is available. Hook up
5816 new optimized code in initializers.
5817
5818 2011-10-19 Andreas Schwab <schwab@redhat.com>
5819
5820 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5821 __feraiseexcept instead of feraiseexcept.
5822
5823 2011-10-18 Ulrich Drepper <drepper@gmail.com>
5824
5825 * math/math_private.h: Define defaults for libc_fetestexcept and
5826 libc_feupdateenv.
5827 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5828 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5829 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5830 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5831 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5832 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5833 libc_fetestexcept and libc_feupdateenv.
5834
5835 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5836 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5837 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5838 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5839 libc_feholdexcept_setround.
5840
5841 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5842 Add s_nearbyint-c and s_nearbyintf-c.
5843 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5844 nearbyintf inlines.
5845 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5846 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5847 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5848 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5849
5850 * math/math_private.h: Define defaults for libc_fegetround,
5851 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5852 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5853 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5854 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5855 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5856 standard functions.
5857 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5858 Remove comments and hacks for old compiler versions.
5859 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5860 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5861 libc_feholdexceptl.
5862
5863 2011-10-18 Andreas Schwab <schwab@redhat.com>
5864
5865 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
5866 (__feraiseexcept_renamed): Add __NTH.
5867 (feraiseexcept): Add __NTH. Rename local variables to fix
5868 namespace violations.
5869
5870 2011-10-17 Ulrich Drepper <drepper@gmail.com>
5871
5872 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5873
5874 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5875
5876 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5877 recently added interfaces.
5878 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5879
5880 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5881 about macro parameter expansion.
5882
5883 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5884 __NO_MATH_INLINES is defined. Cleanups.
5885
5886 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5887 and __floorf is target has SSE4.1.
5888 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5889 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5890 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5891 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5892
5893 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5894 name.
5895 (floorf): Likewise.
5896
5897 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5898
5899 2011-10-17 Andreas Schwab <schwab@redhat.com>
5900
5901 * misc/sys/cdefs.h: Fix last change.
5902
5903 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5904 database lookup.
5905
5906 2011-10-16 Ulrich Drepper <drepper@gmail.com>
5907
5908 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5909
5910 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5911 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5912 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5913 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5914 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5915 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5916 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5917 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5918 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5919 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5920 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5921 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5922 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5923 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5924 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5925 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5926 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5927 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5928 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5929 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5930 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5931 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5932
5933 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5934 ceil, ceilf, floor, floorf.
5935
5936 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5937 Perform IRELATIVE relocations last.
5938
5939 * elf/do-rel.h: Add another parameter nrelative, replacing the
5940 local variable with the same name. Change name of the function
5941 to end in Rel or Rela (uppercase).
5942 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5943 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5944 elf_dynamic_do_##reloc function.
5945
5946 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5947
5948 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5949 is sufficient, at least on modern CPUs.
5950
5951 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5952
5953 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5954 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5955
5956 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5957 __expl_finite.
5958 * math/bits/math-finite.h: Add entries for exp.
5959 * math/e_expl.c: Add __*_finite alias.
5960 * sysdeps/i386/fpu/e_exp.S: Likewise.
5961 * sysdeps/i386/fpu/e_expf.S: Likewise.
5962 * sysdeps/i386/fpu/e_expl.c: Likewise.
5963 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5964 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5965 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5966 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5967 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5968 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5969 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5970
5971 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5972 is sufficient, at least on modern CPUs.
5973
5974 * ctype/ctype-info.c (__ctype_init): Define.
5975 * include/ctype.h (__ctype_init): Declare.
5976 (__ctype_b_loc): The variable is always initialized.
5977 (__ctype_toupper_loc): Likewise.
5978 (__ctype_tolower_loc): Likewise.
5979 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5980 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5981
5982 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5983
5984 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5985
5986 * configure.in: Also look in $cxxmachine/include for C++ system
5987 headers.
5988
5989 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5990
5991 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5992 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5993 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5994 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5995 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5996 (USE_AS_WMEMCMP): New macro.
5997 Fixing indents.
5998 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5999 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6000 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6001 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6002 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6003 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6004 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6005 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6006 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6007 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6008 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6009 (USE_AS_WMEMCMP): New macro.
6010 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6011 * sysdeps/string/test-memcmp.c: Update.
6012 Fix simple_wmemcmp.
6013 Add new tests.
6014 * wcsmbs/wmemcmp.c: Update.
6015 (WMEMCMP): New macro.
6016 Fix overflow bug.
6017
6018 2011-10-12 Andreas Jaeger <aj@suse.de>
6019
6020 [BZ #13268]
6021 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6022
6023 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6024
6025 * libio/iofwide.c (do_length): Avoid warning.
6026
6027 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6028
6029 2011-10-14 Ulrich Drepper <drepper@gmail.com>
6030
6031 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6032
6033 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6034 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6035 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6036 * sysdeps/i386/i686/fpu/e_log.S: New file.
6037 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6038 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6039
6040 * ctype/ctype.h: Add support for inlined isXXX functions when
6041 compiling C++ code.
6042
6043 2011-10-14 Andreas Schwab <schwab@redhat.com>
6044
6045 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6046
6047 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6048
6049 2011-10-13 Roland McGrath <roland@hack.frob.com>
6050
6051 [BZ #13291]
6052 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6053
6054 2011-10-13 Andreas Schwab <schwab@redhat.com>
6055
6056 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6057 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6058 feraiseexcept.
6059
6060 * sysdeps/x86_64/memrchr.S: Check for zero size.
6061
6062 * string/stratcliff.c: Add memrchr tests.
6063
6064 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6065
6066 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6067 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6068 rawmemchr-sse2 rawmemchr-sse2-bsf.
6069 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6070 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6071 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6072 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6073 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6074 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6075 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6076 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6077 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6078 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6079 * string/memrchr.c (MEMRCHR): New macro.
6080
6081 2011-10-12 Ulrich Drepper <drepper@gmail.com>
6082
6083 Add integration with gcc's -ffinite-math-only and optimize wrapper
6084 functions in libm.
6085 * Versions.def: Define GLIBC_2.15 version for libm.
6086 * math/Makefile (headers): Add bits/math-finite.h.
6087 * math/bits/math-finite.h: New file.
6088 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6089 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6090 * math/e_acoshl.c: Add __*_finite alias.
6091 * math/e_acosl.c: Likewise.
6092 * math/e_asinl.c: Likewise.
6093 * math/e_atan2l.c: Likewise.
6094 * math/e_atanhl.c: Likewise.
6095 * math/e_coshl.c: Likewise.
6096 * math/e_exp10.c: Likewise.
6097 * math/e_exp10f.c: Likewise.
6098 * math/e_exp10l.c: Likewise.
6099 * math/e_exp2l.c: Likewise.
6100 * math/e_fmodl.c: Likewise.
6101 * math/e_gammal_r.c: Likewise.
6102 * math/e_hypotl.c: Likewise.
6103 * math/e_j0l.c: Likewise.
6104 * math/e_j1l.c: Likewise.
6105 * math/e_jnl.c: Likewise.
6106 * math/e_lgammal_r.c: Likewise.
6107 * math/e_log10l.c: Likewise.
6108 * math/e_log2l.c: Likewise.
6109 * math/e_logl.c: Likewise.
6110 * math/e_powl.c: Likewise.
6111 * math/e_sinhl.c: Likewise.
6112 * math/e_sqrtl.c: Likewise.
6113 * math/e_scalb.c: Completely rewritten and optimized.
6114 * math/e_scalbf.c: Likewise.
6115 * math/e_scalbl.c: Likewise.
6116 * math/w_acos.c: Likewise.
6117 * math/w_acosf.c: Likewise.
6118 * math/w_acosl.c: Likewise.
6119 * math/w_acosh.c: Likewise.
6120 * math/w_acoshf.c: Likewise.
6121 * math/w_acoshl.c: Likewise.
6122 * math/w_asin.c: Likewise.
6123 * math/w_asinf.c: Likewise.
6124 * math/w_asinl.c: Likewise.
6125 * math/w_atan2.c: Likewise.
6126 * math/w_atan2f.c: Likewise.
6127 * math/w_atan2l.c: Likewise.
6128 * math/w_atanh.c: Likewise.
6129 * math/w_atanhf.c: Likewise.
6130 * math/w_atanhl.c: Likewise.
6131 * math/w_exp10.c: Likewise.
6132 * math/w_exp10f.c: Likewise.
6133 * math/w_exp10l.c: Likewise.
6134 * math/w_fmod.c: Likewise.
6135 * math/w_fmodf.c: Likewise.
6136 * math/w_fmodl.c: Likewise.
6137 * math/w_j0.c: Likewise.
6138 * math/w_j0f.c: Likewise.
6139 * math/w_j0l.c: Likewise.
6140 * math/w_j1.c: Likewise.
6141 * math/w_j1f.c: Likewise.
6142 * math/w_j1l.c: Likewise.
6143 * math/w_jn.c: Likewise.
6144 * math/w_jnf.c: Likewise.
6145 * math/w_log.c: Likewise.
6146 * math/w_logf.c: Likewise.
6147 * math/w_logl.c: Likewise.
6148 * math/w_log10.c: Likewise.
6149 * math/w_log10f.c: Likewise.
6150 * math/w_log10l.c: Likewise.
6151 * math/w_log2.c: Likewise.
6152 * math/w_log2f.c: Likewise.
6153 * math/w_log2l.c: Likewise.
6154 * math/w_pow.c: Likewise.
6155 * math/w_powf.c: Likewise.
6156 * math/w_powl.c: Likewise.
6157 * math/w_remainder.c: Likewise.
6158 * math/w_remainderf.c: Likewise.
6159 * math/w_remainderl.c: Likewise.
6160 * math/w_scalb.c: Likewise.
6161 * math/w_scalbf.c: Likewise.
6162 * math/w_scalbl.c: Likewise.
6163 * math/w_sqrt.c: Likewise.
6164 * math/w_sqrtf.c: Likewise.
6165 * math/w_sqrtl.c: Likewise.
6166 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6167 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6168 used.
6169 * math/math_private.h: Declare __kernel_standard_f.
6170 * math/w_cosh.c: Remove cruft and optimize a bit.
6171 * math/w_coshf.c: Likewise.
6172 * math/w_coshl.c: Likewise.
6173 * math/w_exp2.c: Likewise.
6174 * math/w_exp2f.c: Likewise.
6175 * math/w_exp2l.c: Likewise.
6176 * math/w_hypot.c: Likewise.
6177 * math/w_hypotf.c: Likewise.
6178 * math/w_hypotl.c: Likewise.
6179 * math/w_lgamma.c: Likewise.
6180 * math/w_lgamma_r.c: Likewise.
6181 * math/w_lgammaf.c: Likewise.
6182 * math/w_lgammaf_r.c: Likewise.
6183 * math/w_lgammal.c: Likewise.
6184 * math/w_lgammal_r.c: Likewise.
6185 * math/w_sinh.c: Likewise.
6186 * math/w_sinhf.c: Likewise.
6187 * math/w_sinhl.c: Likewise.
6188 * math/w_tgamma.c: Likewise.
6189 * math/w_tgammaf.c: Likewise.
6190 * math/w_tgammal.c: Likewise.
6191 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6192 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6193 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6194 Minor optimizations. Pretty printing. Remove cruft.
6195 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6196 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6197 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6198 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6199 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6200 * sysdeps/i386/fpu/e_asin.S: Likewise.
6201 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6202 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6203 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6204 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6205 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6206 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6207 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6208 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6209 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6210 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6211 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6212 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6213 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6214 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6215 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6216 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6217 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6218 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6219 * sysdeps/i386/fpu/e_log.S: Likewise.
6220 * sysdeps/i386/fpu/e_log10.S: Likewise.
6221 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6222 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6223 * sysdeps/i386/fpu/e_log2.S: Likewise.
6224 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6225 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6226 * sysdeps/i386/fpu/e_logf.S: Likewise.
6227 * sysdeps/i386/fpu/e_logl.S: Likewise.
6228 * sysdeps/i386/fpu/e_pow.S: Likewise.
6229 * sysdeps/i386/fpu/e_powf.S: Likewise.
6230 * sysdeps/i386/fpu/e_powl.S: Likewise.
6231 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6232 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6233 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6234 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6235 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6236 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6237 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6238 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6239 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6240 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6241 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6242 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6243 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6244 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6245 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6246 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6247 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6248 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6249 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6250 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6251 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6252 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6253 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6254 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6255 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6256 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6257 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6258 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6259 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6260 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6261 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6262 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6263 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6264 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6265 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6266 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6267 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6268 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6269 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6270 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6271 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6272 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6273 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6274 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6275 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6276 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6277 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6278 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6279 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6280 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6281 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6282 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6283 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6284 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6285 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6286 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6287 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6288 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6289 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6290 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6291 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6292 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6293 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6294 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6295 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6296 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6297 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6298 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6299 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6300 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6301 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6302 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6303 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6304 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6305 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6306 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6307 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6308 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6309 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6310 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6311 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6312 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6313 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6314 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6315 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6316 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6317 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6318 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6319 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6320 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6321 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6322 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6323 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6324 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6325 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6326 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6327 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6328 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6329 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6330 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6331 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6332 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6333 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6334 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6335 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6336 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6337 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6338 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6339 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6340 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6341 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6342 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6343 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6344 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6345 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6346 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6347 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6348 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6349 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6350 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6351 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6352 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6353 (__isnanf): Likewise.
6354 (__isinf_ns): Likewise.
6355 (__isinf_nsf): Likewise.
6356 (__finite): Likewise.
6357 (__finitef): Likewise.
6358 (__ieee754_sqrt): Define as macro.
6359 (__ieee754_sqrtf): Define as macro.
6360 (__ieee754_sqrtl): Define as macro.
6361 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6362 inlined copy.
6363 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6364 __FINITE_MATH_ONLY__ consistent.
6365 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6366
6367 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6368
6369 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6370 of rawmemchr.
6371
6372 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6373
6374 2011-10-09 Ulrich Drepper <drepper@gmail.com>
6375
6376 * po/ja.po: Update from translation team.
6377
6378 2011-10-08 Roland McGrath <roland@hack.frob.com>
6379
6380 * locale/programs/locarchive.c (prepare_address_space): New function.
6381 (create_archive, enlarge_archive, open_archive): Use it.
6382
6383 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6384 inside [SHARED], where it is used.
6385
6386 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6387
6388 * nss/getent.c (netgroup_keys): Remove unused variable.
6389 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6390
6391 2011-10-08 Ulrich Drepper <drepper@gmail.com>
6392
6393 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6394 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6395 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6396 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6397 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6398 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6399 * math/Makefile (libm-calls): Add s_isinf_ns.
6400 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6401 * math/multc3.c: Likewise.
6402 * math/s_casin.c: Likewise.
6403 * math/s_casinf.c: Likewise.
6404 * math/s_casinl.c: Likewise.
6405 * math/s_ccos.c: Likewise.
6406 * math/s_ccosf.c: Likewise.
6407 * math/s_ccosl.c: Likewise.
6408 * math/s_ctan.c: Likewise.
6409 * math/s_ctanf.c: Likewise.
6410 * math/s_ctanh.c: Likewise.
6411 * math/s_ctanhf.c: Likewise.
6412 * math/s_ctanhl.c: Likewise.
6413 * math/s_ctanl.c: Likewise.
6414 * math/w_fmod.c: Likewise.
6415 * math/w_fmodf.c: Likewise.
6416 * math/w_fmodl.c: Likewise.
6417 * math/w_remainder.c: Likewise.
6418 * math/w_remainderf.c: Likewise.
6419 * math/w_remainderl.c: Likewise.
6420 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6421 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6422 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6423 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6424 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6425 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6426 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6427 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6428
6429 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6430 of the number.
6431 * stdio-common/printf_fphex.c: Likewise.
6432 * stdio-common/printf_size.c: Likewise.
6433
6434 * math/e_exp10.c: Include math_private.h using <...> not "...".
6435 * math/e_exp10f.c: Likewise.
6436 * math/e_exp10l.c: Likewise.
6437 * math/e_exp2l.c: Likewise.
6438 * math/e_j0l.c: Likewise.
6439 * math/e_j1l.c: Likewise.
6440 * math/e_jnl.c: Likewise.
6441 * math/e_lgammal_r.c: Likewise.
6442 * math/e_rem_pio2l.c: Likewise.
6443 * math/e_scalb.c: Likewise.
6444 * math/e_scalbf.c: Likewise.
6445 * math/e_scalbl.c: Likewise.
6446 * math/k_cosl.c: Likewise.
6447 * math/k_sinl.c: Likewise.
6448 * math/k_tanl.c: Likewise.
6449 * math/s_cacoshf.c: Likewise.
6450 * math/s_catan.c: Likewise.
6451 * math/s_catanf.c: Likewise.
6452 * math/s_catanh.c: Likewise.
6453 * math/s_catanhf.c: Likewise.
6454 * math/s_catanhl.c: Likewise.
6455 * math/s_catanl.c: Likewise.
6456 * math/s_ccosh.c: Likewise.
6457 * math/s_ccoshf.c: Likewise.
6458 * math/s_ccoshl.c: Likewise.
6459 * math/s_cexp.c: Likewise.
6460 * math/s_cexpf.c: Likewise.
6461 * math/s_cexpl.c: Likewise.
6462 * math/s_clog.c: Likewise.
6463 * math/s_clog10.c: Likewise.
6464 * math/s_clog10f.c: Likewise.
6465 * math/s_clog10l.c: Likewise.
6466 * math/s_clogf.c: Likewise.
6467 * math/s_clogl.c: Likewise.
6468 * math/s_csin.c: Likewise.
6469 * math/s_csinf.c: Likewise.
6470 * math/s_csinh.c: Likewise.
6471 * math/s_csinhf.c: Likewise.
6472 * math/s_csinhl.c: Likewise.
6473 * math/s_csinl.c: Likewise.
6474 * math/s_csqrt.c: Likewise.
6475 * math/s_csqrtf.c: Likewise.
6476 * math/s_csqrtl.c: Likewise.
6477 * math/s_ctan.c: Likewise.
6478 * math/s_ctanf.c: Likewise.
6479 * math/s_ctanh.c: Likewise.
6480 * math/s_ctanhf.c: Likewise.
6481 * math/s_ctanhl.c: Likewise.
6482 * math/s_ctanl.c: Likewise.
6483 * math/s_ldexp.c: Likewise.
6484 * math/s_ldexpf.c: Likewise.
6485 * math/s_ldexpl.c: Likewise.
6486 * math/s_significand.c: Likewise.
6487 * math/s_significandf.c: Likewise.
6488 * math/s_significandl.c: Likewise.
6489 * math/w_acos.c: Likewise.
6490 * math/w_acosf.c: Likewise.
6491 * math/w_acosh.c: Likewise.
6492 * math/w_acoshf.c: Likewise.
6493 * math/w_acoshl.c: Likewise.
6494 * math/w_acosl.c: Likewise.
6495 * math/w_asin.c: Likewise.
6496 * math/w_asinf.c: Likewise.
6497 * math/w_asinl.c: Likewise.
6498 * math/w_atan2.c: Likewise.
6499 * math/w_atan2f.c: Likewise.
6500 * math/w_atan2l.c: Likewise.
6501 * math/w_atanh.c: Likewise.
6502 * math/w_atanhf.c: Likewise.
6503 * math/w_atanhl.c: Likewise.
6504 * math/w_cosh.c: Likewise.
6505 * math/w_coshf.c: Likewise.
6506 * math/w_coshl.c: Likewise.
6507 * math/w_dremf.c: Likewise.
6508 * math/w_exp10.c: Likewise.
6509 * math/w_exp10f.c: Likewise.
6510 * math/w_exp10l.c: Likewise.
6511 * math/w_exp2.c: Likewise.
6512 * math/w_exp2f.c: Likewise.
6513 * math/w_fmod.c: Likewise.
6514 * math/w_fmodf.c: Likewise.
6515 * math/w_fmodl.c: Likewise.
6516 * math/w_hypot.c: Likewise.
6517 * math/w_hypotf.c: Likewise.
6518 * math/w_hypotl.c: Likewise.
6519 * math/w_j0.c: Likewise.
6520 * math/w_j0f.c: Likewise.
6521 * math/w_j0l.c: Likewise.
6522 * math/w_j1.c: Likewise.
6523 * math/w_j1f.c: Likewise.
6524 * math/w_j1l.c: Likewise.
6525 * math/w_jn.c: Likewise.
6526 * math/w_jnf.c: Likewise.
6527 * math/w_jnl.c: Likewise.
6528 * math/w_lgamma.c: Likewise.
6529 * math/w_lgamma_r.c: Likewise.
6530 * math/w_lgammaf.c: Likewise.
6531 * math/w_lgammaf_r.c: Likewise.
6532 * math/w_lgammal.c: Likewise.
6533 * math/w_lgammal_r.c: Likewise.
6534 * math/w_log.c: Likewise.
6535 * math/w_log10.c: Likewise.
6536 * math/w_log10f.c: Likewise.
6537 * math/w_log10l.c: Likewise.
6538 * math/w_log2.c: Likewise.
6539 * math/w_log2f.c: Likewise.
6540 * math/w_log2l.c: Likewise.
6541 * math/w_logf.c: Likewise.
6542 * math/w_logl.c: Likewise.
6543 * math/w_pow.c: Likewise.
6544 * math/w_powf.c: Likewise.
6545 * math/w_powl.c: Likewise.
6546 * math/w_remainder.c: Likewise.
6547 * math/w_remainderf.c: Likewise.
6548 * math/w_remainderl.c: Likewise.
6549 * math/w_scalb.c: Likewise.
6550 * math/w_scalbf.c: Likewise.
6551 * math/w_scalbl.c: Likewise.
6552 * math/w_sinh.c: Likewise.
6553 * math/w_sinhf.c: Likewise.
6554 * math/w_sinhl.c: Likewise.
6555 * math/w_sqrt.c: Likewise.
6556 * math/w_sqrtf.c: Likewise.
6557 * math/w_sqrtl.c: Likewise.
6558 * math/w_tgamma.c: Likewise.
6559 * math/w_tgammaf.c: Likewise.
6560 * math/w_tgammal.c: Likewise.
6561
6562 * po/ja.po: Update from translation team.
6563
6564 2011-09-29 Andreas Jaeger <aj@suse.de>
6565
6566 [BZ #13179]
6567 * sunrpc/netname.c (netname2host): Fix logic.
6568
6569 [BZ #6779]
6570 [BZ #6783]
6571 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6572 correctly.
6573 * math/w_remainder.c (__remainder): Likewise.
6574 * math/w_remainderf.c (__remainderf): Likewise.
6575 * math/libm-test.inc (remainder_test): Add test cases.
6576
6577 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6578
6579 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6580 sdiv_qrnnd.
6581
6582 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6583
6584 * string/test-memcmp.c: Avoid unncessary #defines.
6585 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6586
6587 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6588
6589 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6590 Use new sse2 version for core i3 - i7 as it's faster
6591 than sse42 version.
6592 (bit_Prefer_PMINUB_for_stringop): New.
6593 * sysdeps/x86_64/rawmemchr.S: Update.
6594 Replace with faster SSE2 version.
6595 * sysdeps/x86_64/memrchr.S: New file.
6596 * sysdeps/x86_64/memchr.S: Update.
6597 Replace with faster SSE2 version.
6598
6599 2011-09-12 Marek Polacek <mpolacek@redhat.com>
6600
6601 * elf/dl-load.c (lose): Add cast to avoid warning.
6602
6603 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6604
6605 * po/ca.po: Update from translation team.
6606
6607 * inet/getnetgrent_r.c: Hook up nscd.
6608 * nscd/Makefile (routines): Add nscd_netgroup.
6609 (nscd-modules): Add netgroupcache.
6610 (CFLAGS-netgroupcache.c): Define.
6611 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6612 (cache_search): Add const to second parameter.
6613 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6614 INNETGR.
6615 (dbs): Add netgrdb entry.
6616 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6617 (verify_persistent_db): Handle netgrdb.
6618 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6619 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6620 GETFDNETGR.
6621 (netgroup_response_header): Define.
6622 (innetgroup_response_header): Define.
6623 (datahead): Add netgroup_response_header and innetgroup_response_header
6624 elements.
6625 * nscd/nscd.conf: Add entries for netgroup cache.
6626 * nscd/nscd.h (dbtype): Add netgrdb.
6627 (_PATH_NSCD_NETGROUP_DB): Define.
6628 (netgroup_iov_disabled): Declare.
6629 (xmalloc, xcalloc, xrealloc): Move declarations here.
6630 (cache_search): Adjust prototype.
6631 Add netgroup-related prototypes.
6632 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6633 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6634 (__nscd_innetgr): Declare.
6635 * nscd/selinux.c (perms): Use access_vector_t as element type and
6636 add netgroup-related initializers.
6637 * nscd/netgroupcache.c: New file.
6638 * nscd/nscd_netgroup.c: New file.
6639 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6640 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6641 For four parameters use innetgr.
6642 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6643 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6644 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6645 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6646
6647 * nscd/connections.c (register_traced_file): Don't register file
6648 for disabled databases.
6649
6650 2011-10-06 Ulrich Drepper <drepper@gmail.com>
6651
6652 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6653
6654 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6655 from tree and freeing node.
6656
6657 2011-09-25 Jiri Olsa <jolsa@redhat.com>
6658
6659 * nss/nsswitch.c (__nss_database_lookup): Handle
6660 nss_parse_service_list out of memory case.
6661
6662 2011-09-15 Jiri Olsa <jolsa@redhat.com>
6663
6664 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6665 out of memory case.
6666
6667 2011-10-04 Andreas Schwab <schwab@redhat.com>
6668
6669 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6670 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6671 pass it down.
6672 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6673 elf_machine_rela, elf_machine_lazy_rel.
6674 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6675 (ELF_DYNAMIC_DO_REL): Likewise.
6676 (ELF_DYNAMIC_DO_RELA): Likewise.
6677 (ELF_DYNAMIC_RELOCATE): Likewise.
6678 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6679 to ELF_DYNAMIC_DO_REL.
6680 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6681 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6682 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6683 elf_machine_rela.
6684 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6685 skip_ifunc, don't call ifunc function if non-zero.
6686 (elf_machine_rela): Likewise.
6687 (elf_machine_lazy_rel): Likewise.
6688 (elf_machine_lazy_rela): Likewise.
6689 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6690 (elf_machine_lazy_rel): Likewise.
6691 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6692 Likewise.
6693 (elf_machine_lazy_rel): Likewise.
6694 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6695 Likewise.
6696 (elf_machine_lazy_rel): Likewise.
6697 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6698 (elf_machine_lazy_rel): Likewise.
6699 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6700 (elf_machine_lazy_rel): Likewise.
6701 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6702 (elf_machine_lazy_rel): Likewise.
6703 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6704 (elf_machine_lazy_rel): Likewise.
6705 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6706 (elf_machine_lazy_rel): Likewise.
6707 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6708 (elf_machine_lazy_rel): Likewise.
6709
6710 2011-09-28 Ulrich Drepper <drepper@gmail.com>
6711
6712 * nss/nss_files/files-init.c (_nss_files_init): Use static
6713 initialization for all the *_traced_file variables.
6714
6715 2011-09-28 Andreas Schwab <schwab@redhat.com>
6716
6717 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6718
6719 2011-09-27 Roland McGrath <roland@hack.frob.com>
6720
6721 [BZ #13226]
6722 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6723
6724 2011-09-27 Andreas Schwab <schwab@redhat.com>
6725
6726 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6727 Reread the line before reparsing it.
6728
6729 2011-09-26 Andreas Schwab <schwab@redhat.com>
6730
6731 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6732
6733 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6734 Maxim Kuvyrkov <maxim@codesourcery.com>
6735 Joseph Myers <joseph@codesourcery.com>
6736
6737 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6738 if needed for __stack_chk_guard.
6739
6740 2011-09-19 Roland McGrath <roland@hack.frob.com>
6741
6742 * sysdeps/posix/spawni.c (script_execute): Always define it.
6743 It will be optimized away if unused.
6744 (maybe_script_execute): New function.
6745 (__spawni): Call it.
6746
6747 * Makerules: Don't include tls.make.
6748 (config-tls): Always set to thread.
6749 * tls.make.c: File removed.
6750
6751 2011-09-19 Mike Frysinger <vapier@gentoo.org>
6752
6753 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6754 * config.make.in (CPPFLAGS-config): New substituted variable.
6755
6756 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6757
6758 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6759
6760 [BZ #13192]
6761 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6762 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6763
6764 2011-09-15 Roland McGrath <roland@hack.frob.com>
6765
6766 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6767 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6768 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6769 (CALL_FAIL): Likewise.
6770 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6771 (CALL_FAIL): Macro removed.
6772 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6773
6774 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6775
6776 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6777 for __FINITE_MATH_ONLY__ == 1.
6778
6779 2011-09-15 Andreas Schwab <schwab@redhat.com>
6780
6781 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6782 __ieee754_sqrt instead of sqrt.
6783 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6784 __ieee754_sqrtf instead of sqrtf.
6785 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6786 __floorf instead of floorf.
6787 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6788 __floorf, __truncf instead of floorf, truncf.
6789
6790 2011-09-14 Ulrich Drepper <drepper@gmail.com>
6791
6792 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6793
6794 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6795 __extern_always_inline.
6796 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6797 32-bit.
6798
6799 2011-09-14 Andreas Schwab <schwab@redhat.com>
6800
6801 * elf/rtld.c (dl_main): Also relocate in dependency order when
6802 doing symbol dependency testing.
6803
6804 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6805
6806 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6807 Always define `refsym'.
6808
6809 2011-09-13 Andreas Schwab <schwab@redhat.com>
6810
6811 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6812 (__FD_ELT): Renamed from __FDELT.
6813 * misc/bits/select2.h (__FD_ELT): Likewise.
6814 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6815 __FD_MASK instead of __FDELT, __FDMASK.
6816 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6817 Likewise.
6818 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6819 Likewise.
6820
6821 * elf/Makefile (gen-ldd): Fix pattern.
6822
6823 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6824 (init_tls): Likewise.
6825
6826 2011-09-12 Ulrich Drepper <drepper@gmail.com>
6827
6828 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6829
6830 2011-09-12 Andreas Schwab <schwab@redhat.com>
6831
6832 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6833 `struct cmsghdr *' instead of `void *'.
6834 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6835 Likewise.
6836
6837 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6838
6839 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6840 if non-absolute.
6841 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6842 ldd_rewrite_script.
6843
6844 2011-09-11 Ulrich Drepper <drepper@gmail.com>
6845
6846 * configure.in: Remove --with-tls option.
6847 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6848 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6849 out in case it is missing.
6850 * sysdeps/ia64/elf/configure.in: Likewise.
6851 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6852 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6853 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6854 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6855 * sysdeps/sh/elf/configure.in: Likewise.
6856 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6857 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6858 * sysdeps/x86_64/elf/configure.in: Likewise.
6859 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6860 * sysdeps/mach/hurd/tls.h: Likewise.
6861
6862 [BZ #13067]
6863 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6864
6865 [BZ #13090]
6866 * configure.in: Fix use of AC_INIT.
6867
6868 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6869
6870 2011-09-10 Ulrich Drepper <drepper@gmail.com>
6871
6872 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6873 __set_errno.
6874 * malloc/hooks.c: Likewise.
6875
6876 [BZ #11929]
6877 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6878 variables statically.
6879 (narenas): Initialize.
6880 (list_lock): Initialize.
6881 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6882 initializtion of main_arena and list_lock. Small cleanups.
6883 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6884 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6885 Add initializers to main_arena and mp_.
6886 (malloc_state): Remove pagesize member. Change all users to use
6887 GLRO(dl_pagesize).
6888
6889 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6890 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6891 is always initialized.
6892
6893 * malloc/malloc.c: Removed unused configurations and dead code.
6894 * malloc/arena.c: Likewise.
6895 * malloc/hooks.c: Likewise.
6896 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
6897
6898 * include/tls.h: Removed. USE___THREAD must always be defined.
6899 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6900 * elf/dl-libc.c: Likewise.
6901 * elf/dl-tsd.c: Likewise.
6902 * include/errno.h: Likewise.
6903 * include/netdb.h: Likewise.
6904 * include/resolv.h: Likewise.
6905 * inet/herrno-loc.c: Likewise.
6906 * inet/herrno.c: Likewise.
6907 * malloc/arena.c: Likewise.
6908 * malloc/hooks.c: Likewise.
6909 * malloc/malloc.c: Likewise.
6910 * resolv/res-state.c: Likewise.
6911 * resolv/res_libc.c: Likewise.
6912 * sysdeps/i386/dl-machine.h: Likewise.
6913 * sysdeps/ia64/dl-machine.h: Likewise.
6914 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6915 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6916 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6917 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6918 * sysdeps/sh/dl-machine.h: Likewise.
6919 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6920 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6921 * sysdeps/unix/i386/sysdep.S: Likewise.
6922 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6923 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6924 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6925 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6926 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6927 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6928 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6929 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6930 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6931 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6932 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6933 * sysdeps/x86_64/dl-machine.h: Likewise.
6934 * tls.make.c: Likewise.
6935
6936 * configure.in: Remove --with-__thread option. Make tests for
6937 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6938 tls_model attribute fail if no support is available. Remove
6939 USE_IN_LIBIO.
6940 * Makeconfig: Adjust for dropped configure option. All features are
6941 now mandatory.
6942 * Makerules: Likewise.
6943 * Versions.def: Likewise.
6944 * argp/argp-fmtstream.c: Likewise.
6945 * argp/argp-fmtstream.h: Likewise.
6946 * argp/argp-help.c: Likewise.
6947 * assert/assert.c: Likewise.
6948 * config.h.in: Likewise.
6949 * config.make.in: Likewise.
6950 * configure: Likewise.
6951 * configure.in: Likewise.
6952 * csu/Versions: Likewise.
6953 * csu/init.c: Likewise.
6954 * elf/tst-audit2.c: Likewise.
6955 * elf/tst-tls10.c: Likewise.
6956 * elf/tst-tls10.h: Likewise.
6957 * elf/tst-tls11.c: Likewise.
6958 * elf/tst-tls12.c: Likewise.
6959 * elf/tst-tls14.c: Likewise.
6960 * elf/tst-tlsmod11.c: Likewise.
6961 * elf/tst-tlsmod12.c: Likewise.
6962 * elf/tst-tlsmod13.c: Likewise.
6963 * elf/tst-tlsmod13a.c: Likewise.
6964 * elf/tst-tlsmod14a.c: Likewise.
6965 * elf/tst-tlsmod15b.c: Likewise.
6966 * elf/tst-tlsmod16a.c: Likewise.
6967 * elf/tst-tlsmod16b.c: Likewise.
6968 * elf/tst-tlsmod7.c: Likewise.
6969 * elf/tst-tlsmod8.c: Likewise.
6970 * elf/tst-tlsmod9.c: Likewise.
6971 * gmon/gmon.c: Likewise.
6972 * grp/fgetgrent_r.c: Likewise.
6973 * grp/putgrent.c: Likewise.
6974 * hurd/fopenport.c: Likewise.
6975 * include/libc-symbols.h: Likewise.
6976 * include/tls.h: Likewise.
6977 * intl/gettextP.h: Likewise.
6978 * intl/loadinfo.h: Likewise.
6979 * locale/global-locale.c: Likewise.
6980 * locale/localeinfo.h: Likewise.
6981 * mach/devstream.c: Likewise.
6982 * malloc/arena.c: Likewise.
6983 * malloc/set-freeres.c: Likewise.
6984 * misc/err.c: Likewise.
6985 * misc/getttyent.c: Likewise.
6986 * misc/mntent_r.c: Likewise.
6987 * posix/getopt.c: Likewise.
6988 * posix/wordexp.c: Likewise.
6989 * pwd/fgetpwent_r.c: Likewise.
6990 * resolv/Versions: Likewise.
6991 * resolv/res_hconf.c: Likewise.
6992 * shadow/fgetspent_r.c: Likewise.
6993 * shadow/putspent.c: Likewise.
6994 * stdio-common/printf_fphex.c: Likewise.
6995 * stdio-common/tmpfile.c: Likewise.
6996 * stdlib/abort.c: Likewise.
6997 * stdlib/fmtmsg.c: Likewise.
6998 * sunrpc/auth_unix.c: Likewise.
6999 * sunrpc/clnt_perr.c: Likewise.
7000 * sunrpc/clnt_tcp.c: Likewise.
7001 * sunrpc/clnt_udp.c: Likewise.
7002 * sunrpc/clnt_unix.c: Likewise.
7003 * sunrpc/openchild.c: Likewise.
7004 * sunrpc/svc_simple.c: Likewise.
7005 * sunrpc/svc_tcp.c: Likewise.
7006 * sunrpc/svc_udp.c: Likewise.
7007 * sunrpc/svc_unix.c: Likewise.
7008 * sunrpc/xdr.c: Likewise.
7009 * sunrpc/xdr_array.c: Likewise.
7010 * sunrpc/xdr_rec.c: Likewise.
7011 * sunrpc/xdr_ref.c: Likewise.
7012 * sunrpc/xdr_stdio.c: Likewise.
7013
7014 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7015
7016 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7017
7018 2011-07-03 Andreas Jaeger <aj@suse.de>
7019
7020 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7021 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7022 regenerate with gen-libm-tests.pl.
7023
7024 2010-05-12 Petr Baudis <pasky@suse.cz>
7025
7026 [BZ #11589]
7027 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7028 around j0() zero points by switching to j1().
7029 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7030 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7031 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7032 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7033
7034 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7035
7036 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7037 instead of 0.
7038 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7039 instead of 0. .
7040 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7041 Patch in part by Pavel Roskin <proski@gnu.org>.
7042
7043 [BZ #13138]
7044 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7045 realloc.
7046 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7047 Free memory block if necessary.
7048
7049 [BZ #12847]
7050 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7051 be NULL. Don't lock in this case.
7052
7053 2011-09-09 Roland McGrath <roland@hack.frob.com>
7054
7055 * elf/elf.h (ELFOSABI_GNU): New macro.
7056 (ELFOSABI_LINUX): Define to that.
7057
7058 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7059
7060 * string/strncat.c (strncat): Undef the symbol in case it has been
7061 defined in bits/string.h.
7062
7063 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7064
7065 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7066
7067 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7068 link map.
7069
7070 2011-08-17 Andreas Jaeger <aj@suse.de>
7071
7072 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7073
7074 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7075 Ian Lance Taylor <iant@google.com>
7076
7077 * math/libm-test.inc (lround_test): New testcase.
7078 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7079
7080 2011-09-08 Ulrich Drepper <drepper@gmail.com>
7081
7082 * Makefile: Remove support for automatic cvs check-ins.
7083 * Makerules: Likewise.
7084 * config.make.in: Likewise.
7085 * configure.in: Likewise.
7086 * intl/Makefile: Likewise.
7087 * locale/Makefile: Likewise.
7088 * po/Makefile: Likewise.
7089 * posix/Makefile: Likewise.
7090 * sysdeps/gnu/Makefile: Likewise.
7091 * sysdeps/mach/hurd/Makefile: Likewise.
7092 * sysdeps/sparc/sparc32/Makefile: Likewise.
7093
7094 [BZ #13118]
7095 * posix/Makefile (bug-regex32-ENV): Define.
7096 Patch by John Stanley <jpsinthemix@verizon.net>.
7097
7098 * misc/Makefile (headers): Add bits/select2.h.
7099 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7100 * misc/bits/select2.h: New file.
7101 * include/bits/select2.h: New file.
7102 * debug/Makefile (routines): Add fdelt_chk.
7103 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7104 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7105 FD_ISSET.
7106 * debug/fdelt_chk.c: New file.
7107
7108 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7109 * wcsmbs/test-wmemcmp.c: Likewise.
7110 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7111 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7112
7113 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7114
7115 * string/Makefile (strop-tests): Add memcmp.
7116 * string/test-wmemcmp.c: New file.
7117 * string/test-memcmp.c: Add wmemcmp support.
7118
7119 2011-09-08 Roland McGrath <roland@hack.frob.com>
7120
7121 [BZ #13153]
7122 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7123 2011-07-19 change.
7124
7125 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7126 garbage value in a __mach_port_mod_refs call in the cases of the
7127 task-self and thread-self ports.
7128
7129 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7130
7131 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7132
7133 2011-09-08 Andreas Schwab <schwab@redhat.com>
7134
7135 * elf/dl-load.c (lose): Check for non-null L.
7136
7137 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7138
7139 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7140
7141 * elf/dl-libc.c (dlerror_run): Pass back error code from
7142 dl_catch_error.
7143
7144 [BZ #13123]
7145 * elf/dl-load.c (lose): Free l_origin if it is valid.
7146
7147 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7148 names.
7149 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7150 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7151 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7152 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7153 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7154 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7155
7156 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7157
7158 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7159 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7160 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7161 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7162 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7163 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7164 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7165 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7166 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7167 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7168
7169 2011-08-15 Alan Modra <amodra@gmail.com>
7170
7171 [BZ #13092]
7172 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7173 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7174 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7175 ppc_mcount to static-only-routines.
7176 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7177 __mcount_internal.
7178 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7179 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7180
7181 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7182
7183 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7184 for finite and infinity parameters.
7185
7186 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7187
7188 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7189 and add nop instructions for throughput optimization.
7190 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7191
7192 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7193
7194 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7195 aligned copy for power7 with vector-scalar instructions.
7196 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7197
7198 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7199
7200 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7201 AVX check.
7202
7203 2011-09-07 Andreas Schwab <schwab@redhat.com>
7204
7205 [BZ #13144]
7206 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7207 last change.
7208
7209 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7210
7211 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7212 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7213 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7214 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7215 clock_gettime.
7216
7217 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7218
7219 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7220 Forgot to demangle the pointer.
7221
7222 * sysdeps/i386/sysdep.h: Define atom_text_section.
7223 * sysdeps/x86_64/sysdep.h: Likewise.
7224 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7225 section with atom_text_section.
7226 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7227 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7228 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7229 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7230 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7231
7232 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7233 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7234 already be defined. Change to take two parameters and don't assign
7235 result to variable. Adjust all users.
7236 Define INTERNAL_GETTIME if not already defined.
7237 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7238 call.
7239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7240 HAVE_CLOCK_GETTIME_VSYSCALL.
7241 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7242
7243 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7244 gettimeofday vsyscall, just use time.
7245
7246 2011-09-06 Andreas Schwab <schwab@redhat.com>
7247
7248 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7249 <errno.h>.
7250
7251 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7252
7253 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7254 syscall on x86-64.
7255 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7256 syscall.
7257 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7258 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7259 syscall if possible.
7260
7261 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7262
7263 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7264 e_ident. Don't pass to find_mapsXX.
7265 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7266
7267 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7268
7269 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7270 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7271 * sysdeps/x86_64/multiarch/strchr.S: Update.
7272 Check bit_slow_BSF bit.
7273 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7274 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7275 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7276
7277 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7278
7279 [BZ #13134]
7280 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7281 before glibc 2.15.
7282 (tryshell): Define.
7283 (__spawni): Change last parameter to be flag. Test
7284 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7285 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7286 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7287 * posix/spawni.c: Likewise.
7288 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7289 * posix/spawnp.c: Likewise. Change normal version to use
7290 SPAWN_XFLAGS_USE_PATH.
7291 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7292 SPAWN_XFLAGS_TRY_SHELL.
7293
7294 [BZ #13150]
7295 * posix/glob.h: Remove gcc 1.x support.
7296
7297 [BZ #13068]
7298 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7299
7300 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7301
7302 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7303 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7304 strrchr-sse2-bsf
7305 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7306 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7307 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7308 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7309 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7310 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7311
7312 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7313
7314 * sysdeps/x86_64/wcscmp.S: New file.
7315
7316 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7317 wcscmp-c wcscmp-sse2
7318 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7319 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7320 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7321 * wcsmbs/wcscmp.c: Allow renaming.
7322
7323 2011-09-05 David S. Miller <davem@davemloft.net>
7324
7325 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7326 stack slot, rather than the struct return pointer slot.
7327 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7328 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7330 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7331
7332 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7333
7334 * po/ja.po: Update from translation team.
7335
7336 [BZ #13144]
7337 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7338 kernel in 64-bit binaries.
7339
7340 2011-09-01 David S. Miller <davem@davemloft.net>
7341
7342 * elf/elf.h (HWCAP_SPARC_*): Move to..
7343 * sysdeps/sparc/sysdep.h: this new file and add new values.
7344 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7345 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7346 _DL_HWCAP_COUNT to 24.
7347 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7348 entries.
7349 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7350 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7351 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7352 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7353 instead of magic constants.
7354 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7355
7356 2011-08-31 David S. Miller <davem@davemloft.net>
7357
7358 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7359 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7360 Reimplement to do errno handling inline.
7361 (SYSCALL_ERROR_HANDLER): New macro.
7362 (__SYSCALL_STRING): Do not do errno handling in asm.
7363 (__CLONE_SYSCALL_STRING): Delete.
7364 (__INTERNAL_SYSCALL_STRING): Delete.
7365 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7366 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7367 (PSEUDO): Reimplement to do errno handling inline.
7368 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7369 (SYSCALL_ERROR_HANDLER): New macro.
7370 (__SYSCALL_STRING): Do not do errno handling in asm.
7371 (__CLONE_SYSCALL_STRING): Delete.
7372 (__INTERNAL_SYSCALL_STRING): Delete.
7373 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7374 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7375 i386.
7376 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7377 (inline_syscall*): Add 'err' argument.
7378 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7379 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7380 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7381 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7382
7383 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7384 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7385
7386 2011-08-30 Andreas Schwab <schwab@redhat.com>
7387
7388 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7389
7390 2011-08-29 Jiri Olsa <jolsa@redhat.com>
7391
7392 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7393 directive.
7394
7395 2011-08-24 David S. Miller <davem@davemloft.net>
7396
7397 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7398
7399 2011-08-24 Andreas Schwab <schwab@redhat.com>
7400
7401 * elf/Makefile: Add rules to build and run unload8 test.
7402 * elf/unload8.c: New file.
7403 * elf/unload8mod1.c: New file.
7404 * elf/unload8mod1x.c: New file.
7405 * elf/unload8mod2.c: New file.
7406 * elf/unload8mod3.c: New file.
7407
7408 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7409 it wasn't used.
7410
7411 2011-08-23 David S. Miller <davem@davemloft.net>
7412
7413 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7414 subtract stack bias.
7415 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7416 %sp not %fp in calculations.
7417 (_JMPBUF_UNWINDS_ADJ): Likewise.
7418
7419 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7420 (aio_suspend): Call it to force an exception region around the
7421 AIO_MISC_WAIT() invocation.
7422
7423 2011-08-23 Andreas Schwab <schwab@redhat.com>
7424
7425 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7426 backslash.
7427
7428 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7429
7430 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7431 protection macro.
7432 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7433 and <dl-machine.h>.
7434 (Elf64_FuncDesc): Remove.
7435
7436 2011-08-22 David S. Miller <davem@davemloft.net>
7437
7438 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7439 sigaltstack check, add missing cfi directives.
7440 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7441 missing cfi directives, and sigaltstack handling.
7442
7443 2011-08-16 Andreas Schwab <schwab@redhat.com>
7444
7445 [BZ #11724]
7446 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7447 object is seen twice.
7448 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7449
7450 * elf/Makefile (distribute): Add tst-initorder2.c.
7451 (tests): Add tst-initorder2.
7452 (modules-names): Add tst-initorder2a tst-initorder2b
7453 tst-initorder2c tst-initorder2d. Add rules to build them.
7454 ($(objpfx)tst-initorder2.out): New rule.
7455 * elf/tst-initorder2.c: New file.
7456 * elf/tst-initorder2.exp: New file.
7457
7458 2011-08-22 Andreas Schwab <schwab@redhat.com>
7459
7460 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7461
7462 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7463 dependencies back to end of function.
7464
7465 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7466 $(elfobjdir)/ld.so.
7467
7468 2011-08-21 Ulrich Drepper <drepper@gmail.com>
7469
7470 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7471 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7472 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7473 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7474 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7475 of __vdso_gettimeofday.
7476 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7477 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7478 attribute_hidden.
7479 (_libc_vdso_platform_setup): Remove initialization of
7480 __vdso_gettimeofday and __vdso_time.
7481
7482 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7483
7484 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7485 and fgetc_unlocked.
7486 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7487 getc_unlocked.
7488
7489 * elf/dl-open.c (add_to_global): Report additions to the global scope
7490 for LD_DEBUG=scopes.
7491 (dl_open_worker): Also print scope of newly loaded dependencies.
7492 (_dl_show_scope): Indicate if there is no scope.
7493
7494 [BZ #13114]
7495 * stdio-common/Makefile (tests): Add bug24.
7496 * stdio-common/bug24.c: New file.
7497
7498 2011-08-19 Andreas Jaeger <aj@suse.de>
7499
7500 [BZ #13114]
7501 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7502 non-existant file when using close-on-exec mode.
7503
7504 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7505
7506 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7507 the very first instruction.
7508
7509 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7510 the CFI state in the end.
7511 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7512 inclusion of dl-trampoline.h.
7513 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7514
7515 2011-08-19 Andreas Schwab <schwab@redhat.com>
7516
7517 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7518 expectations for long double.
7519
7520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7521 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7522
7523 2011-08-14 David S. Miller <davem@davemloft.net>
7524
7525 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7526 artificual limit depends upon the system page size.
7527
7528 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7529
7530 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7531 * resolv/Makefile: Define CFLAGS-libresolv.
7532
7533 2011-08-17 Andreas Schwab <schwab@redhat.com>
7534
7535 * nss/makedb.c (compute_tables): Make variables used in nested
7536 function static.
7537
7538 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7539
7540 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7541 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7542 if buffer was too small.
7543
7544 * elf/pldd.c (main): Attach to all threads in the process.
7545 Rewrite /proc handling to use *at functions.
7546
7547 2011-08-16 Ulrich Drepper <drepper@gmail.com>
7548
7549 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7550 specifies first scope to show.
7551 (dl_open_worker): Update callers. Move printing scope of new
7552 object to before the relocation.
7553 * elf/rtld.c (dl_main): Update _dl_show_scope call.
7554 * sysdeps/generic/ldsodefs.h: Update declaration.
7555
7556 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7557 string for the scope number.
7558
7559 2011-08-14 Ulrich Drepper <drepper@gmail.com>
7560
7561 * nscd/servicescache.c (cache_addserv): Make sure written is always
7562 initialized.
7563
7564 2011-08-14 Roland McGrath <roland@hack.frob.com>
7565
7566 * sysdeps/i386/i486/bits/atomic.h
7567 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7568 statement expression, so as to suppress "set but not used" warning.
7569 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7570
7571 * string/strncat.c (STRNCAT): Use prototype definition.
7572
7573 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7574 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7575 -Iprograms here.
7576 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7577 (localedef-modules): Add localedef.
7578 (locale-modules): Add locale.
7579
7580 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7581 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7582 to avoid a warning.
7583
7584 2011-08-14 David S. Miller <davem@davemloft.net>
7585
7586 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7587 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7588
7589 2011-08-13 Ulrich Drepper <drepper@gmail.com>
7590
7591 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7592 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7593 * elf/rtld.c (dl_main): Set l_name of vDSO.
7594 Call _dl_show_scope when DL_DEBUG_SCOPES.
7595 (process_dl_debug): Recognize scopes flag and also set it for all.
7596 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7597 Declare _dl_show_scope.
7598
7599 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7600 (do_dlopen): Pass caller_dlopen to dl_open.
7601 (__libc_dlopen_mode): Initialize caller_dlopen.
7602
7603 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7604 of libc. Make tolower call locale-independent. Optimize a bit by
7605 using isdigit instead of isalnum.
7606 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7607
7608 2011-08-12 Ulrich Drepper <drepper@gmail.com>
7609
7610 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7611 was a dependency or dynamically loaded.
7612
7613 2011-08-11 Ulrich Drepper <drepper@gmail.com>
7614
7615 * intl/l10nflist.c: Allow architecture-specific pop function.
7616 * sysdeps/x86_64/l10nflist.c: New file.
7617
7618 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7619 classification.
7620
7621 2011-08-10 Andreas Schwab <schwab@redhat.com>
7622
7623 * include/dirent.h: Add libc_hidden_proto for scandirat and
7624 scandirat64. Don't declare __scandirat64.
7625 * dirent/scandirat.c: Add libc_hidden_def.
7626 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7627 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7628
7629 2011-08-10 David S. Miller <davem@davemloft.net>
7630
7631 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7632 enum.
7633 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7634 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7635 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7636
7637 2011-08-09 Ulrich Drepper <drepper@gmail.com>
7638
7639 * Versions.def [libc]: Add GLIBC_2.15.
7640 * dirent/Makefile (routines): Add scandirat and scandirat64.
7641 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7642 GLIBC_2.15.
7643 * dirent/dirent.h: Declare scandirat and scandirat64.
7644 * dirent/scandirat.c: New file.
7645 * dirent/scandirat64.c: New file.
7646 * sysdeps/wordsize-64/scandirat.c: New file.
7647 * sysdeps/wordsize-64/scandirat64.c: New file.
7648 * dirent/opendir.c: Define opendirat.
7649 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7650 using scandirat.
7651 * dirent/scandir64.c: Adjust for scandir.c change.
7652 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7653 __scandirat64, and __scandir_cancel_handler.
7654 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7655 additional parameter and use openat instead of open (outside of ld.so).
7656 Add new __opendir as wrapper around __opendirat.
7657 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7658 here without requiring old scandirat implementation.
7659
7660 2011-08-08 Ulrich Drepper <drepper@gmail.com>
7661
7662 * dirent/scandir.c (cancel_handler): Renamed to
7663 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7664 defined. Adjust users.
7665 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7666 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7667
7668 2011-08-04 Ulrich Drepper <drepper@gmail.com>
7669
7670 * string/test-string.h (IMPL): Use __STRING to expand name and then
7671 stringify it.
7672
7673 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7674 of cleanups.
7675
7676 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7677
7678 * string/Makefile: Update.
7679 (strop-tests): Append strncat.
7680 * string/test-wcscmp.c: New file.
7681 New comprehensive test for wcscmp.
7682 * string/test-strcmp.c: Update.
7683 (WIDE): New define.
7684
7685 2011-07-22 Andreas Schwab <schwab@redhat.com>
7686
7687 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7688 line.
7689
7690 2011-07-26 Andreas Schwab <schwab@redhat.com>
7691
7692 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7693 encoding to ACE if AI_IDN.
7694
7695 2011-08-01 Jakub Jelinek <jakub@redhat.com>
7696
7697 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7698 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7699
7700 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7701
7702 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7703 Fix overflow bug in strncat.
7704 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7705
7706 * string/test-strncat.c: Update.
7707 Add new tests for checking overflow bugs.
7708
7709 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7710
7711 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7712 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7713 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7714 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7715 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7716 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7717 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7718 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7719 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7720
7721 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7722 (USE_AS_STRCAT): Define.
7723 Add strcat and strncat support.
7724 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7725
7726 2011-07-25 Andreas Schwab <schwab@redhat.com>
7727
7728 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7729 __n bigger than INT_MAX+1.
7730 (__strncmp_g): Likewise.
7731
7732 2011-07-23 Ulrich Drepper <drepper@gmail.com>
7733
7734 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7735 * libio/stido.h: Likewise.
7736
7737 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7738 (AF_NFC): Define.
7739 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7740 (AF_NFC): Define.
7741
7742 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7743 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7744 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7745 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7746 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7747
7748 [BZ #13021]
7749 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7750 installed.
7751
7752 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7753 typo.
7754 (_dl_x86_64_save_sse): Likewise.
7755
7756 2011-07-22 Ulrich Drepper <drepper@gmail.com>
7757
7758 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7759 OSXSAVE.
7760 (_dl_x86_64_save_sse): Likewise.
7761
7762 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7763
7764 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7765
7766 2011-07-21 Andreas Schwab <schwab@redhat.com>
7767
7768 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7769 change.
7770 (_dl_x86_64_save_sse): Use correct AVX check.
7771
7772 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7773
7774 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7775 bug in strncpy/strncat.
7776 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7777
7778 2011-07-21 Ulrich Drepper <drepper@gmail.com>
7779
7780 * string/tester.c (test_strcat): Add tests for different alignments
7781 of source and destination.
7782 (test_strncat): Likewise.
7783
7784 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7785
7786 [BZ #12852]
7787 * posix/glob.c (glob): Check passed in values before using them in
7788 expressions to avoid some overflows.
7789 (glob_in_dir): Likewise.
7790
7791 [BZ #13007]
7792 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7793 check for AVX enablement so that we don't crash with old kernels and
7794 new hardware.
7795 * elf/tst-audit4.c: Add same checks here.
7796 * elf/tst-audit6.c: Likewise.
7797
7798 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
7799
7800 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7801
7802 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7803
7804 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7805
7806 * po/cs.po: Update from translation team.
7807 * po/bg.po: Likewise.
7808
7809 2011-07-12 Marek Polacek <mpolacek@redhat.com>
7810
7811 * misc/sys/cdefs.h: Add support for const attribute.
7812 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7813 to gnu_dev_{major,minor,makedev} functions.
7814
7815 2011-07-20 Marek Polacek <mpolacek@redhat.com>
7816
7817 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7818
7819 2011-07-20 Andreas Schwab <schwab@redhat.com>
7820
7821 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7822 strlen results.
7823
7824 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7825
7826 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7827 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7828 register in order to avoid conflicts with the soft frame pointer
7829 being held in r11 when necessary.
7830 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7831 (INTERNAL_VSYSCALL_NCS): Likewise.
7832
7833 2011-07-14 Marek Polacek <mpolacek@redhat.com>
7834
7835 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7836 * elf/dl-fini.c (_dl_fini): Adjust caller.
7837 * elf/dl-close.c (_dl_close_worker): Likewise.
7838 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7839
7840 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7841
7842 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7843 "aux_cache->nlibs < 0".
7844
7845 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7846 in the reload-count case.
7847
7848 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7849
7850 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7851 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7852 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7853 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7854 * sysdeps/x86_64/multiarch/strcat.S: New file.
7855 * sysdeps/x86_64/multiarch/strncat.S: New file.
7856 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7857 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7858 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7859 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7860 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7861 (USE_AS_STRCAT): Define.
7862 Add strcat and strncat support.
7863 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7864 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7865 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7866 * string/strncat.c: Update.
7867 (USE_AS_STRNCAT): Define.
7868 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7869 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7870 and i7.
7871 * sysdeps/x86_64/multiarch/init-arch.h
7872 (bit_Prefer_PMINUB_for_stringop): New.
7873 (index_Prefer_PMINUB_for_stringop): Likewise.
7874 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7875 bit_Prefer_PMINUB_for_stringop.
7876
7877 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7878
7879 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7880 buffer64.
7881 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7882 of casting of buffer.
7883 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7884 buffer32 and buffer64.
7885 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7886 writes instead of casting of buffer.
7887 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7888 buffer32.
7889 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7890 casting of buffer.
7891
7892 2011-07-19 Andreas Schwab <schwab@redhat.com>
7893
7894 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7895
7896 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7897
7898 * nscd/nscd.c (termination_handler): Don't do anything for a database
7899 if it has not yet been initialized.
7900
7901 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7902
7903 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7904
7905 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7906
7907 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7908
7909 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7910
7911 * po/nl.po: Update from translation team.
7912 * po/sv.po: Likewise.
7913
7914 2011-07-16 Roland McGrath <roland@hack.frob.com>
7915
7916 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7917 now disallowed by GCC.
7918
7919 * configure.in (use-default-link): Default to yes if a test -shared
7920 link meets our qualifications.
7921 * configure: Regenerated.
7922
7923 * config.make.in (output-format): New variable.
7924 * configure.in: Check for ld --print-output-format support.
7925 * configure: Regenerated.
7926 * Makerules ($(common-objpfx)format.lds)
7927 [$(output-format) != unknown]: Just use $(output-format),
7928 instead of the linker-script munging.
7929
7930 2011-07-14 Roland McGrath <roland@hack.frob.com>
7931
7932 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7933 of $(common-objpfx)shlib.lds.
7934 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7935
7936 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7937 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7938
7939 * configure.in (-z relro check): Adjust test code to add a large
7940 writable data section after it.
7941 * configure: Regenerated.
7942
7943 2011-07-11 Roland McGrath <roland@hack.frob.com>
7944
7945 * configure.in (-z relro check): Fix test code to make the variable
7946 truly const.
7947 * configure: Regenerated.
7948
7949 2011-07-11 Ulrich Drepper <drepper@gmail.com>
7950
7951 * nscd/nscd.h (struct traced_file): Define.
7952 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7953 elements. Add traced_files.
7954 (inotify_fd): Declare.
7955 (register_traced_file): Declare.
7956 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7957 (inotify_fd): Export.
7958 (resolv_conf_descr): Remove.
7959 (nscd_init): Move inotify descriptor creation to main.
7960 Don't register files for notification here.
7961 (register_traced_file): New function.
7962 (invalidate_cache): Don't use reset_res to determine whether to call
7963 res_init, go through the list of registered files.
7964 (main_loop_poll): The inotify descriptors are now stored in the
7965 structures for the traced files.
7966 (main_loop_epoll): Likewise
7967 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7968 to __nss_disable_nscd.
7969 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7970 for a database anymore. Check the records for all the registered
7971 files instead.
7972 * nss/Makefile (libnss_files-routines): Add files-init.
7973 (libnss_db-routines): Add db-init.
7974 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7975 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7976 * nss/nss_db/db-init.c: New file.
7977 * nss/nss_files/files-init.c: New file.
7978 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7979 __nss_lookup_function.
7980 (__nss_lookup_function): Call nss_load_library.
7981 (nss_load_all_libraries): New function.
7982 (__nss_disable_nscd): Take parameter with callback function for files
7983 to register. Set is_nscd. Load all the DSOs for the NSS modules
7984 used for the cached services.
7985 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7986 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7987 options for features to all the files in nscd.
7988
7989 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7990
7991 2011-07-10 Roland McGrath <roland@hack.frob.com>
7992
7993 * csu/elf-init.c (__libc_csu_init): Comment typo.
7994
7995 2011-07-09 Ulrich Drepper <drepper@gmail.com>
7996
7997 * po/pl.po: Update from translation team.
7998 * po/ja.po: Likewise.
7999 * po/ru.po: Likewise.
8000 * po/ko.po: Likewise.
8001 * po/fr.po: Likewise.
8002
8003 2011-07-09 Roland McGrath <roland@hack.frob.com>
8004
8005 * configure.in (.ctors/.dtors header and trailer check):
8006 Use an empirical test on a built program.
8007 * configure: Regenerated.
8008
8009 * configure.in (-z relro check): Use an empirical test on a built DSO.
8010 Detect, but do not require, on ia64.
8011 * configure: Regenerated.
8012
8013 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8014 Update tests that use readelf to use $READELF instead.
8015 * configure: Regenerated.
8016
8017 2011-07-08 Ulrich Drepper <drepper@gmail.com>
8018
8019 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8020 if the result is not used.
8021
8022 2011-07-05 Andreas Jaeger <aj@suse.de>
8023
8024 [BZ#9696]
8025 * stdlib/tst-strtod.c: Add testcase.
8026
8027 2011-07-07 Ulrich Drepper <drepper@gmail.com>
8028
8029 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8030 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8031 The latter has a higher limit. Take additional parameter to pass to
8032 the new function.
8033 (__pathconf): Pass file to __statfs_link_max.
8034 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8035 __statfs_link_max.
8036 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8037 __statfs_link_max.
8038
8039 [BZ #12868]
8040 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8041 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8042 Handle Lustre.
8043 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8044 (__statfs_filesize_max): Likewise.
8045 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8046
8047 2011-07-05 Andreas Jaeger <aj@suse.de>
8048
8049 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8050
8051 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8052
8053 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8054 `status' variable.
8055 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8056 Likewise.
8057
8058 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8059
8060 * Makefile (strop-tests): Add strncat.
8061 * string/test-strncat.c: New file.
8062
8063 2011-06-30 Marek Polacek <mpolacek@redhat.com>
8064
8065 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8066
8067 2011-06-21 Andreas Jaeger <aj@suse.de>
8068
8069 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8070 Copy rule from iconvdata/Makefile.
8071
8072 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8073
8074 [BZ #12922]
8075 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8076 but no long options are defined, just return 'W'.
8077
8078 2011-06-22 Marek Polacek <mpolacek@redhat.com>
8079
8080 [BZ #9696]
8081 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8082
8083 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8084
8085 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8086 netgroups to read.
8087 (innetgr): Likewise.
8088
8089 2011-07-05 Roland McGrath <roland@hack.frob.com>
8090
8091 * config.make.in (install_root): Default to $(DESTDIR).
8092
8093 2011-07-05 Ulrich Drepper <drepper@gmail.com>
8094
8095 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8096
8097 2011-07-02 Roland McGrath <roland@hack.frob.com>
8098
8099 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8100
8101 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8102 containing directory rather than embedding absolute directory names.
8103
8104 * scripts/check-local-headers.sh: Rewritten using awk.
8105 Match by word, not by line. Print error messages for matches.
8106 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8107
8108 * Makerules [shlib-lds-flags empty]:
8109 ($(common-objpfx)libc_pic.opts): New target.
8110 ($(common-objpfx)libc_pic.os.clean): New target.
8111 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8112
8113 * config.make.in (OBJCOPY): New variable.
8114 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8115 * configure: Regenerated.
8116
8117 * config.make.in (use-default-link): New variable.
8118 * configure.in (use_default_link): Grok --with-default-link to set it.
8119 * configure: Regenerated.
8120 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8121 (shlib-lds, shlib-lds-flags): Define to empty.
8122
8123 * Makerules (shlib-lds): New variable.
8124 (shlib-lds-flags): New variable.
8125 (build-shlib, build-moduile, build-module-asneeded): Use it.
8126 ($(common-objpfx)libc.so): Use $(shlib-lds).
8127 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8128 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8129
8130 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8131 DT_FLAGS/DT_FLAGS_1 with zero flags.
8132
8133 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8134 linker script munging.
8135
8136 2011-07-02 Ulrich Drepper <drepper@gmail.com>
8137
8138 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8139 as 128-bit value.
8140 * crypt/sha512.c (sha512_process_block): Perform total addition using
8141 128-bit if possible.
8142 (__sha512_finish_ctx): Likewise.
8143 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8144 as 64-bit value.
8145 * crypt/sha256.c (SWAP64): Define.
8146 (sha256_process_block): Perform total addition using 64-bit if
8147 possible.
8148 (__sha256_finish_ctx): Likewise.
8149
8150 2011-07-01 Ulrich Drepper <drepper@gmail.com>
8151
8152 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8153 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8154 * nscd/hstcache.c (cache_addhst): Likewise.
8155 * nscd/grpcache.c (cache_addgr): Likewise.
8156 * nscd/aicache.c (addhstaiX): Likewise
8157 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8158
8159 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
8160
8161 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8162 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8163 * nscd/hstcache.c (cache_addhst): Likewise.
8164 * nscd/grpcache.c (cache_addgr): Likewise.
8165 * nscd/aicache.c (addhstaiX): Likewise
8166
8167 2011-07-01 Andreas Schwab <schwab@redhat.com>
8168
8169 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8170 domain only when needed.
8171
8172 2011-06-30 Andreas Schwab <schwab@redhat.com>
8173
8174 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8175 is always restored.
8176
8177 2011-06-29 Ulrich Drepper <drepper@gmail.com>
8178
8179 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8180 are re-adding the entry.
8181 * nscd/servicescache.c (cache_addserv): Likewise.
8182
8183 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8184
8185 * sysdeps/generic/dl-irel.h: fix protection against multiple
8186 inclusions.
8187 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8188
8189 2011-06-28 Ulrich Drepper <drepper@gmail.com>
8190
8191 [BZ #12935]
8192 * malloc/memusage.sh: Fix quoting in message.
8193 * debug/xtrace.sh: Likewise.
8194
8195 * configure.in: Remove support for --experimental-malloc option, make
8196 it the default.
8197 * config.make.in: Likewise.
8198 * malloc/Makefile: Likewise.
8199
8200 2011-06-27 Andreas Schwab <schwab@redhat.com>
8201
8202 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8203 two-byte characters.
8204
8205 2011-06-27 Roland McGrath <roland@hack.frob.com>
8206
8207 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8208 AC_CACHE_CHECK invocation.
8209 * configure: Regenerated.
8210
8211 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8212
8213 2011-06-27 Ulrich Drepper <drepper@gmail.com>
8214
8215 [BZ #12350]
8216 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8217 bit from old_res_options.
8218
8219 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8220
8221 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8222 value type for setfct.
8223
8224 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8225
8226 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8227 __gettimeofday instead of gettimeofday.
8228
8229 2011-06-26 Ulrich Drepper <drepper@gmail.com>
8230
8231 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8232
8233 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8234
8235 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8236
8237 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8238 info.
8239
8240 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8241
8242 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8243 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8244 strcpy-sse2-unaligned strncpy-sse2-unaligned
8245 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8246 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8247 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8248 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8249 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8250 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8251 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8252 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8253 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8254 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8255 (STRCPY): Support SSE2 and SSSE3 versions.
8256
8257 2011-06-24 Ulrich Drepper <drepper@gmail.com>
8258
8259 [BZ #12874]
8260 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8261 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8262 kernels which artificially limit size of requests.
8263
8264 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8265
8266 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8267 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8268 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8269 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8270 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8271 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8272 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8273 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8274 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8275 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8276 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8277 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8278 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8279 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8280 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8281 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8282 Enable unaligned load optimization for Intel Core i3, i5 and i7
8283 processors.
8284 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8285 Define.
8286 (index_Fast_Unaligned_Load): Define.
8287 (HAS_FAST_UNALIGNED_LOAD): Define.
8288
8289 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8290
8291 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8292
8293 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8294
8295 [BZ #12907]
8296 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8297 until it is clear that the information is realy needed.
8298 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8299
8300 2011-06-22 Andreas Schwab <schwab@redhat.com>
8301
8302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8303
8304 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8305
8306 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8307 /sys/devices/system/cpu/online if it is usable.
8308
8309 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8310 reading the information from the /proc filesystem to once a second.
8311
8312 2011-06-21 Andreas Jaeger <aj@suse.de>
8313
8314 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8315 NULL after inclusion of kernel headers.
8316
8317 2011-06-21 Ulrich Drepper <drepper@gmail.com>
8318
8319 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8320 calls to internal_setent.
8321
8322 [BZ #12885]
8323 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8324 addresses using gethostbyname4_r ignore IPv4 addresses.
8325
8326 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8327 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8328
8329 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8330
8331 2011-06-20 David S. Miller <davem@davemloft.net>
8332
8333 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8334 inclusions.
8335 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8336
8337 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8338 (elf_irel): Use it.
8339 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8340 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8341 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8342 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8343 * sysdeps/x86_64/dl-irel.h: Likewise.
8344
8345 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8346 * elf/dl-sym.c: Likewise.
8347
8348 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8349
8350 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8351 need to dereference resplen2.
8352
8353 2011-06-14 Andreas Schwab <schwab@redhat.com>
8354
8355 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8356
8357 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8358
8359 * Makeconfig: Define vardbdir and inst_vardbdir.
8360 * nss/Makefile: Add rules to install db-Makefile.
8361
8362 * nss/nss_db/db-XXX.c: Cleanup.
8363
8364 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8365 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8366 GLIBC_PRIVATE.
8367 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8368 * nss/makedb.c: Implement -g option to specify that value strings
8369 are generated and should not be added to table iterated over for
8370 get*ent calls.
8371 * nss/nss_db/db-initgroups.c: New file.
8372
8373 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8374 interface.
8375
8376 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8377 (internal_getgrouplist): Adjust to name change.
8378 Update use_initgroups_entry if this is not the first call.
8379 * nss/databases.def: Add initgroups entry.
8380
8381 * nss/makedb.c (compute_tables): Check result of multiple hash table
8382 sizes to minimize maximum chain length.
8383
8384 2011-06-14 Ulrich Drepper <drepper@gmail.com>
8385
8386 * Versions.def: Add entry for libnss_db.
8387 * shlib-versions: Likewise.
8388 * nss/Makefile: Add rules to build libnss_db.
8389 * nss/Versions: Add libnss_db information. Organize libnss_files
8390 entries better.
8391 * nss/db-Makefile: Add gshadow support. Change rules for the new
8392 makedb progra. Some minor improvements to generate smaller files.
8393 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8394 here from...
8395 * nss/makedb.c: ...here.
8396 Improve database format to be smaller and require less memory at
8397 runtime.
8398 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8399 db anymore.
8400 * nss/nss_db/db-netgrp.c: Likewise.
8401 * nss/nss_db/db-open.c: Likewise.
8402 * nss/nss_files/flies-XXX.x: Adjust comments.
8403 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8404 * nss/nss_files/files-grp.c: Likewise.
8405 * nss/nss_files/files-hosts.c: Likewise.
8406 * nss/nss_files/files-network.c: Likewise.
8407 * nss/nss_files/files-proto.c: Likewise.
8408 * nss/nss_files/files-pwd.c: Likewise.
8409 * nss/nss_files/files-rpc.c: Likewise.
8410 * nss/nss_files/files-service.c: Likewise.
8411 * nss/nss_files/files-sgrp.c: Likewise.
8412 * nss/nss_files/files-spwd.c: Likewise.
8413 * nss/nss_db/db-alias.c: Removed.
8414 * nss/nss_db/dummy-db.h: Removed.
8415
8416 2011-06-02 Ulrich Drepper <drepper@gmail.com>
8417
8418 * nss/makedb.c: Rewritten to not use database library.
8419 * nss/Makefile: Update to build new makedb program.
8420
8421 2011-06-14 Andreas Jaeger <aj@suse.de>
8422
8423 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8424 memset declaration.
8425
8426 2011-06-10 Andreas Schwab <schwab@redhat.com>
8427
8428 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8429 tmpbuf.
8430
8431 2011-06-10 Roland McGrath <roland@hack.frob.com>
8432
8433 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8434 * elf/Makefile ($(objpfx)ld.so): Likewise.
8435
8436 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8437 Don't list ld.so twice in dependencies.
8438
8439 * posix/bug-regex31.c: Include <stdlib.h>.
8440
8441 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8442
8443 * nis/nss_compat/compat-spwd.c
8444 (getspent_next_nss_netgr): Remove unused variable.
8445 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8446
8447 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8448 nonmembers" output to use the right array.
8449
8450 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8451
8452 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8453
8454 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8455 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8456 * catgets/gencat.c (read_input_file): Likewise.
8457 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8458
8459 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8460 variable definition inside #if's controlling its use.
8461
8462 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8463
8464 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8465
8466 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8467
8468 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8469 unreachable code.
8470
8471 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8472
8473 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8474 * configure: Regenerated.
8475
8476 * Makerules: Revert last change.
8477 * elf/Makefile: Likewise.
8478
8479 2011-06-09 Roland McGrath <roland@hack.frob.com>
8480
8481 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8482 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8483 (reloc-link): Likewise.
8484
8485 2011-06-09 Ulrich Drepper <drepper@gmail.com>
8486
8487 * elf/Makefile: Add rules to build pldd.
8488 * elf/pldd.c: New file.
8489 * elf/pldd-xx.c: New file.
8490
8491 2011-06-07 Ulrich Drepper <drepper@gmail.com>
8492
8493 * version.h: Update for 2.15 development version.
8494
8495 2011-06-07 David S. Miller <davem@davemloft.net>
8496
8497 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8498 ifuncs.
8499 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8500 elf_machine_lazy_rel): Likewise.
8501 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8502 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8503 elf_machine_lazy_rel): Likewise.
8504 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8505 dl_hwcap via passed in argument.
8506 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8507 Likewise.
8508
8509 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8510
8511 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8512
8513 2011-06-06 Roland McGrath <roland@hack.frob.com>
8514
8515 [BZ #12849]
8516 * manual/fdl-1.1.texi: New file, verbatim from:
8517 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8518 * manual/lgpl-2.1.texi: New file, verbatim from:
8519 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8520 * manual/Makefile (licenses): New variable, list those new file names.
8521 (texis): Use it.
8522 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8523
8524 * manual/fdl.texi: File removed.
8525 * manual/lesser.texi: File removed.
8526 * manual/libc.texinfo (Copying, Documentation License):
8527 Use new @include file names, put @appendix directive before @include.
8528
8529 2011-06-04 Jakub Jelinek <jakub@redhat.com>
8530
8531 [BZ #12841]
8532 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8533 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8534 (mq_open): Add __NTH.
8535
8536 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8537
8538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8539 Assume Intel Core i3/i5/i7 processor if AVX is available.
8540
8541 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8542
8543 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8544 typo.
8545
8546 2011-05-31 Andreas Schwab <schwab@redhat.com>
8547
8548 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8549 memory. Use alloca_account. Fix memory leak when retrying.
8550
8551 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8552
8553 * version.h (RELEASE): Bump for 2.14 release.
8554 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8555
8556 * config.make.in (RANLIB): Remove entry.
8557
8558 2011-05-30 Ulrich Drepper <drepper@gmail.com>
8559
8560 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8561 (libc.pot): Work around missing support for .ksh extension in xgettext.
8562
8563 [BZ #12684]
8564 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8565 if both request failed.
8566 (send_dg): In case of server errors clear resplen or *resplen2.
8567
8568 [BZ #12454]
8569 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8570 when there are multiple maps.
8571 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8572 (_dl_fini): Remove test here.
8573
8574 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8575
8576 2011-05-29 Ulrich Drepper <drepper@gmail.com>
8577
8578 [BZ #12350]
8579 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8580 bit from old_res_options.
8581 (gaih_inet): Likewise.
8582
8583 [BZ #11099]
8584 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8585 as signed.
8586
8587 * resolv/res_init.c (res_setoptions): Make the code more compact.
8588
8589 [BZ #11558]
8590 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8591 set RES_USEVC.
8592
8593 [BZ #11634]
8594 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8595
8596 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8597
8598 [BZ #11781]
8599 * malloc/malloc.h: Declare malloc hook variables as volatile.
8600
8601 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8602 in last patch.
8603
8604 [BZ #11799]
8605 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8606 raise in the comment.
8607 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8608 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8609 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8610
8611 2011-05-28 Ulrich Drepper <drepper@gmail.com>
8612
8613 [BZ #12811]
8614 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8615 grow the buffers more if it already has to be sufficient.
8616 (build_wcs_upper_buffer): Likewise.
8617 * posix/regexec.c (check_matching): Likewise.
8618 (clean_state_log_if_needed): Likewise.
8619 (extend_buffers): Don't enlarge buffers beyond size of the input
8620 buffer.
8621 Patches mostly by Emil Wojak <emil@wojak.eu>.
8622 * posix/bug-regex32.c: New file.
8623 * posix/Makefile (tests): Add bug-regex32.
8624
8625 * locale/findlocale.c (_nl_find_locale): Return right away if
8626 _nl_explode_name failed.
8627 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8628
8629 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8630
8631 * debug/xtrace.sh: Unify messages.
8632 * malloc/memusage.sh: Likewise.
8633
8634 [BZ #12813]
8635 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8636 time symbol from vDSO. Substitute with vsyscall if not available.
8637 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8638 __vdso_time.
8639
8640 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8641 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8642 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8643 Add sendmmsg and internal_sendmmsg.
8644 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8645 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8646 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8647
8648 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8649 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8650 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8651
8652 2011-05-27 Ulrich Drepper <drepper@gmail.com>
8653
8654 [BZ #12813]
8655 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8656 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8657 available.
8658 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8659 __vdso_getcpu.
8660
8661 [BZ #12814]
8662 * iconvdata/Makefile (tests): Add bug-iconv9.
8663 * iconvdata/bug-iconv9.c: New file.
8664
8665 2011-05-27 Andreas Schwab <schwab@redhat.com>
8666
8667 [BZ #12814]
8668 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8669
8670 2011-05-25 Jakub Jelinek <jakub@redhat.com>
8671
8672 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8673 (struct user_regs_struct): Change intcs field back to cs.
8674
8675 2011-05-25 Ulrich Drepper <drepper@gmail.com>
8676
8677 * po/ja.po: Update from translation team.
8678
8679 2011-05-23 Ulrich Drepper <drepper@gmail.com>
8680
8681 [BZ #12795]
8682 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8683 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8684
8685 2011-05-20 Andreas Schwab <schwab@redhat.com>
8686
8687 * stdlib/longlong.h: Update from GCC.
8688
8689 2011-05-23 Andreas Schwab <schwab@redhat.com>
8690
8691 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8692 parameter name.
8693 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8694 Add parameter name.
8695 (__sysconf): Pass it down.
8696
8697 2011-05-22 Ulrich Drepper <drepper@gmail.com>
8698
8699 [BZ #12671]
8700 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8701 some situations.
8702 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8703 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8704 add in in __libc_use_alloca calls. Adjust callers.
8705 (glob): Use malloc in some situations.
8706
8707 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8708 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8709 pltexit.
8710
8711 2011-05-21 Ulrich Drepper <drepper@gmail.com>
8712
8713 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8714 and CLOCK_BOOTTIME_ALARM.
8715
8716 [BZ #12782]
8717 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8718 is returned.
8719
8720 * string/_strerror.c (__strerror_r): Print negative errors as signed
8721 numbers.
8722
8723 [BZ #12777]
8724 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8725 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8726 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8727
8728 * configure.in: Fix typo in redirection and correct removal of test
8729 files in two cases.
8730
8731 [BZ #12788]
8732 * locale/setlocale.c (new_composite_name): Fix test to check for
8733 identical name of all categories.
8734
8735 [BZ #12792]
8736 * libio/filedoalloc.c (local_isatty): New function.
8737 (_IO_file_doallocate): Use local_isatty.
8738 * stdio-common/perror.c (perror): In case a new stream is used
8739 forward the stream error.
8740 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8741 error flag.
8742
8743 2011-05-20 Ulrich Drepper <drepper@gmail.com>
8744
8745 [BZ #11869]
8746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8747 alloca.
8748 * include/alloca.h (extend_alloca_account): Define.
8749
8750 [BZ #11857]
8751 * posix/regex.h: Fix comments with documentation of user-accessible
8752 fields after compilation and describe correct free'ing of pattern
8753 after re_compile_pattern.
8754 Patch by Reuben Thomas <rrt@sc3d.org>.
8755
8756 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8757
8758 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8759 and -mno-altivec to prevent the compiler from using Altivec and/or
8760 VSX instructions when the corresponding registers are not available.
8761
8762 2011-05-19 Andreas Schwab <schwab@redhat.com>
8763
8764 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8765
8766 2011-05-19 Ulrich Drepper <drepper@gmail.com>
8767
8768 * libio/freopen.c (freopen): Use __dup2, not dup2.
8769 * libio/freopen64.c (freopen64): Likewise.
8770
8771 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8772
8773 [BZ #12775]
8774 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8775 * math/Makefile (tests): Add test-powl.
8776 (CFLAGS-test-powl.c): Define.
8777 * math/test-powl.c: New file.
8778
8779 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8780
8781 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8782
8783 2011-05-17 Ulrich Drepper <drepper@gmail.com>
8784
8785 [BZ #11837]
8786 * iconvdata/gb18030.c: Update to GB18020-2005.
8787
8788 2011-05-16 Ulrich Drepper <drepper@gmail.com>
8789
8790 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8791 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8792 Patch by Aharon Robbins <arnold@skeeve.com>.
8793
8794 [BZ #11892]
8795 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8796 on the stack.
8797
8798 [BZ #11895]
8799 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8800 through underflows.
8801
8802 [BZ #12766]
8803 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8804 point to strings before performing equality test for error_one_per_line
8805 mode.
8806
8807 [BZ #11697]
8808 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8809
8810 [BZ #11820]
8811 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8812 (struct user_fpregs_struct): Avoid __uint*_t types.
8813
8814 [BZ #6420]
8815 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8816 symbol info. Use it instead of calling _dl_addr locally.
8817 (lock_and_info): New function.
8818 (tr_freehook): Call lock_and_info and pass symbol info as additional
8819 parameter to tr_where.
8820 (tr_mallochook): Likewise.
8821 (tr_reallochook): Likewise.
8822 (tr_memalignhook): Likewise.
8823
8824 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8825 used and couldn't be at all thread-safe.
8826
8827 2011-05-15 Ulrich Drepper <drepper@gmail.com>
8828
8829 * libio/freopen.c (freopen): Don't close old file descriptor
8830 before the new one is opened. Instead dup the new file descriptor
8831 to the old one after the new stream is created.
8832 * libio/freopen64.c (freopen64): Likewise.
8833 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8834 * libio/fileops.c (_IO_new_file_close_it): Handle new
8835 _IO_FLAGS2_NOCLOSE flag.
8836 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8837 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8838 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8839 _IO_FLAGS2_NOCLOSE flag.
8840 * include/unistd.h: Add hidden_proto for dup3.
8841 Define __have_dup3.
8842 * io/dup3.c: Define hidden symbol.
8843 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8844
8845 [BZ #7101]
8846 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8847 when an incomplete long option is used.
8848 * posix/tst-getopt_long1.c: New file.
8849 * posix/Makefile (tests): Add tst-getopt_long1.
8850
8851 [BZ #10138]
8852 * scripts/config.guess: Update from autoconf-2.68.
8853 * scripts/config.sub: Likewise.
8854
8855 [BZ #10157]
8856 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8857 tests into ...
8858 (has_cpuclock): ...this. New function.
8859 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8860 macro here based on has_cpuclock code.
8861
8862 [BZ #10149]
8863 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8864 First byte (not low byte) is now always NUL.
8865 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8866
8867 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8868 Use non-cancelable interfaces.
8869
8870 [BZ #9809]
8871 * locale/iso-639.def: Add entry for Sorani.
8872
8873 [BZ #11901]
8874 * include/stdlib.h: Move include protection to the right place.
8875 Define abort_msg_s. Declare __abort_msg with it.
8876 * stdlib/abort.c (__abort_msg): Adjust type.
8877 * assert/assert.c (__assert_fail_base): New function. Majority
8878 of code from __assert_fail. Allocate memory for __abort_msg with
8879 mmap.
8880 (__assert_fail): Now call __assert_fail_base.
8881 * assert/assert-perr.c: Remove bulk of implementation. Use
8882 __assert_fail_base.
8883 * include/assert.hL Declare __assert_fail_base.
8884 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8885 mmap.
8886 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8887
8888 2011-05-14 Ulrich Drepper <drepper@gmail.com>
8889
8890 [BZ #11952]
8891 [BZ #12453]
8892 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8893 until all modules are registered in the DTV.
8894 * elf/Makefile: Add rules to build and run tst-tls19.
8895 * elf/tst-tls19.c: New file.
8896 * elf/tst-tls19mod1.c: New file.
8897 * elf/tst-tls19mod2.c: New file.
8898 * elf/tst-tls19mod3.c: New file.
8899 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8900
8901 [BZ #12083]
8902 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8903 correctly.
8904
8905 [BZ #12601]
8906 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8907 two-byte sequence errors.
8908 * iconvdata/Makefile (tests): Add bug-iconv8.
8909 * iconvdata/bug-iconv8.c: New file.
8910
8911 [BZ #12626]
8912 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8913 buf2 definition.
8914
8915 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8916
8917 [BZ #12432]
8918 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8919 (dummy_getcfa): New function.
8920 (init): Get _Unwind_GetCFA address, use dummy if not found.
8921 (backtrace_helper): In recursion check, also check whether CFA changes.
8922 (__backtrace): Completely initialize arg.
8923
8924 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
8925 storing incomplete byte sequence in state object. Avoid testing for
8926 guaranteed too small input if we know there is enough data available.
8927
8928 2011-05-11 Andreas Schwab <schwab@redhat.com>
8929
8930 * Makeconfig (+link-pie): Indent.
8931 * Rules (binaries-pie): Define if $(have-fpie) and
8932 $(build-shared).
8933 (binaries-shared): Also filter out $(binaries-pie).
8934 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8935 * nscd/Makefile (others-pie): Add nscd.
8936 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8937 ($(objpfx)nscd): Remove command override.
8938 * login/Makefile (others-pie): Add pt_chown.
8939 ($(objpfx)pt_chown): Remove command override.
8940 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8941 remove command overrides.
8942
8943 2011-05-13 Ulrich Drepper <drepper@gmail.com>
8944
8945 * libio/tst_putwc.c: Fix error messages.
8946
8947 [BZ #12724]
8948 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8949 currently writing and seek to current position when not.
8950 * libio/Makefile (tests): Add bug-fclose1.
8951 * libio/bug-fclose1.c: New file.
8952
8953 2011-05-12 Ulrich Drepper <drepper@gmail.com>
8954
8955 [BZ #12511]
8956 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8957 don't set DF_1_NODELETE here.
8958 (do_lookup_x): When entering new entry test for copy relocation
8959 and if necessary set DF_1_NODELETE flag.
8960 * elf/tst-unique4.cc: New file.
8961 * elf/tst-unique4.h: New file.
8962 * elf/tst-unique4lib.cc: New file.
8963 * elf/Makefile: Add rules to build and run tst-unique4.
8964 Patch by Piotr Bury <pbury@goahead.com>.
8965
8966 2011-05-11 Ulrich Drepper <drepper@gmail.com>
8967
8968 [BZ #12052]
8969 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8970
8971 [BZ #12625]
8972 * misc/mntent_r.c (addmntent): Flush the stream after the output
8973
8974 [BZ #12393]
8975 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8976 (is_trusted_path_normalize): Skip initial colon. Append slash
8977 to empty buffer. Duplicate is_trusted_path code but allow
8978 constructed patch to be prefix.
8979 (is_dst): Allow $ORIGIN followed by /.
8980 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8981 Correct testing of result of is_trusted_path_normalize
8982 (decompose_rpath): Fix warning.
8983
8984 2011-05-10 Ulrich Drepper <drepper@gmail.com>
8985
8986 [BZ #11257]
8987 * grp/initgroups.c (internal_getgrouplist): When we found the service
8988 list through the initgroups entry in nsswitch.conf do not always
8989 continue on a successful lookup. Don't always use the
8990 __nss_group_database value if it is set.
8991 * nss/nsswitch.conf (initgroups): Change action for successful db
8992 lookup to continue for compatibility.
8993
8994 2011-05-09 Ulrich Drepper <drepper@gmail.com>
8995
8996 [BZ #11532]
8997 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8998 and CP774 modules.
8999 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9000 and CP774 modules.
9001 * iconvdata/tst-tables.sh: Likewise.
9002 * iconvdata/cp770.c: New file.
9003 * iconvdata/cp771.c: New file.
9004 * iconvdata/cp772.c: New file.
9005 * iconvdata/cp773.c: New file.
9006 * iconvdata/cp774.c: New file.
9007 * iconvdata/testdata/CP770: New file.
9008 * iconvdata/testdata/CP770..UTF8: New file.
9009 * iconvdata/testdata/CP771: New file.
9010 * iconvdata/testdata/CP771..UTF8: New file.
9011 * iconvdata/testdata/CP772: New file.
9012 * iconvdata/testdata/CP772..UTF8: New file.
9013 * iconvdata/testdata/CP773: New file.
9014 * iconvdata/testdata/CP773..UTF8: New file.
9015 * iconvdata/testdata/CP774: New file.
9016 * iconvdata/testdata/CP774..UTF8: New file.
9017
9018 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9019 END CHARMAP line.
9020 * iconvdata/gen-8bit-gap.sh: Likewise.
9021 * iconvdata/gen-8bit.sh: Likewise.
9022
9023 * locale/iso-639.def: Add ary entry.
9024
9025 [BZ #11258]
9026 * locale/C-translit.h.in: Add U20A1 transliteration.
9027
9028 [BZ #12178]
9029 * locale/iso-639.def: Add wae entry.
9030 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9031
9032 [BZ #12545]
9033 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9034 for n.
9035
9036 [BZ #12711]
9037 * locale/C-translit.h.in: Add entry for U20B9.
9038 Patch by pravin.d.s@gmail.com.
9039
9040 2011-05-08 Ulrich Drepper <drepper@gmail.com>
9041
9042 [BZ #12713]
9043 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9044 ENAMETOOLONG use generic getcwd.
9045 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9046 in rtld. Use *stat64.
9047 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9048 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9049 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9050 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9051 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9052 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9053 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9054 __fstatat64 macros.
9055 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9056 * dirent/rewinddir.c: Add libc_hidden_def.
9057 * sysdeps/mach/hurd/rewinddir.c: Likewise.
9058 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
9059
9060 * include/dirent.h (__alloc_dir): Add flags parameter.
9061 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9062 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9063 __alloc_dir.
9064 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9065 from fdopendir if O_CLOEXEC is already set.
9066
9067 2011-03-15 Alan Modra <amodra@gmail.com>
9068
9069 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9070 l_tls_firstbyte_offset non-zero. Save padding offset in
9071 l_tls_firstbyte_offset for later use.
9072 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9073 freeing static tls block.
9074
9075 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9076
9077 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9078 where #ifdef was intended. The intent is to prevent ARG_MAX from
9079 being defined by the kernel headers.
9080
9081 2011-05-07 Ulrich Drepper <drepper@gmail.com>
9082
9083 [BZ #12734]
9084 * resolv/resolv.h: Define RES_NOTLDQUERY.
9085 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9086 no-tld-query and set RES_NOTLDQUERY.
9087 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9088 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9089 modern BIND to search name as TLD unless forbidden.
9090
9091 2011-05-07 Petr Baudis <pasky@suse.cz>
9092 Ulrich Drepper <drepper@gmail.com>
9093
9094 [BZ #12393]
9095 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9096 (is_trusted_path): ...to here.
9097 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9098 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9099 using is_trusted_path_normalize() in setuid scripts.
9100
9101 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9102
9103 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9104 __BEGIN/__END_DECLS.
9105
9106 2011-05-06 Ulrich Drepper <drepper@gmail.com>
9107
9108 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9109 NSS_STATUS_NOTFOUND if no record was found.
9110
9111 2011-05-05 Andreas Schwab <schwab@redhat.com>
9112
9113 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9114 (headers-not-in-tirpc): Remove rpc/netdb.h
9115 * resolv/netdb.h: Revert last change.
9116
9117 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9118
9119 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9120 circular dependency between libgcc.a and libc.a.
9121
9122 2011-05-05 Andreas Schwab <schwab@redhat.com>
9123
9124 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9125 * nis/Makefile: Don't install rpcsvc/*.
9126 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9127 instead of <rpc/types.h>.
9128 (MAXHOSTNAMELEN): Define.
9129
9130 2011-05-03 Andreas Schwab <schwab@redhat.com>
9131
9132 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9133
9134 2011-04-28 Maciej Babinski <mbabinski@google.com>
9135
9136 [BZ #12714]
9137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9138 gethostbyname4_r when IPv6 results are possible.
9139
9140 2011-05-02 Ulrich Drepper <drepper@gmail.com>
9141
9142 [BZ #12723]
9143 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9144 _PC_PIPE_BUF handling.
9145
9146 2011-04-30 Bruno Haible <bruno@clisp.org>
9147
9148 [BZ #12717]
9149 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9150 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9151 to 'int'.
9152 * inet/getnameinfo.c (getnameinfo): Likewise.
9153
9154 2011-04-29 Ulrich Drepper <drepper@gmail.com>
9155
9156 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9157 to groups setting in database lookup.
9158 * nss/nsswitch.conf: Add initgroups entry.
9159
9160 2011-04-22 Ulrich Drepper <drepper@gmail.com>
9161
9162 [BZ #12685]
9163 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9164 mode string.
9165 Patch by Eric Blake <eblake@redhat.com>.
9166
9167 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9168
9169 * sunrpc/Makefile (need-export-routines): Add svc_run.
9170 (routines): Remove svc_run.
9171 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9172 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9173 * sunrpc/svc_run.c (svc_run): Likewise.
9174 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9175
9176 2011-04-21 Ulrich Drepper <drepper@gmail.com>
9177
9178 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9179 problem in reallocation in last patch.
9180
9181 2011-04-20 Ulrich Drepper <drepper@gmail.com>
9182
9183 * sunrpc/Makefile: Move inclusion of Rules.
9184
9185 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9186
9187 * nss/nss_files/files-initgroups.c: New file.
9188 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9189 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9190 _nss_files_initgroups_dyn.
9191
9192 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9193
9194 * elf/elf.h (R_ARM_IRELATIVE): Define.
9195
9196 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9197
9198 * po/ru.po: Update from translation team.
9199
9200 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9201
9202 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9203 dependencies.
9204
9205 2011-02-06 Mike Frysinger <vapier@gentoo.org>
9206
9207 [BZ #12653]
9208 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9209 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9210 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9211 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9212 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9213
9214 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9215
9216 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9217 differing bytes.
9218 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9219 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9220 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9221
9222 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9223
9224 [BZ #12420]
9225 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9226 storing it.
9227 * stdlib/bug-getcontext.c: New file.
9228 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9229
9230 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9231
9232 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9233 instructions into .machine "z9-109".
9234 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9235 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9236
9237 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9238
9239 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9240 between environment variables and auxiliary vector.
9241
9242 2011-04-16 Ulrich Drepper <drepper@gmail.com>
9243
9244 * Makefile: Add rules to build linkobj/libc.so.
9245 * include/libc-symbols.h: Define libc_hidden_nolink.
9246 * include/rpc/auth.h: Mark functions which are to be hidden.
9247 * include/rpc/auth_des.h: Likewise.
9248 * include/rpc/auth_unix.h: Likewise.
9249 * include/rpc/clnt.h: Likewise.
9250 * include/rpc/des_crypt.h: Likewise.
9251 * include/rpc/key_prot.h: Likewise.
9252 * include/rpc/pmap_clnt.h: Likewise.
9253 * include/rpc/pmap_prot.h: Likewise.
9254 * include/rpc/pmap_rmt.h: Likewise.
9255 * include/rpc/rpc_msg.h: Likewise.
9256 * include/rpc/svc.h: Likewise.
9257 * include/rpc/svc_auth.h: Likewise.
9258 * include/rpc/xdr.h: Likewise.
9259 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9260 * nss/Makefile: Likewise.
9261 * sunrpc/Makefile: Don't install headers. Build library with normal
9262 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9263 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9264 for the compat linking library. Remove use of INTDEF/INTUSE.
9265 * sunrpc/auth_none.c: Likewise.
9266 * sunrpc/auth_unix.c: Likewise.
9267 * sunrpc/authdes_prot.c: Likewise.
9268 * sunrpc/authuxprot.c: Likewise.
9269 * sunrpc/clnt_gen.c: Likewise.
9270 * sunrpc/clnt_perr.c: Likewise.
9271 * sunrpc/clnt_raw.c: Likewise.
9272 * sunrpc/clnt_simp.c: Likewise.
9273 * sunrpc/clnt_tcp.c: Likewise.
9274 * sunrpc/clnt_udp.c: Likewise.
9275 * sunrpc/clnt_unix.c: Likewise.
9276 * sunrpc/des_crypt.c: Likewise.
9277 * sunrpc/des_soft.c: Likewise.
9278 * sunrpc/get_myaddr.c: Likewise.
9279 * sunrpc/key_call.c: Likewise.
9280 * sunrpc/key_prot.c: Likewise.
9281 * sunrpc/netname.c: Likewise.
9282 * sunrpc/pm_getmaps.c: Likewise.
9283 * sunrpc/pm_getport.c: Likewise.
9284 * sunrpc/pmap_clnt.c: Likewise.
9285 * sunrpc/pmap_prot.c: Likewise.
9286 * sunrpc/pmap_prot2.c: Likewise.
9287 * sunrpc/pmap_rmt.c: Likewise.
9288 * sunrpc/publickey.c: Likewise.
9289 * sunrpc/rpc_cmsg.c: Likewise.
9290 * sunrpc/rpc_common.c: Likewise.
9291 * sunrpc/rpc_dtable.c: Likewise.
9292 * sunrpc/rpc_prot.c: Likewise.
9293 * sunrpc/rpc_thread.c: Likewise.
9294 * sunrpc/rtime.c: Likewise.
9295 * sunrpc/svc.c: Likewise.
9296 * sunrpc/svc_auth.c: Likewise.
9297 * sunrpc/svc_authux.c: Likewise.
9298 * sunrpc/svc_raw.c: Likewise.
9299 * sunrpc/svc_run.c: Likewise.
9300 * sunrpc/svc_simple.c: Likewise.
9301 * sunrpc/svc_tcp.c: Likewise.
9302 * sunrpc/svc_udp.c: Likewise.
9303 * sunrpc/svc_unix.c: Likewise.
9304 * sunrpc/svcauth_des.c: Likewise.
9305 * sunrpc/xcrypt.c: Likewise.
9306 * sunrpc/xdr.c: Likewise.
9307 * sunrpc/xdr_array.c: Likewise.
9308 * sunrpc/xdr_float.c: Likewise.
9309 * sunrpc/xdr_intXX_t.c: Likewise.
9310 * sunrpc/xdr_mem.c: Likewise.
9311 * sunrpc/xdr_rec.c: Likewise.
9312 * sunrpc/xdr_ref.c: Likewise.
9313 * sunrpc/xdr_sizeof.c: Likewise.
9314 * sunrpc/xdr_stdio.c: Likewise.
9315
9316 2011-04-10 Ulrich Drepper <drepper@gmail.com>
9317
9318 [BZ #12650]
9319 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9320 * sysdeps/ia64/dl-tls.h: Likewise.
9321 * sysdeps/powerpc/dl-tls.h: Likewise.
9322 * sysdeps/s390/dl-tls.h: Likewise.
9323 * sysdeps/sh/dl-tls.h: Likewise.
9324 * sysdeps/sparc/dl-tls.h: Likewise.
9325 * sysdeps/x86_64/dl-tls.h: Likewise.
9326 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9327
9328 2011-03-14 Andreas Schwab <schwab@redhat.com>
9329
9330 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9331 rpath element also skip the following colon.
9332 (expand_dynamic_string_token): Add is_path parameter and pass
9333 down to DL_DST_REQUIRED and _dl_dst_substitute.
9334 (decompose_rpath): Call expand_dynamic_string_token with
9335 non-zero is_path. Ignore empty rpaths.
9336 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9337 with zero is_path.
9338
9339 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9340
9341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9342 Make cancelable.
9343
9344 2011-04-09 Ulrich Drepper <drepper@gmail.com>
9345
9346 [BZ #12655]
9347 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9348 Patch by Filipe David Manana <fdmanana@apache.org>.
9349
9350 2011-04-07 Andreas Schwab <schwab@redhat.com>
9351
9352 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9353 Maintain aligned stack.
9354 (CHECK_RSP): Remove unused macro.
9355
9356 2011-04-03 Ulrich Drepper <drepper@gmail.com>
9357
9358 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9359 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9360
9361 2011-04-02 Ulrich Drepper <drepper@gmail.com>
9362
9363 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9364
9365 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9366
9367 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9368
9369 [BZ #12518]
9370 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9371 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9372 * sysdeps/x86_64/memmove.c: New file.
9373 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9374 (memcpy): Renamed to ...
9375 (__new_memcpy): This.
9376 (memcpy): Provide GLIBC_2_14 memcpy.
9377 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9378 (memcpy): Provide GLIBC_2_2_5 memcpy.
9379
9380 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9381
9382 [BZ #12631]
9383 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9384
9385 2011-03-30 Andreas Schwab <schwab@redhat.com>
9386
9387 * misc/syncfs.c: New file.
9388 * misc/Makefile (routines): Add syncfs.
9389 * posix/unistd.h: Declare syncfs.
9390 * sysdeps/unix/syscalls.list: Add syncfs.
9391
9392 2011-04-01 Andreas Schwab <schwab@redhat.com>
9393
9394 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9395 open_by_handle_at.
9396 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9397 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9398 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9399 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9400 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9401 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9402 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9403
9404 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9405
9406 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9407 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9408 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9409 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9410 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9411 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9412 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9413
9414 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9415 sync_file_range.c with -fexceptions.
9416 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9417 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9418 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9419 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9420 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9421 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9422 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9423 sync_file_range as cancellation point
9424 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9425 now a wrapper around __call_sync_file_range with cancellation handling.
9426 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9427 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9428 function name to __call_sync_file_range.
9429 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9430 Add call_sync_file_range.
9431
9432 2011-04-01 Andreas Schwab <schwab@redhat.com>
9433
9434 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9435 bits/timex.h.
9436
9437 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9438
9439 * iconv/iconv.h: Fix typo in comment.
9440 * io/fcntl.h: Likewise.
9441 * libio/stdio.h: Likewise.
9442 * posix/spawn.h: Likewise.
9443 * posix/unistd.h: Likewise.
9444 * stdlib/stdlib.h: Likewise.
9445 * time/time.h: Likewise.
9446 * wcsmbs/wchar.h: Likewise.
9447
9448 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9449 open_by_handle): Add.
9450 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9451 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9452 Augment a few comments.
9453 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9454 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9455 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9456 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9457 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9458 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9459 open_by_handle.
9460
9461 * io/fcntl.h (AT_EMPTY_PATH): Define.
9462
9463 2011-03-30 Ulrich Drepper <drepper@gmail.com>
9464
9465 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9466 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9467 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9468 to...
9469 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
9470 * Versions.def: Add GLIBC_2.14.
9471 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9472 Export.
9473
9474 2011-03-22 Ulrich Drepper <drepper@gmail.com>
9475
9476 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9477 round counter.
9478 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9479
9480 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9481
9482 [BZ #12597]
9483 * string/test-strncmp.c (do_page_test): New function.
9484 (check2): Likewise.
9485 (test_main): Call check2.
9486 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9487
9488 2011-03-20 Ulrich Drepper <drepper@gmail.com>
9489
9490 [BZ #12587]
9491 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9492 Handle cache information in CPU leaf 4.
9493 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9494
9495 2011-03-18 Ulrich Drepper <drepper@gmail.com>
9496
9497 [BZ #12583]
9498 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9499 character representation.
9500 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9501
9502 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9503
9504 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9505 END(__isnan) to END(__isnanf) to match function entry point/label
9506 EALIGN(__isnanf,...).
9507
9508 2011-03-10 Jakub Jelinek <jakub@redhat.com>
9509
9510 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9511
9512 2011-03-10 Ulrich Drepper <drepper@gmail.com>
9513
9514 [BZ #12510]
9515 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9516 copy from the symbol referenced in the relocation to initialize the
9517 used variable.
9518 Patch by Piotr Bury <pbury@goahead.com>.
9519 * elf/Makefile: Add rules to build and tst-unique3.
9520 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9521 * elf/tst-unique3.cc: New file.
9522 * elf/tst-unique3.h: New file.
9523 * elf/tst-unique3lib.cc: New file.
9524 * elf/tst-unique3lib2.cc: New file.
9525
9526 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9527
9528 2011-03-10 Mike Frysinger <vapier@gentoo.org>
9529
9530 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9531 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9532 to _start.
9533
9534 2011-03-06 Ulrich Drepper <drepper@gmail.com>
9535
9536 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9537 to-be-loaded object along a path to loader is ld.so.
9538
9539 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9540 Ulrich Drepper <drepper@gmail.com>
9541
9542 * sysdeps/x86_64/memset.S: After aligning destination, code
9543 branches to different locations depending on the value of
9544 misalignment, when multiarch is enabled. Fix this.
9545
9546 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9547
9548 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9549 Set _x86_64_preferred_memory_instruction for AMD processsors.
9550 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9551 Set bit_Prefer_SSE_for_memop for AMD processors.
9552
9553 2011-03-04 Ulrich Drepper <drepper@gmail.com>
9554
9555 * libio/fmemopen.c (fmemopen): Optimize a bit.
9556
9557 2011-03-03 Andreas Schwab <schwab@redhat.com>
9558
9559 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9560
9561 2011-03-03 Roland McGrath <roland@redhat.com>
9562
9563 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9564
9565 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9566
9567 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
9568 __bzero_ultra1 instead of __memset_ultra1.
9569
9570 2011-02-23 Andreas Schwab <schwab@redhat.com>
9571 Ulrich Drepper <drepper@gmail.com>
9572
9573 [BZ #12509]
9574 * include/link.h (struct link_map): Add l_orig_initfini.
9575 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9576 returning unsuccessfully.
9577 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9578 close of a file loaded at startup, restore the original l_initfini
9579 list.
9580 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9581 list, store the pointer.
9582 * elf/Makefile ($(objpfx)noload-mem): New rule.
9583 (noload-ENV): Define.
9584 (tests): Add $(objpfx)noload-mem.
9585 * elf/noload.c: Include <memcheck.h>.
9586 (main): Call mtrace. Close all opened handles.
9587
9588 2011-02-17 Andreas Schwab <schwab@redhat.com>
9589
9590 [BZ #12454]
9591 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9592 dependencies are missing.
9593
9594 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9595
9596 Fix __if_freereq crash: Unlike the generic version which uses free,
9597 Hurd needs munmap.
9598 * sysdeps/mach/hurd/ifreq.h: New file.
9599
9600 2011-01-27 Petr Baudis <pasky@suse.cz>
9601 Ulrich Drepper <drepper@gmail.com>
9602
9603 [BZ 12445]#
9604 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9605 to extend_alloca().
9606 * stdio-common/bug23.c: New file.
9607 * stdio-common/Makefile (tests): Add bug23.
9608
9609 2010-09-28 Andreas Schwab <schwab@redhat.com>
9610 Ulrich Drepper <drepper@gmail.com>
9611
9612 [BZ #12489]
9613 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9614 before performing relro protection. At old place add assertion
9615 to make sure nothing changed.
9616
9617 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9618 Glauber de Oliveira Costa <glommer@gmail.com>
9619
9620 * elf/elf.h: Add new ARM TLS relocs.
9621
9622 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9623
9624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9625 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9626 cast from r3.
9627 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9628 'tests' variable.
9629 * sysdeps/wordsize-64/tst-writev.c: New file.
9630
9631 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9632
9633 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9634 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9635 insns in _dl_start to prevent a TOC reference before relocs are
9636 resolved.
9637
9638 2011-02-15 Ulrich Drepper <drepper@gmail.com>
9639
9640 [BZ #12469]
9641 * Makeconfig: Remove RANLIB definition.
9642 * Makerules: Don't use RANLIB.
9643 * aclocal.m4: Remove ranlib test.
9644 * configure.in: No need to check for ranlib.
9645 * elf/rtld-Rules: Don't use RANLIB.
9646
9647 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9648
9649 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9650 protection macro.
9651 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9652 inclusion protection macro.
9653
9654 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9655 SIGRTMIN and SIGRTMAX and print information in that case only when
9656 SIGRTMIN is defined.
9657
9658 2011-02-11 Jakub Jelinek <jakub@redhat.com>
9659
9660 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9661 arginfo fn returning -1.
9662
9663 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9664 and thousands string is zero terminated.
9665
9666 2011-02-03 Andreas Schwab <schwab@redhat.com>
9667
9668 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9669 sysdeps/unix/sysv/linux/bits/socket.h.
9670
9671 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9672
9673 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9674 (__CPU_COUNT): Remove old macros.
9675 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9676 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9677 (__CPU_ALLOC, __CPU_FREE): Add macros.
9678 (__sched_cpualloc, __sched_cpufree): Add declarations.
9679
9680 2011-02-05 Ulrich Drepper <drepper@gmail.com>
9681
9682 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9683 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9684 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9685 (readdhstai): Return value of addhstaiX call.
9686 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9687 (addgrbyX): Return value returned by cache_addgr.
9688 (readdgrbyname): Return value returned by addgrbyX.
9689 (readdgrbygid): Likewise.
9690 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9691 (addpwbyX): Return value returned by cache_addpw.
9692 (readdpwbyname): Return value returned by addhstbyX.
9693 (readdpwbyuid): Likewise.
9694 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9695 (addservbyX): Return value returned by cache_addserv.
9696 (readdservbyname): Return value returned by addservbyX:
9697 (readdservbyport): Likewise.
9698 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9699 (addhstbyX): Return value returned by cache_addhst.
9700 (readdhstbyname): Return value returned by addhstbyX.
9701 (readdhstbyaddr): Likewise.
9702 (readdhstbynamev6): Likewise.
9703 (readdhstbyaddrv6): Likewise.
9704 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9705 (readdinitgroups): Return value returned by addinitgroupsX.
9706 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9707 (prune_cache): Keep track of timeout value of re-added entries.
9708 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9709 * nscd/nscd.h: Adjust prototypes of readd* functions.
9710
9711 2011-02-04 Roland McGrath <roland@redhat.com>
9712
9713 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9714 (nis_stats): Likewise.
9715 * nis/nis_modify.c (nis_modify): Likewise.
9716 * nis/nis_remove.c (nis_remove): Likewise.
9717 * nis/nis_add.c (nis_add): Likewise.
9718
9719 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9720
9721 * posix/fnmatch_loop.c: Add some consts.
9722
9723 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9724
9725 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9726
9727 [BZ #12460]
9728 * config.make.in (config-cflags-novzeroupper): Define.
9729 * configure.in: Substitute libc_cv_cc_novzeroupper.
9730 * elf/Makefile (AVX-CFLAGS): Define.
9731 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9732 (CFLAGS-tst-auditmod4a.c): Likewise.
9733 (CFLAGS-tst-auditmod4b.c): Likewise.
9734 (CFLAGS-tst-auditmod6b.c): Likewise.
9735 (CFLAGS-tst-auditmod6c.c): Likewise.
9736 (CFLAGS-tst-auditmod7b.c): Likewise.
9737 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9738
9739 2011-02-02 Ulrich Drepper <drepper@gmail.com>
9740
9741 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9742 function to the callback.
9743 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9744
9745 2011-02-02 Andreas Schwab <schwab@redhat.com>
9746
9747 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9748 of errno.
9749
9750 2011-01-19 Ulrich Drepper <drepper@gmail.com>
9751
9752 [BZ #11724]
9753 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9754 of constructors.
9755 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9756 of destructors.
9757 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9758
9759 [BZ #11724]
9760 * elf/Makefile: Add rules to build and run new test.
9761 * elf/tst-initorder.c: New file.
9762 * elf/tst-initorder.exp: New file.
9763 * elf/tst-initordera1.c: New file.
9764 * elf/tst-initordera2.c: New file.
9765 * elf/tst-initordera3.c: New file.
9766 * elf/tst-initordera4.c: New file.
9767 * elf/tst-initorderb1.c: New file.
9768 * elf/tst-initorderb2.c: New file.
9769 * elf/tst-order-a1.c: New file.
9770 * elf/tst-order-a2.c: New file.
9771 * elf/tst-order-a3.c: New file.
9772 * elf/tst-order-a4.c: New file.
9773 * elf/tst-order-b1.c: New file.
9774 * elf/tst-order-b2.c: New file.
9775 * elf/tst-order-main.c: New file.
9776 New test case by George Gensure <werkt0@gmail.com>.
9777
9778 2010-10-01 Andreas Schwab <schwab@redhat.com>
9779
9780 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9781 decoding ACE if AI_CANONIDN.
9782
9783 2011-01-18 Ulrich Drepper <drepper@gmail.com>
9784
9785 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9786
9787 2011-01-17 Ulrich Drepper <drepper@gmail.com>
9788
9789 * version.h (RELEASE): Bump for 2.13 release.
9790 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9791
9792 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9793
9794 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9795 MADV_NOHUGEPAGE.
9796 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9797 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9798 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9799 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9800 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9801 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9802
9803 * posix/getconf.c: Update copyright year.
9804 * catgets/gencat.c: Likewise.
9805 * csu/version.c: Likewise.
9806 * debug/catchsegv.sh: Likewise.
9807 * debug/xtrace.sh: Likewise.
9808 * elf/ldconfig.c: Likewise.
9809 * elf/ldd.bash.in: Likewise.
9810 * elf/sprof.c (print_version): Likewise.
9811 * iconv/iconv_prog.c: Likewise.
9812 * iconv/iconvconfig.c: Likewise.
9813 * locale/programs/locale.c: Likewise.
9814 * locale/programs/localedef.c: Likewise.
9815 * malloc/memusage.sh: Likewise.
9816 * malloc/mtrace.pl: Likewise.
9817 * nscd/nscd.c (print_version): Likewise.
9818 * nss/getent.c: Likewise.
9819
9820 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9821 PF_CAIF, and PF_ALG.
9822 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9823
9824 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9825
9826 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9827 (modules-names): Use them.
9828 (ifunc-test-modules, ifunc-pie-tests): Define.
9829 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9830 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9831 (test-extras): Likewise.
9832 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9833 $(compile-command.c).
9834 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9835 (all-built-dso): Define.
9836 (check-textrel.out, check-execstack.out): Depend on it.
9837
9838 * configure.in: Don't override --enable-multi-arch.
9839
9840 2011-01-15 Ulrich Drepper <drepper@gmail.com>
9841
9842 [BZ #6812]
9843 * nscd/hstcache.c (tryagain): Define.
9844 (cache_addhst): Return tryagain not notfound for temporary errors.
9845 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9846 failed.
9847
9848 2011-01-14 Ulrich Drepper <drepper@gmail.com>
9849
9850 [BZ #10563]
9851 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9852 to make the syscall.
9853 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9854
9855 [BZ #12378]
9856 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9857 and fall back to matching as normal character if the string ends before
9858 the matching ']' is found. This is what POSIX requires.
9859 * posix/testfnm.c: Adjust test result.
9860 * posix/globtest.sh: Adjust test result. Add new test.
9861 * posix/tst-fnmatch.input: Likewise.
9862 * posix/tst-fnmatch2.c: Add new test.
9863
9864 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9865
9866 * elf/Makefile (check-execstack): Revert last change. Depend on
9867 check-execstack.h.
9868 (check-execstack.h): New target.
9869 (generated): Add check-execstack.h.
9870 * elf/check-execstack.c: Include "check-execstack.h".
9871 (main): Revert last change.
9872 (handle_file): Return zero if GNU_STACK is absent and
9873 DEFAULT_STACK_PERMS doesn't include PF_X.
9874
9875 2011-01-13 Ulrich Drepper <drepper@gmail.com>
9876
9877 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9878 in child fails because the descriptor is already closed.
9879 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9880 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9881 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9882
9883 [BZ #12397]
9884 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9885 syscall.
9886
9887 [BZ #10484]
9888 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9889 temporary buffer used to handle multi lookups locally.
9890 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
9891
9892 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9893
9894 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9895 loader is ld.so.
9896
9897 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9898
9899 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9900 alignment for SSE2.
9901
9902 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9903
9904 [BZ #12394]
9905 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9906 characters. When rounding increased number of integer digits recompute
9907 number of groups.
9908 * stdio-common/tst-grouping.c: New file.
9909 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9910
9911 2011-01-09 Ulrich Drepper <drepper@gmail.com>
9912
9913 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9914 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9915
9916 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9917 void.
9918 * bits/select.h: Likewise.
9919
9920 2011-01-08 Ulrich Drepper <drepper@gmail.com>
9921
9922 * po/ja.po: Update from translation team.
9923
9924 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
9925
9926 [BZ #11155]
9927 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9928 implementation just like for lxstat, fxstatat, et al.
9929
9930 2010-12-27 Jim Meyering <meyering@redhat.com>
9931
9932 [BZ #12348]
9933 * posix/regexec.c (build_trtable): Return failure indication upon
9934 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9935
9936 2010-12-25 Ulrich Drepper <drepper@gmail.com>
9937
9938 [BZ #12201]
9939 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9940 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9941 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9942 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9943
9944 [BZ #12207]
9945 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9946
9947 [BZ #12204]
9948 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9949 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9950
9951 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9952
9953 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9954 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9955 script has SORT_BY_INIT_PRIORITY.
9956 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9957 NO_CTORS_DTORS_SECTIONS is defined.
9958 * elf/soinit.c: Likewise.
9959 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9960 NO_CTORS_DTORS_SECTIONS is defined.
9961 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9962 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9963 * sysdeps/sh/init-first.c: Likewise.
9964 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9965
9966 2010-12-24 Ulrich Drepper <drepper@gmail.com>
9967
9968 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9969 always use the slow path.
9970
9971 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9972
9973 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9974 similar rule which adds the sysdep directories to the header search in
9975 order to pick up the correct platform stackinfo.h.
9976 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9977 perform test if it is, otherwise return successfully without testing.
9978 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9979 DEFAULT_STACK_PERMS define in stackinfo.h.
9980 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9981 defined in stackinfo.h.
9982 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9983 DEFAULT_STACK_PERMS defined in stackinfo.h.
9984 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9985 * sysdeps/ia64/stackinfo.h: Likewise.
9986 * sysdeps/s390/stackinfo.h: Likewise.
9987 * sysdeps/sh/stackinfo.h: Likewise.
9988 * sysdeps/sparc/stackinfo.h: Likewise.
9989 * sysdeps/x86_64/stackinfo.h: Likewise.
9990 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9991 PF_X for powerpc64. Retain PF_X for powerpc32.
9992
9993 2010-12-19 Ulrich Drepper <drepper@gmail.com>
9994
9995 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9996 accurately.
9997 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9998 GETDENTS_64BIT_ALIGNED.
9999
10000 2010-12-14 Ulrich Drepper <dreper@gmail.com>
10001
10002 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10003
10004 2010-12-10 Andreas Schwab <schwab@redhat.com>
10005
10006 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10007 _GNU_SOURCE.
10008
10009 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10010 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10011 Remove __restrict.
10012 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10013 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10014
10015 2010-12-09 Ulrich Drepper <drepper@gmail.com>
10016
10017 [BZ #11655]
10018 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10019 are initialized.
10020
10021 2010-12-09 Jakub Jelinek <jakub@redhat.com>
10022
10023 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10024
10025 2010-12-03 Ulrich Drepper <drepper@gmail.com>
10026
10027 * po/it.po: Update from translation team.
10028
10029 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10030
10031 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10032 unused codes.
10033
10034 2010-11-30 Ulrich Drepper <drepper@gmail.com>
10035
10036 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10037
10038 2010-11-24 Andreas Schwab <schwab@redhat.com>
10039
10040 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10041 specially.
10042 (gaih_getanswer_slice): Likewise.
10043
10044 2010-10-20 Jakub Jelinek <jakub@redhat.com>
10045
10046 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10047
10048 2010-05-31 Petr Baudis <pasky@suse.cz>
10049
10050 [BZ #11149]
10051 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10052 silently even in the chroot mode.
10053
10054 2010-11-22 Ulrich Drepper <drepper@gmail.com>
10055
10056 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10057 last patch a bit. Pretty printing
10058
10059 2010-05-31 Petr Baudis <pasky@suse.cz>
10060
10061 [BZ #10085]
10062 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10063 initialization of skip_initgroups_dyn.
10064
10065 2010-11-19 Ulrich Drepper <drepper@gmail.com>
10066
10067 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10068 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10069
10070 2010-11-16 Ulrich Drepper <drepper@gmail.com>
10071
10072 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10073
10074 2010-11-11 Andreas Schwab <schwab@redhat.com>
10075
10076 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10077 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10078 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10079 ($(objpfx)tst-fnmatch-mem): New rule.
10080 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10081 * posix/tst-fnmatch.c (main): Call mtrace.
10082
10083 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10084
10085 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10086 Support Intel processor model 6 and model 0x2c.
10087
10088 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
10089
10090 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10091 signed comparison.
10092
10093 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10094
10095 [BZ #12205]
10096 * string/test-strncasecmp.c (check_result): New function.
10097 (do_one_test): Use it.
10098 (check1): New function.
10099 (test_main): Use it.
10100 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10101 Support strcasecmp and strncasecmp.
10102
10103 2010-11-08 Ulrich Drepper <drepper@gmail.com>
10104
10105 [BZ #12194]
10106 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10107 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10108
10109 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10110
10111 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10112 IFUNC support.
10113 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10114 memset-x86-64.
10115 * sysdeps/x86_64/multiarch/bzero.S: New file.
10116 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10117 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10118 * sysdeps/x86_64/multiarch/memset.S: New file.
10119 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10120 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10121 Set bit_Prefer_SSE_for_memop for Intel processors.
10122 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10123 Define.
10124 (index_Prefer_SSE_for_memop): Define.
10125 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10126
10127 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
10128
10129 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10130 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10131
10132 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10133
10134 [BZ #12191]
10135 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10136 (__x86_64_raw_data_cache_size_half): Likewise.
10137 (__x86_64_raw_shared_cache_size): Likewise.
10138 (__x86_64_raw_shared_cache_size_half): Likewise.
10139
10140 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10141 (__x86_64_raw_data_cache_size_half): Likewise.
10142 (__x86_64_raw_shared_cache_size): Likewise.
10143 (__x86_64_raw_shared_cache_size_half): Likewise.
10144 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10145 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10146 and __x86_64_raw_shared_cache_size_half. Round
10147 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10148 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10149 to multiple of 256 bytes.
10150
10151 2010-11-03 Ulrich Drepper <drepper@gmail.com>
10152
10153 [BZ #12167]
10154 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10155 of inacessible symlinks. Verify result of symlink before returning it.
10156 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10157 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10158
10159 2010-10-28 Erich Ritz <erichritz@gmail.com>
10160
10161 * math/math.h (isinf): Fix typo in comment.
10162
10163 2010-11-01 Ulrich Drepper <drepper@gmail.com>
10164
10165 * po/da.po: Update from translation team.
10166
10167 2010-10-26 Ulrich Drepper <drepper@gmail.com>
10168
10169 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10170 is added to the list.
10171
10172 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10173 Ulrich Drepper <drepper@gmail.com>
10174
10175 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10176 the global list here. Move code to...
10177 (_dl_add_to_namespace_list): ...here. New function.
10178 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10179 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10180 * elf/dl-load.c (lose): Don't remove the element from the list.
10181 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10182 (_dl_map_object): Likewise.
10183
10184 2010-10-25 Ulrich Drepper <drepper@gmail.com>
10185
10186 [BZ #12159]
10187 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10188 into all bytes of SSE register.
10189 Patch by Richard Li <richardpku@gmail.com>.
10190
10191 2010-10-24 Ulrich Drepper <drepper@gmail.com>
10192
10193 [BZ #12140]
10194 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10195 perturbing.
10196
10197 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10198
10199 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10200 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10201 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10202 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10204 submachine.
10205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10206
10207 2010-10-22 Andreas Schwab <schwab@redhat.com>
10208
10209 * include/dlfcn.h (__RTLD_SECURE): Define.
10210 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10211 mode & __RTLD_SECURE instead.
10212 (open_path): Rename preloaded parameter to secure.
10213 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10214 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10215 * elf/dl-deps.c (openaux): Likewise.
10216 * elf/rtld.c (struct map_args): Remove is_preloaded.
10217 (map_doit): Don't use it.
10218 (dl_main): Likewise.
10219 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10220 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10221
10222 2010-09-09 Andreas Schwab <schwab@redhat.com>
10223
10224 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10225 (sysd-rules-targets): Remove duplicates.
10226 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10227 rtld-%.$o dependency.
10228
10229 2010-10-18 Andreas Schwab <schwab@redhat.com>
10230
10231 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10232 _dl_map_object do it.
10233
10234 2010-10-19 Ulrich Drepper <drepper@gmail.com>
10235
10236 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10237 fast fma builtins, define the macros in the C99 standard.
10238 (FP_FAST_FMAF): Likewise.
10239 (FP_FAST_FMAL): Likewise.
10240 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10241
10242 * bits/mathdef.h: Update copyright year.
10243 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10244
10245 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10246
10247 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10248 builtins, define the macros in the C99 standard.
10249 (FP_FAST_FMAF): Likewise.
10250 (FP_FAST_FMAL): Likewise.
10251 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10252 multiply/add.
10253 (FP_FAST_FMAF): Likewise.
10254
10255 2010-10-15 Jakub Jelinek <jakub@redhat.com>
10256
10257 [BZ #3268]
10258 * math/libm-test.inc (fma_test): Some new testcases.
10259 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10260 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10261 y and infinite z. Do multiplication by C already in long double.
10262 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10263 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10264 y and infinite z. Do bitwise or of inexact bit into u.d.
10265 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10266 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10267 * sysdeps/i386/fpu/s_fma.S: Removed.
10268 * sysdeps/i386/fpu/s_fmal.S: Removed.
10269
10270 2010-10-16 Jakub Jelinek <jakub@redhat.com>
10271
10272 [BZ #3268]
10273 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10274 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10275 computation is not scheduled after fetestexcept. Fix value
10276 of minimum denormal long double.
10277
10278 2010-10-14 Jakub Jelinek <jakub@redhat.com>
10279
10280 [BZ #3268]
10281 * math/libm-test.inc (fma_test): Add some more tests.
10282 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10283 correctly.
10284
10285 2010-10-15 Andreas Schwab <schwab@redhat.com>
10286
10287 * scripts/data/localplt-s390-linux-gnu.data: New file.
10288 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10289
10290 2010-10-13 Jakub Jelinek <jakub@redhat.com>
10291
10292 [BZ #3268]
10293 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10294 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10295 instead of dbl-64.
10296 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10297 inlines.
10298 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10299 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10300 if one of x and y is very large and the other is subnormal.
10301 * sysdeps/s390/fpu/s_fmaf.c: New file.
10302 * sysdeps/s390/fpu/s_fma.c: New file.
10303 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10304 * sysdeps/powerpc/fpu/s_fma.S: New file.
10305 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10306 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10307 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10308
10309 2010-10-12 Jakub Jelinek <jakub@redhat.com>
10310
10311 [BZ #3268]
10312 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10313 fma tests.
10314 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10315 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10316 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10317 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10318 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10319 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10320 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10321
10322 2010-10-12 Ulrich Drepper <drepper@redhat.com>
10323
10324 [BZ #12078]
10325 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10326 * posix/bug-regex31.input: Add test case.
10327
10328 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10329
10330 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10331 * posix/bug-regex31.input: New file.
10332
10333 [BZ #12078]
10334 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10335 (parse_sub_exp): Fix last change, use postorder.
10336
10337 * posix/bug-regex31.c: New file.
10338 * posix/Makefile: Add rules to build and run bug-regex31.
10339
10340 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10341
10342 [BZ #12078]
10343 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10344
10345 [BZ #12108]
10346 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10347 to have entries in sys_siglist.
10348
10349 [BZ #12093]
10350 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10351 be NULL.
10352
10353 2010-10-07 Jakub Jelinek <jakub@redhat.com>
10354
10355 [BZ #3268]
10356 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10357 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10358 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10359 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10360 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10361 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10362 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10363 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10364 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10365 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10366 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10367 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10368 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10369 * math/ftestexcept.c (fetestexcept): Likewise.
10370 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10371 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10372 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10373 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10374 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10375 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10376 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10377
10378 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10379
10380 [BZ #12107]
10381 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10382 newline.
10383
10384 2010-10-06 Ulrich Drepper <drepper@gmail.com>
10385
10386 * string/bug-strstr1.c: New file.
10387 * string/Makefile: Add rules to build and run bug-strstr1.
10388
10389 2010-10-05 Eric Blake <eblake@redhat.com>
10390
10391 [BZ #12092]
10392 * string/str-two-way.h (two_way_long_needle): Always clear memory
10393 when skipping input due to the shift table.
10394
10395 2010-10-03 Ulrich Drepper <drepper@gmail.com>
10396
10397 [BZ #12005]
10398 * malloc/mcheck.c: Handle large requests.
10399
10400 [BZ #12077]
10401 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10402 for strncmp and strncasecmp.
10403 * string/stratcliff.c: Add tests for strcmp and strncmp.
10404 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10405
10406 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10407
10408 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10409 __set_fpscr.
10410
10411 2010-09-30 Andreas Jaeger <aj@suse.de>
10412
10413 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10414 (CGROUP_SUPER_MAGIC): Define.
10415 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10416 Handle btrfs and cgroup file systems.
10417 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10418 Likewise.
10419
10420 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
10421
10422 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10423 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10424
10425 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10426
10427 [BZ #12067]
10428 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10429 trying to locate the ELF header.
10430
10431 2010-09-27 Andreas Schwab <schwab@redhat.com>
10432
10433 [BZ #11611]
10434 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10435 Mask out sign-bit copies when constructing f_fsid.
10436
10437 2010-09-24 Petr Baudis <pasky@suse.cz>
10438
10439 * debug/stack_chk_fail_local.c: Add missing licence exception.
10440 * debug/warning-nop.c: Likewise.
10441
10442 2010-09-15 Joseph Myers <joseph@codesourcery.com>
10443
10444 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10445 implementing getdents64 using getdents syscall, set d_type if
10446 __ASSUME_GETDENTS32_D_TYPE.
10447
10448 2010-09-16 Andreas Schwab <schwab@redhat.com>
10449
10450 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10451 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10452
10453 2010-09-21 Ulrich Drepper <drepper@redhat.com>
10454
10455 [BZ #12037]
10456 * posix/unistd.h: Undo change of feature selection for ftruncate from
10457 2010-01-11.
10458
10459 2010-09-20 Ulrich Drepper <drepper@redhat.com>
10460
10461 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10462 detection.
10463
10464 2010-09-20 Andreas Schwab <schwab@redhat.com>
10465
10466 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10467 fanotify_mark.
10468 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10469
10470 2010-09-14 Andreas Schwab <schwab@redhat.com>
10471
10472 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10473 variables after CHECK_SP call.
10474 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10475
10476 2010-09-13 Andreas Schwab <schwab@redhat.com>
10477 Ulrich Drepper <drepper@redhat.com>
10478
10479 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10480 re-relocationg ld.so.
10481 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10482 _dl_init_paths call.
10483 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10484 here anymore.
10485
10486 2010-09-14 Ulrich Drepper <drepper@redhat.com>
10487
10488 * resolv/res_init.c (__res_vinit): Count the default server we added.
10489
10490 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10491 Ulrich Drepper <drepper@redhat.com>
10492
10493 [BZ #11968]
10494 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10495 (____longjmp_chk): Use %ebx for saving value across system call.
10496 Add unwind info.
10497
10498 2010-09-06 Andreas Schwab <schwab@redhat.com>
10499
10500 * manual/Makefile: Don't mix pattern rules with normal rules.
10501
10502 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10503
10504 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10505 operation.
10506 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10507 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10508 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10509 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10510 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10511 Likewise.
10512
10513 2010-09-04 Ulrich Drepper <drepper@redhat.com>
10514
10515 [BZ #11979]
10516 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10517 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10518
10519 2010-09-02 Ulrich Drepper <drepper@redhat.com>
10520
10521 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10522 * sysdeps/x86_64/addmul_1.S: Likewise.
10523 * sysdeps/x86_64/lshift.S: Likewise.
10524 * sysdeps/x86_64/mul_1.S: Likewise.
10525 * sysdeps/x86_64/rshift.S: Likewise.
10526 * sysdeps/x86_64/sub_n.S: Likewise.
10527 * sysdeps/x86_64/submul_1.S: Likewise.
10528
10529 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10530
10531 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10532 Define __sched_param instead of SCHED_* and sched_param when
10533 <bits/sched.h> is included with __need_schedparam defined.
10534 * bits/sched.h [__need_schedparam]
10535 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10536 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10537 (__defined_schedparam): Define to 1.
10538 (__sched_param): New structure, identical to sched_param.
10539 (__need_schedparam): Undefine.
10540
10541 2010-08-31 Mike Frysinger <vapier@gentoo.org>
10542
10543 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10544 (epoll_create1): Declare.
10545
10546 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10547
10548 2010-08-31 Andreas Schwab <schwab@redhat.com>
10549
10550 [BZ #7066]
10551 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10552 shifting retval into place.
10553
10554 2010-09-01 Ulrich Drepper <drepper@redhat.com>
10555
10556 * nis/rpcsvc/nis.h: Update copyright notice.
10557 * nis/rpcsvc/nis.x: Likewise.
10558 * nis/rpcsvc/nis_callback.h: Likewise.
10559 * nis/rpcsvc/nis_callback.x: Likewise.
10560 * nis/rpcsvc/nis_object.x: Likewise.
10561 * nis/rpcsvc/nis_tags.h: Likewise.
10562 * nis/rpcsvc/yp.h: Likewise.
10563 * nis/rpcsvc/yp.x: Likewise.
10564 * nis/rpcsvc/ypupd.h: Likewise.
10565 * nis/yp_xdr.c: Likewise.
10566 * nis/ypupdate_xdr.c: Likewise.
10567
10568 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10569 mainly the body of pmap_getport. Add parameters to specify timeouts.
10570 (pmap_getport): Use __libc_rpc_getport.
10571 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10572 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10573 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10574
10575 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10576
10577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10578 fanotify_mark.
10579
10580 2010-08-27 Roland McGrath <roland@redhat.com>
10581
10582 * sysdeps/i386/i686/multiarch/Makefile
10583 (CFLAGS-varshift.c): New variable.
10584
10585 2010-08-27 Ulrich Drepper <drepper@redhat.com>
10586
10587 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10588 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10589
10590 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10591
10592 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10593
10594 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10595
10596 * sysdeps/x86_64/strlen.S: Unroll the loop.
10597 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10598 strlen-sse2 strlen-sse2-bsf.
10599 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10600 __strlen_no_bsf if bit_Slow_BSF is set.
10601 (__strlen_sse42): Removed.
10602 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10603 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10604
10605 2010-08-25 Roland McGrath <roland@redhat.com>
10606
10607 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10608 * sysdeps/x86_64/multiarch/varshift.c: New file.
10609 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10610 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10611 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10612 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10613
10614 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10615
10616 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10617 strlen-sse2 strlen-sse2-bsf.
10618 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10619 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10620 (__strlen_sse2): Removed.
10621 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10622 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10624 bit_Slow_BSF for Atom.
10625 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10626 (index_Slow_BSF): Define.
10627 (HAS_SLOW_BSF): Define.
10628
10629 2010-08-25 Ulrich Drepper <drepper@redhat.com>
10630
10631 [BZ #10851]
10632 * resolv/res_init.c (__res_vinit): When no server address at all
10633 is given default to loopback.
10634
10635 2010-08-24 Roland McGrath <roland@redhat.com>
10636
10637 * configure.in: Remove config-name.h generation.
10638 * configure: Regenerated.
10639 * config-name.in: File removed.
10640 * scripts/config-uname.sh: New file.
10641 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10642 ($(objdir)config-name.h): New target.
10643
10644 * sunrpc/rpc_parse.h: Avoid nested comment.
10645
10646 2010-08-24 Richard Henderson <rth@redhat.com>
10647 Ulrich Drepper <drepper@redhat.com>
10648 H.J. Lu <hongjiu.lu@intel.com>
10649
10650 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10651 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10652 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10653 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10654 _mm_alignr_epi8 with _mm_loadu_si128.
10655 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10656 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10657 (__m128i_shift_right): Removed.
10658 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10659 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10660 * sysdeps/x86_64/multiarch/varshift.h: New file.
10661 * sysdeps/x86_64/multiarch/varshift.S: New file.
10662
10663 2010-08-21 Mike Frysinger <vapier@gentoo.org>
10664
10665 * configure.in: Move assembler checks to before sysdep dir checking.
10666
10667 2010-08-20 Petr Baudis <pasky@suse.cz>
10668
10669 * LICENSES: Sync the sunrpc license.
10670
10671 2010-08-19 Ulrich Drepper <drepper@redhat.com>
10672
10673 * sunrpc/auth_des.c: Update copyright notice once again.
10674 * sunrpc/auth_none.c: Likewise.
10675 * sunrpc/auth_unix.c: Likewise.
10676 * sunrpc/authdes_prot.c: Likewise.
10677 * sunrpc/authuxprot.c: Likewise.
10678 * sunrpc/bindrsvprt.c: Likewise.
10679 * sunrpc/clnt_gen.c: Likewise.
10680 * sunrpc/clnt_perr.c: Likewise.
10681 * sunrpc/clnt_raw.c: Likewise.
10682 * sunrpc/clnt_simp.c: Likewise.
10683 * sunrpc/clnt_tcp.c: Likewise.
10684 * sunrpc/clnt_udp.c: Likewise.
10685 * sunrpc/clnt_unix.c: Likewise.
10686 * sunrpc/des_crypt.c: Likewise.
10687 * sunrpc/des_soft.c: Likewise.
10688 * sunrpc/get_myaddr.c: Likewise.
10689 * sunrpc/getrpcport.c: Likewise.
10690 * sunrpc/key_call.c: Likewise.
10691 * sunrpc/key_prot.c: Likewise.
10692 * sunrpc/openchild.c: Likewise.
10693 * sunrpc/pm_getmaps.c: Likewise.
10694 * sunrpc/pm_getport.c: Likewise.
10695 * sunrpc/pmap_clnt.c: Likewise.
10696 * sunrpc/pmap_prot.c: Likewise.
10697 * sunrpc/pmap_prot2.c: Likewise.
10698 * sunrpc/pmap_rmt.c: Likewise.
10699 * sunrpc/rpc/auth.h: Likewise.
10700 * sunrpc/rpc/auth_unix.h: Likewise.
10701 * sunrpc/rpc/clnt.h: Likewise.
10702 * sunrpc/rpc/des_crypt.h: Likewise.
10703 * sunrpc/rpc/key_prot.h: Likewise.
10704 * sunrpc/rpc/netdb.h: Likewise.
10705 * sunrpc/rpc/pmap_clnt.h: Likewise.
10706 * sunrpc/rpc/pmap_prot.h: Likewise.
10707 * sunrpc/rpc/pmap_rmt.h: Likewise.
10708 * sunrpc/rpc/rpc.h: Likewise.
10709 * sunrpc/rpc/rpc_des.h: Likewise.
10710 * sunrpc/rpc/rpc_msg.h: Likewise.
10711 * sunrpc/rpc/svc.h: Likewise.
10712 * sunrpc/rpc/svc_auth.h: Likewise.
10713 * sunrpc/rpc/types.h: Likewise.
10714 * sunrpc/rpc/xdr.h: Likewise.
10715 * sunrpc/rpc_clntout.c: Likewise.
10716 * sunrpc/rpc_cmsg.c: Likewise.
10717 * sunrpc/rpc_common.c: Likewise.
10718 * sunrpc/rpc_cout.c: Likewise.
10719 * sunrpc/rpc_dtable.c: Likewise.
10720 * sunrpc/rpc_hout.c: Likewise.
10721 * sunrpc/rpc_main.c: Likewise.
10722 * sunrpc/rpc_parse.c: Likewise.
10723 * sunrpc/rpc_parse.h: Likewise.
10724 * sunrpc/rpc_prot.c: Likewise.
10725 * sunrpc/rpc_sample.c: Likewise.
10726 * sunrpc/rpc_scan.c: Likewise.
10727 * sunrpc/rpc_scan.h: Likewise.
10728 * sunrpc/rpc_svcout.c: Likewise.
10729 * sunrpc/rpc_tblout.c: Likewise.
10730 * sunrpc/rpc_util.c: Likewise.
10731 * sunrpc/rpc_util.h: Likewise.
10732 * sunrpc/rpcinfo.c: Likewise.
10733 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10734 * sunrpc/rpcsvc/key_prot.x: Likewise.
10735 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10736 * sunrpc/rpcsvc/mount.x: Likewise.
10737 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10738 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10739 * sunrpc/rpcsvc/rex.x: Likewise.
10740 * sunrpc/rpcsvc/rstat.x: Likewise.
10741 * sunrpc/rpcsvc/rusers.x: Likewise.
10742 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10743 * sunrpc/rpcsvc/spray.x: Likewise.
10744 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10745 * sunrpc/rtime.c: Likewise.
10746 * sunrpc/svc.c: Likewise.
10747 * sunrpc/svc_auth.c: Likewise.
10748 * sunrpc/svc_authux.c: Likewise.
10749 * sunrpc/svc_raw.c: Likewise.
10750 * sunrpc/svc_run.c: Likewise.
10751 * sunrpc/svc_simple.c: Likewise.
10752 * sunrpc/svc_tcp.c: Likewise.
10753 * sunrpc/svc_udp.c: Likewise.
10754 * sunrpc/svc_unix.c: Likewise.
10755 * sunrpc/svcauth_des.c: Likewise.
10756 * sunrpc/xcrypt.c: Likewise.
10757 * sunrpc/xdr.c: Likewise.
10758 * sunrpc/xdr_array.c: Likewise.
10759 * sunrpc/xdr_float.c: Likewise.
10760 * sunrpc/xdr_mem.c: Likewise.
10761 * sunrpc/xdr_rec.c: Likewise.
10762 * sunrpc/xdr_ref.c: Likewise.
10763 * sunrpc/xdr_sizeof.c: Likewise.
10764 * sunrpc/xdr_stdio.c: Likewise.
10765
10766 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10767 handling.
10768
10769 2010-08-19 Andreas Schwab <schwab@redhat.com>
10770
10771 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10772
10773 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
10774
10775 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10776 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10777 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10778 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10779 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10780 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10781 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10782 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10783 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10784 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10785 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10786 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10787 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10788 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10789
10790 2010-07-26 Anton Blanchard <anton@samba.org>
10791
10792 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10793 * malloc/arena.c (heap_trim): Likewise.
10794
10795 2010-08-16 Ulrich Drepper <drepper@redhat.com>
10796
10797 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10798 here. Not...
10799 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10800 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10801
10802 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10803
10804 * sysdeps/i386/elf/Makefile: New file.
10805
10806 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10807
10808 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10809 from fanotify_init.
10810 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10811 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10812
10813 2010-08-15 Ulrich Drepper <drepper@redhat.com>
10814
10815 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10816 of strncasecmp_l.
10817 * sysdeps/multiarch/strcmp.S: Likewise.
10818
10819 2010-08-14 Ulrich Drepper <drepper@redhat.com>
10820
10821 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10822 strncase_l-nonascii.
10823 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10824 Add strncase_l-ssse3.
10825 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10826 * sysdeps/x86_64/strcmp.S: Likewise.
10827 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10828 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10829 * sysdeps/x86_64/strncase.S: New file.
10830 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10831 * sysdeps/x86_64/strncase_l.S: New file.
10832 * string/Makefile (strop-tests): Add strncasecmp.
10833 * string/test-strncasecmp.c: New file.
10834
10835 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10836 warning.
10837
10838 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10839 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10840
10841 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10842
10843 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10844
10845 2010-08-12 Ulrich Drepper <drepper@redhat.com>
10846
10847 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10848 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10849 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10850
10851 2010-05-01 Alan Modra <amodra@gmail.com>
10852
10853 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10854 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10855 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10856 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10857 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10858 tidying. Don't tail-call __sigjmp_save for static lib.
10859 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10860 save location.
10861 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10862 (CALL_MCOUNT): Add eh info, and nop after bl.
10863 (TAIL_CALL_SYSCALL_ERROR): New macro.
10864 (PSEUDO_RET): Use it.
10865 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10866 Correct save location of integer regs and cr.
10867 (_dl_profile_resolve): Correct cr save location. Delete nops
10868 after bl when SHARED. Reduce cfi size a little by better
10869 placement of cfi directives.
10870 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10871 make a stack frame. Instead use parm save area as a temp.
10872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10873 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10875 Don't make a stack frame for parent, use parm save area.
10876 Increase child stack frame to 112 bytes. Don't save unused reg,
10877 and adjust reg usage. Set up cfi on error recovery and
10878 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10880 (__makecontext): Add dummy nop after jump to exit.
10881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10882 Use correct parm save area and cr save, reduce stack frame.
10883 Correct cfi for possible PSEUDO_RET frame setup.
10884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10885 Branch to local label emitted by PSEUDO_RET rather than
10886 __syscall_error.
10887
10888 2010-08-12 Andreas Schwab <schwab@redhat.com>
10889
10890 [BZ #11904]
10891 * locale/programs/locale.c (print_assignment): New function.
10892 (show_locale_vars): Use it.
10893
10894 2010-08-11 Ulrich Drepper <drepper@redhat.com>
10895
10896 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10897 field.
10898 (struct statfs64): Likewise.
10899 (_STATFS_F_FLAGS): Define.
10900 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10901 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10902 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10903 (ST_VALID): Define locally.
10904 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10905 __statvfs_getflags, use the provided value.
10906 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10907 __ASSUME_STATFS_F_FLAGS.
10908
10909 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10910
10911 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10912 Add sys/fanotify.h.
10913 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10914 fanotify_mask for GLIBC_2.13.
10915 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10916 fanotify_init and fanotify_mark.
10917 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10918 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10919
10920 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10921 Add prlimit.
10922 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10923 prlimit64 for GLIBC_2.13.
10924 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10925 prlimit64.
10926 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10927 syscall.
10928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10929 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10930 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10931 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10932 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10933 add prlimit alias.
10934 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10935
10936 [BZ #11903]
10937 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10938 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10939
10940 * nss/Makefile: Add rules to build and run tst-nss-test1.
10941 * shlib-versions: Add entry for libnss_test1.
10942 * nss/nss_test1.c: New file.
10943 * nss/tst-nss-test1.c: New file.
10944
10945 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10946 (__nss_configure_lookup): Set appropriate entry in
10947 __nss_configure_lookup to true.
10948 * nss/nsswitch.h: Define enum with indeces of databases in
10949 databases and __nss_database_custom arrays. Declare
10950 __nss_database_custom.
10951 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10952 to avoid using nscd when custom rules are installed.
10953 * nss/getXXbyYY_r.c: Likewise.
10954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10955
10956 * nss/nss_files/files-parse.c: Whitespace fixes.
10957
10958 2010-08-09 Ulrich Drepper <drepper@redhat.com>
10959
10960 [BZ #11883]
10961 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10962 * posix/fnmatch_loop.c: Likewise.
10963
10964 2010-07-17 Andi Kleen <ak@linux.intel.com>
10965
10966 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10967 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10968 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10969 * Versions.def [GLIBC_2.13]: Add.
10970
10971 2010-08-06 Ulrich Drepper <drepper@redhat.com>
10972
10973 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10974 Also fail if tpwd after pwuid call is NULL.
10975
10976 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10977
10978 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10979 when converting to ms.
10980
10981 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10982
10983 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10984 EOPNOTSUPP errors with ENOTTY.
10985 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10986 EOPNOTSUPP errors with ENOTTY.
10987
10988 2010-07-31 Ulrich Drepper <drepper@redhat.com>
10989
10990 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10991 Add strcasecmp_l-ssse3.
10992 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10993 strcasecmp.
10994 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10995 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10996 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10997
10998 2010-07-30 Ulrich Drepper <drepper@redhat.com>
10999
11000 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11001
11002 * string/Makefile (strop-tests): Add strcasecmp.
11003 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11004 strcasecmp_l-nonascii.
11005 (gen-as-const-headers): Add locale-defines.sym.
11006 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11007 * sysdeps/x86_64/strcasecmp.S: New file.
11008 * sysdeps/x86_64/strcasecmp_l.S: New file.
11009 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11010 * sysdeps/x86_64/locale-defines.sym: New file.
11011 * string/test-strcasecmp.c: New file.
11012
11013 * string/test-strcasestr.c: Test both ends of the range of characters.
11014 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11015
11016 2010-07-29 Roland McGrath <roland@redhat.com>
11017
11018 [BZ #11856]
11019 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11020
11021 2010-07-27 Ulrich Drepper <drepper@redhat.com>
11022
11023 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11024 for ld.so.
11025
11026 2010-07-27 Andreas Schwab <schwab@redhat.com>
11027
11028 * manual/memory.texi (Malloc Tunable Parameters): Document
11029 M_PERTURB.
11030
11031 2010-07-26 Roland McGrath <roland@redhat.com>
11032
11033 [BZ #11840]
11034 * configure.in (-fgnu89-inline check): Set and substitute
11035 gnu89_inline, not libc_cv_gnu89_inline.
11036 * configure: Regenerated.
11037 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11038
11039 2010-07-26 Ulrich Drepper <drepper@redhat.com>
11040
11041 * string/test-strnlen.c: New file.
11042 * string/Makefile (strop-tests): Add strnlen.
11043 * string/tester.c (test_strnlen): Add a few more test cases.
11044 * string/tst-strlen.c: Better error reporting.
11045
11046 * sysdeps/x86_64/strnlen.S: New file.
11047
11048 2010-07-24 Ulrich Drepper <drepper@redhat.com>
11049
11050 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11051 lower-latency instructions.
11052
11053 2010-07-23 Ulrich Drepper <drepper@redhat.com>
11054
11055 * string/test-strcasestr.c: New file.
11056 * string/test-strstr.c: New file.
11057 * string/Makefile (strop-tests): Add strstr and strcasestr.
11058 * string/str-two-way.h: Don't undefine MAX.
11059 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11060
11061 2010-07-21 Andreas Schwab <schwab@redhat.com>
11062
11063 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11064 strcasestr-nonascii.
11065 (CFLAGS-strcasestr-nonascii.c): Define.
11066 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11067 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11068 Remove unused attribute.
11069
11070 2010-07-20 Roland McGrath <roland@redhat.com>
11071
11072 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11073 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11074 ld.so.cache was broken. With it, there is no way to disable dsocaps
11075 like LD_HWCAP_MASK can disable hwcaps.
11076
11077 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11078
11079 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11080
11081 2010-07-16 Ulrich Drepper <drepper@redhat.com>
11082
11083 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11084 call in strcasestr.
11085 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11086 __strcasestr_sse42_nonascii.
11087 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11088 strcasestr-nonascii.c.
11089 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11090
11091 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
11092
11093 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11094 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11095 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11096 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11097
11098 2010-07-09 Ulrich Drepper <drepper@redhat.com>
11099
11100 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11101 fcntl.
11102
11103 2010-07-06 Andreas Schwab <schwab@redhat.com>
11104
11105 [BZ #11577]
11106 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11107 dl_signal_cerror.
11108
11109 2010-07-06 Ulrich Drepper <drepper@redhat.com>
11110
11111 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11112 _PC_PIPE_BUF using F_GETPIPE_SZ.
11113
11114 2010-07-05 Roland McGrath <roland@redhat.com>
11115
11116 * manual/arith.texi (Rounding Functions): Fix rint description
11117 implicit in round description.
11118
11119 2010-07-02 Ulrich Drepper <drepper@redhat.com>
11120
11121 * elf/Makefile: Fix linking for a few tests to make recent linker
11122 happy.
11123
11124 2010-06-30 Andreas Schwab <schwab@redhat.com>
11125
11126 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11127 $(common-objpfx)libc_nonshared.a.
11128
11129 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
11130
11131 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11132 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11133 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11134 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11135 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11136 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11137 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11138 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11153 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11154 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11155 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11156 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11157 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11158 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11159 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11160 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11161 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11162 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11163 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11164 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11179
11180 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11181
11182 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11183 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11184 * string/memmove.c (memmove): Renamed to ...
11185 (MEMMOVE): ...this. Default to memmove.
11186 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11187 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11188 (END_CHK): Define.
11189 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11190 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11191 mempcpy-ssse3-back memmove-ssse3-back.
11192 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11193 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11194 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11195 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11196 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11197 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11198 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11199 * sysdeps/x86_64/multiarch/memmove.c: New file.
11200 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11201 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11202 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11203 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11204 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11205 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11206 Define.
11207 (index_Fast_Copy_Backward): Define.
11208 (HAS_ARCH_FEATURE): Define.
11209 (HAS_FAST_REP_STRING): Define.
11210 (HAS_FAST_COPY_BACKWARD): Define.
11211
11212 2010-06-21 Andreas Schwab <schwab@redhat.com>
11213
11214 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11215 Restore proper fallback handling.
11216
11217 2010-06-19 Ulrich Drepper <drepper@redhat.com>
11218
11219 [BZ #11701]
11220 * posix/group_member.c (__group_member): Correct checking loop.
11221
11222 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11223 OOM in getpwuid_r correctly. Return error number when the caller
11224 should return, otherwise -1.
11225 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11226 call returning > 0 value.
11227 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11228
11229 2010-06-07 Andreas Schwab <schwab@redhat.com>
11230
11231 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11232 libc_nonshared.a from targets in modules-names.
11233
11234 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11235
11236 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11237 requires it.
11238
11239 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
11240
11241 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11242 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11243 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11244 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11245
11246 2010-06-02 Andreas Schwab <schwab@redhat.com>
11247
11248 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11249
11250 2010-06-14 Ulrich Drepper <drepper@redhat.com>
11251
11252 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11253 and F_GETPIPE_SZ.
11254 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11255 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11256 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11258 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11259 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11260
11261 2010-06-14 Roland McGrath <roland@redhat.com>
11262
11263 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11264
11265 2010-06-07 Jakub Jelinek <jakub@redhat.com>
11266
11267 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11268 __REDIRECT followed by __THROW.
11269 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11270 * posix/getopt.h (getopt): Likewise.
11271
11272 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11273
11274 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11275 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11276 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11277 in AT_FLAGS.
11278 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11279 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11280
11281 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
11282
11283 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11284
11285 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11286
11287 [BZ #11640]
11288 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11289 Properly check family and model.
11290
11291 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11292
11293 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11294
11295 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
11296
11297 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11298
11299 2010-05-21 Ulrich Drepper <drepper@redhat.com>
11300
11301 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11302 symbol reference.
11303
11304 2010-05-19 Andreas Schwab <schwab@redhat.com>
11305
11306 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11307 symbol reference.
11308
11309 2010-05-21 Andreas Schwab <schwab@redhat.com>
11310
11311 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11312 and internal_recvmmsg.
11313 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11314 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11315 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11316 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11317
11318 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11319 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11320 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11321
11322 2010-05-20 Andreas Schwab <schwab@redhat.com>
11323
11324 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11325
11326 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
11327
11328 POWER7 optimizations.
11329 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11330 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11331
11332 2010-05-19 Ulrich Drepper <drepper@redhat.com>
11333
11334 * version.h: Update for 2.13 development version.
11335
11336 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
11337
11338 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11339 exceptions. Return 0.
11340
11341 2010-05-07 Roland McGrath <roland@redhat.com>
11342
11343 * elf/ldconfig.c (main): Add a const.
11344
11345 2010-05-06 Ulrich Drepper <drepper@redhat.com>
11346
11347 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11348 (args_options): Add no-idn option.
11349 (ahosts_keys_int): Add idn_flags to ai_flags.
11350 (parse_option): Handle 'i' option to clear idn_flags.
11351
11352 * malloc/malloc.c (_int_free): Possible race in the most recently
11353 added check. Only act on the data if no current modification
11354 happened.
11355
11356 See ChangeLog.17 for earlier changes.
This page took 0.516574 seconds and 6 git commands to generate.